/* ==========================================================================
   DESIGN SYSTEM - MEGA PACK MANITOS MÁGICAS (MATERNIDAD LATAM)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {  /* Color Palette - Vibrant Children Themed */
  --primary: #FFB703;        /* Playful Yellow */
  --primary-hover: #FFA200;
  --secondary: #1FB6FF;      /* Playful Sky Blue */
  --secondary-hover: #009BE5;
  --accent: #70E000;         /* Happy Lime Green */
  --accent-hover: #5EC000;
  --danger: #FF4D6D;         /* Fun Coral Pink/Red */
  
  /* Neutral Palette - Sunny & Bright */
  --bg-main: #FFFDF5;        /* Soft sunny cream background */
  --bg-card: #FFFFFF;        /* Pure White card */
  --bg-dark: #1A253C;        /* Deep Midnight Navy (main text & borders) */
  --bg-soft: #FFEFC2;        /* Soft Warm Pastel Yellow */
  
  /* Text Palette */
  --text-dark: #1A253C;      /* Friendly Navy Text (maximum contrast!) */
  --text-medium: #2D3A52;    /* Medium Navy */
  --text-muted: #5C6E8D;     /* Muted Soft Navy */
  --text-light: #FFFFFF;     /* Pure White text */
  
  /* High-Contrast Borders & Shadows (Duolingo Style!) */
  --border-thick: 2.5px solid #1A253C;
  --shadow-flat: 6px 6px 0px #1A253C;
  --shadow-flat-sm: 4px 4px 0px #1A253C;
  --shadow-flat-lg: 8px 8px 0px #1A253C;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #FFB703 0%, #FF9500 100%);
  --grad-secondary: linear-gradient(135deg, #1FB6FF 0%, #008AE6 100%);
  --grad-accent: linear-gradient(135deg, #70E000 0%, #51A300 100%);
  --grad-sunset: linear-gradient(135deg, #FF4D6D 0%, #FF758F 100%);
  --grad-premium: linear-gradient(135deg, #0077B6 0%, #1FB6FF 100%);
  --grad-warm: linear-gradient(135deg, #FFFDF0 0%, #FFEFC2 100%);
  --grad-lavender: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  --grad-mint: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  --grad-coral: linear-gradient(135deg, #FFE3E3 0%, #FFC9C9 100%);;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 20px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 12px 24px -6px rgba(255, 159, 28, 0.4);
  --shadow-pulse: 0 0 0 0 rgba(255, 159, 28, 0.4);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Fonts */
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  
  /* Container Widths */
  --container-width: 1140px;
  --container-narrow: 800px;
}

/* ==========================================================================
   BASE STYLES & RESETS
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-medium);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

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

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

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: var(--border-thick);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-shadow: var(--shadow-flat-sm);
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: var(--shadow-flat-sm);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-flat);
  background: var(--primary-hover);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.btn-pulse {
  /* Dynamic attention-grabbing shadow scaling */
  animation: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-flat);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-sm);
}

.badge-primary {
  background: var(--grad-sunset);
  color: #FFFFFF;
}

.badge-secondary {
  background: var(--grad-lavender);
  color: var(--secondary);
}

.badge-accent {
  background: var(--grad-mint);
  color: #069470;
}

/* ==========================================================================
   TOP COUNTDOWN BAR
   ========================================================================== */

.top-bar-ticker {
  background: var(--danger); /* Cheerful Coral Pink */
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 100;
  white-space: nowrap;
}

.ticker-wrap {
  display: inline-flex;
  width: max-content;
}

.ticker-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 40px;
  padding-right: 40px;
}

.ticker-content span {
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* Loop perfectly halfway once first content ends */
  }
}

/* Styled Hero Countdown Timer Container */
.hero-timer-box {
  margin: -10px auto 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 77, 109, 0.08);
  border: 1.5px solid rgba(255, 77, 109, 0.18);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--danger);
  box-shadow: var(--shadow-sm);
  animation: timer-glow 2s infinite ease-in-out;
}

.hero-timer-box .timer {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background: var(--danger);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

@keyframes timer-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.05);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(255, 77, 109, 0.15);
  }
}

/* ==========================================================================
   HERO HEADER SECTION
   ========================================================================== */

