/* ==========================================================================
   Balloon Kingdom: Pop & Learn - Official 3D Landing Page Styles
   Designed for High Conversion, Delightful Sensory Aesthetics & Google Play Families Trust
   ========================================================================== */

:root {
  /* Color Palette - Cheerful, Vibrant & Soft Pastel Harmony */
  --primary-pink: #ff5b79;
  --primary-pink-dark: #e03c5b;
  --primary-blue: #29b6f6;
  --primary-blue-dark: #0288d1;
  --primary-yellow: #ffb703;
  --primary-green: #2ec4b6;
  --primary-purple: #8338ec;
  --primary-orange: #fb5607;
  
  --bg-gradient-sky: linear-gradient(180deg, #bbf2f6 0%, #e0f7fa 40%, #fff3e0 75%, #fce4ec 100%);
  --bg-gradient-hero: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.9) 0%, rgba(225, 245, 254, 0.6) 100%);
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(255, 255, 255, 0.85);

  --text-main: #2b2d42;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Typography */
  --font-heading: 'Fredoka', cursive, -apple-system, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & 3D Effects */
  --shadow-sm: 0 4px 12px rgba(43, 45, 66, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(43, 45, 66, 0.08), 0 8px 10px -6px rgba(43, 45, 66, 0.05);
  --shadow-lg: 0 20px 35px -8px rgba(43, 45, 66, 0.12), 0 10px 15px -5px rgba(43, 45, 66, 0.06);
  --shadow-balloon: 0 15px 30px rgba(255, 91, 121, 0.28);
  --shadow-btn: 0 8px 0 rgba(0, 0, 0, 0.15), 0 15px 20px rgba(0, 0, 0, 0.1);
  --shadow-btn-pressed: 0 2px 0 rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-gradient-sky);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Animated Floating Cloud Background Layer */
.cloud-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.65;
}

.cloud-item {
  position: absolute;
  background: radial-gradient(circle, #ffffff 40%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: var(--radius-full);
  filter: blur(14px);
  animation: floatCloud linear infinite;
}

.cloud-1 {
  width: 320px;
  height: 90px;
  top: 15%;
  left: -320px;
  animation-duration: 45s;
}

.cloud-2 {
  width: 480px;
  height: 130px;
  top: 45%;
  left: -480px;
  animation-duration: 65s;
  animation-delay: 15s;
}

.cloud-3 {
  width: 380px;
  height: 110px;
  top: 75%;
  left: -380px;
  animation-duration: 55s;
  animation-delay: 5s;
}

@keyframes floatCloud {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 600px)); }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Section Common Styling */
section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-pink);
  box-shadow: 0 4px 15px rgba(255, 91, 121, 0.15);
  border: 1px solid rgba(255, 91, 121, 0.2);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #1e293b;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Sticky Glassmorphic Navigation Bar
   ========================================================================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all var(--transition-fast);
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(255, 91, 121, 0.3);
  transform-origin: center;
  transition: transform var(--transition-smooth);
}

.brand-logo:hover .brand-icon-wrapper {
  transform: scale(1.08) rotate(-4deg);
}

.brand-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff5b79, #ffb703);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
  align-self: flex-start;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-pink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-pink);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Sound Toggle Button */
.btn-sound-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition-smooth);
}

.btn-sound-toggle:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: var(--primary-pink);
  box-shadow: 0 6px 16px rgba(255, 91, 121, 0.2);
}

/* Google Play Button */
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-google-play:hover {
  transform: translateY(-3px) scale(1.02);
  background: #1e293b;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  color: #ffffff;
}

.btn-google-play svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.play-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.play-text-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.play-text-main {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1e293b;
}

/* ==========================================================================
   Hero Section with 3D Balloon Canvas & 3D Smartphone Showcase
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Three.js 3D Background Canvas */
#balloon-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

#balloon-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Text Column */
.hero-text-col {
  max-width: 640px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(255, 91, 121, 0.15);
  border: 1.5px solid rgba(255, 183, 3, 0.3);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-pill-badge .star-icon {
  color: #ffb703;
  font-size: 1.1rem;
}

.hero-pill-badge span {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-title .highlight-pop {
  background: linear-gradient(135deg, #ff5b79 0%, #ffb703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.65;
  font-weight: 400;
}

/* 3D Pop Hint Tag */
.balloon-pop-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--primary-pink);
  padding: 8px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.balloon-pop-tip .icon-sparkle {
  animation: pulseRotate 2s infinite ease-in-out;
}

@keyframes pulseRotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary-3d {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff5b79 0%, #ff3366 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(255, 91, 121, 0.4), 0 4px 0 #c2185b;
  transition: all var(--transition-fast);
  transform: translateY(0);
}

.btn-primary-3d:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 91, 121, 0.5), 0 5px 0 #c2185b;
  color: #ffffff;
}

