/* ============================================================
   WORDSCOUT11PLUS — HOME PAGE
   Full-bleed landing built in the site's teal + yellow,
   Baloo 2 design language. Loaded after styles.css so any
   shared rules here win.
   ============================================================ */

:root {
  --teal:       #14c4ca;
  --teal-deep:  #0a8f94;
  --teal-dark:  #062c33;
  --green:      #0f6e56;
  --yellow:     rgb(255, 249, 160);
  --yellow-soft:#fff8a7;
  --sky:        #e6fbff;
  --sky-2:      #c6f5ff;
  --ink:        #14202a;
  --wa:         #25d366;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { color: var(--ink); }
section[id], div[id] { scroll-margin-top: 72px; }

/* Inner content wrapper — full-bleed sections, readable inside */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ============================================================
   BRAND BAR
   ============================================================ */
.brand {
  background: var(--teal);
  padding: 14px clamp(20px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand-left { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: white;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.brand h3 { margin: 0; color: white; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.brand a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.45);
  transition: color 0.2s;
  white-space: nowrap;
}
.brand a:hover { color: white; }

/* ============================================================
   STICKY FULL-WIDTH NAV
   ============================================================ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(230, 251, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--teal);
  border-radius: 0;
  max-width: none;
  margin: 0;
  padding: 10px clamp(16px, 4vw, 40px);
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-bar a {
  padding: 7px 16px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-bar a:hover,
.nav-bar a.active { background: var(--teal); color: white; }

/* ============================================================
   HERO — full bleed
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #14c4ca 0%, #00d8e8 60%, #0a8f94 100%);
  padding: clamp(48px, 7vw, 88px) 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('brains.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, opacity 0.18s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: white; color: var(--teal-deep); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: white; }
.btn-teal { background: var(--teal); color: white; box-shadow: 0 5px 16px rgba(20,196,202,0.4); }
.btn-teal:hover { background: var(--teal-deep); color: white; }
.btn-ink { background: var(--teal-dark); color: white; }
.btn-yt { background: #ff0000; color: white; box-shadow: 0 5px 16px rgba(255,0,0,0.3); }
.btn-yt:hover { background: #cc0000; color: white; }

/* Hero stat pills */
.hero-stats { display: flex; flex-direction: column; gap: 14px; }
.hero-stat-pill {
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--teal-deep); line-height: 1; min-width: 86px; }
.stat-label { font-size: 0.9rem; color: #444; line-height: 1.35; font-weight: 600; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-strip {
  background: var(--teal-dark);
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-item { color: #cfeef0; font-weight: 700; font-size: 0.95rem; padding: 0 4px; }
.ticker-sep {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 22px;
  vertical-align: middle;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — full bleed, alternating bands
   ============================================================ */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section--yellow { background: var(--yellow); }
.section--white  { background: #ffffff; }
.section--sky    { background: var(--sky); }
.section--dark   { background: var(--teal-dark); }

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 8px;
}
.section--dark .section-eyebrow { color: #5fe6ec; }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section--dark .section-title { color: white; }
.section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  max-width: 640px;
  margin: 0 0 32px;
}
.section--dark .section-lead { color: rgba(255,255,255,0.7); }

/* ABOUT grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.about-pill {
  background: white;
  border-radius: 18px;
  padding: 24px 22px;
  border-top: 4px solid var(--teal);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
}
.about-pill:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.1); }
.about-pill-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0; line-height: 1;
}
.about-pill h4 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; color: #111; }
.about-pill p { margin: 0; font-size: 0.9rem; color: #555; line-height: 1.6; }

/* BOOKS */
.books-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.book-card {
  background: white;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  border: 1px solid #ececec;
  display: flex; flex-direction: column;
}
.book-card h4 { font-size: 1.5rem; font-weight: 800; margin: 4px 0 12px; color: #111; }
.book-card p { font-size: 0.97rem; line-height: 1.7; color: #444; margin: 0 0 22px; flex: 1; }
.book-card .btn { align-self: flex-start; }

/* QUIZ */
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.category-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 26px; }
.cat-btn {
  padding: 8px 18px; border-radius: 30px;
  border: 2px solid var(--teal); background: white; color: var(--teal-deep);
  font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cat-btn:hover, .cat-btn.selected { background: var(--teal); color: white; }
.quiz-arena {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.1);
}
.quiz-progress-bar { height: 8px; background: var(--sky); border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress-fill { height: 100%; background: var(--teal); border-radius: 10px; transition: width 0.4s ease; }
.timer-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.timer-ring { position: relative; width: 54px; height: 54px; }
.timer-ring svg { transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 5; }
.timer-ring circle:first-child { stroke: var(--sky); }
.timer-fill { stroke: var(--teal); stroke-dasharray: 138; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.timer-fill.urgent { stroke: #e23b3b; }
.timer-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.streak-badge { background: var(--yellow); border-radius: 30px; padding: 8px 16px; font-weight: 800; font-size: 0.9rem; color: #7a5c00; }
.score-chip { background: var(--sky-2); border-radius: 30px; padding: 8px 16px; font-weight: 800; font-size: 0.9rem; color: var(--teal-deep); }
.quiz-q-meta { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 8px; }
.quiz-question { font-size: 1.3rem; font-weight: 800; color: #111; line-height: 1.4; margin-bottom: 20px; }
.quiz-options { display: grid; gap: 12px; margin-bottom: 8px; }
.quiz-opt {
  display: flex; align-items: center; gap: 12px;
  text-align: left;
  background: #f7feff; border: 2px solid #d9f3f5; color: var(--ink);
  border-radius: 14px; padding: 14px 16px; font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--teal); background: #eafbfc; }
.quiz-opt:disabled { cursor: default; }
.quiz-opt-letter {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--teal); color: white; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
}
.quiz-opt.correct { border-color: #2bb673; background: #e7f9f0; }
.quiz-opt.correct .quiz-opt-letter { background: #2bb673; }
.quiz-opt.wrong { border-color: #e23b3b; background: #fdeaea; }
.quiz-opt.wrong .quiz-opt-letter { background: #e23b3b; }
.quiz-opt.pop { animation: pop 0.3s ease; }
@keyframes pop { 50% { transform: scale(1.03); } }
.quiz-feedback { font-weight: 800; font-size: 1rem; margin-top: 14px; min-height: 1px; }
.correct-fb { color: #1f9d63; }
.wrong-fb { color: #e23b3b; }
.fact-fb { background: var(--yellow); border-radius: 12px; padding: 14px 16px; color: #5c4a00; font-weight: 600; font-size: 0.92rem; line-height: 1.6; }
#next-btn { margin-top: 18px; }
.quiz-end { text-align: center; padding: 10px; }
.quiz-end-score { font-size: 3rem; font-weight: 800; color: var(--teal-deep); line-height: 1.1; }
.quiz-end-label { font-size: 1.15rem; font-weight: 700; color: #333; margin: 10px 0 20px; }
.quiz-end-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.end-badge { background: var(--sky); color: var(--teal-deep); font-weight: 800; font-size: 0.85rem; padding: 8px 16px; border-radius: 30px; }

/* VIDEOS */
.youtube-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.youtube-text p { color: rgba(255,255,255,0.82); line-height: 1.75; font-size: 1.02rem; margin: 0 0 16px; }
.youtube-text .btn { margin-top: 8px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,0.35); }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* SCIENCE OF LEARNING cards */
.ls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ls-card {
  background: white; border-radius: 18px; padding: 26px 22px;
  text-decoration: none; color: inherit;
  border-top: 4px solid var(--teal);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex; flex-direction: column;
}
.ls-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); color: inherit; }
.ls-card:nth-child(1) { border-top-color: #f5a623; }
.ls-card:nth-child(3) { border-top-color: var(--green); }
.ls-card:nth-child(4) { border-top-color: #7a1a99; }
.ls-card-icon {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: #999; margin-bottom: 10px;
}
.ls-card h4 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: #111; }
.ls-card p { margin: 0 0 16px; font-size: 0.88rem; color: #555; line-height: 1.6; flex: 1; }
.ls-card-link { font-weight: 800; font-size: 0.9rem; color: var(--teal-deep); }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review-card {
  background: white; border-radius: 18px; padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  border-left: 5px solid var(--teal);
}
.review-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 0.97rem; line-height: 1.7; color: #333; margin: 0 0 14px; }
.review-author { font-weight: 800; color: var(--teal-deep); font-size: 0.9rem; }

/* SESSIONS strip */
.sessions-strip {
  background: var(--teal-dark);
  border-top: 3px solid var(--teal);
  padding: clamp(32px, 5vw, 52px) 0;
}
.sessions-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.sessions-strip h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.sessions-strip p { font-size: 1rem; color: #cbcbcb; margin: 0; max-width: 560px; line-height: 1.6; }
.btn-wa { background: var(--wa); color: white; box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
.btn-wa:hover { background: #1da851; color: white; }

/* CONTACT */
.contact-band { text-align: center; }
.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 4px;
}
.contact-email:hover { color: var(--teal); }

/* FOOTER */
footer { text-align: center; padding: 26px 20px; background: #1c1c1c; color: rgba(255,255,255,0.5); font-size: 0.88rem; }
footer strong { color: #61c8fc; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .hero-stat-pill { flex: 1; min-width: 150px; }
  .books-row { grid-template-columns: 1fr; }
  .youtube-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stat-num { font-size: 1.5rem; min-width: 64px; }
  .quiz-arena { padding: 20px; }
  .book-card { padding: 24px; }
  .brand a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
