/* ============================================
   GO PLAY OUTSIDE — Main Stylesheet
   Playful, warm, child-friendly design
   ============================================ */

/* TOKENS */
:root {
  --sky: #4BA3D8;
  --sky-light: #E8F4FD;
  --grass: #5CB85C;
  --grass-dark: #3A8A3A;
  --sun: #FFD700;
  --orange: #FF8C00;
  --white: #FFFFFF;
  --off-white: #FFF9F0;
  --text-dark: #1A2B1A;
  --text-mid: #3D5C3D;
  --text-light: #6B8A6B;
  --red-cross: #E8262A;
  --card-bg: #FFFFFF;
  --border: #D4E8D4;

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

  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.14);

  --section-pad: 96px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* CONTAINERS */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50px;
  padding: 14px 32px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grass);
  color: var(--white);
}
.btn-primary:hover { background: var(--grass-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--grass-dark);
  border: 2.5px solid var(--grass);
}

.btn-outline {
  background: transparent;
  color: var(--sky);
  border: 2.5px solid var(--sky);
}
.btn-outline:hover { background: var(--sky); color: var(--white); }

.btn-full { width: 100%; text-align: center; display: block; }

/* EYEBROWS */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 10px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--grass-dark);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--grass-dark); }
.nav-cta {
  background: var(--grass) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--grass-dark) !important; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { text-align: center; }
.mobile-menu li { margin-bottom: 24px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-dark);
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

/* Illustrated background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #87CEEB 0%, #B8E4FF 55%, #5CB85C 55%, #3A8A3A 100%);
  z-index: 0;
}

/* Sun */
.sun {
  position: absolute;
  top: 80px; right: 120px;
  width: 100px; height: 100px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255,215,0,0.5);
  animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(255,215,0,0.5); }
  50% { box-shadow: 0 0 100px rgba(255,215,0,0.8); }
}

/* Clouds */
.cloud {
  position: absolute;
  background: var(--white);
  border-radius: 50px;
  opacity: 0.9;
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 50%;
}
.cloud-1 {
  width: 160px; height: 50px;
  top: 120px; left: 8%;
  animation: drift 18s linear infinite;
}
.cloud-1::before { width: 80px; height: 70px; top: -30px; left: 20px; }
.cloud-1::after  { width: 60px; height: 50px; top: -20px; left: 70px; }

.cloud-2 {
  width: 120px; height: 38px;
  top: 180px; left: 30%;
  animation: drift 24s linear infinite reverse;
}
.cloud-2::before { width: 60px; height: 55px; top: -25px; left: 15px; }
.cloud-2::after  { width: 50px; height: 40px; top: -15px; left: 55px; }

.cloud-3 {
  width: 100px; height: 32px;
  top: 100px; right: 280px;
  animation: drift 20s linear infinite;
}
.cloud-3::before { width: 50px; height: 45px; top: -20px; left: 10px; }
.cloud-3::after  { width: 40px; height: 35px; top: -12px; left: 45px; }

@keyframes drift {
  from { transform: translateX(-20px); }
  to   { transform: translateX(20px); }
}

.grass {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.hero-book {
  flex-shrink: 0;
}
.book-cover {
  width: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), -8px 8px 0 rgba(0,0,0,0.15);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
  background: var(--white);
}
.book-cover:hover { transform: rotate(0deg) scale(1.03); }
.book-cover img { width: 100%; display: block; }

