/* =====================================================================
   MY FIRST ALPHABET BOOK — LANDING PAGE STYLES
   Palette: soft pastel yellow, baby blue, light peach, lavender, white
   Text:   dark navy
   ===================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Pastel palette */
  --pastel-yellow:  #FFF6D6;
  --pastel-blue:    #DCEEFF;
  --pastel-peach:   #FFE4D6;
  --pastel-lavender:#ECDEFF;
  --pastel-mint:    #DEF7EC;
  --pastel-pink:    #FFE0EC;

  /* Brand accents */
  --yellow:         #FFD23F;
  --blue:           #74B9FF;
  --peach:          #FFB088;
  --lavender:       #B59CFF;
  --mint:           #7DD9A8;

  /* Text */
  --navy:           #1F2A44;
  --navy-soft:      #46506B;
  --navy-muted:     #7A8199;

  /* Surface */
  --white:          #FFFFFF;
  --cream:          #FFFDF7;

  /* Effects */
  --radius-sm:      10px;
  --radius-md:      18px;
  --radius-lg:      28px;
  --radius-xl:      40px;
  --radius-pill:    999px;

  --shadow-sm:      0 4px 14px rgba(31, 42, 68, 0.06);
  --shadow-md:      0 14px 36px rgba(31, 42, 68, 0.10);
  --shadow-lg:      0 30px 60px rgba(31, 42, 68, 0.14);
  --shadow-cta:     0 14px 30px rgba(255, 179, 71, 0.45);

  --gradient-soft:  linear-gradient(135deg, #FFF6D6 0%, #FFE4D6 45%, #ECDEFF 100%);
  --gradient-hero:  linear-gradient(160deg, #FFF6D6 0%, #DCEEFF 50%, #ECDEFF 100%);
  --gradient-cta:   linear-gradient(135deg, #FFB347 0%, #FF8E53 100%);
  --gradient-cta-2: linear-gradient(135deg, #FFD23F 0%, #FF9F43 100%);

  --ease:           cubic-bezier(0.22, 1, 0.36, 1);

  --container:      1200px;
  --header-h:       72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Baloo 2', 'Fredoka', 'Nunito', sans-serif; font-weight: 700; line-height: 1.15; color: var(--navy); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--white);
  color: var(--lavender);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 16px; }

.section-lead { color: var(--navy-soft); font-size: 1.06rem; line-height: 1.7; }

.card-grid { display: grid; gap: 24px; }
.three-col { grid-template-columns: repeat(3, 1fr); }

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  color: var(--navy);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.badge-launch {
  background: linear-gradient(135deg, #FFE0EC, #ECDEFF);
  color: #9B6BFF;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF6B6B;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(255, 107, 107, 0); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  white-space: nowrap;
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 20px 40px rgba(255, 142, 83, 0.55); }

.btn-cta {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-cta:hover::before { transform: translateX(100%); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(255, 142, 83, 0.6); }

.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.25rem; border-radius: var(--radius-pill); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 253, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
  z-index: 100;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 253, 247, 0.95); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.brand-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1;
}
.brand-accent { color: var(--lavender); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-soft);
  position: relative;
}
.nav-links > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--lavender);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links > a:not(.nav-cta):hover { color: var(--navy); }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  background: var(--gradient-cta);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-cta);
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2.5px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 120px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-decor { position: absolute; pointer-events: none; }
.hero-decor-cloud {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  filter: blur(2px);
}
.cloud-1 { width: 160px; height: 60px; top: 18%; left: 5%; animation: float 8s ease-in-out infinite; }
.cloud-2 { width: 200px; height: 75px; top: 60%; left: 8%; animation: float 10s ease-in-out infinite reverse; }
.cloud-3 { width: 140px; height: 50px; top: 30%; right: 6%; animation: float 9s ease-in-out infinite; }

.hero-decor-star {
  font-size: 1.4rem;
  color: rgba(181, 156, 255, 0.6);
  animation: twinkle 3s ease-in-out infinite;
}
.star-1 { top: 22%; left: 38%; }
.star-2 { top: 68%; left: 42%; color: rgba(255, 210, 63, 0.7); animation-delay: 1s; }
.star-3 { top: 40%; right: 30%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 18px 0 18px;
}
.grad-text {
  background: linear-gradient(120deg, #FF8E53, #B59CFF 60%, #74B9FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--navy-soft);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 22px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 28px;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.98rem;
}
.tick {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--pastel-mint);
  color: #2BB673;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.price-old {
  font-size: 1.2rem;
  color: var(--navy-muted);
  text-decoration: line-through;
}
.price-new {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #FF6B6B;
  line-height: 1;
}
.price-note {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--lavender);
  text-transform: uppercase;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--navy-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- 3D BOOK MOCKUP ---------- */
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 22px; }

