:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --fg: #e8e8e8;
  --fg-muted: #888;
  --accent: #ff5a00;
  --accent-glow: rgba(255, 90, 0, 0.15);
  --accent-soft: #ff7a33;
  --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.6;
  overflow-x: hidden;
}

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

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(255, 90, 0, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
}

.hero .lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 90, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============ STATS ============ */
.stats {
  padding: 0 24px 100px;
  max-width: 960px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-card {
  background: var(--bg-elevated);
  padding: 40px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

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

/* ============ FEATURES ============ */
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 20px;
}

.features {
  padding: 100px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.feature-card:hover {
  border-color: rgba(255, 90, 0, 0.15);
}

.feature-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 90, 0, 0.04) 100%);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

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

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

/* ============ ENGINE ============ */
.engine {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.engine-inner {
  max-width: 800px;
  margin: 0 auto;
}

.engine h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.engine-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
  min-width: 60px;
}

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

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

/* ============ CLOSING ============ */
.closing {
  padding: 140px 24px;
  text-align: center;
  position: relative;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  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-powered {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-powered a {
  color: var(--accent);
  text-decoration: none;
}

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

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

  .feature-large {
    grid-column: span 1;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 70vh;
    padding: 80px 20px 60px;
  }

  .stat-card {
    padding: 28px 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    padding: 28px 20px;
  }
}