/* ==========================================================================
   Preschool Worksheets Ultimate Mega Bundle (14,000+ Kids Printables)
   Theme: Vibrant High-Converting Educational Sales Page
   ========================================================================== */

:root {
  --primary-color: #FF2E63;
  --secondary-color: #08D9D6;
  --accent-yellow: #FFD152;
  --accent-green: #25D366;
  --dark-text: #1E293B;
  --body-bg: #FFFDF9;
  --card-bg: #FFFFFF;
  --border-color: #FFE6CF;
}

body.theme-preschool-bundle {
  background-color: var(--body-bg);
  color: var(--dark-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* TOP TICKER BAR */
.pb-top-ticker {
  background: linear-gradient(90deg, #FF0844 0%, #FFB199 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 16px;
  text-align: center;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(255, 8, 68, 0.25);
}

.pb-top-ticker .strike-price {
  text-decoration: line-through;
  opacity: 0.85;
  margin-right: 6px;
}

.pb-top-ticker .highlight-price {
  background: #FFF;
  color: #D90429;
  padding: 3px 10px;
  border-radius: 99px;
  margin-left: 6px;
  display: inline-block;
  font-weight: 900;
}

/* HEADER */
.pb-header {
  background: #FFFFFF;
  border-bottom: 2px solid #FFF0E2;
  padding: 14px 0;
}

/* MULTI-COLOR VIBRANT ANIMATED CTA BUTTONS (Core requirement) */
.btn-multicolor-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FF1361, #FF6A00, #FFBD00, #00C853, #00B0FF, #9B51E0, #FF1361);
  background-size: 400% 400%;
  animation: multiColorRainbow 6s ease infinite, ctaPulseGlow 2.5s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(255, 19, 97, 0.45);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  line-height: 1.2;
}

.btn-multicolor-cta .cta-main-text {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  display: block;
}

.btn-multicolor-cta .cta-sub-text {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.95;
  letter-spacing: 0.2px;
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.18);
  padding: 2px 14px;
  border-radius: 20px;
  display: inline-block;
}

/* Hover Grow Effect (Mandatory user specification) */
.btn-multicolor-cta:hover {
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.6) !important;
  color: #FFFFFF !important;
}

.btn-multicolor-cta:active {
  transform: scale(1.02) !important;
}

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

@keyframes ctaPulseGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(255, 19, 97, 0.45);
  }
  50% {
    box-shadow: 0 14px 40px rgba(0, 200, 83, 0.55);
  }
}

