/* Little Legends Learning Loft, Brand Stylesheet
   Bold colors pulled from the logo: hot pink, bright blue, vivid orange, lime green */

:root {
  --pink: #E93A8E;
  --pink-dark: #C22472;
  --blue: #1E9BEB;
  --blue-dark: #1477BC;
  --navy: #1A2B57;
  --orange: #FF7A1A;
  --green: #5FC93A;
  --yellow: #FFB800;
  --purple: #8B3DFF;
  --cream: #FFF5EB;
  --white: #FFFFFF;
  --ink: #2A2A3A;
  --radius: 22px;
  --shadow: 0 8px 30px rgba(26, 43, 87, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  padding: 12px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo img { height: 64px; width: auto; }
.nav-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-pills a {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--blue-dark);
  transition: transform 0.15s;
}
.nav-pills a:hover { transform: translateY(-2px); }
.nav-pills a.active { background: var(--pink); box-shadow: 0 3px 0 var(--pink-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 60px 5% 70px;
  background: linear-gradient(180deg, #4DB8FF 0%, #7BD4FF 45%, #A8E063 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.rainbow-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #F0449E, #FF8C42, #FFC93C, #7BC950, #2B9FE3, #9B5DE5, #F0449E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(2px 3px 0 rgba(255,255,255,0.9)) drop-shadow(4px 6px 0 rgba(26,43,87,0.15));
  margin-bottom: 8px;
  line-height: 1.15;
}
.hero .tagline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.hero-art img {
  max-height: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 15px 42px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--pink-dark);
  margin-top: 18px;
  transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn.blue { background: var(--blue); box-shadow: 0 4px 0 var(--blue-dark); }

/* ---------- Sections ---------- */
.section { padding: 56px 6%; max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 30px;
}
.section-title .accent-pink { color: var(--pink); }
.section-title .accent-blue { color: var(--blue); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 3px solid transparent;
}
.card.pink { background: #FFE3F1; border-color: var(--pink); }
.card.blue { background: #DDF1FF; border-color: var(--blue); }
.card.green { background: #DFF7D4; border-color: var(--green); }
.card.orange { background: #FFE8D6; border-color: var(--orange); }
.card.purple { background: #EADFFF; border-color: var(--purple); }
.card.yellow { background: #FFF3D1; border-color: var(--yellow); }
.card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.98rem; color: #444; }

/* Quote banner */
.quote-banner {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  text-align: center;
  padding: 44px 8%;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img.round-frame {
  width: 320px; height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid var(--pink);
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: block;
}
.split img.framed {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Steps */
.steps { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.step {
  background: #fff;
  border-radius: 50%;
  width: 210px; height: 210px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 24px;
  box-shadow: var(--shadow);
  border: 5px solid var(--yellow);
  font-weight: 700; color: var(--navy);
}
.step .num {
  background: var(--blue); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 8px;
}

/* Refer promo */
.refer-promo {
  background: linear-gradient(135deg, #FF8C42, #F0449E);
  border-radius: 28px;
  padding: 48px 6%;
  text-align: center;
  color: #fff;
  margin: 40px 6%;
  box-shadow: var(--shadow);
}
.refer-promo h2 { font-size: 2.2rem; margin-bottom: 12px; }
.refer-promo p { font-size: 1.15rem; margin-bottom: 20px; max-width: 640px; margin-left: auto; margin-right: auto; }
.refer-promo .btn { background: #fff; color: var(--pink-dark); box-shadow: 0 4px 0 rgba(0,0,0,0.15); }

/* Form */
.form-card {
  background: #fff; border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
  max-width: 560px; margin: 0 auto;
}
.form-card label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.form-card input, .form-card textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid #E2E8F0; border-radius: 12px;
  font-size: 1rem; font-family: inherit;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  color: #1a2b57;
}
.form-card input[type="date"] {
  background: #fff;
  min-height: 48px;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--blue); outline: none; }

/* PLAYFUL FONTS */
body { font-family: 'Nunito', sans-serif; }
h1, h2, h3, .section-title, .btn {
  font-family: 'Baloo 2', cursive;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 30px 5%;
  font-size: 1rem;
  margin-top: 40px;
}
.site-footer a { color: #9FD8FF; }
.social-links {
  margin-top: 14px;
}
.social-links a {
  font-size: 2rem;
  margin: 0 8px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
}
.social-links a:hover {
  transform: scale(1.2);
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .nav-pills { gap: 6px; }
  .nav-pills a { padding: 8px 14px; font-size: 0.85rem; }
  .site-header .logo img { height: 48px; }
}