.hero {
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, rgba(255, 159, 28, 0.03) 90%);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,159,28,0.1) 0%, rgba(255,159,28,0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(99,102,241,0) 70%);
  pointer-events: none;
}

.hero .badge {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bg-dark);
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.15;
}

.hero h1 span {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--text-medium);
  max-width: 750px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero .cta-wrapper {
  margin-bottom: 48px;
}

.hero .cta-wrapper p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Premium Main Product Mockup */
.mockup-container {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.5s ease;
}

.mockup-container:hover {
  transform: translateY(-5px);
}

.mockup-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Floating Elements around hero */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.7;
}

/* ==========================================================================
   PROBLEM SECTION & AGITATION
   ========================================================================== */

.problem-section {
  background-color: var(--bg-card);
  padding: 100px 0;
  position: relative;
}

.section-tag {
  text-align: center;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  max-width: 750px;
  margin: 0 auto 60px; /* Uniform desktop spacing gap */
  color: var(--bg-dark);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.2s ease;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-sm);
}

.problem-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-flat);
}

.problem-card .icon-holder {
  background: var(--grad-coral);
  color: var(--danger);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: var(--border-thick);
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--bg-dark);
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.45;
}

.problem-illustration {
  position: relative;
  background: var(--grad-lavender);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.problem-illustration h4 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.problem-illustration p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.problem-illustration .warning-banner {
  background: var(--grad-sunset);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   THE SOLUTION INTRO
   ========================================================================== */

.solution-intro {
  background: linear-gradient(135deg, #1FB6FF 0%, #0077B6 100%); /* Cheerful Sky Blue Gradient */
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.solution-intro::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 75%);
  pointer-events: none;
}

.solution-intro .section-tag {
  color: var(--primary);
}

.solution-intro .section-title {
  color: #FFFFFF;
}

.solution-intro p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ==========================================================================
   BENEFITS GRID SECTION
   ========================================================================== */

.benefits {
  background: var(--bg-main);
  padding: 100px 0;
}

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

.benefit-card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-sm);
}

.benefit-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat);
}

.benefit-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.7rem;
  color: var(--text-dark);
  border: var(--border-thick);
}

.benefit-card:nth-child(2n) .icon-box {
  background: var(--grad-warm);
  color: var(--primary);
}

.benefit-card:nth-child(3n) .icon-box {
  background: var(--grad-mint);
  color: var(--accent);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--bg-dark);
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCT CATALOG (THE 4 CORE BOOKS)
   ========================================================================== */

