:root {
  --bg: #0a0f1a;
  --bg-surface: #111827;
  --bg-card: #1a2235;
  --fg: #e8edf5;
  --fg-muted: #8b95a8;
  --accent: #22d3a7;
  --accent-dim: rgba(34, 211, 167, 0.12);
  --accent-glow: rgba(34, 211, 167, 0.25);
  --warm: #f59e0b;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 120px 24px 100px;
  overflow: hidden;
  background: linear-gradient(175deg, var(--bg) 0%, #0d1525 60%, var(--bg-surface) 100%);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(34, 211, 167, 0.2);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: #fff;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-accent {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

/* ---- STATS ---- */
.stats {
  padding: 0 24px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 48px 40px;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ---- HOW ---- */
.how {
  padding: 120px 24px;
}

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

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  color: #fff;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.how-step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(34, 211, 167, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.how-step p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 24px 120px;
  background: var(--bg-surface);
}

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

.features-header {
  margin-bottom: 56px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.features-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(34, 211, 167, 0.2);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- CTA BUTTON (shared across hero, closing, footer) ---- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #0a0f1a;
  background: var(--accent);
  border-radius: 10px;
  padding: 15px 30px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 14px;
  color: var(--fg-muted);
}

.closing-actions {
  margin-top: 36px;
}

.footer-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(34, 211, 167, 0.3);
  border-radius: 8px;
  padding: 9px 18px;
  transition: background 0.2s, color 0.2s;
}

.footer-cta:hover {
  background: var(--accent);
  color: #0a0f1a;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 72px; }
  .stats-inner {
    flex-direction: column;
    gap: 32px;
    padding: 36px 28px;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .hero-accent {
    top: -80px;
    right: -100px;
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 64px 16px 56px; }
  .hero-sub { font-size: 17px; }
  .stats { margin-top: -24px; }
  .how { padding: 80px 16px; }
  .features { padding: 72px 16px 80px; }
  .closing { padding: 80px 16px; }
}