:root {
  --bg: #0a0a0c;
  --bg-elevated: #111114;
  --bg-card: #161619;
  --fg: #e8e8ec;
  --fg-muted: #8a8a96;
  --fg-dim: #5a5a66;
  --accent: #22d67a;
  --accent-glow: rgba(34, 214, 122, 0.15);
  --accent-dim: #1aaa60;
  --border: #222228;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  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-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

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

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 520px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* ——— PIPELINE ——— */
.pipeline {
  padding: 80px 24px 100px;
  max-width: 960px;
  margin: 0 auto;
}

.pipeline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 64px;
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pipeline-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
}

.step-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step:first-child .step-num {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* ——— FEATURES ——— */
.features {
  padding: 80px 24px 100px;
  background: var(--bg-elevated);
}

.features-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-dim);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ——— NUMBERS ——— */
.numbers {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
}

.numbers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-block .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

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

/* ——— CLOSING ——— */
.closing {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.closing p {
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

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

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

/* ——— RESPONSIVE ——— */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .numbers-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pipeline-steps::before {
    left: 20px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 14px;
  }

  .hero {
    padding: 100px 20px 60px;
  }
}

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