/**
 * FALBRO — 30,000+ Kids Worksheet Mega Bundle
 * Premium Educational Brand Design System
 * Aesthetic: Warm Cream/White + Vibrant Playful Accents + Rounded Soft Cards
 */

/* ==========================================================================
   1. CSS VARIABLES & THEME TOKENS
   ========================================================================== */
:root {
  /* Warm Backgrounds */
  --bg-page: #FFFDF9;
  --bg-card: #FFFFFF;
  --bg-subtle: #FAF6F0;
  --bg-cream: #F5EFE6;
  --bg-blue-tint: #EFF6FF;
  --bg-yellow-tint: #FEF9C3;
  --bg-pink-tint: #FDF2F8;
  --bg-green-tint: #ECFDF5;
  --bg-purple-tint: #F5F3FF;
  --bg-orange-tint: #FFF7ED;

  /* Playful Balanced Brand Colors */
  --color-blue: #2563EB;
  --color-blue-dark: #1D4ED8;
  --color-yellow: #D97706;
  --color-yellow-bright: #F59E0B;
  --color-pink: #DB2777;
  --color-pink-soft: #EC4899;
  --color-green: #059669;
  --color-green-soft: #10B981;
  --color-orange: #EA580C;
  --color-purple: #7C3AED;
  --color-purple-soft: #8B5CF6;

  /* Primary Action Gradient */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
  --grad-fun: linear-gradient(135deg, #F59E0B 0%, #EA580C 50%, #E11D48 100%);
  --grad-banner: linear-gradient(90deg, #2563EB, #7C3AED, #EC4899, #F59E0B, #10B981, #2563EB);

  /* Typography Colors */
  --text-main: #1E293B;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-card: #EFE6DA;
  --border-focus: #3B82F6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(30, 41, 59, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 18px 40px -6px rgba(37, 99, 235, 0.12), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 20px 48px rgba(30, 41, 59, 0.12);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1200px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   SLEEK MODERN SCROLLBARS (CLEAN UI & NO CHUNKY OS BARS)
   ========================================================================== */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #FAF8F5;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #FAF8F5;
}

/* Hide scrollbars on smooth swiping tracks while keeping smooth touch & wheel scroll */
.no-scrollbar::-webkit-scrollbar,
.reviews-grid::-webkit-scrollbar,
.trust-strip-row::-webkit-scrollbar,
.gallery-filters-wrap::-webkit-scrollbar,
.age-tabs-row::-webkit-scrollbar,
.carousel-pill-legend::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar,
.reviews-grid,
.trust-strip-row,
.gallery-filters-wrap,
.age-tabs-row,
.carousel-pill-legend {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (SMOOTH FLUID CASCADING ENTRANCES)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

/* ==========================================================================
   3. TOP ANNOUNCEMENT BAR (ANIMATED GRADIENT)
   ========================================================================== */
.kids-announcement-bar {
  background: var(--grad-banner);
  background-size: 300% 100%;
  animation: bannerFlow 12s ease infinite;
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 50;
}

@keyframes bannerFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.kids-header {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all 0.25s ease;
}

.kids-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kids-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.kids-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kids-brand-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.kids-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.kids-brand-text {
  display: flex;
  flex-direction: column;
}

.kids-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kids-brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kids-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.kids-nav-a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.kids-nav-a:hover {
  color: var(--color-blue);
}

.btn-header-cta {
  background: var(--color-blue);
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

@media (max-width: 820px) {
  .kids-nav-links {
    display: none;
  }
}

/* ==========================================================================
   5. HERO SECTION (HIGH-CONVERTING 2-COLUMN: COVER ON LEFT)
   ========================================================================== */
.kids-hero-sec {
  padding: clamp(32px, 5vw, 64px) 0 clamp(44px, 6vw, 72px);
  background: radial-gradient(circle at 10% 20%, rgba(254, 243, 199, 0.45) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(253, 242, 248, 0.5) 0%, transparent 45%),
              var(--bg-page);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 3.5vw, 44px);
}

/* Left Hero Column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: var(--color-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.hero-h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.highlight-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #EC4899 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subheadline {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 12px;
  max-width: 580px;
}

/* 3 Compact Benefit Badges */
.hero-benefit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.benefit-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.benefit-badge-item span.check-icon {
  color: var(--color-green);
  font-weight: 900;
  font-size: 0.95rem;
}

/* Hero Offer Card */
.hero-offer-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2.4vw, 22px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.hero-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-banner);
}

.offer-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.offer-tag-1 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-pink);
  text-transform: uppercase;
  background: var(--bg-pink-tint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.offer-tag-2 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-green);
  text-transform: uppercase;
  background: var(--bg-green-tint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.offer-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.offer-sale-price {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1;
}

.offer-mrp-price {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.offer-savings-pill {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Primary High-Converting CTA Button */
.btn-cta-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--grad-primary);
  background-size: 200% auto;
  color: #FFFFFF;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 800;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-cta-large:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.btn-cta-large:active {
  transform: translateY(0);
}

.offer-secondary-subtext {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Right Hero Column: 3D floating visual & badges */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  height: 100%;
  width: 100%;
}

.hero-main-mockup-frame {
  position: relative;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 1086 / 1448;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-float);
  border: 2px solid #EFE6DA;
  animation: floatSlow 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.hero-main-mockup-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

/* 6 Subtle Floating Worksheet Cards around hero */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-card);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.fc-alphabet {
  top: 4%;
  left: -2%;
  color: var(--color-blue);
  border-color: #BFDBFE;
}

.fc-numbers {
  top: 18%;
  right: -3%;
  color: var(--color-yellow);
  border-color: #FDE68A;
}

.fc-coloring {
  bottom: 24%;
  left: -3%;
  color: var(--color-pink);
  border-color: #FBCFE8;
}

.fc-maze {
  bottom: 6%;
  right: -2%;
  color: var(--color-purple);
  border-color: #DDD6FE;
}

.fc-science {
  top: 1%;
  right: 6%;
  color: var(--color-green);
  border-color: #A7F3D0;
}

.fc-flashcards {
  bottom: 1%;
  left: 8%;
  color: var(--color-orange);
  border-color: #FED7AA;
}

@media (max-width: 990px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual-col {
    order: -1; /* Image appears first or prominent on mobile */
  }
  .hero-main-mockup-frame {
    max-width: 400px;
  }
  .float-card {
    display: none; /* Hide floating pills on mobile to avoid horizontal spillover */
  }
}

/* ==========================================================================
   6. TRUST / VALUE STRIP (HORIZONTAL SWIPEABLE ON MOBILE)
   ========================================================================== */
.trust-strip-sec {
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 18px 0;
}

.trust-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.trust-item-icon {
  font-size: 1.25rem;
}

@media (max-width: 860px) {
  .trust-strip-sec {
    padding: 14px 0;
  }
  .trust-strip-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 12px;
  }
  .trust-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    background: var(--bg-subtle);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
  }
  .trust-strip-row::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   7. SECTION HEADERS (CONSISTENT VISUAL HIERARCHY)
   ========================================================================== */
.sec-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

.sec-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  background: var(--bg-blue-tint);
  border: 1px solid #BFDBFE;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.sec-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-desc {
  font-size: clamp(0.96rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   8. “WHAT’S INSIDE?” SECTION (8 CATEGORY CARDS GRID)
   ========================================================================== */
.whats-inside-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: var(--bg-page);
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1080px) {
  .category-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .category-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.cat-overview-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.cat-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

.cat-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-card);
}

.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* GUARANTEES NO CROPPING */
  transition: transform 0.3s ease;
}

