:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.12);
  --accent-glow: rgba(74, 222, 128, 0.25);
  --danger: #f87171;
  --radius: 12px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .badge, .comp-header, .stat-value, .footer-brand, .feature-num {
  font-family: 'Space Grotesk', sans-serif;
}

/* ---- 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-inner { position: relative; z-index: 1; max-width: 720px; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.accent { color: var(--accent); }

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px 36px;
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pipe-icon { font-size: 28px; }

.pipe-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
}

.pipe-step.active .pipe-label { color: var(--accent); }
.pipe-step.active .pipe-icon { filter: drop-shadow(0 0 8px var(--accent-glow)); }

.pipe-arrow {
  color: var(--fg-muted);
  font-size: 20px;
  opacity: 0.4;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 100px 24px;
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
  text-align: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-card {
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.06);
}

.comp-card.old {
  background: var(--bg-elevated);
}

.comp-card.new {
  background: var(--accent-dim);
  border-color: rgba(74, 222, 128, 0.2);
}

.comp-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.comp-card.old .comp-header { color: var(--danger); }
.comp-card.new .comp-header { color: var(--accent); }

.comp-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-card li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.comp-card.old li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-size: 12px;
}

.comp-card.new li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
  text-align: center;
}

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

.feature-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}

.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ---- NUMBERS ---- */
.numbers {
  padding: 80px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.numbers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat { text-align: center; }

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 180px;
}

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

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

.closing h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

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

.footer-note a {
  color: var(--accent);
  text-decoration: none;
}

.footer-note a:hover { text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .comparison { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .numbers-inner { flex-direction: column; gap: 40px; align-items: center; }
  .pipeline { flex-wrap: wrap; justify-content: center; padding: 20px; }
  .pipe-arrow { display: none; }
  .hero { min-height: auto; padding-top: 100px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}