:root {
  --bg: #050507;
  --bg-elevated: #0c0c10;
  --bg-card: #111118;
  --fg: #e8e6f0;
  --fg-muted: #8a879a;
  --fg-dim: #5a576a;
  --accent: #b44dff;
  --accent-glow: rgba(180, 77, 255, 0.3);
  --accent-secondary: #ff4d6a;
  --gradient-dark: linear-gradient(180deg, #050507 0%, #0a0a12 100%);
  --gradient-accent: linear-gradient(135deg, #b44dff 0%, #ff4d6a 100%);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', 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);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero h1 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-grid {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 1200px;
  height: 120px;
  opacity: 0.15;
  z-index: 0;
}

.grid-cell {
  background: var(--bg-card);
  border-radius: 4px;
}

.gc-1 { background: linear-gradient(180deg, transparent, var(--accent-glow)); }
.gc-2 { background: linear-gradient(180deg, transparent, rgba(255, 77, 106, 0.15)); }
.gc-3 { background: linear-gradient(180deg, transparent, var(--accent-glow)); }
.gc-4 { background: linear-gradient(180deg, transparent, rgba(255, 77, 106, 0.15)); }

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

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

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

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.problem-text p {
  font-size: 19px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.problem-highlight {
  color: var(--fg) !important;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-top: 12px;
}

/* ========= FEATURES ========= */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(180, 77, 255, 0.2);
  transform: translateY(-2px);
}

.fc-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 24px;
  padding: 44px 36px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(180, 77, 255, 0.05) 100%);
  border-color: rgba(180, 77, 255, 0.1);
}

.fc-large .fc-icon {
  grid-row: 1 / 3;
  font-size: 32px;
}

.fc-icon {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

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

/* ========= HOW IT WORKS ========= */
.how {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.how .section-label {
  text-align: center;
}

.how-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.how-step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg-dim);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}

.step-content p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

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

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

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ========= FOOTER ========= */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

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

/* ========= CTA BUTTONS ========= */
.hero-cta,
.closing-cta {
  margin-top: 36px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 15px 36px;
  transition: opacity 0.2s, transform 0.15s;
}

.cta-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.cta-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

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

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

  .stat-num {
    font-size: 56px;
  }

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

  .fc-large {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .fc-large .fc-icon {
    grid-row: auto;
  }

  .how-step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .step-num {
    font-size: 36px;
  }

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

  .hero-grid {
    display: none;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }

  .hero h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 16px; }

  .problem, .features, .how, .closing {
    padding: 60px 16px;
  }

  .stat-num { font-size: 44px; }
  .closing h2 { font-size: 26px; }
}