.cat-overview-card:hover .cat-img-box img {
  transform: scale(1.03);
}

.cat-card-number-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(30, 41, 59, 0.88);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.cat-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cat-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.cat-explore-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.cat-explore-link:hover {
  color: var(--color-blue-dark);
  transform: translateX(3px);
}

/* ==========================================================================
   9. CATEGORY PREVIEW SECTIONS (DETAILED 8 SECTIONS)
   ========================================================================== */
.category-details-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
}

.category-deep-grid {
  display: block;
}

.category-deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--border-card);
}

.category-deep-row:last-child {
  border-bottom: none;
}

/* Alternate row ordering on desktop */
.category-deep-row.reverse-desktop .cat-deep-text {
  order: 2;
}
.category-deep-row.reverse-desktop .cat-deep-visual {
  order: 1;
}

.cat-deep-visual {
  width: 100%;
}

.cat-deep-frame {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-deep-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.cat-deep-frame:hover img {
  transform: scale(1.02);
}

.cat-deep-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cat-deep-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.label-blue { background: var(--bg-blue-tint); color: var(--color-blue); border: 1px solid #BFDBFE; }
.label-yellow { background: var(--bg-yellow-tint); color: var(--color-yellow); border: 1px solid #FDE68A; }
.label-pink { background: var(--bg-pink-tint); color: var(--color-pink); border: 1px solid #FBCFE8; }
.label-purple { background: var(--bg-purple-tint); color: var(--color-purple); border: 1px solid #DDD6FE; }
.label-green { background: var(--bg-green-tint); color: var(--color-green); border: 1px solid #A7F3D0; }
.label-orange { background: var(--bg-orange-tint); color: var(--color-orange); border: 1px solid #FED7AA; }

.cat-deep-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.cat-deep-desc {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Feature Chips */
.cat-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cat-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.btn-view-collection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.btn-view-collection:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

@media (max-width: 900px) {
  .category-deep-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Requirement: On mobile, Image first, text second */
  .category-deep-row .cat-deep-visual {
    order: 1 !important;
  }
  .category-deep-row .cat-deep-text {
    order: 2 !important;
  }
  .cat-deep-frame {
    max-width: 380px;
  }
}

/* ==========================================================================
   10. VISUAL “LOOK INSIDE” SECTION (INTERACTIVE GALLERY)
   ========================================================================== */
.look-inside-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: var(--bg-page);
}

/* Gallery Filter Chips */
.gallery-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.gallery-filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-body);
  transition: all 0.15s ease;
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Gallery Grid */
.look-inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .look-inside-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .look-inside-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 440px) {
  .look-inside-grid {
    grid-template-columns: 1fr;
  }
}

.worksheet-gallery-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.worksheet-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #93C5FD;
}

.worksheet-card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #FAF8F5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.worksheet-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.worksheet-gallery-card:hover .worksheet-card-img-wrap img {
  transform: scale(1.04);
}

.worksheet-zoom-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(30, 41, 59, 0.85);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.worksheet-gallery-card:hover .worksheet-zoom-indicator {
  opacity: 1;
  transform: scale(1.05);
}

.worksheet-card-meta {
  padding: 8px 4px 4px;
}

.worksheet-card-category {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.worksheet-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* ==========================================================================
   10B. AUTO-SCROLLING CAROUSEL MARQUEE (22 UNUSED WORKSHEET SAMPLES)
   ========================================================================== */
.look-inside-auto-carousel-wrap {
  margin-top: 50px;
  padding-top: 44px;
  border-top: 2px dashed #E2E8F0;
  text-align: center;
}

.carousel-section-intro {
  margin-bottom: 22px;
}

.carousel-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-green-tint);
  color: var(--color-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  border: 1px solid #A7F3D0;
}

.carousel-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLiveDot 1.6s infinite;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.carousel-intro-title {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.carousel-intro-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.carousel-ticker-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.carousel-pill-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.legend-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-body);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Outer Marquee Track Wrapper with Gradient Fade Masks */
.auto-carousel-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-lg);
  background: #FDFBF7;
}

.auto-carousel-marquee-wrapper::before,
.auto-carousel-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(30px, 8vw, 100px);
  z-index: 5;
  pointer-events: none;
}

.auto-carousel-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #FDFBF7 20%, rgba(253, 251, 247, 0));
}

.auto-carousel-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #FDFBF7 20%, rgba(253, 251, 247, 0));
}

.marquee-track-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-sub-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
  will-change: transform;
}

.marquee-row-left {
  animation: marqueeScrollLeft 32s linear infinite !important;
  -webkit-animation: marqueeScrollLeft 32s linear infinite !important;
}

.marquee-row-right {
  animation: marqueeScrollRight 36s linear infinite !important;
  -webkit-animation: marqueeScrollRight 36s linear infinite !important;
}

/* Pause track ONLY when actively hovering over a specific card or when user pauses stream */
.auto-carousel-marquee-wrapper.is-paused .marquee-track-row {
  animation-play-state: paused !important;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-track-row:has(.auto-carousel-card:hover) {
    animation-play-state: paused;
  }
}

/* Stream Controller Button */
.carousel-control-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  user-select: none;
}

.carousel-control-toggle:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #1E293B;
  transform: translateY(-1px);
}

.carousel-control-toggle.paused-state {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}

@keyframes marqueeScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Individual Carousel Worksheet Card */
.auto-carousel-card {
  width: 215px;
  min-width: 215px;
  max-width: 215px;
  flex: 0 0 215px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.auto-carousel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
  border-color: #93C5FD;
}

.car-card-img-wrap {
  aspect-ratio: 3 / 4;
  background: #FAF8F5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.auto-carousel-card:hover .car-card-img-wrap img {
  transform: scale(1.04);
}

.car-tag-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.1);
  color: var(--text-main);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.car-zoom-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.auto-carousel-card:hover .car-zoom-badge {
  opacity: 1;
  transform: scale(1.06);
}

.car-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 8px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-card-sub {
  font-size: 0.72rem;
  color: var(--color-blue);
  font-weight: 700;
  margin-top: 2px;
}

.carousel-bottom-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Visibility helpers for desktop vs mobile presentation */
.desktop-only-inline { display: inline; }
.desktop-only-block { display: block; }
.mobile-only-inline { display: none; }
.mobile-only-block { display: none; }

@media (max-width: 768px) {
  .desktop-only-inline { display: none !important; }
  .desktop-only-block { display: none !important; }
  .mobile-only-inline { display: inline !important; }
  .mobile-only-block { display: block !important; }

  /* REMOVE THE 20-CARD DESKTOP GALLERY VIEW FROM MOBILE ENTIRELY */
  .look-inside-desktop-gallery-view {
    display: none !important;
  }

  /* Make Auto Carousel the hero feature of See What's Inside on mobile */
  .look-inside-auto-carousel-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }
  
  .carousel-ticker-controls {
    justify-content: center;
    margin-bottom: 12px;
  }
  
  .carousel-pill-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .legend-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  
  .auto-carousel-card {
    width: 165px !important;
    min-width: 165px !important;
    max-width: 165px !important;
    flex: 0 0 165px !important;
    padding: 8px;
  }
  
  .car-card-title {
    font-size: 0.76rem;
  }
  
  .car-card-sub {
    font-size: 0.68rem;
  }
  
  .marquee-row-left {
    animation-duration: 24s !important;
  }
  
  .marquee-row-right {
    animation-duration: 28s !important;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.lightbox-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.lightbox-close-btn:hover {
  background: #F1F5F9;
  color: var(--text-main);
}

.lightbox-body {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF8F5;
  overflow: auto;
  flex: 1;
}

.lightbox-body img {
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.lightbox-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.lightbox-nav-btn {
  background: #F1F5F9;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

.lightbox-nav-btn:hover {
  background: var(--color-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   11. “MADE FOR” SECTION (4 CARDS)
   ========================================================================== */
.made-for-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: #FFFFFF;
}

.made-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .made-for-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .made-for-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.made-for-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.made-for-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #FFFFFF;
}

.made-for-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 16px;
  border: 1px solid var(--border-card);
}

.made-for-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.made-for-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   12. BENEFITS SECTION (6 COMPACT CARDS)
   ========================================================================== */
.benefits-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: var(--bg-page);
}

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

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.benefit-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
}

