:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-card: #151d2e;
  --fg: #e2e8f0;
  --fg-muted: #8b95a8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --accent-glow: rgba(56, 189, 248, 0.25);
  --border: rgba(255,255,255,0.06);
  --old: #f87171;
  --mid: #fbbf24;
  --new: #34d399;
  --radius: 16px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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 {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-family: var(--font-heading);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 600px;
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0e17;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 48px;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 0 32px var(--accent-glow);
}

.hero-cta:hover { opacity: 0.9; transform: translateY(-2px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---------- FEATURES ---------- */
.features {
  padding: 100px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.features-header h2,
.how h2,
.closing h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-card--wide {
  grid-column: span 2;
}

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

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- HOW / COMPARISON ---------- */
.how {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.how-desc {
  color: var(--fg-muted);
  max-width: 720px;
  margin: 24px 0 56px;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.how-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.how-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.how-content {
  font-size: 1.05rem;
  line-height: 1.6;
}

.how-content--old { color: var(--old); }
.how-content--mid { color: var(--mid); }
.how-content--new { color: var(--new); }

/* ---------- CLOSING ---------- */
.closing {
  padding: 120px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  margin-bottom: 24px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.footer-note {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 60px 20px 40px; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px 32px; }
  .stat-divider { width: 48px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .how-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .feature-card { padding: 28px 24px; }
  .how-item { padding: 24px 20px; }
}