:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #161622;
  --fg: #e8e8f0;
  --fg-muted: #8888a0;
  --fg-dim: #555570;
  --accent: #7c3aed;
  --accent-glow: #a855f7;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -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: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-glow);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  margin-bottom: 32px;
}

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

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-glow), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

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

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

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

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

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

/* === PROBLEM === */
.problem {
  padding: 100px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem-label, .pipeline-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.problem h2, .pipeline h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.problem-desc {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 48px;
}

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

.problem-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.problem-card.active {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), var(--bg));
}

.problem-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* === PIPELINE === */
.pipeline {
  padding: 100px 24px;
}

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

.pipeline-steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent-glow);
  padding-top: 4px;
  flex-shrink: 0;
  width: 40px;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 580px;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.closing h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.closing-sub {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent-glow);
}

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

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

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem, .pipeline, .closing {
    padding: 60px 20px;
  }

  .step {
    flex-direction: column;
    gap: 8px;
  }

  .step-num {
    width: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1rem;
  }

  .problem h2, .pipeline h2, .closing h2 {
    font-size: 1.5rem;
  }
}