.benefit-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-blue-tint);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

.benefit-card-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.benefit-card-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   13. HOW IT WORKS (3 SIMPLE STEPS)
   ========================================================================== */
.how-it-works-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: #FFFFFF;
}

.steps-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

@media (max-width: 768px) {
  .steps-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.step-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #93C5FD;
}

.step-number-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.step-action-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-action-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   14. VALUE STACK SECTION
   ========================================================================== */
.value-stack-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: var(--bg-page);
}

.value-stack-container {
  max-width: 1060px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: var(--shadow-card);
}

/* Google Drive 32 Folders Vault Card */
.gdrive-vault-card {
  width: 100%;
  box-sizing: border-box;
  background: #F8FAFD;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 24px);
  margin-top: 18px;
  overflow: hidden;
}

.gdrive-vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.gdrive-vault-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gdrive-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.gdrive-vault-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.gdrive-vault-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.gdrive-instant-pill {
  font-size: 0.76rem;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* 32 Folders Grid - 4 Perfectly Balanced Columns That Never Overflow */
.gdrive-folders-grid {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .gdrive-folders-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .gdrive-folders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .gdrive-folders-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gdrive-folder-pill {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #EDF2F7;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.18s ease;
  cursor: default;
  user-select: none;
  overflow: hidden;
}

.gdrive-folder-pill:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.folder-pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
}

.gdrive-folder-svg {
  width: 18px;
  height: 18px;
  fill: #4B5563;
  flex-shrink: 0;
}

.folder-name {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  display: block;
}

.folder-dots {
  color: #64748B;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  padding-left: 2px;
}

/* Value Summary Bottom Strip */
.value-stack-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px dashed #E2E8F0;
}

@media (max-width: 768px) {
  .value-stack-summary-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.vsum-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-main);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.vsum-check {
  color: var(--color-green);
  font-weight: 900;
  font-size: 1rem;
}

/* ==========================================================================
   15. CONVERSION OFFER SECTION (DYNAMIC PRICING)
   ========================================================================== */
.offer-section-box {
  padding: clamp(54px, 7vw, 84px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-subtle) 100%);
  border-top: 1px solid var(--border-card);
}

.offer-card-large {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2.5px solid #BFDBFE;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.offer-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-banner);
}

.offer-large-title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.offer-large-activities {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pink-tint);
  color: var(--color-pink);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.offer-large-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.offer-dyn-sale-price {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.offer-dyn-mrp-price {
  font-size: 1.6rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.offer-dyn-savings {
  display: inline-block;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.offer-cta-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.offer-under-cta-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 12px;
}

/* ==========================================================================
   16. FAQ SECTION (COMPACT ACCORDION)
   ========================================================================== */
.faq-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: #FFFFFF;
}

.faq-accordion-box {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: #BFDBFE;
  background: #FFFFFF;
}

.faq-btn {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.faq-btn:hover {
  color: var(--color-blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), padding 0.28s ease;
  padding: 0 22px;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

.faq-item.active .faq-panel {
  max-height: 220px;
  padding: 0 22px 18px 22px;
}

/* ==========================================================================
   17. FINAL HIGH-CONVERTING CTA (COLLAGE FRAME BACKDROP)
   ========================================================================== */
.final-cta-sec {
  padding: clamp(64px, 8vw, 100px) 0;
  background: radial-gradient(circle at 50% 50%, rgba(239, 246, 255, 0.8) 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-card);
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.final-cta-h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.final-cta-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.final-cta-wrap {
  max-width: 460px;
  margin: 0 auto 12px;
}

.final-cta-small {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Background floating decorative previews */
.final-cta-backdrop-preview {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.22;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.preview-left {
  left: -40px;
}

.preview-right {
  right: -40px;
}

@media (max-width: 900px) {
  .final-cta-backdrop-preview {
    display: none;
  }
}

/* ==========================================================================
   18. MINIMAL FOOTER
   ========================================================================== */
.kids-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-card);
  padding: 40px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-product-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-blue);
}

.footer-subnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--color-blue);
}

/* ==========================================================================
   19. STICKY MOBILE PURCHASE CTA
   ========================================================================== */
.sticky-mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid var(--border-card);
  padding: 10px 16px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.sticky-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-price-left {
  display: flex;
  flex-direction: column;
}

.sticky-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.sticky-price-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green);
}

.btn-sticky-mobile {
  flex: 1;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .sticky-mobile-cta-bar {
    display: block;
  }
  body {
    padding-bottom: 74px; /* Ensure content is never obscured by sticky bar */
  }
}

/* ==========================================================================
   20. ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *:not(.marquee-track-row):not(.marquee-row-left):not(.marquee-row-right):not(.pip-magic-star):not(.magic-wand-star):not(.carousel-live-dot):not(.magic-cursor-aura):not(.magic-cursor-dot) {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   21. FAKE URGENCY & SCARCITY STYLES
   ========================================================================== */
.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.announcement-pill {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Hero Urgency Countdown Banner */
.hero-urgency-banner {
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.urgency-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fire-pulse-icon {
  font-size: 1.4rem;
  animation: pulseFire 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulseFire {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.urgency-bold-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #BE123C;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.urgency-sub-note {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9F1239;
  line-height: 1.2;
}

.hero-clock-display {
  display: flex;
  align-items: center;
  gap: 4px;
}

.clock-unit-box {
  background: #BE123C;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 4px 6px;
  min-width: 38px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(190, 18, 60, 0.25);
}

.clock-unit {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  font-family: monospace;
}

.clock-lbl {
  font-size: 0.55rem;
  font-weight: 700;
  opacity: 0.85;
  display: block;
}

.clock-colon {
  font-size: 1.1rem;
  font-weight: 800;
  color: #BE123C;
}

/* Scarcity Bar */
.deal-scarcity-bar {
  margin-bottom: 10px;
}

.scarcity-track {
  width: 100%;
  height: 8px;
  background: #F1F5F9;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid #E2E8F0;
}

.scarcity-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #EA580C, #E11D48);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.scarcity-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E11D48;
}

.scarcity-sold {
  color: var(--text-muted);
}

.offer-urgency-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  color: #BE123C;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

/* ==========================================================================
   22. CUSTOMER REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.reviews-sec {
  padding: clamp(54px, 7vw, 84px) 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.reviews-scorecard {
  max-width: 840px;
  margin: 0 auto 36px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FAF5FF 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.scorecard-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.big-score-num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.score-stars-col {
  display: flex;
  flex-direction: column;
}

.score-stars {
  color: #F59E0B;
  font-size: 1.35rem;
  letter-spacing: 2px;
  line-height: 1.1;
}

.score-count-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.score-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #93C5FD;
  color: var(--color-blue);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

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

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .reviews-grid {
    gap: 10px;
  }
}

.review-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #FFFFFF;
  border-color: #BFDBFE;
}

.review-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}

.review-buyer-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-green);
  background: var(--bg-green-tint);
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.review-quote-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.reviewer-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-card);
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.av-pink { background: linear-gradient(135deg, #EC4899, #DB2777); }
.av-blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.av-green { background: linear-gradient(135deg, #10B981, #059669); }
.av-yellow { background: linear-gradient(135deg, #F59E0B, #D97706); }
.av-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.av-orange { background: linear-gradient(135deg, #F97316, #EA580C); }

.reviewer-meta {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.reviewer-role {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   23. LIVE SOCIAL PROOF RECENT PURCHASE TOAST
   ========================================================================== */
.live-purchase-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 85;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  max-width: 360px;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.live-purchase-toast.toast-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.toast-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.toast-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-green);
  margin-top: 2px;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.15s ease;
}