.btn-primary-3d:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(255, 91, 121, 0.3), 0 1px 0 #c2185b;
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #1e293b;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.btn-secondary-glass:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-pink);
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.trust-badge-item .badge-icon {
  font-size: 1rem;
}

/* ==========================================================================
   3D Phone Mockup Showcase (with Gyro/Cursor Tilt)
   ========================================================================== */
.hero-mockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  max-width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.phone-mockup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0f172a;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 
    0 30px 60px -12px rgba(15, 23, 42, 0.35),
    0 18px 36px -18px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    inset 0 0 0 6px #1e293b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Phone Notch / Camera Hole */
.phone-notch-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #000000;
  border-radius: 50%;
  z-index: 10;
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.3);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #e0f2fe;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-screen-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Screen Glass Glare */
.phone-glass-glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 5;
}

/* Floating Decorative 3D Badges around phone */
.mockup-floating-badge {
  position: absolute;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 12;
  border: 2px solid #ffffff;
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.badge-left {
  top: 15%;
  left: -35px;
  color: var(--primary-pink);
  animation-delay: 0.5s;
}

.badge-right {
  bottom: 22%;
  right: -30px;
  color: var(--primary-blue-dark);
  animation-delay: 1.2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-12px) rotate(2deg); }
}

/* Screen Switcher Tabs Under Mockup */
.mockup-screen-selector {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.screen-tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  transition: all var(--transition-fast);
}

.screen-tab-btn:hover {
  color: var(--primary-pink);
}

.screen-tab-btn.active {
  background: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 91, 121, 0.35);
}

/* ==========================================================================
   Interactive Pop & Audio Playground Widget
   ========================================================================== */
