/* ============================================================
   Portraze — Professional AI Headshots
   Dark premium theme: deep navy + indigo/violet gradient + gold accent
   ============================================================ */

:root {
  --bg: #070B14;
  --bg-soft: #0B1120;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F4F6FB;
  --text-dim: #B6BED0;
  --muted: #8792A8;
  --primary: #6366F1;
  --primary-2: #8B5CF6;
  --accent: #A78BFA;
  --gold: #F5C76B;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(99, 102, 241, 0.4); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Gradient text ---------- */
.grad-text {
  background: linear-gradient(100deg, #A5B4FC 0%, #818CF8 40%, #C084FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #6366F1, #8B5CF6);
  color: #fff;
  box-shadow: 0 10px 34px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(139, 92, 246, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-lg { padding: 18px 38px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.35s ease;
}
.nav.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 24px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 8px 11px; color: #fff;
  font-size: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(700px 480px at 12% 78%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(500px 340px at 55% 105%, rgba(245, 199, 107, 0.07), transparent 65%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: #B7C0FF;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 26px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #818CF8; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18.5px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-proof {
  display: flex; align-items: center; gap: 16px;
  color: var(--muted); font-size: 14.5px;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.avatars-row { display: flex; }
.avatars-row span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.avatars-row span:first-child { margin-left: 0; }

/* Hero showcase (photo wall) */
.showcase {
  position: relative;
  perspective: 1300px;
}
.showcase-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
.face-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.face-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.face-card:hover img { transform: scale(1.045); }
.face-card .fc-shine {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
  opacity: 0; transition: opacity 0.5s;
}
.face-card:hover .fc-shine { opacity: 1; }
.face-card.glow {
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.35);
}
.face-card.small { transform: translateY(26px); }
.showcase-badge {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.showcase-badge .ok { color: #4ADE80; }

/* ---------- Section base ---------- */
section { position: relative; padding: 110px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.sec-desc { color: var(--text-dim); font-size: 17px; }

/* ---------- Trust bar ---------- */
.trust {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 40px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600; letter-spacing: 0.5px;
  opacity: 0.75;
}
.trust-label { font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; width: 100%; text-align: center; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.step-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); border-color: var(--border-strong); }
.step-num {
  font-family: var(--font-head);
  font-size: 60px; font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  display: block;
}
.step-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 15px; }

/* ---------- Styles gallery ---------- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.style-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.35s ease;
}
.style-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.style-card:hover img { transform: scale(1.05); }
.style-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,11,20,0.92) 100%);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.style-overlay h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 4px; }
.style-overlay p { font-size: 13.5px; color: var(--muted); }

/* ---------- Studio (generator) ---------- */
.studio {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(99,102,241,0.12), transparent 60%);
  border-top: 1px solid var(--border);
}
.studio-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px;
  backdrop-filter: blur(8px);
}
.dropzone {
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 52px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: rgba(99,102,241,0.07);
}
.dropzone .dz-icon {
  width: 62px; height: 62px; margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 12px 32px rgba(99,102,241,0.4);
}
.dropzone h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 8px; }
.dropzone p { color: var(--muted); font-size: 14.5px; }
.dropzone input[type=file] { display: none; }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 12px; margin-top: 20px; }
.thumb {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-strong);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .rm {
  position: absolute; top: 5px; right: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.7); border: none; color: #fff;
  font-size: 12px; display: grid; place-items: center;
}
.thumb .rm:hover { background: #ef4444; }

/* ---------- Plan picker ---------- */
.plan-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 6px; }
.plan-chip {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-align: left;
  transition: all 0.22s;
}
.plan-chip:hover { border-color: var(--border-strong); color: #fff; }
.plan-chip.active {
  background: rgba(99,102,241,0.14);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.35);
}
.plan-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-family: var(--font-head); font-weight: 600; font-size: 16.5px; }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--accent); }
.plan-desc { font-size: 13px; color: var(--muted); }
.plan-badge {
  position: absolute; top: -10px; right: 14px;
  background: linear-gradient(120deg, #6366F1, #8B5CF6);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}

.style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 26px 0; }
.style-chip {
  padding: 12px 16px; text-align: left;
  border-radius: 13px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14.5px; font-weight: 500;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.style-chip .chip-ico { font-size: 18px; }
.style-chip:hover { border-color: var(--border-strong); color: #fff; }
.style-chip.active {
  background: rgba(99,102,241,0.16);
  border-color: var(--primary);
  color: #fff;
}

.gen-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.gen-hint { color: var(--muted); font-size: 13.5px; }

.progress-bar { margin-top: 26px; display: none; }
.progress-bar.show { display: block; }
.progress-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #6366F1, #8B5CF6, #A855F7);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: width 0.8s ease;
  border-radius: 99px;
}
@keyframes shimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
.progress-label { margin-top: 12px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; }

.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.result-item {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/5; border: 1px solid var(--border);
  background: var(--bg-soft);
}
.result-item img { width: 100%; height: 100%; object-fit: cover; }
.result-item .dl {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(7,11,20,0.6); opacity: 0; transition: opacity 0.25s;
}
.result-item:hover .dl { opacity: 1; }
.result-item .dl .btn { padding: 11px 20px; font-size: 14px; }
.result-item .tick {
  position: absolute; top: 10px; right: 10px;
  background: rgba(74,222,128,0.9); color: #06210f;
  border-radius: 50%; width: 26px; height: 26px;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.gen-error {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 13px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: #FCA5A5;
  font-size: 14.5px;
  display: none;
}
.gen-error.show { display: block; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured {
  background: linear-gradient(160deg, rgba(99,102,241,0.16), rgba(139,92,246,0.08));
  border-color: rgba(99,102,241,0.55);
  box-shadow: 0 30px 80px rgba(99,102,241,0.22);
}
.price-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, #6366F1, #8B5CF6);
  padding: 6px 18px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  white-space: nowrap;
}
.price-name { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount .cur { font-size: 20px; font-weight: 600; color: var(--muted); }
.price-amount .num { font-family: var(--font-head); font-size: 52px; font-weight: 800; letter-spacing: -1.5px; }
.price-amount .per { color: var(--muted); font-size: 15px; }
.price-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.price-list { list-style: none; margin-bottom: 32px; flex: 1; }
.price-list li {
  padding: 8px 0; display: flex; gap: 11px; align-items: flex-start;
  color: var(--text-dim); font-size: 15px;
}
.price-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 44px;
  color: var(--text-dim); font-size: 15px;
}
.switch {
  width: 52px; height: 29px; border-radius: 99px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-strong);
  position: relative; cursor: pointer; transition: all 0.25s;
}
.switch.on { background: linear-gradient(120deg, #6366F1, #8B5CF6); }
.switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff; transition: all 0.25s;
}
.switch.on::after { left: 26px; }
.save-tag { color: var(--gold); font-weight: 600; font-size: 13.5px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.testi-card .stars { font-size: 15px; margin-bottom: 18px; }
.testi-card p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 24px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-person .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
}
.testi-person .name { font-weight: 600; font-size: 15px; }
.testi-person .role { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(99,102,241,0.5); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px;
  background: none; border: none;
  color: var(--text); font-size: 16.5px; font-weight: 600;
  text-align: left;
  gap: 16px;
}
.faq-q .ic { transition: transform 0.3s; color: var(--accent); font-size: 20px; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 50% 120%, rgba(99,102,241,0.25), transparent 65%);
}
.cta-band .sec-title { font-size: clamp(32px, 4.2vw, 52px); }
.cta-band p { color: var(--text-dim); font-size: 18px; max-width: 560px; margin: 0 auto 38px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; background: #05080F; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer h4 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13.5px; flex-wrap: wrap; gap: 12px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .showcase { max-width: 480px; margin: 0 auto; }
  .steps-grid, .styles-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,11,20,0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 18px;
    align-items: flex-start;
  }
  .hero { padding-top: 120px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .studio-wrap { padding: 24px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .style-picker { grid-template-columns: 1fr 1fr; }
  .gen-actions { flex-direction: column; align-items: stretch; }
  section { padding: 80px 0; }
}

/* ---------- Utility pages (privacy/terms) ---------- */
.page-hero { padding: 160px 0 40px; text-align: center; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 48px); letter-spacing: -1px; margin-bottom: 14px; }
.page-hero p { color: var(--muted); }
.prose { max-width: 800px; margin: 0 auto; padding: 30px 24px 100px; }
.prose h2 { font-family: var(--font-head); font-size: 22px; margin: 40px 0 14px; }
.prose h3 { font-size: 17px; margin: 26px 0 10px; color: var(--text-dim); }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose strong { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px; }
.notfound h1 { font-family: var(--font-head); font-size: 90px; letter-spacing: -3px; }
.notfound p { color: var(--muted); margin: 10px 0 30px; }