.toast-close-btn:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .live-purchase-toast {
    left: 12px;
    right: auto;
    bottom: 84px; /* Positioned directly above mobile sticky purchase CTA! */
    max-width: calc(100vw - 84px); /* Pinned to bottom-left leaving 84px on right for Pip symbol button */
    padding: 8px 12px;
  }
}

/* ==========================================================================
   24. LIVE VIEWERS COUNTER & PULSING INDICATOR
   ========================================================================== */
.pulse-red-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.announcement-viewers-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  margin: 0 4px;
  white-space: nowrap;
}

.hero-live-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 6px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.hero-live-viewers-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-guarantee-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.offer-live-viewers-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #991B1B;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  margin: 0 auto 18px;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   25. PARENT TRANSFORMATION: BEFORE VS AFTER (SECTION 8B)
   ========================================================================== */
.parent-transformation-sec {
  padding: clamp(54px, 7vw, 90px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 50%, #FAF8F5 100%);
  position: relative;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.diff-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: stretch;
}

.diff-col-card {
  border-radius: var(--radius-xl, 24px);
  padding: clamp(24px, 3.5vw, 36px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
}

/* WITHOUT BUNDLE CARD: Muted Red Dash Box */
.diff-without {
  background: #FFF8F8;
  border: 2px dashed #FCA5A5;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.04);
}

.diff-without:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.08);
}

/* WITH BUNDLE CARD: Vibrant Emerald Glow */
.diff-with {
  background: #FFFFFF;
  border: 2.5px solid #10B981;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.12);
  position: relative;
}

.diff-with:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 185, 129, 0.18);
}

.diff-card-badge-top {
  position: absolute;
  top: 14px;
  right: 20px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  letter-spacing: 0.02em;
}

.diff-card-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 18px;
}

.diff-status-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.diff-status-pill.pill-red {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.diff-status-pill.pill-green {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.diff-card-title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}

.diff-card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.diff-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.diff-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
}

.diff-point-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.diff-point-item strong {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text-main);
}

.item-negative strong {
  color: #991B1B;
}

.item-positive strong {
  color: #047857;
}

.diff-takeaway-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-xl, 24px);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.takeaway-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.25);
}

.takeaway-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #92400E;
  margin: 0 0 6px;
}

.takeaway-text p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #78350F;
  margin: 0;
}

/* ==========================================================================
   26. 7-DAY 100% MONEY-BACK GUARANTEE BOX
   ========================================================================== */
.offer-guarantee-box {
  margin-top: 36px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-xl, 24px);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.offer-guarantee-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
}

.guarantee-badge-shield {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #10B981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

.guarantee-shield-emoji {
  font-size: 1.7rem;
  line-height: 1;
}

.guarantee-shield-text {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #065F46;
  margin-top: 2px;
}

.guarantee-content-col {
  flex: 1;
}

.guarantee-box-title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px;
}

