:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e599;
  --accent-dim: #00e59933;
  --red: #ff4444;
  --yellow: #ffaa00;
  --green: #00e599;
  --terminal-bg: #0d0d14;
  --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;
  overflow-x: hidden;
}

.accent { color: var(--accent); }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse at 30% 20%, #00e59908 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, #00e59905 0%, transparent 50%);
}
.hero-grid {
  max-width: 900px;
  margin: 0 auto;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent-dim);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* TERMINAL */
.hero-terminal {
  background: var(--terminal-bg);
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #16161f;
  border-bottom: 1px solid #2a2a3a;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }
.terminal-title {
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin-left: 0.5rem;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.terminal-line {
  color: var(--fg);
}
.terminal-line .prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}
.terminal-line.output {
  color: var(--fg-muted);
  padding-left: 1.2rem;
}
.terminal-line.success {
  color: var(--accent);
}

/* PIPELINE */
.pipeline {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pipeline h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}
.pipeline-stages {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.stage {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.3s;
}
.stage:hover {
  border-color: var(--accent-dim);
}
.stage-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.stage-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.stage h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.stage p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.stage-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 3rem;
  flex-shrink: 0;
}

/* NUMBERS */
.numbers {
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid #1a1a26;
  border-bottom: 1px solid #1a1a26;
}
.numbers-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.number-card {
  text-align: center;
  padding: 2rem 1rem;
}
.number-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.number-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* HOW / COMPARISON */
.how {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.comparison {
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  overflow: hidden;
}
.comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #1a1a26;
}
.comp-row:last-child { border-bottom: none; }
.comp-row.header {
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
}
.comp-row.highlight {
  background: #00e59910;
}
.comp-tool, .comp-cell {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
}
.comp-tool {
  font-weight: 500;
}
.comp-row.highlight .comp-tool {
  color: var(--accent);
  font-weight: 600;
}
.comp-cell {
  justify-content: center;
  font-size: 1rem;
}
.comp-cell.yes { color: var(--accent); }
.comp-cell.no { color: #444; }

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* FOOTER */
footer {
  padding: 3rem 2rem;
  border-top: 1px solid #1a1a26;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pipeline-stages {
    flex-direction: column;
  }
  .stage-arrow {
    display: none;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comp-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    font-size: 0.85rem;
  }
  .comp-tool, .comp-cell {
    padding: 0.75rem 0.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-terminal { font-size: 0.7rem; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .number-card { padding: 1.5rem 0.5rem; }
}