/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0C0F1A;
  --bg-surface: #131728;
  --fg: #E8E9ED;
  --fg-muted: #8B8FA3;
  --accent: #F59E0B;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-hot: #FBBF24;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1080px;
  --space-section: clamp(80px, 12vw, 140px);
}

html { scroll-behavior: smooth; }

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

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* === PROBLEM === */
.problem {
  padding: var(--space-section) 24px;
  background: var(--bg-surface);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.problem-stat {
  position: sticky;
  top: 100px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.problem-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.problem-text p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.problem-text strong {
  color: var(--accent-hot);
  font-weight: 600;
}

/* === FEATURES === */
.features {
  padding: var(--space-section) 24px;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-icon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
}

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

/* === HOW === */
.how {
  padding: var(--space-section) 24px;
  background: var(--bg-surface);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.how-step {
  position: relative;
  padding-left: 28px;
}

.step-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

.how-step.active .step-line {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hot) 100%);
}

.step-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 14px;
}

.how-step.active .step-tag {
  color: var(--accent);
}

.how-step p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.how-step.active p {
  color: var(--fg);
}

/* === CLOSING === */
.closing {
  padding: var(--space-section) 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.footer-sep {
  font-size: 14px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .problem-stat {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

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

  .features-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .hero-glow {
    width: 400px;
    height: 400px;
  }

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