.guarantee-box-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.guarantee-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guarantee-trust-badges span {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   27. MOBILE-FIRST GRID FORMAT & LENGTH OPTIMIZATION (MAX-WIDTH: 768px)
   Designs all mobile sections in compact grids & drastically cuts down page length
   ========================================================================== */
@media (max-width: 768px) {
  /* Global section length reduction across entire mobile viewport */
  section {
    padding: 30px 0 !important;
  }

  .sec-header-center {
    margin-bottom: 16px !important;
  }

  .sec-eyebrow {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    margin-bottom: 5px !important;
  }

  .sec-title {
    font-size: clamp(1.22rem, 5.2vw, 1.45rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
  }

  .sec-desc {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
  }

  /* 1. Header & Top Announcement Bar */
  .kids-announcement-bar {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
  }
  .kids-header-inner {
    height: 56px !important;
  }
  .kids-brand-name {
    font-size: 1.15rem !important;
  }
  .kids-brand-sub {
    font-size: 0.58rem !important;
  }

  /* 2. Hero Section */
  .kids-hero-sec {
    padding: 16px 0 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
  }
  .hero-visual-col, .hero-content, .hero-offer-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-main-mockup-frame {
    width: 100% !important;
    max-width: 310px !important;
    aspect-ratio: 1448 / 1086 !important;
    margin: 0 auto 8px !important;
    padding: 6px !important;
    overflow: hidden !important;
  }
  .hero-h1 {
    font-size: clamp(1.38rem, 6vw, 1.65rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .hero-subheadline {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
    margin-bottom: 12px !important;
  }
  /* Hero benefit badges in compact 3-column grid */
  .hero-benefit-badges {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  .benefit-badge-item {
    padding: 5px 3px !important;
    font-size: 0.68rem !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }
  .hero-offer-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }
  .hero-urgency-banner {
    padding: 7px 10px !important;
    margin-bottom: 8px !important;
  }
  .deal-scarcity-bar {
    margin-bottom: 8px !important;
  }
  .hero-live-stats-row {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 8px 0 10px !important;
    padding: 6px 10px !important;
  }
  .offer-price-block {
    margin-bottom: 10px !important;
  }

  /* 3. Trust Strip in 2-Column Compact Grid */
  .trust-strip-sec {
    padding: 10px 0 !important;
  }
  .trust-strip-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    overflow-x: visible !important;
  }
  .trust-item {
    padding: 6px 8px !important;
    font-size: 0.74rem !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 8px !important;
  }
  .trust-item:last-child {
    grid-column: span 2 !important;
  }

  /* 4. “What’s Inside?” 8 Overview Cards in 2-Column Grid */
  .category-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cat-overview-card {
    padding: 10px !important;
    border-radius: 14px !important;
  }
  .cat-img-box {
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }
  .cat-card-number-badge {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.65rem !important;
    top: 5px !important;
    left: 5px !important;
  }
  .cat-card-title {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  .cat-card-desc {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .cat-explore-link {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    margin-top: auto !important;
  }

  /* 5. Parent Relief (Before vs After) Side-by-Side 2-Column Grid */
  .diff-comparison-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .diff-col-card {
    padding: 10px 8px !important;
    border-radius: 14px !important;
  }
  .diff-card-badge-top {
    display: none !important;
  }
  .diff-card-header {
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }
  .diff-status-pill {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    margin-bottom: 4px !important;
    letter-spacing: 0 !important;
  }
  .diff-card-title {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }
  .diff-card-sub {
    display: none !important; /* Cut length */
  }
  .diff-points-list {
    gap: 6px !important;
  }
  .diff-point-item {
    gap: 5px !important;
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
  }
  .diff-point-icon {
    font-size: 0.95rem !important;
    line-height: 1 !important;
  }
  .diff-point-item strong {
    font-size: 0.7rem !important;
    display: inline !important;
    margin-bottom: 0 !important;
  }
  .diff-takeaway-banner {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    gap: 10px !important;
    flex-direction: row !important;
    text-align: left !important;
  }
  .takeaway-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
  }
  .takeaway-text h4 {
    font-size: 0.82rem !important;
    margin-bottom: 2px !important;
  }
  .takeaway-text p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  /* 6. Category Deep Dive in 2-Column Compact Grid */
  .category-deep-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .category-deep-row {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px !important;
    background: var(--bg-subtle) !important;
    border: 1.5px solid var(--border-card) !important;
    border-radius: 14px !important;
    box-shadow: var(--shadow-sm) !important;
    margin: 0 !important;
    gap: 0 !important;
    border-bottom: 1.5px solid var(--border-card) !important;
  }
  .cat-deep-visual {
    width: 100% !important;
    order: 1 !important;
  }
  .cat-deep-frame {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    padding: 6px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
  }
  .cat-deep-text {
    width: 100% !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 !important;
  }
  .cat-deep-label {
    font-size: 0.62rem !important;
    margin-bottom: 3px !important;
  }
  .cat-deep-title {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    font-weight: 800 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .cat-deep-desc {
    display: none !important; /* Cut out ~3,000px of scrolling */
  }
  .cat-chips-row {
    display: none !important; /* Cut out ~800px of chips */
  }
  .btn-view-collection {
    margin-top: auto !important;
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  /* 7. Made For in 2-Column Grid */
  .made-for-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .made-for-card {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }
  .made-for-icon-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
  }
  .made-for-title {
    font-size: 0.82rem !important;
    margin-bottom: 2px !important;
  }
  .made-for-desc {
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
  }

  /* 8. Benefits in 2-Column Grid */
  .benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .benefit-card {
    padding: 10px 8px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .benefit-icon-badge {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .benefit-card-content h3 {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }
  .benefit-card-content p {
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
  }

  /* 9. How It Works in 3-Column 1-Row Grid */
  .steps-cards-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .step-card {
    padding: 12px 5px !important;
    border-radius: 12px !important;
  }
  .step-number-bubble {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
    margin: 0 auto 6px !important;
  }
  .step-action-title {
    font-size: 0.78rem !important;
    margin-bottom: 2px !important;
  }
  .step-desc {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
  }

  /* 10. Value Stack in 2-Column Grid & Compact Scrollable Folders */
  .value-stack-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .stack-item-card {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }
  .stack-item-card h4 {
    font-size: 0.8rem !important;
  }
  .stack-item-card p {
    font-size: 0.7rem !important;
  }
  .gdrive-vault-card {
    padding: 12px !important;
    border-radius: 14px !important;
    margin-top: 12px !important;
  }
  .gdrive-vault-header {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }
  .gdrive-vault-title {
    font-size: 0.92rem !important;
  }
  .gdrive-vault-sub {
    font-size: 0.72rem !important;
  }
  .gdrive-folders-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .gdrive-folder-pill {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }

  /* 11. Customer Reviews: Sleek Swipeable Snap Track */
  .reviews-scorecard {
    padding: 12px 14px !important;
    margin-bottom: 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .big-score-num {
    font-size: 2.2rem !important;
  }
  .reviews-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
  }
  .review-card {
    min-width: 82% !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }

  /* 12. Offer Section & Guarantee Box */
  .offer-card-large {
    padding: 22px 14px !important;
    border-radius: 20px !important;
  }
  .offer-large-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .offer-urgency-strip {
    font-size: 0.76rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
  }
  .offer-live-viewers-pill {
    font-size: 0.78rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
  }
  .offer-large-price-wrap {
    gap: 10px !important;
  }
  .offer-guarantee-box {
    padding: 16px 12px !important;
    gap: 12px !important;
    margin-top: 20px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .offer-guarantee-box::before {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 5px !important;
    bottom: auto !important;
  }
  .guarantee-badge-shield {
    width: 48px !important;
    height: 48px !important;
  }
  .guarantee-shield-emoji {
    font-size: 1.2rem !important;
  }
  .guarantee-shield-text {
    font-size: 0.52rem !important;
  }
  .guarantee-box-title {
    font-size: 1.02rem !important;
    margin-bottom: 4px !important;
  }
  .guarantee-box-desc {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  .guarantee-trust-badges {
    justify-content: center !important;
    gap: 6px !important;
  }
  .guarantee-trust-badges span {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
  }

  /* 13. FAQ & Final CTA */
  .faq-btn {
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
  }
  .faq-panel p {
    font-size: 0.82rem !important;
    padding: 0 14px 12px !important;
  }
  .final-cta-card {
    padding: 28px 16px !important;
    border-radius: 20px !important;
  }
  .final-cta-h2 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================================================
   28. SCROLL PROGRESS TRACKER WITH GLIDING MASCOT AVATAR
   ========================================================================== */
.scroll-tracker-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(226, 232, 240, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10001;
  pointer-events: none;
}

.scroll-tracker-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #8B5CF6, #EC4899, #F59E0B);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.55);
  border-radius: 0 4px 4px 0;
  will-change: width;
}

.scroll-tracker-avatar {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  will-change: left;
}

.tracker-avatar-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border: 2px solid #EC4899;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
  animation: trackerFloat 2s ease-in-out infinite alternate;
}

@keyframes trackerFloat {
  0% { transform: rotate(-6deg) scale(1); }
  100% { transform: rotate(6deg) scale(1.08); }
}

/* ==========================================================================
   29. HERO 3D FLOATING PROPS & PLAYFUL CHARACTERS
   ========================================================================== */
.hero-3d-prop {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 1.45rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  animation: heroPropFloat 4s ease-in-out infinite alternate;
}

.prop-pencil {
  top: -18px;
  right: 64px;
  animation-delay: 0s;
  background: #FFFBEB;
  border-color: #FDE68A;
}

.prop-star {
  bottom: 24px;
  left: -20px;
  animation-delay: 1.2s;
  background: #FEF3C7;
  border-color: #FBBF24;
}

.prop-palette {
  top: 42%;
  right: -24px;
  animation-delay: 2.2s;
  background: #FDF2F8;
  border-color: #FBCFE8;
}

.prop-rocket {
  top: 14%;
  left: -18px;
  animation-delay: 0.8s;
  background: #EFF6FF;
  border-color: #BFDBFE;
}

@keyframes heroPropFloat {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-10px) scale(1.06) rotate(6deg); }
  100% { transform: translateY(-18px) scale(0.98) rotate(-6deg); }
}

@media (max-width: 990px) {
  .hero-3d-prop {
    display: none;
  }
}

/* ==========================================================================
   30. FLOATING MASCOT COMPANION ("PIP THE LEARNING OWL")
   ========================================================================== */
.pip-mascot-companion {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.pip-speech-bubble {
  background: #FFFFFF;
  border: 2px solid #3B82F6;
  border-radius: 18px;
  padding: 10px 14px 10px 14px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
  margin-bottom: 10px;
  max-width: 250px;
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  animation: bubblePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pip-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-right: 2px solid #3B82F6;
  border-bottom: 2px solid #3B82F6;
  transform: rotate(45deg);
}

.pip-bubble-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.pip-bubble-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.pip-bubble-close:hover {
  color: var(--color-red);
}

@keyframes bubblePop {
  0% { transform: scale(0.6) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.pip-character-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border: 2.5px solid #2563EB;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pip-character-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.45);
  border-color: #1D4ED8;
}

.pip-avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  animation: pipBodyFloat 3.5s ease-in-out infinite alternate;
}

.pip-svg-mascot {
  width: 38px;
  height: 38px;
  overflow: visible;
}

/* Character SVG Micro-Animations */
@keyframes pipBodyFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.pip-eyes {
  transform-origin: 50% 42%;
  animation: pipBlink 4.5s infinite;
}

@keyframes pipBlink {
  0%, 94%, 98%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.1); }
}

.pip-wing-right {
  transform-origin: 75% 54%;
  animation: pipWingWave 2.8s ease-in-out infinite alternate;
}

@keyframes pipWingWave {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
  100% { transform: rotate(4deg); }
}

.pip-live-pulse-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pip-btn-pill-label {
  display: none !important; /* Pure symbol style mascot button */
}

@media (max-width: 768px) {
  .pip-mascot-companion {
    bottom: 84px; /* Cleanly above the 70px sticky mobile bar */
    right: 14px;
  }
  .pip-speech-bubble {
    display: none !important; /* Keep mobile completely clear of overlaps */
  }
  .pip-character-btn {
    width: 48px;
    height: 48px;
    padding: 0;
  }
  .pip-avatar-circle {
    width: 100%;
    height: 100%;
  }
  .pip-svg-mascot {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   31. INTERACTIVE AI/PARENT CHATBOT MODAL ("PIP'S WORKSHEET GUIDE")
   ========================================================================== */
.pip-chat-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pip-chat-modal.chat-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-mascot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.chat-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 0.72rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.chat-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFD;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
  animation: msgFadeIn 0.25s ease-out;
}

.chat-msg.msg-pip {
  align-self: flex-start;
}

.chat-msg.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.msg-pip .msg-bubble {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #E2E8F0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.msg-pip .msg-bubble p {
  margin: 0 0 6px;
}
.msg-pip .msg-bubble p:last-child {
  margin-bottom: 0;
}

.msg-user .msg-bubble {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Chat In-Message Conversion Card */
.chat-cta-card {
  margin-top: 10px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}

.chat-cta-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 6px;
}

.chat-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2563EB;
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease;
}

.chat-cta-btn:hover {
  transform: translateY(-2px);
  background: #1D4ED8;
}

/* Chat Quick Actions Chips */
.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.quick-chip-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quick-chip-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-1px);
}

/* Typing Indicator Animation */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94A3B8;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-footer {
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input-field:focus {
  border-color: #2563EB;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.chat-send-btn:hover {
  background: #1D4ED8;
  transform: scale(1.05);
}

.chat-footer-secure {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .pip-chat-modal {
    bottom: 84px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    height: 480px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   32. 3D CARD TILT & SPECULAR GLARE EFFECT
   ========================================================================== */
.card-tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.4, 1);
  will-change: transform;
  position: relative;
}

.card-glare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 2;
}

/* ==========================================================================
   33. CELEBRATION CONFETTI CANVAS
   ========================================================================== */
.celebration-confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ==========================================================================
   34. INTERACTIVE AGE CURRICULUM EXPLORER BAR
   ========================================================================== */
.age-explorer-bar {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 18px 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.age-explorer-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.age-tab-btn {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.age-tab-btn:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
  transform: translateY(-2px);
}

.age-tab-btn.active {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  border-color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.age-recommendation-pill {
  font-size: 0.82rem;
  color: #475569;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: all 0.2s ease;
}

.cat-overview-card.stage-dimmed {
  opacity: 0.35;
  filter: grayscale(0.5);
  transform: scale(0.97);
  transition: all 0.3s ease;
}

.cat-overview-card.stage-highlight {
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18);
  border-color: #3B82F6;
  transition: all 0.3s ease;
}

/* ==========================================================================
   35. INTERACTIVE PARENT RELIEF & SAVINGS CALCULATOR
   ========================================================================== */
.parent-savings-calc-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
  border: 2px solid #86EFAC;
  border-radius: var(--radius-2xl);
  padding: 32px 36px;
  margin-top: 36px;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.parent-savings-calc-box::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.calc-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 8px;
  line-height: 1.25;
}

.calc-subtitle {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.45;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: center;
}

.calc-inputs-col {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  padding: 0 4px;
}

.calc-stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.calc-stat-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease;
}

.calc-stat-card:hover {
  transform: translateY(-3px);
}

.calc-stat-card.card-coffee {
  border-color: #FED7AA;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
}

.calc-stat-card.card-savings {
  border-color: #86EFAC;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
}

.calc-stat-card.card-screen {
  border-color: #BFDBFE;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
}

.calc-stat-card.card-focus {
  border-color: #DDD6FE;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF5FF 100%);
}

.calc-stat-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.calc-stat-num {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.card-coffee .calc-stat-num { color: #C2410C; }
.card-savings .calc-stat-num { color: #15803D; }
.card-screen .calc-stat-num { color: #1D4ED8; }
.card-focus .calc-stat-num { color: #7E22CE; }

.calc-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.25;
}

.calc-cta-bottom {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.calc-pitch-text {
  font-size: 0.88rem;
  color: #1E293B;
}

.calc-claim-btn {
  white-space: nowrap;
  font-size: 0.85rem !important;
  padding: 9px 18px !important;
}

/* ==========================================================================
   36. INTERACTIVE PLAY ZONE: TRY & COLOR LIVE CANVAS
   ========================================================================== */
.play-zone-sec {
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  position: relative;
  overflow: hidden;
}

.play-zone-card {
  background: #FFFFFF;
  border: 2px solid #BFDBFE;
  border-radius: var(--radius-2xl);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08);
  max-width: 820px;
  margin: 0 auto;
}

.crayon-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed #E2E8F0;
  flex-wrap: wrap;
}

.toolbar-crayons-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #1E293B;
}

.crayon-palette {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.crayon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crayon-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.crayon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--crayon-c, #3B82F6);
}

.crayon-btn.active {
  background: #FFFFFF;
  border-color: var(--crayon-c, #2563EB);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #0F172A;
  transform: translateY(-2px);
  font-weight: 800;
}

.canvas-paper-frame {
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  touch-action: none;
}

#live-worksheet-canvas {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 420;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: crosshair;
}

.canvas-help-hint {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.play-zone-bottom-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px dashed #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.play-cta-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.play-cta-text p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

/* ==========================================================================
   37. MAGICAL INTERACTIVE CURSOR & STAR DUST PARTICLES
   ========================================================================== */
.magic-cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  margin-left: -21px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.75);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(245, 158, 11, 0.06) 65%, transparent 100%);
  pointer-events: none;
  z-index: 999998;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), height 0.22s cubic-bezier(0.16, 1, 0.3, 1), margin 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
  will-change: transform;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.magic-cursor-aura.is-visible {
  opacity: 1;
}

.magic-cursor-aura.is-hovering {
  width: 58px;
  height: 58px;
  margin-top: -29px;
  margin-left: -29px;
  border-color: #EC4899;
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.65), inset 0 0 12px rgba(245, 158, 11, 0.35);
}

.magic-cursor-aura.is-clicking {
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border-color: #3B82F6;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.7);
}

.magic-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  pointer-events: none;
  z-index: 999999;
  will-change: transform;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease; /* Zero transform transition ensures 0ms lag tracking */
  transform: translate3d(-100px, -100px, 0);
}