.catalog {
  background: var(--bg-card);
  padding: 100px 0;
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.catalog-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.catalog-item:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.catalog-item:nth-child(even) .catalog-visual {
  order: 2;
}

.catalog-item:nth-child(even) .catalog-info {
  order: 1;
}

/* 3D Realistic CSS Book Cover Mockup */
.book-mockup-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.book-3d {
  position: relative;
  width: 260px;
  height: 350px;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.5s ease;
  box-shadow: 20px 20px 30px rgba(15, 23, 42, 0.15);
}

.book-3d:hover {
  transform: rotateY(-5deg) rotateX(5deg) translateY(-8px);
  box-shadow: 25px 25px 40px rgba(15, 23, 42, 0.2);
}

.book-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px 16px 16px 4px;
  background-size: cover;
  background-position: center;
  z-index: 2;
  transform: translateZ(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.book-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  flex-grow: 1;
}

.book-graphic svg {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.book-3d:hover .book-graphic svg {
  transform: scale(1.08) rotate(3deg);
}

/* Book Cover Gradients */
.book-1 .book-cover { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); }
.book-2 .book-cover { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.book-3 .book-cover { background: linear-gradient(135deg, #059669 0%, #10B981 100%); }
.book-4 .book-cover { background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%); }

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  z-index: 5;
}

.book-cover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 4px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.book-cover .book-tag {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-cover h3 {
  color: #FFFFFF;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.book-cover .book-footer {
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book-cover .book-footer span {
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background: #334155;
  transform: rotateY(-90deg) translateZ(12px);
  transform-origin: left;
  z-index: 1;
}

.book-1 .book-spine { background: #3a86c8; } /* Baby Blue */
.book-2 .book-spine { background: #52b788; } /* Pastel Green */
.book-3 .book-spine { background: #f4a261; } /* Warm Yellow-Orange */
.book-4 .book-spine { background: #f07167; } /* Coral Pink */

.book-pages {
  position: absolute;
  top: 4px;
  left: 10px;
  width: 95%;
  height: 98%;
  background: #F8FAFC;
  border-radius: 0 12px 12px 0;
  border: 1px solid #E2E8F0;
  transform: translateZ(-12px);
  z-index: 0;
  box-shadow: inset -5px 0 10px rgba(0,0,0,0.05);
}

/* Book Description Info */
.catalog-info .num-badge {
  background: var(--grad-lavender);
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.catalog-item:nth-child(2n) .num-badge { background: var(--grad-warm); color: var(--primary); }
.catalog-item:nth-child(3n) .num-badge { background: var(--grad-mint); color: var(--accent); }
.catalog-item:nth-child(4n) .num-badge { background: var(--grad-coral); color: var(--danger); }

.catalog-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 16px;
}

.catalog-info p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
}

.catalog-list-item i {
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   EXCLUSIVE BONUSES SECTION
   ========================================================================== */

.bonuses {
  background: linear-gradient(135deg, #7209B7 0%, #560BAD 100%); /* Energetic Playful Purple Gradient */
  color: #FFFFFF;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.bonuses::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.08) 0%, rgba(255, 159, 28, 0) 70%);
  pointer-events: none;
}

.bonuses .section-tag {
  color: var(--primary);
}

.bonuses .section-title {
  color: #FFFFFF;
  margin-bottom: 60px;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.bonus-card {
  background: var(--bg-card); /* Pure White Card Fills */
  border: var(--border-thick);
  padding: 40px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-flat-sm);
  transition: all 0.2s ease;
}

.bonus-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat);
}

/* Little Flat Mockup icon inside card */
.bonus-icon {
  flex-shrink: 0;
  width: 100px;
  height: 130px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 4px 10px 10px 4px;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 8px;
  position: relative;
}

.bonus-card:nth-child(1) .bonus-icon { background: var(--grad-sunset); }
.bonus-card:nth-child(2) .bonus-icon { background: var(--grad-secondary); }
.bonus-card:nth-child(3) .bonus-icon { background: var(--grad-premium); }
.bonus-card:nth-child(4) .bonus-icon { background: var(--grad-primary); }
.bonus-card:nth-child(5) .bonus-icon { background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%); }

.bonus-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: rgba(255,255,255,0.2);
}

.bonus-icon .top-lbl {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.2);
  padding: 2px 4px;
  border-radius: 2px;
  display: inline-block;
  align-self: flex-start;
}

.bonus-icon .mid-ttl {
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.bonus-icon .bot-lbl {
  color: white;
  font-size: 0.55rem;
  font-weight: 600;
  align-self: flex-end;
}

.bonus-info {
  flex-grow: 1;
}

.bonus-label {
  display: inline-block;
  background: rgba(255, 159, 28, 0.15);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bonus-info h3 {
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.bonus-info p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.bonus-value {
  font-size: 0.9rem;
  color: var(--text-muted); /* Neutral color for 'Valor Regular:' and pipe '|' */
  font-weight: 800;
}

.bonus-value span {
  text-decoration: line-through;
  color: #DC2626; /* Vibrant red for slashed price */
  font-weight: 700;
}

.bonus-value .free-label {
  color: #16A34A; /* Vibrant green for free indicator */
  font-weight: 800;
}

@media (min-width: 992px) {
  .bonus-card:last-child {
    grid-column: span 2;
    max-width: calc(50% - 15px);
    margin: 0 auto;
    width: 100%;
  }
}

.bonuses-total-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 40px auto 0;
}

.bonuses-total-cta h4 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.bonuses-total-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* ==========================================================================
   DELIVERY INFO (HOW WILL I RECEIVE IT)
   ========================================================================== */

.delivery {
  background: var(--bg-card);
  padding: 100px 0;
}

.delivery-box {
  background: var(--grad-lavender);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.delivery-visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.delivery-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.delivery-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  background: var(--secondary);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.delivery-step h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--bg-dark);
}

.delivery-step p {
  font-size: 0.95rem;
}

/* ==========================================================================
   AUTHOR SECTION (LUCERO ROMERO)
   ========================================================================== */

.author {
  background: var(--bg-main);
  padding: 100px 0;
}

.author-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-soft);
}

.author-img-wrapper {
  text-align: center;
  position: relative;
}

.author-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 8px solid var(--grad-lavender);
  box-shadow: var(--shadow-sm);
}

.author-info h3 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.author-title {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  display: block;
}

.author-bio {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ==========================================================================
   VALUE STACK & PRICING BOX
   ========================================================================== */

.pricing {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, rgba(255, 159, 28, 0.02) 80%);
  padding: 100px 0 0; /* Removed bottom padding to balance spacing with next section */
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1.5" fill="%236366f1" opacity="0.1"/></svg>');
  pointer-events: none;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 750px;
  margin: 0 auto 60px; /* Uniform bottom spacing gap on desktop */
  overflow: hidden;
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-lg);
  position: relative;
}

.price-header {
  background: var(--grad-secondary);
  color: #FFFFFF;
  padding: 30px;
  text-align: center;
  position: relative;
  border-bottom: var(--border-thick);
}

.price-header .popular-tag {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  position: absolute;
  top: 15px;
  right: 20px;
}

.price-header h3 {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
}

.price-body {
  padding: 50px;
}

.price-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--bg-soft);
  padding-bottom: 30px;
}

