:root {
  --bg-deep: #06060c;
  --bg-surface: #0d0d18;
  --bg-card: #13132a;
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --accent-warm: #f59e0b;
  --text-primary: #f0f0f5;
  --text-secondary: #9898b0;
  --text-muted: #5c5c78;
  --gradient-start: #8b5cf6;
  --gradient-end: #ec4899;
  --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-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  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 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  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-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  background: rgba(139, 92, 246, 0.06);
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.65;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  opacity: 0.12;
  pointer-events: none;
}

.hero-wave .bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  animation: wave-bar 1.8s ease-in-out infinite;
}

@keyframes wave-bar {
  0%, 100% { height: 20px; }
  50% { height: var(--h, 60px); }
}

/* ============ PROBLEM ============ */
.problem {
  padding: 6rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.problem-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
}

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

.problem p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.75;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.stat-card .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ============ HOW IT WORKS ============ */
.how {
  padding: 6rem 1.5rem;
  background: var(--bg-surface);
}

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

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

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

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

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  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(280px, 1fr));
  gap: 1.5rem;
}

.feature {
  padding: 1.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-surface);
  transition: border-color 0.3s;
}

.feature:hover {
  border-color: rgba(139, 92, 246, 0.15);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-icon.purple { background: rgba(139, 92, 246, 0.12); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.12); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.12); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.12); }

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

.closing::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

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

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

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem; min-height: 90vh; }
  .problem, .features { padding: 4rem 1.25rem; }
  .how { padding: 4rem 1.25rem; }
  .closing { padding: 5rem 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .problem-stats { grid-template-columns: 1fr 1fr; }
}