:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #14161a;
  --text-muted: #5b6270;
  --border: #e6e8ec;
  --accent: #3d5afe;
  --accent-dark: #2c40c9;
  --accent-light: #eef1ff;
  --radius: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(61, 90, 254, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  padding: 104px 0 92px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, var(--accent-light) 0%, rgba(238,241,255,0) 62%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0 0 24px;
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Pain point callout */
.callout-section { padding-top: 0; padding-bottom: 48px; }

.callout-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 40px 44px;
  border-radius: 18px;
  background: var(--accent);
  color: #ffffff;
}

.callout-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 18px;
}

.callout-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.callout-card p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 44px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 52px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 20px;
}

.step-icon svg { width: 22px; height: 22px; }

.step-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Comparison */
.compare-sub {
  max-width: 640px;
  margin: -28px auto 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.compare-col {
  border-radius: 16px;
  padding: 32px 30px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.compare-col-us {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 8px 24px rgba(61, 90, 254, 0.14);
}

.compare-heading {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.compare-col-us li { color: var(--text); }

.compare-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

.compare-x { background: rgba(91, 98, 112, 0.14); color: var(--text-muted); }
.compare-check { background: var(--accent); color: #ffffff; }

/* Who it's for */
.who-inner { max-width: 720px; text-align: center; }

.who-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Guarantee */
.guarantee-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--accent-light) 0%, #ffffff 100%);
  border: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.guarantee-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.guarantee-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-answer { max-height: 240px; }

.faq-answer p {
  margin: 0 0 22px;
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Final CTA */
.cta-final { padding: 88px 0 100px; }

.cta-final-inner {
  text-align: center;
}

.cta-final-inner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-footer { color: var(--text-muted); font-size: 1rem; }

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer a:hover { color: var(--accent); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.steps .step:nth-child(2) { transition-delay: 0.08s; }
.steps .step:nth-child(3) { transition-delay: 0.16s; }
.compare-table .compare-col:nth-child(2) { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .guarantee-card { padding: 40px 24px; }
  .callout-card { padding: 32px 24px 36px; }
  .stats-inner { grid-template-columns: 1fr; gap: 28px; }
  .compare-table { grid-template-columns: 1fr; }
  .compare-sub { margin-top: -16px; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-alt: #16181e;
    --text: #f2f3f5;
    --text-muted: #9ca1ab;
    --border: #262a33;
    --accent: #6b83ff;
    --accent-dark: #8296ff;
    --accent-light: #1b2140;
  }

  .nav { background: rgba(15, 17, 21, 0.85); }

  .btn-primary { color: #0f1115; }

  .hero {
    background: radial-gradient(circle at 50% 0%, var(--accent-light) 0%, rgba(15,17,21,0) 60%);
  }

  .guarantee-card {
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
  }

  .callout-card { background: var(--accent-dark); color: #0f1115; }
  .callout-card p { color: rgba(15, 17, 21, 0.75); }
  .callout-tag { background: rgba(15, 17, 21, 0.14); }

  .compare-col-us {
    background: var(--accent-light);
    box-shadow: 0 8px 24px rgba(107, 131, 255, 0.12);
  }

  .compare-check { color: #0f1115; }
  .compare-x { background: rgba(156, 161, 171, 0.16); }
}
