:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-elevated: #1a1a24;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.25);
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --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);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Ambient glow ─── */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-orb--top { top: -200px; right: -100px; }
.glow-orb--bottom { bottom: -300px; left: -200px; opacity: 0.5; }

/* ─── Layout ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Nav ─── */
.nav {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__logo span { color: var(--accent); }
.nav__tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content { max-width: 540px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* ─── Hero visual ─── */
.hero__visual {
  position: relative;
}
.flow-diagram {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
}
.flow-diagram__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  transition: background 0.2s;
}
.flow-step:hover { background: var(--bg-elevated); }
.flow-step__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.flow-step__icon--input { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.flow-step__icon--process { background: var(--accent-dim); color: var(--accent); }
.flow-step__icon--output { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.flow-step__text {
  font-size: 0.9rem;
  font-weight: 500;
}
.flow-step__sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin: 4px 0;
  opacity: 0.4;
}

/* ─── How It Works ─── */
.how {
  padding: 100px 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 60px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.step-card:hover {
  border-color: rgba(0, 232, 123, 0.2);
  transform: translateY(-4px);
}
.step-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Packages ─── */
.packages {
  padding: 80px 0 100px;
}
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pkg {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.pkg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.pkg--engine::before { background: linear-gradient(90deg, var(--accent), #00c9ff); }
.pkg--lead::before { background: linear-gradient(90deg, #fbbf24, #f97316); }
.pkg__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pkg__desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.pkg__outputs {
  list-style: none;
}
.pkg__outputs li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pkg__outputs li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ─── Numbers ─── */
.numbers {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.number__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.number__label {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* ─── Closing ─── */
.closing {
  padding: 120px 0;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Footer ─── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.footer__brand span { color: var(--accent); }
.footer__note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0 48px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}