/* ==========================================================================
   ESTILO INFANTIL Y DIVERTIDO - KIT LAROUSSE PRIMARIA
   ========================================================================== */

:root {
  --bg-main: #0B132B;
  --bg-card: rgba(28, 37, 65, 0.85);
  --text-main: #FFFFFF;
  --text-muted: #CBD5E1;
  
  /* Paleta Infantil Alegre */
  --yellow-fun: #FFD166;
  --blue-fun: #118AB2;
  --green-fun: #06D6A0;
  --pink-fun: #EF476F;
  --purple-fun: #9D4EDD;
  
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Partículas flotantes divertidas */
.fun-particle {
  position: absolute;
  font-size: 1.8rem;
  pointer-events: none;
  opacity: 0.6;
  animation: floatBounce 4s ease-in-out infinite alternate;
  z-index: 0;
}
.fun-particle.p1 { top: 120px; left: 5%; animation-delay: 0s; }
.fun-particle.p2 { top: 350px; right: 5%; animation-delay: -1s; }
.fun-particle.p3 { top: 900px; left: 3%; animation-delay: -2s; }
.fun-particle.p4 { top: 1500px; right: 4%; animation-delay: -1.5s; }
.fun-particle.p5 { top: 2200px; left: 6%; animation-delay: -0.5s; }

@keyframes floatBounce {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(15deg); }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.text-yellow { color: var(--yellow-fun); }

/* Botones Infantiles llamativos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #EF476F 0%, #FFD166 100%);
  color: #0B132B;
  box-shadow: 0 8px 25px rgba(239, 71, 111, 0.4);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(239, 71, 111, 0.6);
}

.btn-yellow {
  background: var(--yellow-fun);
  color: #0B132B;
  box-shadow: 0 8px 20px rgba(255, 209, 102, 0.35);
}
.btn-yellow:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 2px dashed rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.15rem; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.badge-pill.yellow { background: rgba(255, 209, 102, 0.18); color: var(--yellow-fun); border: 2px solid rgba(255, 209, 102, 0.35); }
.badge-pill.blue { background: rgba(17, 138, 178, 0.2); color: #4CC9F0; border: 2px solid rgba(76, 201, 240, 0.35); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-main); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.brand-badge { width: 42px; height: 42px; background: var(--pink-fun); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 4px 12px rgba(239,71,111,0.4); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 700; font-size: 1rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--yellow-fun); }

/* Hero Section */
.hero { padding-top: 9.5rem; padding-bottom: 5rem; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.hero-content h1 { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 580px; }
.hero-checklist { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.hero-checklist li { display: flex; align-items: center; gap: 0.85rem; font-size: 1.05rem; font-weight: 700; color: #F1F5F9; }
.icon-check { width: 32px; height: 32px; border-radius: 10px; background: rgba(6, 214, 160, 0.2); color: var(--green-fun); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }

/* Phone Mockup Video Encabezado */
.hero-media { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.phone-mockup { position: relative; width: 300px; height: 600px; background: #000; border-radius: 44px; border: 10px solid #1E293B; box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255, 209, 102, 0.25); overflow: hidden; z-index: 2; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 24px; background: #1E293B; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; z-index: 10; }
.phone-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-overlay-play { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 12; background: rgba(11, 19, 43, 0.88); backdrop-filter: blur(10px); padding: 0.5rem 1.25rem; border-radius: var(--radius-full); border: 2px solid var(--yellow-fun); color: #FFF; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }

.hero-badges-below { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; max-width: 360px; z-index: 3; }
.badge-item-below { background: rgba(28, 37, 65, 0.9); border: 2px solid rgba(255,255,255,0.15); border-radius: var(--radius-md); padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }
.floating-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.floating-icon.yellow { background: rgba(255, 209, 102, 0.2); color: var(--yellow-fun); }
.floating-icon.green { background: rgba(6, 214, 160, 0.2); color: var(--green-fun); }
.floating-text h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-main); }
.floating-text p { font-size: 0.75rem; color: var(--text-muted); }

/* Features & Sections */
.features-section, .grades-section, .gallery-section, .pricing-section { padding: 5.5rem 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem auto; }
.section-header h2 { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin-bottom: 1rem; }
.section-header p { font-size: 1.15rem; color: var(--text-muted); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; }
.feature-card { background: var(--bg-card); border: 3px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; position: relative; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.feature-card:hover { transform: translateY(-8px) scale(1.02); }

.card-math { border-color: rgba(255, 209, 102, 0.4); }
.card-orto { border-color: rgba(6, 214, 160, 0.4); }
.card-cali { border-color: rgba(239, 71, 111, 0.4); }
.card-pdf { border-color: rgba(157, 78, 221, 0.4); }

.feature-icon-wrapper { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 209, 102, 0.2); color: var(--yellow-fun); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.75rem; }
.cover-card { background: var(--bg-card); border: 2px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.3s; }
.cover-card:hover { transform: translateY(-6px); border-color: var(--yellow-fun); }
.cover-img-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.cover-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cover-card:hover .cover-img-wrap img { transform: scale(1.06); }
.cover-card-body { padding: 1.25rem; }
.cover-card-body h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--yellow-fun); }
.cover-card-body p { font-size: 0.85rem; color: var(--text-muted); }

/* Pricing */
.pricing-card { max-width: 680px; margin: 0 auto; background: var(--bg-card); border: 3px solid var(--yellow-fun); border-radius: var(--radius-lg); padding: 3.5rem 2.5rem; text-align: center; position: relative; box-shadow: 0 0 50px rgba(255, 209, 102, 0.2); }
.pricing-badge-popular { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #FFD166 0%, #EF476F 100%); color: #0B132B; padding: 0.45rem 1.6rem; border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; }
.pricing-card h3 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 1rem; }
.pricing-includes-box { background: rgba(11, 19, 43, 0.8); border: 2px dashed rgba(255, 209, 102, 0.3); border-radius: var(--radius-md); padding: 1.5rem; margin: 2rem 0; text-align: left; }
.pricing-includes-box h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--yellow-fun); margin-bottom: 1rem; text-align: center; }
.pricing-checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.pricing-checklist li { font-size: 0.95rem; font-weight: 600; }

/* Footer */
.footer { border-top: 2px solid rgba(255, 255, 255, 0.1); padding: 3rem 0; text-align: center; color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-subtitle { margin: 0 auto 2rem auto; }
  .hero-checklist { align-items: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.1rem; }
  .pricing-checklist { grid-template-columns: 1fr; }
  .phone-mockup { width: 270px; height: 540px; }
}
