/* ==========================================
   LANDING PAGE - MULTIPLICAGENIOS
   Diseño Vibrante para Niños - 4 Operaciones
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Baloo+2:wght@400;600;700;800&display=swap');

:root {
    --suma: #FF6B35;
    --suma-light: #FFF0E8;
    --resta: #4ECDC4;
    --resta-light: #E8FAF8;
    --multi: #7C3AED;
    --multi-light: #F0E8FF;
    --divi: #F72585;
    --divi-light: #FFE8F3;
    --amarillo: #FFD166;
    --verde: #06D6A0;
    --azul: #118AB2;
    --rojo: #EF476F;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --primary: #7C3AED;
    --secondary: #FFD166;
    --success: #06D6A0;
}

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

body {
    font-family: 'Fredoka', 'Baloo 2', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: #f0f4ff;
}

/* ==========================================
   PARTÍCULAS FLOTANTES
   ========================================== */
.particulas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particula {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: flotar 20s ease-in-out infinite;
}

.p1 { top: 10%; left: 5%; animation-delay: 0s; animation-duration: 18s; }
.p2 { top: 20%; right: 8%; animation-delay: 2s; animation-duration: 22s; }
.p3 { top: 40%; left: 15%; animation-delay: 4s; animation-duration: 16s; }
.p4 { top: 60%; right: 12%; animation-delay: 6s; animation-duration: 24s; }
.p5 { top: 75%; left: 8%; animation-delay: 1s; animation-duration: 19s; }
.p6 { top: 30%; right: 20%; animation-delay: 3s; animation-duration: 21s; }
.p7 { top: 85%; left: 25%; animation-delay: 5s; animation-duration: 17s; }
.p8 { top: 50%; right: 5%; animation-delay: 7s; animation-duration: 23s; }

@keyframes flotar {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-40px) rotate(10deg) scale(1.1); }
    50% { transform: translateY(-20px) rotate(-5deg) scale(0.95); }
    75% { transform: translateY(-60px) rotate(8deg) scale(1.05); }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #7C3AED 100%);
    background-size: 300% 300%;
    animation: heroGradient 12s ease infinite;
    overflow: hidden;
}

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

/* Estrellas */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background-image:
        radial-gradient(white 1px, transparent 2px),
        radial-gradient(white 1.5px, transparent 3px);
    background-size: 60px 60px, 90px 90px;
    background-position: 0 0, 40px 40px;
    opacity: 0.2;
    animation: moverEstrellas 80s linear infinite;
    pointer-events: none;
}

@keyframes moverEstrellas {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    animation: badgePop 0.6s ease-out;
}

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

.hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
}

.titulo-emoji {
    font-size: 3rem;
    display: inline-block;
    animation: rocketShake 2s ease-in-out infinite;
}

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

