/* ================================================================
   storefront.css — shared styles for nav + all storefront pages
   Theme tokens live in theme.css. This file uses them.
================================================================ */

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.25s;
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.97);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-link:last-of-type {
  border-bottom: none;
}

.nav-mobile-link:hover {
  color: var(--fg);
}

.nav-mobile-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
}

/* Body padding to account for fixed nav */
body {
  padding-top: 64px;
}

/* ========== HERO BUTTONS ========== */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ========== PAGE HEADER ========== */
.page-header {
  position: relative;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-header-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}

.page-lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 600px;
}

/* ========== SHARED BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ========== PRICING SECTION ========== */
.pricing-section {
  padding: 5rem 2rem;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: rgba(196, 255, 62, 0.15);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: rgba(196, 255, 62, 0.3);
  background: linear-gradient(160deg, rgba(196, 255, 62, 0.05) 0%, var(--bg-card) 50%);
}

.pricing-card--featured:hover {
  border-color: rgba(196, 255, 62, 0.45);
  transform: translateY(-6px);
}

.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bg);
  background: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 0 0 4px 4px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.pricing-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg-muted);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.feature-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-cta {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  margin-top: auto;
}

.pricing-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.pricing-cta--featured {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.pricing-cta--featured:hover {
  background: #b8f020;
  border-color: #b8f020;
}

.pricing-footnote {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.pricing-footnote p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.pricing-footnote a {
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== PROCESS SECTION ========== */
.process-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.process-inner {
  max-width: 900px;
  margin: 0 auto;
}

.process-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 3rem;
  line-height: 1.2;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: calc(33.33% - 1px);
  right: calc(33.33% + 1px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0.4;
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  padding: 5rem 2rem;
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-accent, var(--accent));
  border-opacity: 0.3;
}

.gallery-artwork {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.art-placeholder {
  width: 100%;
  height: 100%;
  background: var(--card-bg, var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.art-shape {
  position: absolute;
  border-radius: 50%;
}

.art-shape-1 {
  width: 160%;
  height: 160%;
  top: -30%;
  left: -30%;
}

.art-shape-2 {
  width: 80%;
  height: 80%;
  bottom: -20%;
  right: -20%;
}

.art-title-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.art-type-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.gallery-cta:hover {
  opacity: 0.88;
}

.gallery-meta {
  padding: 1.25rem 1.25rem 1.5rem;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.gallery-type {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.style-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.gallery-price {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Gallery bottom CTA */
.gallery-cta-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  text-align: center;
}

.gallery-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.gallery-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.gallery-cta-inner p {
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== VAULT SECTION ========== */
.vault-section {
  padding: 4rem 2rem 6rem;
}

.vault-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vault-category {
  margin-bottom: 4rem;
}

.vault-category-header {
  margin-bottom: 1.5rem;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.vault-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}

.vault-card:hover {
  border-color: rgba(196, 255, 62, 0.2);
  transform: translateY(-3px);
}

.vault-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.vault-badge--bestseller {
  color: var(--bg);
  background: var(--accent);
}

.vault-badge--new {
  color: var(--bg);
  background: var(--orange);
}

.vault-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-icon--presets {
  background: var(--accent-dim);
  color: var(--accent);
}

.vault-icon--samples {
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.vault-icon--templates {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
}

.vault-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 5rem;
}

.vault-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

.vault-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vault-meta-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.vault-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.vault-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vault-buy {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.55rem 1.25rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.vault-buy:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Vault more card */
.vault-more {
  margin-top: 2rem;
}

.vault-more-card {
  background: var(--bg-card);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.vault-more-icon {
  font-size: 2rem;
  line-height: 1;
}

.vault-more-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.vault-more-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 480px;
}

/* ========== PAYMENT SUCCESS ========== */
.success-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.success-inner {
  max-width: 580px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.success-emoji {
  font-size: 3.5rem;
  line-height: 1;
  display: block;
}

.success-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.success-subtitle {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.success-next {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: left;
  width: 100%;
}

.success-next h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

.next-steps {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.next-steps li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.success-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .vault-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }
}
