/* =====================================================================
   UNDRGRND — Kids Movement Studio · "NEON PLAYGROUND" theme
   Dark base · LOUD multi-colour neon · rounded chunky type · playful motion
   Mobile-first. Single shared stylesheet.
   ===================================================================== */

:root {
  --bg:        #0B0712;
  --bg-2:      #110A1E;
  --surface:   #1A1030;
  --surface-2: #241640;
  --line:      rgba(168,85,247,0.22);

  --purple:        #A855F7;
  --purple-light:  #C4B5FD;
  --pink:          #F472B6;
  --cyan:          #22D3EE;
  --yellow:        #FDE047;
  --green:         #4ADE80;
  --orange:        #FB923C;

  --text:   #FFFFFF;
  --muted:  #C9C2DD;
  --muted-2:#8E84A8;

  --grad:  linear-gradient(135deg, #A855F7 0%, #F472B6 100%);
  --grad-rainbow: linear-gradient(90deg,#F472B6,#FB923C,#FDE047,#4ADE80,#22D3EE,#A855F7);
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1200px;
  --pad: 6vw;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --bounce: cubic-bezier(.34,1.56,.64,1);
  --glow-purple: 0 0 22px rgba(168,85,247,0.65), 0 0 6px rgba(196,181,253,0.7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: 4.5rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }

/* ---- Typography ---- */
.eyebrow {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink);
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem;
  padding: 0.35rem 0.9rem; background: rgba(244,114,182,0.12); border: 1px solid rgba(244,114,182,0.3); border-radius: 999px;
}
.eyebrow::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; color: #fff; }
h1 { font-size: clamp(2.7rem, 11vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h3 { font-size: 1.5rem; }
.section__title { margin-bottom: 0.85rem; }
.section__lead { color: var(--muted); max-width: 640px; font-size: 1.08rem; }
.center .section__lead { margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.neon { color: var(--purple-light); text-shadow: var(--glow-purple); }

/* ---- Buttons: chunky neon pills with glow + bounce ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em; padding: 1rem 2rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .3s var(--bounce), box-shadow .3s ease, filter .25s ease;
  white-space: normal; text-align: center; line-height: 1.2;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 32px rgba(168,85,247,0.4), 0 0 0 rgba(244,114,182,0); }
.btn--primary:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 44px rgba(244,114,182,0.55); filter: brightness(1.08); }
.btn--primary:active { transform: translateY(-1px) scale(0.99); }
.btn--ghost { background: rgba(168,85,247,0.1); color: #fff; border: 2px solid rgba(168,85,247,0.5); }
.btn--ghost:hover { transform: translateY(-4px) scale(1.04); border-color: var(--cyan); color: #fff; box-shadow: 0 0 24px rgba(34,211,238,0.35); }
.btn--block { width: 100%; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(11,7,18,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: 1px; color: var(--purple-light); text-shadow: var(--glow-purple); }
.nav__links { display: none; gap: 1.7rem; align-items: center; }
.nav__links a { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__cta { display: none; }
.nav__burger { background: none; border: none; cursor: pointer; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.nav__burger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__mobile { position: fixed; inset: 72px 0 auto 0; background: rgba(11,7,18,0.99); border-bottom: 2px solid var(--line); transform: translateY(-120%); transition: transform .35s var(--bounce); padding: 1.5rem var(--pad) 2rem; z-index: 999; }
.nav__mobile.open { transform: translateY(0); }
.nav__mobile a { display: block; padding: 0.9rem 0; font-size: 1.4rem; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav__mobile .btn { margin-top: 1.2rem; }
@media (min-width: 920px) { .nav__links, .nav__cta { display: flex; } .nav__burger { display: none; } }

/* ---- Neon character mascots (placeholder line figures) ---- */
.mascots { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem,5vw,3rem); flex-wrap: wrap; padding: 1rem 0; }
.mascot { width: clamp(54px, 12vw, 90px); height: auto; }
.mascot path, .mascot circle, .mascot line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mascot--pink   * { stroke: var(--pink);   filter: drop-shadow(0 0 6px var(--pink)); }
.mascot--cyan   * { stroke: var(--cyan);   filter: drop-shadow(0 0 6px var(--cyan)); }
.mascot--yellow * { stroke: var(--yellow); filter: drop-shadow(0 0 6px var(--yellow)); }
.mascot--green  * { stroke: var(--green);  filter: drop-shadow(0 0 6px var(--green)); }
.mascot--purple * { stroke: var(--purple); filter: drop-shadow(0 0 7px var(--purple)); }
.mascot--float { animation: float 4s ease-in-out infinite; }
.mascot--float:nth-child(2n) { animation-delay: -1.3s; }
.mascot--float:nth-child(3n) { animation-delay: -2.4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* rainbow divider strip */
.rainbow-rule { height: 4px; background: var(--grad-rainbow); border: none; border-radius: 4px; margin: 0; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 2.5rem 0 3.5rem; }
.hero::before { content: ''; position: absolute; top: -25%; right: -25%; width: 80vw; height: 80vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(168,85,247,0.28) 0%, rgba(244,114,182,0.12) 40%, transparent 68%); pointer-events: none; }
.hero__grid { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.hero__title { margin: 0.4rem 0 1.1rem; }
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin-bottom: 1.7rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid rgba(168,85,247,0.35); aspect-ratio: 4/3; box-shadow: 0 0 50px rgba(168,85,247,0.25); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__trust svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 3; }
@media (min-width: 920px) { .hero { padding: 4rem 0 5rem; } .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } .hero__media { aspect-ratio: 3/3.4; } }

/* ---- Trust bar ---- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trustbar__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding: 2rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.trust-item svg { width: 30px; height: 30px; stroke: var(--cyan); fill: none; stroke-width: 2.2; flex-shrink: 0; filter: drop-shadow(0 0 5px rgba(34,211,238,0.4)); }
.trust-item:nth-child(2) svg { stroke: var(--pink); filter: drop-shadow(0 0 5px rgba(244,114,182,0.4)); }
.trust-item:nth-child(3) svg { stroke: var(--yellow); filter: drop-shadow(0 0 5px rgba(253,224,71,0.4)); }
.trust-item:nth-child(4) svg { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(74,222,128,0.4)); }
@media (min-width: 768px) { .trustbar__inner { grid-template-columns: repeat(4,1fr); } }

/* ---- Age chooser ---- */
.ages { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .ages { grid-template-columns: repeat(3,1fr); } }
.age-card { display: block; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform .3s var(--bounce), border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.age-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent, var(--purple)); }
.age-card:hover { transform: translateY(-7px) scale(1.02); border-color: var(--accent, var(--purple)); box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 30px color-mix(in srgb, var(--accent, var(--purple)) 35%, transparent); }
.age-card__age { font-family: var(--font-display); font-weight: 700; font-size: 2.9rem; line-height: 1; color: var(--accent, var(--purple-light)); text-shadow: 0 0 18px color-mix(in srgb, var(--accent, var(--purple)) 60%, transparent); }
.age-card__band { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; margin: 0.6rem 0 0.5rem; color: #fff; }
.age-card__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.age-card__link { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent, var(--purple-light)); }
.age-card--junior { --accent: var(--pink); }
.age-card--inter  { --accent: var(--cyan); }
.age-card--senior { --accent: var(--yellow); }

/* ---- Program cards ---- */
.programs { display: grid; gap: 1.6rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .programs { grid-template-columns: repeat(3,1fr); } }
.prog-card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--bounce), border-color .3s, box-shadow .3s; }
.prog-card:hover { transform: translateY(-7px); border-color: var(--purple); box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 30px rgba(168,85,247,0.25); }
.prog-card__img { aspect-ratio: 16/11; overflow: hidden; }
.prog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--bounce); }
.prog-card:hover .prog-card__img img { transform: scale(1.07); }
.prog-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.prog-card__tag { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.prog-card__name { font-size: 1.6rem; }
.prog-card__ages { font-size: 0.85rem; color: var(--muted-2); font-weight: 700; }
.prog-card__desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.prog-card__link { margin-top: 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: #fff; }
.prog-card__link span { color: var(--pink); }

/* ---- Steps ---- */
.steps { display: grid; gap: 1.3rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3,1fr); } }
.step { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 1rem; box-shadow: 0 0 18px rgba(168,85,247,0.5); }
.step:nth-child(2) .step__n { background: linear-gradient(135deg,#22D3EE,#4ADE80); box-shadow: 0 0 18px rgba(34,211,238,0.5); }
.step:nth-child(3) .step__n { background: linear-gradient(135deg,#FB923C,#FDE047); box-shadow: 0 0 18px rgba(251,146,60,0.5); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
.price-pill { display: inline-flex; align-items: baseline; gap: 0.5rem; margin-top: 2rem; background: rgba(168,85,247,0.12); border: 2px solid var(--line); border-radius: 999px; padding: 0.8rem 1.6rem; }
.price-pill b { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--purple-light); text-shadow: var(--glow-purple); }
.price-pill span { color: var(--muted); font-size: 0.95rem; }

/* ---- Values ---- */
.values { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4,1fr); } }
.value { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.value__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; background: rgba(168,85,247,0.14); }
.value__icon svg { width: 26px; height: 26px; stroke: var(--purple-light); fill: none; stroke-width: 2.2; }
.value:nth-child(2) .value__icon { background: rgba(244,114,182,0.14); } .value:nth-child(2) .value__icon svg { stroke: var(--pink); }
.value:nth-child(3) .value__icon { background: rgba(34,211,238,0.14); } .value:nth-child(3) .value__icon svg { stroke: var(--cyan); }
.value:nth-child(4) .value__icon { background: rgba(74,222,128,0.14); } .value:nth-child(4) .value__icon svg { stroke: var(--green); }
.value h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.value p { color: var(--muted); font-size: 0.93rem; }

/* ---- Testimonials ---- */
.quotes { display: grid; gap: 1.3rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3,1fr); } }
.quote { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.quote__stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 0.8rem; filter: drop-shadow(0 0 5px rgba(253,224,71,0.5)); }
.quote p { color: #efe9f7; margin-bottom: 1rem; font-size: 1.02rem; }
.quote__by { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--muted); }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 2.5rem auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; cursor: pointer; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-align: left; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; }
.faq__q::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.7rem; color: var(--pink); transition: transform .3s; }
.faq__item.open .faq__q::after { content: '−'; color: var(--cyan); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { color: var(--muted); padding-bottom: 1.3rem; }
.faq__item.open .faq__a { max-height: 340px; }

/* ---- Final CTA ---- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: linear-gradient(135deg,#110A1E,#2a1244 55%,#110A1E); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(244,114,182,0.25), transparent 60%); }
.cta-band__inner { position: relative; z-index: 1; padding: 5rem 0; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0.9rem auto 2rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---- Footer ---- */
.footer { background: #07050D; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.footer__grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer .logo { font-size: 2rem; margin-bottom: 0.8rem; display: inline-block; }
.footer__tag { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer__safe { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--green); }
.footer__safe svg { width: 17px; height: 17px; stroke: var(--green); fill: none; stroke-width: 2.2; }
.footer__col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 0.95rem; padding: 0.3rem 0; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; color: var(--muted-2); font-size: 0.82rem; }
.footer__bottom a { color: var(--muted-2); } .footer__bottom a:hover { color: #fff; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity .6s ease, transform .6s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .mascot--float { animation: none; } html { scroll-behavior: auto; } }