.highlight-multi {
    background: linear-gradient(135deg, var(--suma), var(--amarillo), var(--verde), var(--azul));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.highlight-fun {
    color: var(--amarillo);
    position: relative;
}

.highlight-fun::after {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 1.2rem;
    animation: starSpin 3s linear infinite;
}

@keyframes starSpin {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    to { transform: rotate(360deg) scale(1); }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

/* Mini operaciones en hero */
.operaciones-hero {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.op-mini {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    animation: opMiniPop 0.5s ease-out backwards;
}

.op-mini:nth-child(1) { animation-delay: 0.2s; }
.op-mini:nth-child(2) { animation-delay: 0.4s; }
.op-mini:nth-child(3) { animation-delay: 0.6s; }
.op-mini:nth-child(4) { animation-delay: 0.8s; }

@keyframes opMiniPop {
    0% { transform: scale(0) rotate(-10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.op-suma { background: var(--suma); }
.op-resta { background: var(--resta); }
.op-multi { background: var(--multi); }
.op-divi { background: var(--divi); }

.op-mini span {
    font-size: 1.1rem;
}

/* Hero CTA */
.hero-cta {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--amarillo), #FFA500);
    color: var(--dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 0 #cc8400, 0 12px 30px rgba(0,0,0,0.3);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    30%, 100% { transform: translateX(100%) rotate(45deg); }
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #cc8400, 0 16px 40px rgba(0,0,0,0.4);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #cc8400, 0 6px 15px rgba(0,0,0,0.3);
}

.btn-primary small {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 3px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: white;
    transform: translateY(-3px);
}

.bounce-in {
    animation: bounceIn 1s ease-out 0.5s backwards;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--amarillo);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    color: white;
}

/* Hero Visual - Demo Carousel */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.demo-carousel {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.demo-screen {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: var(--dark);
    display: none;
    animation: fadeInUp 0.5s ease-out;
    border: 4px solid transparent;
}

.demo-screen.demo-active {
    display: block;
}

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

.demo-screen[data-op="suma"] { border-color: var(--suma); }
.demo-screen[data-op="resta"] { border-color: var(--resta); }
.demo-screen[data-op="multi"] { border-color: var(--multi); }
.demo-screen[data-op="divi"] { border-color: var(--divi); }

.demo-header {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    border-radius: 15px;
    color: white;
}

.demo-h-suma { background: var(--suma); }
.demo-h-resta { background: var(--resta); }
.demo-h-multi { background: var(--multi); }
.demo-h-divi { background: var(--divi); }

.demo-question {
    font-family: 'Baloo 2', cursive;
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.demo-options {
    display: grid;
    gap: 0.8rem;
}

.option {
    padding: 0.8rem;
    background: var(--light);
    border: 3px solid #e2e8f0;
    border-radius: 15px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s;
}

.option.correct {
    background: var(--success);
    color: white;
    border-color: var(--success);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--amarillo);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--amarillo);
}

/* ==========================================
   SECCIONES GENERALES
   ========================================== */
section {
    padding: 5rem 5%;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ==========================================
   SECCIÓN 4 OPERACIONES
   ========================================== */
.operaciones-section {
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
    padding-bottom: 4rem;
}

.operaciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.op-card {
    background: white;
    border-radius: 25px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.op-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 25px 25px 0 0;
}

.op-card-suma { border-color: var(--suma-light); }
.op-card-suma::before { background: var(--suma); }
.op-card-suma:hover { border-color: var(--suma); transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 40px rgba(255,107,53,0.25); }

.op-card-resta { border-color: var(--resta-light); }
.op-card-resta::before { background: var(--resta); }
.op-card-resta:hover { border-color: var(--resta); transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 40px rgba(78,205,196,0.25); }

.op-card-multi { border-color: var(--multi-light); }
.op-card-multi::before { background: var(--multi); }
.op-card-multi:hover { border-color: var(--multi); transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 40px rgba(124,58,237,0.25); }

.op-card-divi { border-color: var(--divi-light); }
.op-card-divi::before { background: var(--divi); }
.op-card-divi:hover { border-color: var(--divi); transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 40px rgba(247,37,133,0.25); }

.op-card-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: iconBob 3s ease-in-out infinite;
}

.op-card:nth-child(2) .op-card-icon { animation-delay: 0.5s; }
.op-card:nth-child(3) .op-card-icon { animation-delay: 1s; }
.op-card:nth-child(4) .op-card-icon { animation-delay: 1.5s; }

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

.op-card-symbol {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.op-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.op-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.op-niveles {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.op-card-suma .op-niveles { background: var(--suma); }
.op-card-resta .op-niveles { background: var(--resta); }
.op-card-multi .op-niveles { background: var(--multi); }
.op-card-divi .op-niveles { background: var(--divi); }

/* ==========================================
   PROBLEMA SECTION
   ========================================== */
.problema {
    background: white;
}

.problema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.problema-card {
    background: linear-gradient(135deg, #fef3f2 0%, #fff1f2 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fecaca;
}

.problema-card:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.problema-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.problema-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--rojo);
}

.problema-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   SOLUCIÓN SECTION
   ========================================== */
.solucion {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f5e9 50%, #f3e5f5 100%);
}

.solucion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.solucion-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--verde), var(--azul));
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solucion-text h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.3rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--dark);
}

.highlight {
    color: var(--multi);
    position: relative;
}

.beneficios-list {
    display: grid;
    gap: 1.5rem;
}

.beneficio {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.beneficio:hover {
    transform: translateX(5px);
}

.beneficio-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    padding: 0.7rem;
    border-radius: 15px;
    flex-shrink: 0;
}

.beneficio h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.beneficio p {
    color: var(--gray);
    font-size: 0.9rem;
}

.solucion-visual {
    display: flex;
    justify-content: center;
}

.report-preview {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    min-width: 340px;
    border: 3px solid #e2e8f0;
    animation: floatSlow 4s ease-in-out infinite;
}

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

.report-header {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.report-item {
    margin-bottom: 1.2rem;
}

.report-item span {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-bar {
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
    height: 28px;
}

.progress-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: width 1.5s ease;
}

.pg-suma { background: linear-gradient(90deg, var(--suma), #FF8C5A); }
.pg-resta { background: linear-gradient(90deg, var(--resta), #7EDCD5); }
.pg-multi { background: linear-gradient(90deg, var(--multi), #9D6AE8); }
.pg-divi { background: linear-gradient(90deg, var(--divi), #F95DA0); }

.report-alert {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid var(--amarillo);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==========================================
   PLANES SECTION
   ========================================== */
.planes {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    padding: 5rem 5%;
}

.planes-subtitulo {
    text-align: center;
    color: var(--gray);
    font-size: 1.15rem;
    margin-top: -0.5rem;
    margin-bottom: 3rem;
}

.planes-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card-nuevo {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 3px solid transparent;
}

.plan-card-nuevo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.plan-card-nuevo.destacado {
    border-color: var(--amarillo);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 50px rgba(255,209,102,0.3);
}

.plan-card-nuevo.destacado:hover {
    transform: scale(1.08) translateY(-10px);
}

.plan-ribbon {
    position: absolute;
    top: 20px;
    left: -35px;
    background: var(--gray);
    color: white;
    padding: 0.4rem 3rem;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.plan-ribbon.mensual {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

.plan-ribbon.anual {
    background: linear-gradient(135deg, var(--suma), #ef4444);
}

.plan-descuento {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--verde), #10b981);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.plan-icon {
    font-size: 3.5rem;
    margin: 1.5rem 0 1rem;
}

.plan-card-nuevo h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.plan-precio-nuevo {
    margin-bottom: 0.5rem;
}

.precio-grande {
    font-family: 'Baloo 2', cursive;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.plan-card-nuevo.anual .precio-grande {
    color: var(--suma);
}

.precio-periodo {
    font-size: 1.2rem;
    color: var(--gray);
}

.precio-tachado {
    font-size: 1.5rem;
    color: #cbd5e1;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.plan-equivalente {
    color: var(--verde);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.plan-features-nuevo {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
}

.plan-features-nuevo li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.plan-features-nuevo li span {
    flex-shrink: 0;
}

.plan-features-nuevo li.excluido {
    color: #94a3b8;
}

.plan-features-nuevo li.destacado {
    background: linear-gradient(90deg, #fef3c7, transparent);
    margin: 0 -0.5rem;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
}

.plan-pago-info {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem 0;
    text-align: left;
    border: 2px solid var(--amarillo);
}

.plan-pago-info h4 {
    color: #92400e;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.pago-datos {
    background: white;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

.pago-datos p {
    margin: 0.25rem 0;
    color: var(--dark);
}

.btn-plan-nuevo {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.btn-plan-nuevo.gratis {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    box-shadow: 0 4px 0 #334155, 0 6px 20px rgba(0,0,0,0.2);
}

.btn-plan-nuevo.gratis:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #334155, 0 10px 30px rgba(0,0,0,0.3);
}

.btn-plan-nuevo.mensual {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    box-shadow: 0 4px 0 #5b21b6, 0 6px 20px rgba(124,58,237,0.4);
}

.btn-plan-nuevo.mensual:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #5b21b6, 0 10px 30px rgba(124,58,237,0.5);
}

.btn-plan-nuevo.anual {
    background: linear-gradient(135deg, var(--suma), #ef4444);
    color: white;
    box-shadow: 0 4px 0 #b45309, 0 6px 20px rgba(255,107,53,0.4);
    animation: pulse 2s infinite;
}

.btn-plan-nuevo.anual:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #b45309, 0 10px 30px rgba(255,107,53,0.5);
}

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

.btn-plan-secundario {
    display: block;
    width: 100%;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    margin-top: 0.6rem;
    border: 2px solid #cbd5e1;
    background: white;
    color: var(--gray);
    cursor: pointer;
}

.btn-plan-secundario:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.plan-nota {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* ==========================================
   COMPARACIÓN SECTION
   ========================================== */
.comparacion {
    background: linear-gradient(180deg, #ffffff 0%, #f8f0ff 100%);
    overflow: hidden;
}

.comparacion-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.comparacion-col {
    border-radius: 25px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comparacion-col:hover {
    transform: translateY(-5px);
}

.comparacion-col.malo {
    background: linear-gradient(145deg, #fff5f5, #ffe3e3);
    border: 3px solid #fca5a5;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.1);
}

.comparacion-col.bueno {
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    border: 3px solid #86efac;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.1);
}

.comparacion-col.bueno:hover {
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.comparacion-header-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: iconBob 3s ease-in-out infinite;
}

.comparacion-col.bueno .comparacion-header-icon {
    animation-delay: 0.5s;
}

.comparacion-col h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.comparacion-col.malo h3 {
    color: #dc2626;
}

.comparacion-col.bueno h3 {
    color: #16a34a;
}

/* VS Circle */
.comparacion-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
}

.vs-circulo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amarillo), var(--suma));
    color: white;
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 209, 102, 0.5);
    animation: vsPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 6px 20px rgba(255, 209, 102, 0.5); }
    50% { transform: scale(1.15) rotate(5deg); box-shadow: 0 10px 30px rgba(255, 209, 102, 0.7); }
}

.comparacion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparacion-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.3s ease;
}

.comparacion-list li:hover {
    transform: translateX(4px);
}

.comp-emoji {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.comparacion-list.negativo li {
    background: rgba(254, 202, 202, 0.35);
    color: #7f1d1d;
}

.comparacion-list.positivo li {
    background: rgba(187, 247, 208, 0.35);
    color: #14532d;
}

.comparacion-veredicto {
    text-align: center;
    margin-top: 1.2rem;
    padding: 0.8rem;
    border-radius: 50px;
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 700;
}

.malo-ver {
    background: #fecaca;
    color: #991b1b;
}

.bueno-ver {
    background: linear-gradient(135deg, #86efac, #4ade80);
    color: #14532d;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    animation: pulse 2s infinite;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 3rem 5%;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Baloo 2', cursive;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section a {
    color: var(--amarillo);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--suma);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .operaciones-hero {
        justify-content: center;
    }

    .operaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solucion-container {
        grid-template-columns: 1fr;
    }

    .comparacion-grid {
        grid-template-columns: 1fr;
    }

    .comparacion-vs {
        padding-top: 0;
    }

    .vs-circulo {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .planes-grid-3 {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .plan-card-nuevo.destacado {
        transform: scale(1);
        order: -1;
    }

    .plan-card-nuevo.destacado:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .operaciones-grid {
        grid-template-columns: 1fr;
    }

    .operaciones-hero {
        gap: 0.5rem;
    }

    .op-mini {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .demo-question {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .btn-primary {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* ==========================================
   MODAL: ELEGIR PLAN PREMIUM
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-plan-content {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-cerrar {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

.modal-cerrar:hover {
    background: #f1f5f9;
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-plan-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: iconBob 2s ease-in-out infinite;
}

.modal-plan-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.modal-plan-desc {
    color: var(--gray);
    font-size: 1rem;
}

.modal-plan-desc strong {
    color: var(--primary);
}

.modal-plan-pasos {
    margin-bottom: 1.5rem;
}

.modal-plan-pasos h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-opcion {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 3px solid #e2e8f0;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 0.8rem;
    position: relative;
    background: white;
}

.modal-opcion:hover {
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
    background: linear-gradient(135deg, #f8f5ff, #fff);
}

.modal-opcion:active {
    transform: translateY(0) scale(0.99);
}

.modal-opcion-icono {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 15px;
}

.modal-opcion:hover .modal-opcion-icono {
    animation: iconBob 1s ease-in-out;
}

.modal-opcion-info {
    flex: 1;
}

.modal-opcion-info strong {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.modal-opcion-info p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.4;
    margin: 0;
}

.modal-opcion-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: linear-gradient(135deg, var(--suma), #ef4444);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.modal-plan-transferencia {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid var(--amarillo);
    border-radius: 15px;
    padding: 1rem 1.2rem;
    text-align: center;
}

.modal-plan-transferencia h4 {
    color: #92400e;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.modal-pago-datos {
    background: white;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.modal-pago-datos p {
    margin: 0.2rem 0;
    color: var(--dark);
}

.modal-pago-nota {
    font-size: 0.78rem;
    color: #92400e;
    margin: 0;
    opacity: 0.85;
}

/* Modal responsive */
@media (max-width: 600px) {
    .modal-plan-content {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .modal-plan-header h2 {
        font-size: 1.5rem;
    }

    .modal-opcion {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .modal-opcion-badge {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;
    }
}