.price-stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.price-stack-item.bonus {
  color: #7209B7; /* Vibrant playful brand purple for high-contrast highlight */
}

.price-stack-item .name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-stack-item .val-strike {
  text-decoration: line-through;
  color: #DC2626; /* Vibrant red for price cuts */
  font-weight: 700;
}

.price-stack-item .free-tag {
  color: #16A34A; /* Vibrant green for FREE/INCLUDED benefits */
  font-weight: 800;
  text-transform: uppercase;
}

.price-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.val-compare {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.val-compare span {
  text-decoration: line-through;
  font-weight: 700;
  color: #DC2626; /* Slashed total in red */
}

.final-price {
  text-align: right;
}

.final-price .lbl {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--danger);
  display: block;
}

.final-price .cost {
  font-size: 3.5rem;
  font-weight: 800;
  color: #16A34A; /* Vibrant green for final discounted price! */
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-cta {
  text-align: center;
}

.pricing-cta .btn {
  width: 100%;
  font-size: 1.3rem;
  padding: 20px 48px;
}

.guarantee-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.guarantee-note img {
  width: 24px;
}

/* Elegant Guarantee Block */
.guarantee-block {
  background: var(--grad-lavender);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 750px;
  margin: 0 auto; /* Balanced spacing handled by preceding card's margin */
}

.guarantee-badge-img {
  width: 100px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.guarantee-text h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--bg-dark);
}

.guarantee-text p {
  font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION (CAROUSEL)
   ========================================================================== */

.testimonials {
  background: var(--bg-card);
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-flat);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 30px;
  font-size: 8rem;
  font-family: 'Outfit', sans-serif;
  color: rgba(99, 102, 241, 0.08);
  line-height: 1;
}

.rating {
  color: var(--primary);
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
}

.testimonial-content {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-name h4 {
  font-size: 1.05rem;
  color: var(--bg-dark);
}

.author-name span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-soft);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--secondary);
  color: #FFFFFF;
  border-color: var(--secondary);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  opacity: 1;
  background: var(--secondary);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq {
  background: var(--bg-main);
  padding: 60px 0 100px; /* Reduced top padding to balance spacing under guarantee block */
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-flat-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-flat);
  transform: translate(-2px, -2px);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.15rem;
  color: var(--bg-dark);
  font-weight: 700;
  transition: color 0.3s ease;
}

.faq-header .toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-header .toggle-icon::before,
.faq-header .toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-header .toggle-icon::before {
  width: 14px;
  height: 2px;
}

.faq-header .toggle-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-header h3 {
  color: var(--secondary);
}

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

