:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e6e3;
  --fg-muted: #8a8890;
  --fg-dim: #5a5860;
  --accent: #d4a053;
  --accent-glow: rgba(212, 160, 83, 0.15);
  --accent-dim: #b8893f;
  --border: #1e1e28;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ============ NAV ============ */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
}

/* ============ HERO ============ */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-glow), transparent);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  width: fit-content;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 580px;
  font-weight: 300;
}

/* Pipeline visual */
.hero-visual {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px 60px;
  width: 100%;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 12px;
  transition: all 0.3s;
}

.flow-step span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flow-step .flow-icon {
  font-size: 28px;
  line-height: 1;
}

.flow-step.active {
  background: var(--accent-glow);
  border: 1px solid rgba(212, 160, 83, 0.3);
}

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

.flow-arrow {
  color: var(--fg-dim);
  font-size: 22px;
  margin: 0 4px;
}

/* ============ HOW ============ */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 64px;
  color: var(--fg);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s;
}

.how-card:hover {
  border-color: rgba(212, 160, 83, 0.3);
}

.how-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg-dim);
  line-height: 1;
  margin-bottom: 20px;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

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

/* ============ FEATURES ============ */
.features {
  padding: 120px 32px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-split {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.features-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--fg);
}

.features-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.features-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-marker {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 10px;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--fg);
}

.feature-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ============ CLOSING ============ */
.closing {
  padding: 140px 32px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 60% 40% at 50% 110%, var(--accent-glow), transparent);
}

.closing-content {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--fg);
}

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-dim);
  font-style: italic;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pipeline-flow {
    padding: 20px 16px;
    gap: 4px;
  }

  .flow-step {
    padding: 12px 12px;
  }

  .flow-step span {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 48px 20px 32px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 17px;
  }

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

  .how {
    padding: 80px 20px;
  }

  .features {
    padding: 80px 20px;
  }

  .closing {
    padding: 80px 20px;
  }

  .pipeline-flow {
    flex-direction: column;
    gap: 2px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}