:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --fg-primary: #e8e8ef;
  --fg-secondary: #8888a0;
  --fg-muted: #55556a;
  --accent: #00e89d;
  --accent-dim: #00e89d22;
  --accent-glow: #00e89d44;
  --red: #ff4757;
  --green: #00e89d;
  --border: #1e1e2e;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 30%, var(--accent-dim) 0%, transparent 50%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

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

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

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

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--fg-secondary);
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-btn-primary {
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.cta-btn-primary:hover { opacity: 0.88; }

.cta-btn-ghost {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--fg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.15s;
}

.cta-btn-ghost:hover { border-color: var(--fg-secondary); color: var(--fg-primary); }

.hero-terminal {
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: left;
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-terminal .line {
  margin-bottom: 0.4rem;
  color: var(--fg-secondary);
}

.hero-terminal .line .prompt {
  color: var(--accent);
}

.hero-terminal .line .value {
  color: var(--fg-primary);
}

.hero-terminal .line .green {
  color: var(--green);
}

.hero-terminal .line .red {
  color: var(--red);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  max-width: 300px;
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  text-align: center;
}

.stat-item .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

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

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features .section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* ===== HOW IT WORKS ===== */
.how {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.how .section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.how h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

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

.step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-glow);
  line-height: 1;
  min-width: 60px;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.closing h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.closing h2 .accent {
  color: var(--accent);
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stats-bar {
    flex-direction: column;
  }
  .stat-item {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .step {
    flex-direction: column;
    gap: 0.8rem;
  }
  .step-number {
    font-size: 2rem;
  }
  .hero-terminal {
    padding: 1rem 1.2rem;
    font-size: 0.75rem;
  }
}