.pop-playground-strip {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  border: 2px dashed rgba(255, 91, 121, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.pop-playground-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pop-playground-icon {
  font-size: 2.2rem;
  animation: bounceSoft 2s infinite ease-in-out;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pop-playground-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
}

.pop-playground-desc {
  font-size: 0.88rem;
  color: #64748b;
}

.pop-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-balloon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: visible;
}

.mini-balloon-btn::after {
  content: '▼';
  position: absolute;
  bottom: -9px;
  font-size: 9px;
  color: inherit;
  filter: brightness(0.85);
}

.mini-balloon-btn:hover {
  transform: scale(1.15) translateY(-4px);
}

.mini-balloon-btn:active {
  transform: scale(0.92) translateY(2px);
}

.balloon-color-red { background: #ff4757; color: #ff4757; }
.balloon-color-red span { color: #ffffff; }
.balloon-color-blue { background: #1e90ff; color: #1e90ff; }
.balloon-color-blue span { color: #ffffff; }
.balloon-color-yellow { background: #ffa502; color: #ffa502; }
.balloon-color-yellow span { color: #ffffff; }
.balloon-color-green { background: #2ed573; color: #2ed573; }
.balloon-color-green span { color: #ffffff; }
.balloon-color-purple { background: #9b59b6; color: #9b59b6; }
.balloon-color-purple span { color: #ffffff; }

/* ==========================================================================
   Section 3: Educational Curriculum & Learning Modes
   ========================================================================== */
.learning-section {
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.8) 0%, rgba(240, 249, 255, 0.6) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.curriculum-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.curriculum-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.curriculum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--card-accent, var(--primary-pink));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.card-icon-bubble {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  background: var(--card-bg, #ffebee);
  color: var(--card-accent, var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-smooth);
}

.curriculum-card:hover .card-icon-bubble {
  transform: scale(1.12) rotate(6deg);
}

.curriculum-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.curriculum-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.curriculum-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.curriculum-features-list li {
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.curriculum-features-list li span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-accent, var(--primary-pink));
}

/* Individual Card Accents */
.card-abc {
  --card-accent: #ff5b79;
  --card-bg: #ffe4e8;
}

.card-123 {
  --card-accent: #0288d1;
  --card-bg: #e1f5fe;
}

.card-shapes {
  --card-accent: #f59e0b;
  --card-bg: #fef3c7;
}

.card-sensory {
  --card-accent: #8b5cf6;
  --card-bg: #ede9fe;
}

/* ==========================================================================
   Section 4: Themed Worlds & Mini-Games Hub
   ========================================================================== */
.worlds-section {
  position: relative;
}

.worlds-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.world-pill-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all var(--transition-smooth);
}

.world-pill-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.world-emoji {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.world-pill-card:hover .world-emoji {
  transform: scale(1.2) rotate(8deg);
}

.world-pill-card h4 {
  font-size: 1.15rem;
  color: #1e293b;
  margin-bottom: 6px;
}

.world-pill-card span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Mini-Games Showcase Banner */
.minigames-showcase-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.minigames-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.minigames-info p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.minigames-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.game-tag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
}

.game-tag-item .tag-icon {
  font-size: 1.25rem;
}

.minigames-preview-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.minigames-preview-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ==========================================================================
   Section 5: For Parents: Safety, Privacy & Control
   ========================================================================== */
.parents-section {
  background: linear-gradient(180deg, #eef9fe 0%, #f0fdf4 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.safety-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.safety-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform var(--transition-smooth);
}

.safety-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.safety-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.safety-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f0fdf4;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.safety-card h3 {
  font-size: 1.35rem;
  color: #0f172a;
}

.safety-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Interactive Math Gate Simulator Box */
.math-gate-simulator {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid #e2e8f0;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.math-gate-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0288d1;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.math-gate-simulator h3 {
  font-size: 1.7rem;
  color: #1e293b;
  margin-bottom: 10px;
}

.math-gate-simulator p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.math-problem-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #cbd5e1;
}

.math-expression {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
}

.math-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.math-input {
  width: 100px;
  height: 48px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 2px solid #cbd5e1;
  outline: none;
  font-family: var(--font-heading);
  color: #0f172a;
  background: #ffffff;
  transition: border-color var(--transition-fast);
}

.math-input:focus {
  border-color: var(--primary-pink);
}

.btn-unlock-gate {
  background: var(--primary-pink);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(255, 91, 121, 0.3);
  transition: all var(--transition-fast);
}

.btn-unlock-gate:hover {
  background: var(--primary-pink-dark);
  transform: translateY(-2px);
}

.gate-result-msg {
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 24px;
  transition: all var(--transition-fast);
}

.gate-result-msg.success {
  color: #10b981;
}

.gate-result-msg.error {
  color: #ef4444;
}

/* ==========================================================================
   Section 6: Official Privacy Policy (Google Play Families & COPPA Compliant)
   ========================================================================== */
.privacy-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.policy-card-container {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.policy-header-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.policy-header-title {
  font-size: 1.6rem;
  font-weight: 800;
}

.policy-meta-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.policy-body {
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}

/* Policy Sidebar TOC */
.policy-toc-nav {
  position: sticky;
  top: 90px;
  align-self: start;
}

.toc-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-item a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  transition: all var(--transition-fast);
}

.toc-item a:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.toc-item a.active {
  background: #e0f2fe;
  color: #0288d1;
  font-weight: 700;
}

/* Policy Articles */
.policy-content-article {
  max-width: 780px;
}

.policy-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.policy-block:last-child {
  border-bottom: none;
}

.policy-block h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-block p {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.policy-highlight-box {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}

.policy-highlight-box p {
  color: #065f46;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.9rem;
}

.policy-table th, .policy-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #cbd5e1;
}

.policy-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
}

.policy-table td {
  background: #ffffff;
  color: #334155;
}

/* ==========================================================================
   Section 7: FAQ Accordion
   ========================================================================== */
.faq-section {
  position: relative;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 91, 121, 0.4);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
}

.faq-trigger:hover {
  color: var(--primary-pink);
}

.faq-chevron {
  font-size: 1.2rem;
  transition: transform var(--transition-smooth);
  color: var(--primary-pink);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-body {
  padding: 0 28px 24px 28px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   Section 8: Footer
   ========================================================================== */
.main-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-bar a {
  color: #cbd5e1;
}

.footer-bottom-bar a:hover {
  color: #ffffff;
}

/* Floating Action Download Bar (Bottom Right) */
.floating-cta-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: linear-gradient(135deg, #ff5b79, #ff3366);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(255, 91, 121, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: all var(--transition-smooth);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.floating-cta-pill:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 30px rgba(255, 91, 121, 0.6);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-col {
    max-width: 100%;
  }

  .hero-pill-badge, .balloon-pop-tip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group, .trust-badges-bar {
    justify-content: center;
  }

  .hero-mockup-col {
    margin-top: 30px;
  }

  .minigames-showcase-box {
    grid-template-columns: 1fr;
  }

  .policy-body {
    grid-template-columns: 1fr;
  }

  .policy-toc-nav {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .pop-playground-strip {
    flex-direction: column;
    text-align: center;
  }

  .pop-playground-info {
    flex-direction: column;
  }

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

  .policy-header-bar {
    padding: 20px;
  }

  .policy-body {
    padding: 24px;
  }

  .floating-cta-pill {
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}