.book-mockup {
  position: relative;
  width: 100%;
  max-width: 380px;
  perspective: 1400px;
  margin-top: 8px;
}

.book-cover {
  width: 100%;
  border-radius: 6px 22px 22px 6px;
  box-shadow:
    -10px 14px 30px rgba(31, 42, 68, 0.18),
    -22px 22px 50px rgba(31, 42, 68, 0.22),
    inset -3px 0 0 rgba(255,255,255,0.5);
  transform: rotateY(-22deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  display: block;
}
.book-mockup:hover .book-cover {
  transform: rotateY(-12deg) rotateX(2deg) translateZ(20px);
}

.book-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(31,42,68,0.25), rgba(31,42,68,0.05));
  border-radius: 4px 0 0 4px;
  transform: translateX(-12px) rotateY(90deg);
  transform-origin: right center;
}

.book-shadow {
  position: absolute;
  left: 50%; bottom: -28px;
  width: 80%; height: 24px;
  background: radial-gradient(ellipse at center, rgba(31,42,68,0.28), transparent 70%);
  transform: translateX(-50%);
  filter: blur(8px);
}

.book-badge-ages {
  position: absolute;
  top: 18px; right: -14px;
  background: var(--gradient-cta);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  transform: rotate(8deg);
  z-index: 3;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.stars { color: #FFD23F; letter-spacing: 2px; }
.rating-text { font-size: 0.88rem; color: var(--navy-soft); font-weight: 600; }

/* Hero wave separator */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- PROBLEM / SOLUTION ---------- */
.problem { background: var(--white); }

.card-solution {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,42,68,0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-solution:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 76px; height: 76px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 auto 18px;
  color: var(--navy);
}
.icon-letters { background: var(--pastel-yellow); color: #E8A900; }
.icon-pictures { background: var(--pastel-peach); }
.icon-together { background: var(--pastel-pink); }

.card-solution h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-solution p { color: var(--navy-soft); font-size: 0.98rem; }

/* ---------- WHATS INSIDE ---------- */
.whats-inside { background: var(--pastel-blue); position: relative; }

.card-inside {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card-inside::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-cta-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card-inside:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-inside:hover::before { transform: scaleX(1); }

.card-icon-sm {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.icon-alpha { background: var(--pastel-yellow); color: #E8A900; }
.icon-illus { background: var(--pastel-pink); }
.icon-objects { background: var(--pastel-peach); }
.icon-visual { background: var(--pastel-mint); }
.icon-layout { background: var(--pastel-lavender); }
.icon-fun { background: var(--pastel-blue); }

.card-inside h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card-inside p { color: var(--navy-soft); font-size: 0.95rem; }

/* ---------- PREVIEW CAROUSEL ---------- */
.preview { background: var(--white); }

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.carousel-track-wrap {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s var(--ease);
  padding: 8px 4px;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 15px);
  min-width: calc(33.333% - 15px);
}

.page-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.page-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.page-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.page-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.carousel-btn {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.carousel-btn:hover { background: var(--gradient-cta); color: #fff; transform: scale(1.1); }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(31,42,68,0.18);
  transition: all 0.3s var(--ease);
}
.carousel-dots button.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
}

.preview-cta { text-align: center; margin-top: 32px; }

/* ---------- BENEFITS ---------- */
.benefits { background: var(--pastel-lavender); }

.card-benefit {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.icon-easy { background: var(--pastel-yellow); }
.icon-colour { background: var(--pastel-pink); }
.icon-simple { background: var(--pastel-mint); }
.icon-pace { background: var(--pastel-blue); }
.icon-quality { background: var(--pastel-peach); }
.icon-digital { background: var(--pastel-lavender); }
.card-benefit h3 { font-size: 1.12rem; }
.card-benefit p { color: var(--navy-soft); font-size: 0.93rem; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--white); }

.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 280px;
  max-width: 320px;
  background: linear-gradient(160deg, var(--cream), #fff);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,42,68,0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-cta);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--navy-soft); font-size: 0.96rem; }

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lavender) 0 8px, transparent 8px 16px);
  align-self: center;
  margin-top: 36px;
}

/* ---------- PRICING ---------- */
.pricing {
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}

.pricing-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pricing-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}
.blob-1 { width: 220px; height: 220px; background: var(--pastel-yellow); top: -60px; left: -60px; }
.blob-2 { width: 260px; height: 260px; background: var(--pastel-lavender); bottom: -80px; right: -80px; }

.pricing-content { position: relative; z-index: 1; }
.pricing-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 18px 0 12px; }
.pricing-sub { color: var(--navy-soft); font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

.price-box {
  background: linear-gradient(135deg, var(--pastel-yellow), var(--pastel-peach));
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 0 auto 28px;
  max-width: 420px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}
.price-row-main { border-top: 1px dashed rgba(31,42,68,0.18); margin-top: 6px; padding-top: 14px; }
.price-label { font-family: 'Fredoka', sans-serif; font-weight: 500; color: var(--navy-soft); }
.price-strike { font-size: 1.2rem; color: var(--navy-muted); text-decoration: line-through; }
.price-special {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: #FF6B6B;
  line-height: 1;
}

.pricing-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  max-width: 480px;
  margin: 0 auto 30px;
  text-align: left;
}
.pricing-includes li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }

.pricing-trust {
  margin-top: 14px;
  color: var(--navy-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--white); }

.card-testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.testimonial-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--pastel-yellow);
  color: #B07A00;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.card-testimonial .stars { font-size: 1rem; margin-bottom: 12px; }
.card-testimonial blockquote {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.98rem; }
.testimonial-author span { color: var(--navy-muted); font-size: 0.84rem; }

.testimonials-disclaimer {
  text-align: center;
  margin-top: 36px;
  color: var(--navy-muted);
  font-size: 0.85rem;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}

/* ---------- FAQ ---------- */
.faq { background: var(--pastel-mint); }
.faq-container { max-width: 820px; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: background 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--cream); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pastel-yellow);
  color: #B07A00;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gradient-cta); color: #fff; }

.faq-answer {
  padding: 0 26px 22px;
  color: var(--navy-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  animation: faqOpen 0.35s var(--ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- FINAL CTA ---------- */
.final-cta { background: var(--gradient-hero); position: relative; overflow: hidden; }

.final-cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.7);
  overflow: hidden;
}

.final-decor { position: absolute; pointer-events: none; }
.decor-cloud-1, .decor-cloud-2 {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  filter: blur(2px);
}
.decor-cloud-1 { width: 120px; height: 40px; top: 20px; left: 10%; animation: float 8s ease-in-out infinite; }
.decor-cloud-2 { width: 90px; height: 30px; bottom: 30px; right: 12%; animation: float 10s ease-in-out infinite reverse; }
.decor-star { color: rgba(181, 156, 255, 0.7); font-size: 1.4rem; animation: twinkle 3s ease-in-out infinite; }
.final-decor.s1 { top: 24px; right: 20%; }
.final-decor.s2 { bottom: 50px; left: 18%; color: rgba(255, 210, 63, 0.8); animation-delay: 1s; }
.final-decor.s3 { top: 50%; right: 8%; animation-delay: 1.5s; }

.final-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; position: relative; z-index: 1; }
.final-sub { color: var(--navy-soft); font-size: 1.08rem; margin-bottom: 26px; position: relative; z-index: 1; }

.final-price-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.final-pill-label { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.86rem; color: var(--navy-soft); }
.final-pill-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #FF6B6B;
  line-height: 1;
}

