/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Nunito', sans-serif;
  background: #FFFBF4;
  color: #2D2D2D;
  overflow-x: hidden;
  text-wrap: pretty;
}

/* ── Tokens ── */
:root {
  --green:   #2E9D5F;
  --green-dark: #1F7D46;
  --green-light: #A8E5C2;
  --orange:  #F57224;
  --orange-light: #FFCA99;
  --yellow:  #FFC940;
  --blue:    #5B9BD5;
  --pink:    #EC7A9A;
  --cream:   #FFF8EC;
  --brown:   #5A3418;
  --text:    #2D2D2D;
  --muted:   #777;
  --radius:  22px;
  --shadow-sm: 0 2px 14px rgba(107,66,38,0.08);
  --shadow-md: 0 8px 28px rgba(107,66,38,0.12);
  --shadow-lg: 0 20px 50px rgba(107,66,38,0.18);
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,251,244,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(240,230,211,0.8);
  padding: 0 6%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
.nav-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}

/* ── Hero ── */
.hero {
  padding: 120px 5% 80px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,201,64,0.45), transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(236,122,154,0.38), transparent 50%),
    radial-gradient(circle at 52% 82%, rgba(63,135,214,0.28), transparent 55%),
    linear-gradient(160deg, #D0F0DB 0%, #FFF4D6 50%, #FFDFB8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating characters behind hero content */
.hero-float {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 10px 24px rgba(107,66,38,0.15));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--brown);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 22px;
  border-radius: 50px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--yellow);
}

.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--green) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--yellow);
  opacity: 0.55;
  border-radius: 50px;
  z-index: -1;
}

/* Social proof strip */
.hero-proof {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  border: 1px solid rgba(107,66,38,0.08);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.proof-num {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem; font-weight: 800;
  color: var(--brown);
  line-height: 1;
}

/* ── Sections ── */
section { padding: 80px 5%; position: relative; }
.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--brown);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-title .hl::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 10px;
  background: var(--yellow);
  opacity: 0.5;
  border-radius: 50px;
  z-index: -1;
}

/* ── Channels ── */
.channels { background: white; }

.card-koko .card-header { background: linear-gradient(135deg, #E8F5EE, #D4EEE0); }

.card-arabic .card-header { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }

.card-koko .card-tag { background: #C8EDD8; color: var(--green-dark); }
.card-arabic .card-tag { background: #FFE0B2; color: #E65100; }
.card-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1.2;
}

.stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1;
}

/* ── Features ── */
.features { background: var(--cream); }

.feature-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 10px;
  position: relative;
}

/* ── Videos ── */
.videos { background: white; padding-top: 70px; padding-bottom: 70px; }

/* ── How it works (rhythm) ── */
.rhythm {
  background: linear-gradient(135deg, #FFE0B8 0%, #FFF2C8 50%, #C4EBD0 100%);
}

.rhythm-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 800;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(76,175,125,0.3);
}
.rhythm-card:nth-child(2)::before { background: var(--orange); box-shadow: 0 4px 14px rgba(255,140,66,0.3); }
.rhythm-card:nth-child(3)::before { background: var(--yellow); color: var(--brown); box-shadow: 0 4px 14px rgba(255,209,102,0.3); }
.rhythm-card:nth-child(4)::before { background: var(--blue); box-shadow: 0 4px 14px rgba(91,155,213,0.3); }

.rhythm-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 6px;
}

/* ── Parents ── */
.parents {
  background:
    radial-gradient(circle at 10% 50%, rgba(236,122,154,0.35), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(255,201,64,0.3), transparent 50%),
    linear-gradient(135deg, #C0EDD0 0%, #FFF1CC 100%);
}

.parents-text h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 18px;
  line-height: 1.2;
}

.parents-visual h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.modal-box {
  background: white; border-radius: 24px;
  max-width: 440px; width: 100%;
  padding: 40px 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  position: relative;
  animation: modalSlideUp 0.3s ease;
}

.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: #aaa; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.modal-field input[type="email"],
.modal-field select {
  width: 100%; padding: 12px 16px;
  border: 2px solid #E0D8CC; border-radius: 14px;
  font-size: 0.95rem; font-family: 'Nunito', sans-serif;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  background: white; color: #333; appearance: none;
  -webkit-appearance: none;
}
.modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(76,175,125,0.12);
}

/* ── FAQ ── */
.faq { background: white; }

.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--brown);
  font-family: 'Baloo 2', cursive;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

/* ── About ── */
.about { background: var(--cream); text-align: center; }

.about h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.9rem, 3.8vw, 2.4rem);
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 18px;
}

/* ── Footer ── */
footer {
  background: var(--brown);
  color: #E8D8C8;
  padding: 56px 5% 32px;
  position: relative;
  overflow: hidden;
}