.magic-cursor-dot .magic-wand-star {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  color: #F59E0B;
  text-shadow: 0 0 6px #F59E0B, 0 0 12px #EC4899;
  animation: wandStarSpin 6s linear infinite;
  transform-origin: center;
  user-select: none;
}

@keyframes wandStarSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.magic-cursor-dot.is-visible {
  opacity: 1;
}

.magic-cursor-dot.is-hovering .magic-wand-star {
  font-size: 22px;
  color: #EC4899;
  text-shadow: 0 0 10px #EC4899, 0 0 16px #F59E0B;
}

.pip-magic-star {
  position: fixed;
  pointer-events: none;
  z-index: 999997;
  line-height: 1;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  will-change: transform, opacity;
  animation: starFloatFade 0.85s cubic-bezier(0.12, 0.9, 0.3, 1) forwards;
  filter: drop-shadow(0 2px 8px var(--star-shadow, rgba(245, 158, 11, 0.5)));
}

@keyframes starFloatFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -35px))) scale(0.15) rotate(var(--rot, 45deg));
  }
}

@media (max-width: 900px) {
  .calc-body-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calc-stat-cards-grid {
    grid-template-columns: repeat(2, 1fr); /* 4-grid format on mobile */
    gap: 10px;
  }
  .calc-cta-bottom {
    flex-direction: column;
    text-align: center;
  }
  .parent-savings-calc-box {
    padding: 24px 18px;
  }
}