.final-trust {
  margin-top: 14px;
  color: var(--navy-muted);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 64px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-accent { color: var(--yellow); }
.footer-tagline { margin-top: 16px; font-size: 0.94rem; line-height: 1.7; max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.93rem; color: rgba(255,255,255,0.7); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
}
.footer-disclaimer { font-style: italic; }

/* ---------- FLOATING BUY BUTTON (mobile) ---------- */
.floating-buy {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--gradient-cta);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 14px 30px rgba(255, 142, 83, 0.55);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 90;
  transition: transform 0.4s var(--ease), filter 0.3s var(--ease);
}
.floating-buy.visible { transform: translateX(-50%) translateY(0); display: flex; }
.floating-buy:hover { filter: brightness(1.06); }

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 0.3s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: ripple 2s infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Stagger children inside grids */
.card-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.05s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.15s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.25s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-features { grid-template-columns: 1fr 1fr; max-width: 480px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 20px 24px 28px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-links > a:not(.nav-cta):hover { background: var(--cream); }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-cta { width: 100%; text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }

  .hero { padding: calc(var(--header-h) + 36px) 0 80px; }
  .hero-features { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }

  .carousel-slide { flex: 0 0 calc(50% - 11px); min-width: calc(50% - 11px); }

  .step-connector { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }

  .pricing-card { padding: 40px 24px; }
  .pricing-includes { grid-template-columns: 1fr; }

  .final-cta-inner { padding: 40px 22px; }

  .floating-buy { display: flex; }
  .whatsapp-btn { bottom: 80px; right: 16px; width: 50px; height: 50px; }

  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2rem; }
  .btn-xl { padding: 16px 28px; font-size: 1.08rem; }
  .carousel-slide { flex: 0 0 calc(80% - 11px); min-width: calc(80% - 11px); }
  .book-mockup { max-width: 280px; }
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   LEGAL PAGES (privacy / terms / refund)
   ===================================================================== */

.legal-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 56px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}
.legal-hero .hero-decor-cloud {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  filter: blur(2px);
}
.legal-hero .cloud-l1 { width: 140px; height: 50px; top: 22%; left: 6%; position: absolute; animation: float 8s ease-in-out infinite; }
.legal-hero .cloud-l2 { width: 180px; height: 65px; top: 60%; right: 7%; position: absolute; animation: float 10s ease-in-out infinite reverse; }

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.legal-breadcrumb a:hover { color: var(--lavender); }
.legal-breadcrumb .sep { color: var(--navy-muted); }

.legal-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: 10px;
}
.legal-hero .legal-subtitle {
  color: var(--navy-soft);
  font-size: 1.04rem;
  max-width: 580px;
  margin: 0 auto 14px;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--pastel-yellow);
  color: #8a6a00;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Body of legal page */
.legal-body {
  background: var(--white);
  padding: 72px 0 96px;
}
.legal-article {
  max-width: 820px;
  margin: 0 auto;
}
.legal-toc {
  background: var(--cream);
  border: 1px solid rgba(31,42,68,0.06);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-muted);
  font-family: 'Fredoka', sans-serif;
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: decimal inside;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-size: 0.95rem;
}
.legal-toc ol a {
  color: var(--navy-soft);
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.legal-toc ol a:hover { color: var(--lavender); }

.legal-article h2 {
  font-size: 1.45rem;
  margin: 40px 0 12px;
  padding-top: 12px;
  border-top: 2px solid var(--pastel-blue);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal-article h2:first-of-type { border-top: none; padding-top: 0; }
.legal-article h3 {
  font-size: 1.1rem;
  margin: 22px 0 8px;
  color: var(--navy);
}
.legal-article p {
  color: var(--navy-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-article ul, .legal-article ol {
  margin: 0 0 18px 4px;
  padding-left: 22px;
  color: var(--navy-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.legal-article ul li, .legal-article ol li { margin-bottom: 8px; }
.legal-article ul li::marker { color: var(--lavender); }
.legal-article ol li::marker { color: var(--lavender); font-weight: 700; }

.legal-article strong { color: var(--navy); font-weight: 700; }
.legal-article a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.legal-article a:hover { color: #8a6aff; }

.legal-callout {
  background: linear-gradient(135deg, var(--pastel-yellow), var(--pastel-peach));
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--navy);
  border-left: 5px solid #FF8E53;
}
.legal-callout strong { color: #B0521F; }

.legal-contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.legal-contact-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.legal-contact-card p { margin-bottom: 14px; color: var(--navy-soft); }
.legal-contact-card .btn { margin-top: 6px; }

@media (max-width: 760px) {
  .legal-body { padding: 48px 0 80px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-article h2 { font-size: 1.25rem; }
}

/* Hide the floating UI on legal pages to keep them distraction-free */
body.legal-page .floating-buy,
body.legal-page .whatsapp-btn { display: none !important; }

@media (max-width: 760px) {
  body.legal-page .floating-buy,
  body.legal-page .whatsapp-btn { display: none !important; }
}
