:root {
  --bg: #0a0a0f;
  --bg-raised: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8f0;
  --fg-muted: #8888a0;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-glow: rgba(0, 255, 136, 0.15);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.15);
  --yellow: #fbbf24;
  --red: #ef4444;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-raised);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

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

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.65;
}

/* ─── PIPELINE SECTION ─── */
.pipeline {
  padding: 100px 24px;
  position: relative;
}

.pipeline .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pipeline-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.pipeline-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 600px;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}

.step {
  background: var(--bg-raised);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s;
}

.step:first-child { border-radius: 12px 12px 0 0; }
.step:last-child { border-radius: 0 0 12px 12px; }

@media (min-width: 700px) {
  .step:first-child { border-radius: 12px 0 0 12px; }
  .step:last-child { border-radius: 0 12px 12px 0; }
}

.step:hover { background: var(--bg-card); }

.step-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.step-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.step-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

/* ─── NUMBERS ─── */
.numbers {
  padding: 100px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.number-block .value {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.number-block .value.green { color: var(--accent); }
.number-block .value.purple { color: var(--purple); }
.number-block .value.yellow { color: var(--yellow); }

.number-block .label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 100px 24px;
}

.how-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  margin-bottom: 12px;
}

.how-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 550px;
}

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

@media (min-width: 700px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}

.how-card {
  background: var(--bg-raised);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.how-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

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

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

.how-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--purple);
  background: var(--purple-glow);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── FOOTER ─── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .hero { min-height: 80vh; padding: 80px 20px 60px; }
  .pipeline, .numbers, .how, .closing { padding: 64px 20px; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .numbers-grid { gap: 32px; }
}