@media (max-width: 580px) {
  .calc-stat-cards-grid {
    grid-template-columns: repeat(2, 1fr); /* 4-grid format on small mobile */
    gap: 8px;
  }
  .calc-stat-card {
    padding: 12px 6px;
    border-radius: 12px;
  }
  .calc-stat-icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  .calc-stat-num {
    font-size: 1.22rem;
    margin-bottom: 2px;
  }
  .calc-stat-label {
    font-size: 0.65rem;
    line-height: 1.25;
  }
}

@media (max-width: 768px) {
  .play-zone-card {
    padding: 18px 14px;
  }
  .play-zone-bottom-cta {
    flex-direction: column;
    text-align: center;
  }
  .crayon-btn {
    padding: 4px 8px;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   29. ORDER BUMP & UPSELL COMPONENT (PARENTING RESOURCE BONUS PACK)
   ========================================================================== */
.order-bump-card {
  max-width: 580px;
  margin: 24px auto 18px;
  background: #FFFDF8;
  border: 2px dashed #F59E0B;
  border-radius: var(--radius-lg, 20px);
  padding: clamp(18px, 3.5vw, 24px);
  text-align: left;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.order-bump-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.16);
  border-color: #D97706;
}

.order-bump-card.is-selected {
  background: #FFFBEB;
  border: 2.5px solid #F59E0B;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.22);
}

.order-bump-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B, #EA580C, #DB2777);
  opacity: 0.7;
}

.order-bump-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.order-bump-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-bump-badge-price {
  display: inline-flex;
  align-items: center;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.order-bump-header {
  margin-bottom: 14px;
}

.order-bump-headline {
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 4px;
}

.order-bump-subheadline {
  font-size: 0.94rem;
  color: #B45309;
  font-weight: 600;
  margin-bottom: 6px;
}

.order-bump-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.order-bump-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #FEF3C7;
  border-radius: 12px;
}

.order-bump-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

.order-bump-check {
  color: #10B981;
  font-weight: 900;
  font-size: 0.92rem;
  flex-shrink: 0;
  line-height: 1.25;
}

.order-bump-checkbox-row {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.order-bump-card.is-selected .order-bump-checkbox-row {
  border-color: #F59E0B;
  background: #FFF7ED;
}

.order-bump-custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
}

.order-bump-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.order-bump-checkmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2.2px solid #94A3B8;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.order-bump-checkmark::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  display: none;
}

.order-bump-input:checked + .order-bump-checkmark {
  background: #F59E0B;
  border-color: #F59E0B;
}

.order-bump-input:checked + .order-bump-checkmark::after {
  display: block;
}

.order-bump-label-text {
  font-size: 0.92rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.order-bump-card.is-selected .order-bump-label-text strong {
  color: #B45309;
}

/* ==========================================================================
   30. DYNAMIC ORDER SUMMARY BOX
   ========================================================================== */
.order-bump-summary {
  max-width: 580px;
  margin: 0 auto 18px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
}

.order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

.order-summary-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-summary-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.order-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-body);
}

.summary-item-name {
  font-weight: 600;
}

.summary-item-price {
  font-weight: 700;
  color: var(--text-main);
}

.order-summary-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 8px 0;
}

.order-summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.summary-total-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.summary-total-amount {
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--color-blue, #2563EB);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   31. QUICK EMAIL FIELD & CTA ADJUSTMENTS
   ========================================================================== */
.checkout-customer-field-wrap {
  max-width: 580px;
  margin: 0 auto 16px;
  text-align: left;
}

.checkout-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 6px;
}

.checkout-field-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.checkout-field-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* ==========================================================================
   32. CHECKOUT SUCCESS MODAL (POST-PAYMENT ACCESS)
   ========================================================================== */
.checkout-success-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.checkout-success-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.checkout-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkout-modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.success-header-badge {
  text-align: center;
  margin-bottom: 22px;
}

.success-icon-sparkle {
  font-size: 3rem;
  margin-bottom: 6px;
  animation: bounceCelebration 1.2s infinite alternate ease-in-out;
}

@keyframes bounceCelebration {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.success-modal-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: #065F46;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.success-modal-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.success-order-meta-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 22px;
  text-align: center;
}

.meta-col-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-col-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.meta-status-badge {
  color: #059669;
}

.success-product-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.success-prod-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.success-prod-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: #DBEAFE;
  color: #1E40AF;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.success-prod-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.success-prod-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.45;
}

.btn-vault-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF !important;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn-vault-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.38);
}

.success-upsell-box {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.success-upsell-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.success-upsell-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.success-upsell-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.success-guides-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-download-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.guide-download-card:hover {
  border-color: #F59E0B;
  background: #FFFDF7;
  transform: translateX(3px);
}

.guide-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.guide-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.guide-name {
  font-size: 0.86rem;
  font-weight: 700;
}

.guide-action {
  font-size: 0.78rem;
  font-weight: 800;
  color: #D97706;
  white-space: nowrap;
}

.success-footer-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  padding-top: 8px;
}

@media (max-width: 600px) {
  .order-bump-card {
    padding: 16px 14px;
    margin: 18px auto 14px;
  }
  .order-bump-badge-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .success-order-meta-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .success-product-box {
    flex-direction: column;
    text-align: center;
  }
  .guide-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* ==========================================================================
   33. INTERACTIVE SIDE CART DRAWER (OFFCANVAS CHECKOUT BAG)
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 99990;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-panel {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  position: relative;
  z-index: 99991;
}

.cart-drawer-backdrop.is-open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 22px;
  border-bottom: 1.5px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFDF9;
  flex-shrink: 0;
}

.cart-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-header-icon {
  font-size: 1.6rem;
}

.cart-drawer-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cart-drawer-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-drawer-close {
  background: #F1F5F9;
  border: none;
  font-size: 1.45rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cart-drawer-close:hover {
  background: #E2E8F0;
  color: var(--text-main);
  transform: rotate(90deg);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   0. MINIMAL ANIMATED DISCOUNT PROGRESS BAR (WITH ICON ON TOP)
   ========================================================================== */
.cart-reward-bar-container {
  background: #FFFDF7;
  border: 1.5px solid #FDE68A;
  border-radius: 14px;
  padding: 10px 14px 14px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.cart-reward-bar-container:hover {
  border-color: #F59E0B;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.14);
}

.cart-reward-bar-container.is-unlocked {
  background: #F0FDF4;
  border-color: #A7F3D0;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.12);
}

.reward-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}

.reward-bar-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #78350F;
  line-height: 1.3;
}

.cart-reward-bar-container.is-unlocked .reward-bar-title {
  color: #065F46;
}

.reward-bar-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  transition: all 0.3s ease;
}