.hero-text {
  flex: 1;
}
.hero-eyebrow {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.15);
  margin-bottom: 16px;
}
.hero-outside {
  color: var(--sun);
  display: block;
}
.hero-sub {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin-bottom: 32px;
  max-width: 400px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-red-cross {
  font-size: 0.9rem;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 1.5rem;
  color: var(--white);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   STORY STRIP
   ============================================ */
.strip {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.strip-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.strip-text .btn { margin-top: 8px; }

.strip-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.story-card {
  background: var(--off-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.story-card p { font-size: 0.9rem; font-weight: 700; color: var(--text-mid); }

.card-1 { border-color: #FFD700; background: #FFFBEA; }
.card-2 { border-color: #4BA3D8; background: #EEF7FF; }
.card-3 { border-color: #A8D8EA; background: #F0F9FF; }
.card-4 { border-color: var(--grass); background: #EDFAED; }

/* ============================================
   WHY NOW BANNER
   ============================================ */
.why-now {
  background: var(--grass-dark);
  padding: 64px 0;
  color: var(--white);
}
.why-now-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
.why-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--sun);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.4;
}
.why-now-note {
  text-align: center;
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   EDUCATORS
   ============================================ */
.educators {
  padding: var(--section-pad) 0;
  background: var(--sky-light);
}
.educators-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.educators-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.educators-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.educators-list {
  margin-bottom: 32px;
}
.educators-list li {
  padding: 8px 0;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}
.educators-list li:last-child { border-bottom: none; }

/* Kit Card */
.kit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}
.kit-icon { font-size: 2.5rem; margin-bottom: 16px; }
.kit-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.kit-card p { color: var(--text-mid); font-size: 0.97rem; margin-bottom: 24px; }

.kit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kit-form input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s;
}
.kit-form input:focus { border-color: var(--grass); }
.kit-privacy {
  font-size: 0.78rem !important;
  color: var(--text-light) !important;
  text-align: center;
  margin-bottom: 0 !important;
}
.kit-success {
  text-align: center;
  padding: 24px;
  background: #EDFAED;
  border-radius: var(--radius-sm);
  color: var(--grass-dark);
  font-size: 1rem;
}

/* ============================================
   AUTHOR
   ============================================ */
.author {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.author-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.author-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--grass));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--white);
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  outline: 3px solid var(--grass);
  overflow: hidden;
}
.author-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.author-text p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.author-text a { color: var(--grass-dark); font-weight: 700; text-decoration: underline; }

/* ============================================
   BUY
   ============================================ */
.buy {
  padding: var(--section-pad) 0;
  background: var(--off-white);
  text-align: center;
}
.buy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: var(--text-dark);
}
.buy-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.buy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  text-align: left;
}
.buy-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.buy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.buy-card-featured {
  border-color: var(--grass);
  box-shadow: 0 4px 24px rgba(92,184,92,0.2);
}
.buy-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--grass);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}
.buy-store-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.buy-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--grass-dark);
  margin-bottom: 12px;
}
.buy-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Red Cross Note */
.red-cross-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF5F5;
  border: 2px solid #FFD0D0;
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.red-cross-logo { width: 100px; flex-shrink: 0; }
.red-cross-note p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; }
.red-cross-note a { color: var(--red-cross); font-weight: 700; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--sky);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  color: var(--white);
}
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact-inner p { font-size: 1.05rem; opacity: 0.9; line-height: 1.7; }
.contact-inner .section-eyebrow { color: var(--sun); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  backdrop-filter: blur(4px);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.65); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--white);
  background: rgba(255,255,255,0.25);
}
.contact-form select option { color: var(--text-dark); background: var(--white); }
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary {
  background: var(--sun);
  color: var(--text-dark);
}
.contact-form .btn-primary:hover { background: #FFC200; }
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}
.footer-brand p + p { margin-top: 4px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-links a:hover { opacity: 1; }
.social-link {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.social-link:hover { background: var(--grass); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.55;
}
.footer-bottom a { text-decoration: underline; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  :root { --section-pad: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 80px;
  }
  .hero-actions { justify-content: center; }
  .book-cover { width: 200px; transform: none; }

  .strip-inner,
  .educators-inner,
  .author-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .why-now-inner { grid-template-columns: 1fr; gap: 32px; }

  .buy-cards { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .author-photo-placeholder { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 3rem; }
  .book-cover { width: 160px; }
  .sun { width: 70px; height: 70px; top: 90px; right: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .sun, .cloud-1, .cloud-2, .cloud-3, .hero-scroll { animation: none; }
  * { transition: none !important; }
}
