/* ── Tokens ── */
:root {
  --bg: #FBFBFA;
  --bg-alt: #F4F4F3;
  --surface: #FFFFFF;
  --border: #E3E4E8;
  --border-subtle: #EDEDEC;
  --ink: #12151A;
  --body: #1A1D22;
  --dim: #5C636E;
  --faint: #6A6F78;
  --gold: #876B14;
  --gold-bright: #C9A227;
  --gold-bg: rgba(138,109,20,0.08);
  --night: #08090C;
  --night-alt: #0C0E12;
  --night-ink: #F2F4F7;
  --night-dim: #A8ADB8;
  --night-border: #2A2E37;
  --radius: 12px;
  --radius-lg: 16px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section-dark { background: var(--night); color: var(--night-ink); }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-dark .section-label { color: var(--gold-bright); }

h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--night-ink); }
.section-sub { font-size: 18px; color: var(--dim); max-width: 600px; margin-bottom: 48px; line-height: 1.6; }
.section-dark .section-sub { color: #BFC3CC; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,251,250,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(18,21,26,0.06); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--dim); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); position: absolute; left: 0; transition: 0.2s; }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 8px;
  transition: all 0.15s; cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #6f5810; }
.btn-ghost { background: transparent; color: var(--dim); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.section-dark .btn-outline { border-color: var(--night-border); color: var(--night-ink); }
.section-dark .btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; }

/* ── Hero ── */
.hero {
  background: var(--night); color: var(--night-ink); padding: 160px 0 96px;
  text-align: center;
}
.hero h1 { color: var(--night-ink); margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: #BFC3CC; max-width: 560px; margin: 0 auto 36px; line-height: 1.6; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-note { font-size: 13px; color: var(--night-dim); }
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--night-border);
  color: var(--gold-bright); margin-bottom: 24px; text-transform: uppercase;
}
.hero-stats {
  display: flex; justify-content: center; gap: 16px; margin-top: 56px; flex-wrap: wrap;
}
.stat-pill {
  background: var(--night-alt); border: 1px solid var(--night-border);
  padding: 12px 20px; border-radius: 10px; font-size: 14px; color: var(--night-dim);
}
.stat-pill strong { color: var(--night-ink); font-weight: 600; margin-right: 6px; }

/* ── Social proof ── */
.social-proof {
  padding: 32px 0; border-bottom: 1px solid var(--border-subtle);
  text-align: center; font-size: 15px; color: var(--dim);
}
.social-proof strong { color: var(--ink); font-weight: 600; }

/* ── Problem ── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.problem-card {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.problem-icon { font-size: 24px; margin-bottom: 12px; }
.problem-card h3 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--dim); line-height: 1.6; }

/* ── Solution ── */
.solution-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.solution-card {
  padding: 28px; border: 1px solid var(--night-border); border-radius: var(--radius);
  background: var(--night-alt);
}
.solution-number {
  font-size: 13px; font-weight: 700; color: var(--gold-bright);
  margin-bottom: 16px; letter-spacing: 0.04em;
}
.solution-card h3 { font-size: 18px; margin-bottom: 8px; }
.solution-card p { font-size: 14px; color: #BFC3CC; line-height: 1.6; }

/* ── Features ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: border-color 0.15s;
}
.feature-card:hover { border-color: var(--gold); }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--dim); line-height: 1.55; }

/* ── Plans ── */
.toggle-wrap { display: flex; justify-content: center; gap: 4px; margin-bottom: 48px; background: var(--night-alt); border-radius: 10px; padding: 4px; display: inline-flex; }
.section-dark .toggle-wrap { margin-left: auto; margin-right: auto; display: flex; }
.toggle-btn {
  padding: 10px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: transparent; color: var(--night-dim); cursor: pointer; transition: 0.15s;
}
.toggle-btn.active { background: var(--night-border); color: var(--night-ink); }
.save-badge {
  font-size: 11px; background: var(--gold); color: #fff; padding: 2px 8px;
  border-radius: 999px; margin-left: 6px; font-weight: 600; vertical-align: 1px;
}

.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
}
.plan-card {
  padding: 32px; border: 1px solid var(--night-border); border-radius: var(--radius-lg);
  background: var(--night-alt); position: relative;
}
.plan-popular {
  border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 600; background: var(--gold); color: #fff;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.plan-for { font-size: 14px; color: #A8ADB8; margin-bottom: 20px; }
.plan-price { margin-bottom: 24px; }
.plan-price .price { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; }
.plan-price .price-period { font-size: 14px; color: #A8ADB8; }
.plan-features { list-style: none; margin-top: 24px; }
.plan-features li {
  font-size: 14px; color: #BFC3CC; padding: 8px 0;
  border-top: 1px solid var(--night-border);
}
.plan-features li strong { color: var(--night-ink); }
.plans-note { text-align: center; font-size: 14px; color: #BFC3CC; margin-top: 32px; }

/* ── Steps ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step-card { text-align: center; padding: 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--dim); }

/* ── FAQ ── */
.faq-list { margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-item summary {
  font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--dim); font-weight: 400; transition: 0.15s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; font-size: 15px; color: var(--dim); line-height: 1.6; max-width: 640px; }

/* ── CTA ── */
.cta-section {
  background: var(--night); color: var(--night-ink); padding: 96px 0; text-align: center;
}
.cta-section h2 { color: var(--night-ink); }
.cta-section p { font-size: 18px; color: #BFC3CC; margin-bottom: 32px; }

/* ── Footer ── */
.footer { background: var(--night); color: var(--night-dim); padding: 64px 0 32px; border-top: 1px solid var(--night-border); }
.footer .logo { color: var(--night-ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.5; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { font-size: 13px; font-weight: 600; color: var(--night-ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 14px; padding: 4px 0; transition: color 0.15s; }
.footer-links a:hover { color: var(--night-ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-border); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .nav-inner { justify-content: space-between; }

  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 12px;
  }
  .nav-actions.open {
    display: flex; position: absolute; top: calc(64px + var(--nav-links-h, 180px));
    left: 0; right: 0; background: var(--bg); padding: 0 24px 16px; gap: 12px;
  }

  .hero { padding: 120px 0 64px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  .hero-stats { gap: 8px; }
  .stat-pill { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .solution-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; }
}
