:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ec;
  --fg-muted: #8a8a9a;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.12);
  --accent-glow: rgba(74, 222, 128, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1100px;
}

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

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

/* ====== HERO ====== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim) 0%, transparent 70%),
    var(--bg);
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  margin-bottom: 2rem;
}

.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;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 40%, var(--fg-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Hero CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-bottom: 3.5rem;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 0 30px var(--accent-glow);
}
.hero-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow);
}

/* Pipeline flow visual */
.hero-visual {
  margin-top: 2rem;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.flow-node.active {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 30px var(--accent-glow);
}

.flow-icon {
  font-size: 1.5rem;
}

.flow-node span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flow-node.active span {
  color: var(--accent);
}

.flow-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent-glow));
}

/* ====== HOW ====== */
.how {
  padding: 6rem 2rem;
  background: var(--bg);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

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

/* ====== FEATURES ====== */
.features {
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse 70% 40% at 20% 50%, rgba(74, 222, 128, 0.04) 0%, transparent 70%),
    var(--bg-elevated);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.feature-content p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feat-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s;
}

.feat-card:hover {
  border-color: rgba(74, 222, 128, 0.2);
}

.feat-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* ====== NUMBERS ====== */
.numbers {
  padding: 5rem 2rem;
  background: var(--bg);
}

.numbers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.number-item {
  text-align: center;
  flex: 1;
}

.big-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.number-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 200px;
  margin: 0 auto;
}

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

/* ====== CLOSING ====== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, var(--accent-dim) 0%, transparent 70%),
    var(--bg);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ====== FOOTER ====== */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

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

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .numbers-inner {
    flex-direction: column;
    gap: 2rem;
  }

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

  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }

  .pipeline-flow {
    gap: 0.3rem;
  }

  .flow-node {
    padding: 0.8rem 1rem;
  }

  .flow-arrow {
    width: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}