.footer-col h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.05rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .parents-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,251,244,0.98);
    padding: 20px; gap: 18px;
    border-bottom: 2px solid #F0E6D3;
    box-shadow: 0 6px 24px rgba(107,66,38,0.1);
  }
  .hero { padding: 88px 5% 40px; }
  .hero-float { display: none; }
  .hero-emoji-row { font-size: 1.8rem; letter-spacing: 4px; margin-bottom: 10px; }
  .hero-badge { margin-bottom: 20px; font-size: 0.78rem; padding: 7px 16px; }
  .hero h1 { margin-bottom: 16px; }
  .hero p { font-size: 1rem; margin-bottom: 22px; }
  .hero-buttons { margin-bottom: 26px; }
  .hero-proof { padding: 14px 16px; gap: 12px; border-radius: 24px; }
  .proof-num { font-size: 1.1rem; }

  section { padding: 44px 5%; }
  .section-title { font-size: 1.7rem; margin-bottom: 8px; }
  .section-sub { font-size: 0.96rem; margin-bottom: 28px; }

  .channel-card { box-shadow: var(--shadow-sm); }
  .card-header { padding: 22px 90px 18px 22px; min-height: auto; }
  .card-char-img { height: 100px; }
  .card-title { font-size: 1.3rem; }
  .card-body { padding: 20px 22px 24px; }
  .card-desc { margin-bottom: 18px; font-size: 0.94rem; }
  .card-stats { gap: 14px; margin-bottom: 20px; padding: 12px 0; }
  .stat-num { font-size: 1.2rem; }
  .channels-grid { gap: 22px; }

  .features-grid { gap: 18px; }
  .feature-card { padding: 22px 20px; }
  .feature-icon { font-size: 2.2rem; margin-bottom: 10px; }
  .feature-title { font-size: 1.05rem; margin-bottom: 6px; }
  .feature-desc { font-size: 0.9rem; }

  .rhythm-grid { gap: 24px; }
  .rhythm-card { padding: 24px 20px 22px; }
  .rhythm-emoji { font-size: 2rem; margin-bottom: 8px; }
  .rhythm-title { font-size: 1.02rem; }
  .rhythm-desc { font-size: 0.88rem; }

  .videos-grid { gap: 16px; grid-template-columns: 1fr 1fr; }
  .video-info { padding: 10px 12px; }
  .video-ep { font-size: 0.66rem; }
  .video-title { font-size: 0.8rem; }
  .videos-tabs { gap: 8px; margin-bottom: 24px; }
  .tab-btn { padding: 9px 18px; font-size: 0.82rem; }

  .parents-content { grid-template-columns: 1fr; gap: 32px; }
  .parents-text h2 { font-size: 1.55rem; }
  .parents-text > p { font-size: 0.96rem; margin-bottom: 20px; }
  .tip-list li { font-size: 0.9rem; padding: 12px 14px; gap: 10px; }
  .parents-visual { padding: 28px 22px; }
  .parents-visual .big-emoji { font-size: 3.2rem; margin-bottom: 12px; }
  .parents-visual h3 { font-size: 1.2rem; }
  .parents-visual > p { font-size: 0.9rem; }

  .faq-item summary { padding: 16px 20px; font-size: 0.96rem; }
  .faq-answer { padding: 0 20px 18px; font-size: 0.92rem; }

  .about .big-emoji { font-size: 3.4rem; margin-bottom: 16px; }
  .about h2 { font-size: 1.7rem; }
  .about p { font-size: 0.96rem; line-height: 1.7; margin-bottom: 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .paw-divider { padding: 4px 0; font-size: 1rem; letter-spacing: 10px; }
}

/* ── Paw divider ── */
.paw-divider {
  text-align: center;
  font-size: 1.2rem;
  color: #D0C8BC;
  letter-spacing: 14px;
  padding: 8px 0;
  user-select: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Booklist ── */
.booklist-sec { background: linear-gradient(135deg, #FFF8EE 0%, #F0FAF4 100%); }
.book-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; display: flex; gap: 18px; align-items: flex-start; border-bottom: 4px solid transparent; }
.book-info { flex: 1; }
.book-title { font-family: 'Baloo 2', cursive; font-size: 1rem; font-weight: 800; color: var(--brown); margin-bottom: 6px; line-height: 1.3; }
.book-desc { color: #666; font-size: 0.85rem; line-height: 1.55; margin-bottom: 12px; }
.book-link:hover { color: var(--green-dark); transform: translateX(3px); }
.booklist-note { text-align: center; color: #999; font-size: 0.82rem; line-height: 1.6; max-width: 560px; margin: 0 auto; }

/* ── Subscribe Section ── */
.subscribe-sec {
  background: linear-gradient(135deg, #C0EDD0 0%, #FFF1CC 100%);
  text-align: center;
}

.subscribe-inner h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 14px;
}

.big-emoji { font-size: 3.5rem; display: block; margin-bottom: 14px; }

/* ── CTA Section ── */
.cta-sec {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  text-align: center;
}

.cta-bar h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

/* ── Simple Footer ── */
footer {
  background: var(--brown);
  color: #E8D8C8;
  padding: 40px 5% 28px;
  text-align: center;
}
.f-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 10px;
}

/* Shared picture-book base styles live in /css/picture-book-base-20260613-base1.css. */
/* Shared picture-world styles live in /css/picture-world-shared-20260613-traffic12.css. */