.faq-item.active .faq-header .toggle-icon::before,
.faq-item.active .faq-header .toggle-icon::after {
  background: var(--secondary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #FAFAFD;
}

.faq-body {
  padding: 0 30px 30px;
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer {
  background: #0077B6; /* Bright Ocean Blue */
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 24px;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-disclaimer {
  max-width: 750px;
  margin: 30px auto 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* ==========================================================================
   MOBILE STICKY PURCHASE BAR (MOBILE EXCLUSIVE)
   ========================================================================== */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--bg-soft);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar .info {
  display: flex;
  flex-direction: column;
}

.sticky-bar .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #16A34A; /* Vibrant green for deal price */
  line-height: 1.1;
}

.sticky-bar .old-price {
  font-size: 0.8rem;
  color: #DC2626; /* Vibrant red for slashed price */
  text-decoration: line-through;
  font-weight: 700;
}

.sticky-bar .btn {
  padding: 10px 24px;
  font-size: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991px) {
  /* Tablet layout styling */
  
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .catalog-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .catalog-info {
    order: 1; /* Description and bullet list on top */
  }
  
  .catalog-visual {
    order: 2; /* 3D Book Cover image always below text on mobile */
  }
  
  .bonuses-grid {
    grid-template-columns: 1fr;
  }
  
  .delivery-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  
  .author-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 767px) {
  /* Mobile layout styling */

  .problem-section,
  .solution-intro,
  .benefits,
  .catalog,
  .bonuses,
  .delivery,
  .author,
  .pricing,
  .testimonials,
  .faq {
    padding: 50px 0;
  }

  .pricing {
    padding-bottom: 0; /* Eliminate bottom gap below guarantee card on mobile */
  }

  .faq {
    padding-top: 40px; /* Balance spacing between guarantee block and FAQ title on mobile */
  }

  .catalog-grid {
    gap: 48px;
  }

  .catalog-item {
    gap: 24px;
  }
  
  html {
    font-size: 14.5px; /* Slightly smaller base font for mobile readability */
  }
  
  .container {
    padding: 0 16px; /* Optimized container margins for modern smartphones */
  }
  
  .hero {
    padding: 50px 0 60px;
  }
  
  .hero h1 {
    font-size: 1.95rem; /* Highly readable mobile heading */
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero .subtitle {
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.45;
  }

  /* Optimized Mobile Hero Timer Container */
  .hero-timer-box {
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 320px;
    margin: -5px auto 24px;
  }

  .hero-timer-box span {
    font-size: 0.85rem;
    text-align: center;
  }

  .hero-timer-box .timer {
    font-size: 1.1rem;
    padding: 3px 10px;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 40px; /* Balanced mobile gap between Title and Card */
    line-height: 1.25;
  }

  .price-card {
    margin-bottom: 40px; /* Balanced mobile gap between Card and Guarantee */
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefit-card {
    padding: 24px 20px;
  }

  /* Responsive 3D Book Catalog scaling */
  .book-3d {
    transform: scale(0.8) rotateY(-15deg) rotateX(10deg);
    margin-bottom: -30px; /* Compensate for scaling height space collapse */
  }

  .book-mockup-wrapper {
    padding: 15px 0;
  }
  
  .bonus-card {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .bonus-icon {
    align-self: center;
  }

  /* Optimized Mobile Pricing Card Block */
  .price-body {
    padding: 24px 16px; /* Breathing room for borders and text */
  }

  .price-stack {
    gap: 0;
    margin-bottom: 30px;
  }

  .price-stack-item {
    flex-direction: column; /* Stack name and values vertically to prevent layout squishing! */
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--bg-soft);
  }

  .price-stack-item .name {
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
  }

  .price-stack-item .val-strike, 
  .price-stack-item .bonus-val,
  .price-stack-item .free-tag {
    align-self: flex-end; /* Clean right-aligned price tags under the text */
    font-size: 0.95rem;
    line-height: 1;
    margin-top: 2px;
  }

  .price-totals {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    border-bottom: 1.5px solid var(--bg-soft);
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .val-compare {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .final-price {
    text-align: center;
  }

  .final-price .cost {
    font-size: 3rem;
  }

  .pricing-cta .btn {
    font-size: 1.15rem;
    padding: 16px 24px;
  }
  
  .guarantee-block {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    gap: 20px;
  }

  .guarantee-badge-img {
    width: 80px;
  }

  /* Usability optimized mobile steps */
  .delivery-step {
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }

  .step-num {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .testimonial-card {
    padding: 24px 16px;
    gap: 16px;
  }

  .testimonial-content {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .faq-header {
    padding: 18px 16px;
  }

  .faq-header h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: left;
  }
  
  .faq-body {
    padding: 0 16px 18px;
    font-size: 0.95rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}