.reward-bar-badge.badge-unlocked {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  animation: badgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Track and Floating Icon */
.reward-bar-track-wrap {
  position: relative;
  padding-top: 14px;
}

.reward-bar-floating-icon-wrap {
  position: absolute;
  top: -12px;
  transform: translateX(-50%);
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.reward-bar-icon-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: floatingBounce 1.8s infinite ease-in-out;
}

@keyframes floatingBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.pin-icon {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.cart-reward-bar-container.is-unlocked .pin-icon {
  animation: celebrateSpin 0.5s ease;
}

@keyframes celebrateSpin {
  0% { transform: scale(0.7) rotate(-20deg); }
  60% { transform: scale(1.3) rotate(15deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.pin-tooltip {
  font-size: 0.62rem;
  font-weight: 800;
  background: #1E293B;
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  letter-spacing: 0.02em;
}

.cart-reward-bar-container.is-unlocked .pin-tooltip {
  background: #059669;
}

/* The Bar Line */
.reward-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.reward-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, #EA580C 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cart-reward-bar-container.is-unlocked .reward-bar-fill {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.reward-bar-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
  animation: barShimmer 2s infinite linear;
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* 1. Main Product Card in Cart */
.cart-main-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px;
}

.cart-main-thumb-wrap {
  width: 68px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
}

.cart-main-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-details {
  flex: 1;
}

.cart-item-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  background: #DBEAFE;
  color: #1E40AF;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.cart-item-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.cart-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-item-sale-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
}

.cart-item-mrp-price {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.cart-item-savings-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: #FEF2F2;
  color: #DC2626;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #FECACA;
}

/* 2. Side Cart Bump / Minimal Premium Add-on Card */
.cart-bump-card {
  background: #FFFDF8;
  border: 1.5px solid #FCD34D;
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  position: relative;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.06);
}

.cart-bump-card:hover {
  border-color: #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.cart-bump-card.is-selected {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.18);
}

.cart-bump-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-bump-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.cart-bump-save-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.cart-bump-main-flex {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.cart-bump-thumb-wrap {
  width: 68px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #FDE68A;
  background: #FFFFFF;
}

.cart-bump-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-bump-info-col {
  flex: 1;
  min-width: 0;
}

.cart-bump-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 3px;
}

.cart-bump-mini-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 6px;
}

.cart-bump-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cart-bump-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #D97706;
}

.cart-bump-original {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.cart-bump-action-row {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.cart-bump-card.is-selected .cart-bump-action-row {
  border-color: #F59E0B;
  background: #FFF7ED;
}

.cart-bump-custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
}

.cart-bump-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cart-bump-checkmark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #94A3B8;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.cart-bump-checkmark::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
  display: none;
}

.cart-bump-input:checked + .cart-bump-checkmark {
  background: #F59E0B;
  border-color: #F59E0B;
}

.cart-bump-input:checked + .cart-bump-checkmark::after {
  display: block;
}

.cart-bump-label {
  font-size: 0.84rem;
  color: var(--text-main);
}

.cart-bump-card.is-selected .cart-bump-label strong {
  color: #B45309;
}

/* 3. Coupon Code Section */
.cart-coupon-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
}

.coupon-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.coupon-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.coupon-hint {
  font-size: 0.74rem;
  color: var(--color-blue);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.85rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  text-transform: uppercase;
  transition: border-color 0.18s ease;
}

.coupon-input:focus {
  border-color: #2563EB;
}

.coupon-apply-btn {
  background: #1E293B;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.coupon-apply-btn:hover {
  background: #0F172A;
}

.coupon-applied-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  margin-top: 8px;
}

.applied-tag-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.applied-check {
  color: #059669;
  font-weight: 900;
}

.coupon-remove-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #991B1B;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.coupon-msg-feedback {
  font-size: 0.76rem;
  margin-top: 6px;
  font-weight: 600;
}

.coupon-msg-feedback.success {
  color: #059669;
}

.coupon-msg-feedback.error {
  color: #DC2626;
}

/* 4. Customer Delivery Information in Cart (High Contrast WCAG AA) */
.cart-customer-box {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-customer-header {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-customer-badge {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
}

.cart-customer-field {
  margin-bottom: 10px;
}

.cart-customer-field:last-child {
  margin-bottom: 0;
}

.cart-customer-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}

.cart-customer-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  min-height: 48px;
  transition: all 0.18s ease;
}

.cart-customer-input::placeholder {
  color: #94A3B8;
}

.cart-customer-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cart-customer-input.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.cart-customer-phone-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-customer-prefix {
  padding: 12px 14px;
  background: #E2E8F0;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
  user-select: none;
  min-height: 48px;
  min-width: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kids-field-error {
  display: none;
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.kids-field-error.active {
  display: block;
}

.cart-email-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
}

/* 5. Cart Summary Card */
.cart-summary-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
}

.cart-discount-row {
  color: #059669;
  font-weight: 700;
}

.cart-summary-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 4px 0;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.cart-total-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.cart-total-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-blue);
  letter-spacing: -0.02em;
}

/* Cart Drawer Footer */
.cart-drawer-footer {
  padding: 16px 20px;
  background: #FFFFFF;
  border-top: 1.5px solid #F1F5F9;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.btn-cart-checkout {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 15px 20px;
  border-radius: 14px;
  width: 100%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.btn-cart-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42);
}

.btn-cart-checkout:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.cart-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 10px;
}

@media (max-width: 500px) {
  .cart-drawer-panel {
    max-width: 100vw;
  }
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   MOBILE CHECKOUT RESPONSIVENESS & IOS SAFARI AUTO-ZOOM PREVENTION (<640px)
   ========================================================================== */
@media (max-width: 640px) {
  .cart-customer-input {
    font-size: 16px !important; /* Eliminates iOS Safari auto-zoom on input focus */
  }
  .cart-drawer-footer {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

.footer-test-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  color: #64748B;
  opacity: 0.18;
  transition: all 0.2s ease;
  vertical-align: middle;
  text-decoration: none;
  cursor: pointer;
  margin-left: 6px;
}

.footer-test-badge:hover {
  opacity: 1;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px) scale(1.1);
}

/* ==========================================================================
   21. REGIONAL PRICING & COUNTRY SELECTOR
   ========================================================================== */
.kids-country-selector-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  font-family: inherit;
}

.kids-country-selector-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  user-select: none;
}

.kids-country-globe-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.kids-country-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 12px;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.04);
  transition: all 0.2s ease;
  max-width: 100%;
}

.kids-country-select-box:hover {
  border-color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.kids-country-select-box:focus-within {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kids-country-flag-display {
  font-size: 1.25rem;
  line-height: 1;
  margin-right: 6px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.kids-country-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  padding-right: 22px;
  cursor: pointer;
  line-height: 1.4;
  width: 100%;
}

.kids-country-chevron {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.offer-country-wrap {
  align-items: center;
  margin: 0 auto 14px auto;
}

/* Cart Drawer Country Selector Bar */
.cart-country-drawer-wrap {
  background: #FAF6F0;
  border: 1px solid #EFE6DA;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-country-drawer-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.cart-country-select-box {
  flex: 1;
  background: #FFFFFF;
  padding: 5px 12px;
}

.cart-country-select-box .kids-country-select {
  font-size: 0.86rem;
}

/* International Checkout Notice */
.cart-intl-notice {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  animation: fadeInNotice 0.3s ease;
}

@keyframes fadeInNotice {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cart-intl-notice-icon {
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.cart-intl-notice-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #1E3A8A;
  font-weight: 600;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .kids-country-selector-wrap {
    align-items: flex-start;
  }
  .offer-country-wrap {
    align-items: center;
  }
  .cart-country-drawer-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .cart-country-select-box {
    width: 100%;
  }
}


