:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #161620;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #555570;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --border: #1e1e2e;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: 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, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

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

/* Terminal */
.hero-visual {
  margin-top: 56px;
  width: 100%;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 2;
}

.terminal-body .line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompt {
  color: var(--accent);
  margin-right: 8px;
}

.cmd {
  color: var(--fg);
}

.output {
  color: var(--fg-muted);
  padding-left: 20px;
}

.output.success {
  color: var(--green);
  font-weight: 500;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

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

.problem h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.problem-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.problem-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.problem-punchline {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
}

/* ===== HOW ===== */
.how {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

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

.how h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.how-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  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;
}

/* ===== NUMBERS ===== */
.numbers {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.numbers-inner {
  max-width: 800px;
  margin: 0 auto;
}

.numbers h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

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

.comp-col {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comp-col.agent {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.comp-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
}

.comp-col.agent .comp-header {
  color: var(--accent);
  border-bottom-color: rgba(99,102,241,0.2);
}

.comp-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-label {
  color: var(--fg-muted);
}

.comp-val {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
}

.comp-val.highlight {
  color: var(--green);
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

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

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

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison {
    grid-template-columns: 1fr;
  }
  .step {
    flex-direction: column;
    gap: 8px;
  }
  .step-num {
    width: auto;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px 40px;
  }
  .terminal-body {
    font-size: 0.7rem;
  }
}