/* HERO SECTION */
.pb-hero-section {
  padding: 40px 0 50px;
  background: radial-gradient(ellipse at top right, #FFF4E6 0%, #FFFDF9 65%);
}

.pb-trust-banner {
  background: #EBFBEE;
  border: 1px solid #B7EFC5;
  color: #1B7A38;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pb-hero-headline {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.22;
  color: #0F172A;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.pb-hero-headline .highlight-color {
  color: #FF2E63;
  position: relative;
  display: inline-block;
}

.pb-hero-subtitle {
  font-size: 1.18rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pb-social-proof-quote {
  background: #FFF8E7;
  border-left: 4px solid #FFB800;
  padding: 12px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #78350F;
  margin-bottom: 24px;
}

/* PRODUCT 3D BOX DISPLAY */
.pb-product-box-wrap {
  text-align: center;
  position: relative;
}

.pb-product-box-img {
  max-width: 480px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(230, 81, 0, 0.2);
  transition: transform 0.4s ease;
}

.pb-product-box-img:hover {
  transform: translateY(-8px) scale(1.02);
}

.pb-badge-float {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #FFD152;
  color: #78350F;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* PRICE DISPLAY BOX */
.pb-price-card {
  background: #FFFFFF;
  border: 2px dashed #FF6A00;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.08);
  margin: 25px 0;
}

.pb-price-card .old-price {
  font-size: 1.25rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 700;
}

.pb-price-card .current-price {
  font-size: 3rem;
  font-weight: 900;
  color: #FF1361;
  line-height: 1;
  margin: 6px 0;
}

.pb-price-card .save-badge {
  background: #10B981;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}

/* PROBLEM / MOBILE ADDICTION SECTION */
.pb-problem-section {
  padding: 65px 0;
  background: #FFF1F2;
  border-top: 1px solid #FFE4E6;
  border-bottom: 1px solid #FFE4E6;
}

.pb-danger-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #FECDD3;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.06);
  height: 100%;
}

.pb-danger-card i {
  font-size: 1.8rem;
  color: #E11D48;
  margin-bottom: 10px;
  display: block;
}

.pb-danger-card h5 {
  font-weight: 800;
  color: #881337;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pb-danger-card p {
  color: #4C0519;
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* WHAT IS INSIDE / BREAKDOWN SECTION */
.pb-inside-section {
  padding: 65px 0;
  background: #FFFFFF;
}

.pb-module-card {
  background: #FFFBF5;
  border: 1px solid #FFE6C5;
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.pb-module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 140, 0, 0.12);
  border-color: #FFA500;
}

.pb-module-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #FFEDD5;
  color: #EA580C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.pb-module-card h5 {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0F172A;
  margin-bottom: 6px;
}

.pb-module-card p {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0;
}

/* SAMPLES GALLERY */
.pb-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.pb-sample-item {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.pb-sample-item:hover {
  transform: scale(1.04);
}

.pb-sample-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pb-sample-item .sample-caption {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 10px;
  color: #334155;
  background: #F8FAFC;
}

/* WHATSAPP REVIEWS SECTION */
.pb-reviews-section {
  padding: 65px 0;
  background: #F0FDF4;
  border-top: 1px solid #DCFCE7;
  border-bottom: 1px solid #DCFCE7;
}

.pb-whatsapp-badge {
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pb-wa-card {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pb-wa-bubble {
  background: #DCF8C6;
  border-radius: 14px 14px 14px 0;
  padding: 14px;
  font-size: 0.92rem;
  color: #0F172A;
  line-height: 1.55;
  margin-bottom: 14px;
  position: relative;
}

.pb-wa-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #128C7E;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* BONUSES SECTION */
.pb-bonus-card {
  background: #FFFFFF;
  border: 2px solid #FEF08A;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.12);
  height: 100%;
}

.pb-bonus-tag {
  background: #CA8A04;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

/* COMPARISON A vs B */
.pb-compare-box-a {
  background: #FFF1F2;
  border: 2px dashed #FDA4AF;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  height: 100%;
}

.pb-compare-box-b {
  background: #F0FDF4;
  border: 2px solid #22C55E;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
  height: 100%;
  position: relative;
}

.pb-best-choice-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #16A34A;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* FAQ ACCORDION */
.pb-faq-item {
  background: #FFFFFF;
  border: 1px solid #FFE4CF;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pb-faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0F172A;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.pb-faq-btn:hover {
  color: #FF2E63;
}

.pb-faq-body {
  padding: 0 22px 18px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* STICKY MOBILE BOTTOM BAR (Mandatory) */
.pb-sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 2px solid #FF6A00;
  padding: 10px 16px;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.pb-sticky-mobile-cta .btn-multicolor-cta {
  padding: 10px 20px;
  font-size: 0.92rem;
  box-shadow: 0 4px 15px rgba(255, 19, 97, 0.35);
  animation: multiColorRainbow 4s ease infinite;
}

.pb-sticky-mobile-cta .btn-multicolor-cta .cta-main-text {
  font-size: 0.95rem;
}

.pb-sticky-mobile-cta .btn-multicolor-cta .cta-sub-text {
  font-size: 0.7rem;
  padding: 1px 8px;
}

/* ==========================================================================
   MOBILE & SMALL SCREEN RESPONSIVENESS (Breakpoints 320px - 768px)
   ========================================================================== */
@media (max-width: 991px) {
  .pb-hero-section {
    text-align: center;
  }
  .pb-hero-headline {
    font-size: 2.25rem;
  }
  .pb-trust-banner {
    margin-left: auto;
    margin-right: auto;
  }
  .pb-social-proof-quote {
    text-align: left;
  }
  .pb-product-box-img {
    max-width: 380px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  body.theme-preschool-bundle {
    padding-bottom: 78px; /* space for sticky bar */
  }
  .pb-sticky-mobile-cta {
    display: flex;
  }
  .pb-hero-headline {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .pb-hero-subtitle {
    font-size: 1.02rem;
  }
  .pb-price-card .current-price {
    font-size: 2.5rem;
  }
  .btn-multicolor-cta {
    width: 100%;
    padding: 14px 20px;
  }
  .btn-multicolor-cta .cta-main-text {
    font-size: 1.05rem;
  }
  .pb-module-card,
  .pb-danger-card,
  .pb-wa-card,
  .pb-bonus-card,
  .pb-compare-box-a,
  .pb-compare-box-b {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .pb-top-ticker {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .pb-hero-headline {
    font-size: 1.55rem;
  }
  .pb-hero-subtitle {
    font-size: 0.92rem;
  }
  .pb-product-box-img {
    max-width: 290px;
  }
  .pb-price-card {
    padding: 16px 12px;
  }
  .pb-price-card .current-price {
    font-size: 2.2rem;
  }
  .btn-multicolor-cta {
    padding: 12px 14px;
  }
  .btn-multicolor-cta .cta-main-text {
    font-size: 0.95rem;
  }
  .btn-multicolor-cta .cta-sub-text {
    font-size: 0.72rem;
  }
  .pb-faq-btn {
    font-size: 0.95rem;
    padding: 14px 16px;
  }
  .pb-faq-body {
    font-size: 0.88rem;
    padding: 0 16px 14px;
  }
}
