@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-glow: #1a1a3a;
  --neon-pink: #ff2d7b;
  --neon-cyan: #00f0ff;
  --neon-purple: #b14dff;
  --neon-green: #39ff14;
  --neon-yellow: #ffe600;
  --neon-orange: #ff6b2b;
  --text-primary: #ffffff;
  --text-muted: #8888aa;
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(177,77,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(177,77,255,0.15);
  border: 1px solid rgba(177,77,255,0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-purple);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 .word-lil {
  color: var(--neon-cyan);
  text-shadow: 0 0 40px rgba(0,240,255,0.4);
}

.hero h1 .word-beat {
  color: var(--neon-pink);
  text-shadow: 0 0 40px rgba(255,45,123,0.4);
}

.hero h1 .word-lab {
  color: var(--neon-yellow);
  text-shadow: 0 0 40px rgba(255,230,0,0.4);
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.hero-sub strong { color: var(--text-primary); }

/* Beat Pads Animation */
.beat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.beat-pad {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  animation: padPulse 2s ease-in-out infinite;
}

.beat-pad::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.beat-pad:nth-child(1)  { background: var(--neon-pink); animation-delay: 0s; }
.beat-pad:nth-child(2)  { background: var(--neon-cyan); animation-delay: 0.15s; }
.beat-pad:nth-child(3)  { background: var(--neon-purple); animation-delay: 0.3s; }
.beat-pad:nth-child(4)  { background: var(--neon-yellow); animation-delay: 0.45s; }
.beat-pad:nth-child(5)  { background: var(--neon-orange); animation-delay: 0.6s; }
.beat-pad:nth-child(6)  { background: var(--neon-green); animation-delay: 0.75s; }
.beat-pad:nth-child(7)  { background: var(--neon-pink); animation-delay: 0.9s; }
.beat-pad:nth-child(8)  { background: var(--neon-cyan); animation-delay: 1.05s; }
.beat-pad:nth-child(9)  { background: var(--neon-purple); animation-delay: 1.2s; }
.beat-pad:nth-child(10) { background: var(--neon-yellow); animation-delay: 1.35s; }
.beat-pad:nth-child(11) { background: var(--neon-orange); animation-delay: 1.5s; }
.beat-pad:nth-child(12) { background: var(--neon-green); animation-delay: 1.65s; }
.beat-pad:nth-child(13) { background: var(--neon-cyan); animation-delay: 1.8s; }
.beat-pad:nth-child(14) { background: var(--neon-pink); animation-delay: 1.95s; }
.beat-pad:nth-child(15) { background: var(--neon-yellow); animation-delay: 2.1s; }
.beat-pad:nth-child(16) { background: var(--neon-purple); animation-delay: 2.25s; }

@keyframes padPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ===== SECTIONS SHARED ===== */
section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

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

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(177,77,255,0.3);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Space Mono', monospace;
  font-size: 4rem;
  font-weight: 700;
  position: absolute;
  top: -0.25rem;
  right: 1rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(177,77,255,0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.feature-card:nth-child(1)::before { background: var(--neon-pink); }
.feature-card:nth-child(2)::before { background: var(--neon-cyan); }
.feature-card:nth-child(3)::before { background: var(--neon-purple); }
.feature-card:nth-child(4)::before { background: var(--neon-yellow); }
.feature-card:nth-child(5)::before { background: var(--neon-green); }
.feature-card:nth-child(6)::before { background: var(--neon-orange); }
.feature-card:nth-child(7)::before { background: var(--neon-pink); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== SAFE ZONE ===== */
.safe-zone {
  background: linear-gradient(135deg, rgba(0,240,255,0.05) 0%, rgba(177,77,255,0.05) 100%);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  margin-top: 2rem;
}

.safe-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.safe-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.safe-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0,240,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safe-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.safe-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== PARENT SECTION ===== */
.parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.parent-benefit {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}

.parent-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.parent-benefit h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.parent-benefit p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,45,123,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.closing-title .accent-cyan { color: var(--neon-cyan); }
.closing-title .accent-pink { color: var(--neon-pink); }

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

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer .footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ===== CTA BUTTON ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.25rem);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(255,45,123,0.35), 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.hero-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 60px rgba(255,45,123,0.5), 0 12px 30px rgba(0,0,0,0.3);
}
.hero-cta:active { transform: scale(0.97); }

/* ===== WAVE DIVIDER ===== */
.wave-divider {
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .beat-grid {
    max-width: 240px;
    gap: 0.5rem;
  }
  .safe-zone {
    padding: 2rem 1.5rem;
  }
  .safe-features {
    grid-template-columns: 1fr;
  }
  section {
    padding: 3.5rem 1.5rem;
  }
}

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