:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-hover: #1c2540;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #4b5568;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  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-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  font-family: var(--font-body);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

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

.hero-description {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-primary);
}

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

/* ---- NICHES SECTION ---- */
.niches {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.niches h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 600px;
}

.niches-description {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.niche-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.niche-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 170, 0.15);
}

.niche-card-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  display: block;
}

.niche-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

/* ---- ENGINE SECTION ---- */
.engine {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.engine h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 600px;
}

.engine-description {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.7;
}

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

.engine-step {
  background: var(--bg-secondary);
  padding: 40px 28px;
  position: relative;
}

.engine-step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-card-hover);
  line-height: 1;
  margin-bottom: 16px;
}

.engine-step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.engine-step p {
  color: var(--fg-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- NUMBERS SECTION ---- */
.numbers {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

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

.number-card {
  background: var(--bg-secondary);
  padding: 48px 36px;
  text-align: center;
}

.number-card-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.number-card-label {
  color: var(--fg-secondary);
  font-size: 0.95rem;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 0 100px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 24px;
}

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

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .engine-steps {
    grid-template-columns: 1fr;
  }

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

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

  .niches, .engine, .numbers {
    padding: 64px 0;
  }

  .closing {
    padding: 80px 0 64px;
  }
}