/* ================================
   MUNDO STREAMING - VARIABLES
================================ */

:root {
    /* Colores principales basados en el logo */
    --primary-purple: #6B46C1;
    --primary-dark: #4C1D95;
    --primary-light: #8B5CF6;
    --accent-pink: #EC4899;
    --accent-cyan: #06B6D4;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #4C1D95 0%, #6B46C1 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #F97316 100%);
    
    /* Colores neutros */
    --white: #FFFFFF;
    --black: #1F2937;
    --gray-light: #F3F4F6;
    --gray-medium: #6B7280;
    --gray-dark: #374151;
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 10px 30px rgba(107, 70, 193, 0.3);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
}

/* ================================
   RESET Y BASE
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ================================
   UTILIDADES
================================ */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

/* ================================
   HEADER
================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--white);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.logo-text h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="%238B5CF6" opacity="0.6"><animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(107, 70, 193, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 40%, 
        transparent 70%);
    transform: translate(-50%, -50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2); 
        opacity: 1; 
    }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: shapeFloat 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes shapeFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(107, 70, 193, 0.2);
    border: 1px solid rgba(107, 70, 193, 0.4);
    color: var(--primary-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(107, 70, 193, 0.3); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(107, 70, 193, 0.6); 
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 3rem 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ================================
   PROMOCIÓN BANNER
================================ */

.promo-banner {
    background: var(--gradient-accent);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: promoFloat 15s linear infinite;
}

@keyframes promoFloat {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50px); }
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.promo-icon {
    font-size: 2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.promo-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.promo-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-promo {
    background: var(--white);
    color: var(--primary-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   PRODUCTOS
================================ */

.products {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black) 0%, #111827 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.product-features i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

.product-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.4);
}

/* ================================
   CONTACTO
================================ */

.contact {
    padding: 6rem 0;
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2);
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
}

.whatsapp-card:hover .contact-icon {
    background: linear-gradient(135deg, #25d366, #20b358);
    transform: scale(1.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.contact-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.contact-badge {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ================================
   FOOTER
================================ */

.footer {
    background: #0F172A;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.footer-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-purple);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(31, 41, 55, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition);
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero-container {
        padding: 0 0.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

/* ================================
   ANIMACIONES ADICIONALES
================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ================================
   PROMOCIÓN BANNER DINÁMICO
================================ */

.promo-banner {
    background: var(--gradient-accent);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

/* Background Effects */
.promo-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.3)"><animate attributeName="opacity" values="0.2;1;0.2" dur="2s" repeatCount="indefinite"/><animate attributeName="r" values="1;3;1" dur="2s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: promoParticles 15s linear infinite;
}

@keyframes promoParticles {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-30px); }
}

/* Waves Effect */
.promo-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 100% 100% 0 0;
    animation: waveMove 8s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave-2 {
    animation-delay: 1s;
    opacity: 0.5;
    transform: scale(1.1);
}

.wave-3 {
    animation-delay: 2s;
    opacity: 0.3;
    transform: scale(1.2);
}

@keyframes waveMove {
    0%, 100% { 
        transform: translateX(-50%) scaleY(1); 
    }
    50% { 
        transform: translateX(-50%) scaleY(1.2); 
    }
}

/* Sparkles */
.promo-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFFFFF 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleMove 4s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 40%;
    right: 15%;
    animation-delay: 0.8s;
}

.sparkle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 1.6s;
}

.sparkle-4 {
    top: 60%;
    left: 60%;
    animation-delay: 2.4s;
}

.sparkle-5 {
    bottom: 40%;
    right: 30%;
    animation-delay: 3.2s;
}

@keyframes sparkleMove {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0px) scale(0);
    }
    10% { 
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    20% { 
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
    30% { 
        opacity: 0.8;
        transform: translateY(-30px) scale(1);
    }
    40% { 
        opacity: 0.6;
        transform: translateY(-40px) scale(0.8);
    }
    50% { 
        opacity: 0.4;
        transform: translateY(-50px) scale(0.6);
    }
    60% { 
        opacity: 0.2;
        transform: translateY(-60px) scale(0.4);
    }
}

/* Container */
.promo-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Slider */
.promo-slider {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.promo-slide.prev {
    transform: translateX(-100px);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    max-width: 800px;
}

.promo-icon {
    font-size: 3rem;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
    }
    75% { 
        transform: scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    }
}

.promo-text h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% { 
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(255, 255, 255, 0.3);
    }
}

.promo-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-promo {
    background: var(--white);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(107, 70, 193, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-promo:hover::before {
    left: 100%;
}

.btn-promo:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(107, 70, 193, 0.3);
    color: var(--primary-purple);
}

.btn-promo:active {
    transform: translateY(-2px) scale(1.02);
}

/* Indicadores */
.promo-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    position: relative;
    z-index: 15;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Controles */
.promo-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 15;
    pointer-events: none;
}

.promo-nav {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    font-size: 1.2rem;
}

.promo-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promo-nav:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .promo-banner {
        padding: 2rem 0;
    }
    
    .promo-slider {
        height: 200px;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .promo-icon {
        font-size: 2.5rem;
    }
    
    .btn-promo {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .promo-controls {
        padding: 0 0.5rem;
    }
    
    .promo-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .promo-content {
        gap: 0.8rem;
    }
    
    .btn-promo {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .promo-indicators {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    .promo-slide,
    .promo-icon,
    .promo-text h3,
    .sparkle,
    .wave,
    .promo-particles {
        animation: none;
    }
}
/* ================================
   PRODUCTOS - EFECTOS DE FONDO
================================ */

.products {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black) 0%, #111827 50%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

/* Background Effects Container */
.products-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating Geometric Shapes */
.products-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatingShapes 8s ease-in-out infinite;
}

.shape-circle-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-accent);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--primary-light);
    top: 40%;
    right: 25%;
    animation-delay: 1s;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid var(--accent-pink);
    bottom: 35%;
    left: 20%;
    animation-delay: 3s;
}

.shape-hexagon-1 {
    width: 60px;
    height: 34.64px;
    background: var(--primary-purple);
    position: relative;
    top: 25%;
    left: 60%;
    animation-delay: 4s;
}

.shape-hexagon-1:before,
.shape-hexagon-1:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.shape-hexagon-1:before {
    bottom: 100%;
    border-bottom: 17.32px solid var(--primary-purple);
}

.shape-hexagon-1:after {
    top: 100%;
    border-top: 17.32px solid var(--primary-purple);
}

.shape-hexagon-2 {
    width: 40px;
    height: 23px;
    background: var(--accent-cyan);
    position: relative;
    bottom: 45%;
    right: 10%;
    animation-delay: 5s;
}

.shape-hexagon-2:before,
.shape-hexagon-2:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.shape-hexagon-2:before {
    bottom: 100%;
    border-bottom: 11.5px solid var(--accent-cyan);
}

.shape-hexagon-2:after {
    top: 100%;
    border-top: 11.5px solid var(--accent-cyan);
}

@keyframes floatingShapes {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-10px) rotate(180deg) scale(0.9); 
    }
    75% { 
        transform: translateY(-30px) rotate(270deg) scale(1.05); 
    }
}

/* Animated Grid Background */
.products-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
}

.grid-line {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-pink));
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-vertical {
    width: 1px;
    height: 100%;
    animation-delay: var(--delay, 0s);
}

.grid-horizontal {
    width: 100%;
    height: 1px;
    animation-delay: var(--delay, 0s);
}

@keyframes gridPulse {
    0%, 100% { 
        opacity: 0.03;
        transform: scale(1);
    }
    50% { 
        opacity: 0.08;
        transform: scale(1.02);
    }
}

/* Energy Orbs */
.energy-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(107, 70, 193, 0.4) 0%, 
        rgba(139, 92, 246, 0.2) 40%, 
        transparent 70%);
    animation: energyFloat 6s ease-in-out infinite;
    filter: blur(1px);
}

.orb-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 1s;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 0.4) 0%, 
        rgba(236, 72, 153, 0.2) 40%, 
        transparent 70%);
}

.orb-3 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

.orb-4 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 50%;
    animation-delay: 3s;
    background: radial-gradient(circle, 
        rgba(6, 182, 212, 0.4) 0%, 
        rgba(6, 182, 212, 0.2) 40%, 
        transparent 70%);
}

.orb-5 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 20%;
    animation-delay: 4s;
}

.orb-6 {
    width: 90px;
    height: 90px;
    top: 45%;
    right: 35%;
    animation-delay: 5s;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 40%, 
        transparent 70%);
}

@keyframes energyFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(10px, -15px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-5px, -25px) scale(0.9);
        opacity: 1;
    }
    75% { 
        transform: translate(-10px, -10px) scale(1.05);
        opacity: 0.7;
    }
}

/* Particle System */
.products-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle-group {
    position: absolute;
    width: 200px;
    height: 200px;
}

.group-1 {
    top: 20%;
    left: 10%;
    animation: particleGroupRotate 15s linear infinite;
}

.group-2 {
    bottom: 30%;
    right: 15%;
    animation: particleGroupRotate 20s linear infinite reverse;
}

.group-3 {
    top: 50%;
    left: 45%;
    animation: particleGroupRotate 18s linear infinite;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: particleTwinkle 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; }
.particle:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 1s; }
.particle:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 40%; left: 60%; animation-delay: 2s; }
.particle:nth-child(6) { bottom: 40%; right: 50%; animation-delay: 2.5s; }

@keyframes particleGroupRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes particleTwinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 5px var(--primary-light);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 15px var(--primary-light);
    }
}

/* Gradient Overlays */
.gradient-overlays {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: gradientShift 8s ease-in-out infinite;
}

.overlay-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(107, 70, 193, 0.15) 0%, 
        rgba(107, 70, 193, 0.05) 50%, 
        transparent 70%);
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.overlay-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 0.12) 0%, 
        rgba(236, 72, 153, 0.04) 50%, 
        transparent 70%);
    bottom: 20%;
    right: 25%;
    animation-delay: 2s;
}

.overlay-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(6, 182, 212, 0.1) 0%, 
        rgba(6, 182, 212, 0.03) 50%, 
        transparent 70%);
    top: 60%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes gradientShift {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% { 
        transform: translate(20px, -10px) scale(1.1);
        opacity: 1;
    }
    66% { 
        transform: translate(-15px, 15px) scale(0.9);
        opacity: 0.6;
    }
}

/* Light Rays */
.light-rays {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-ray {
    position: absolute;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.1) 45%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(139, 92, 246, 0.1) 55%, 
        transparent 100%);
    animation: rayMove 10s linear infinite;
    transform-origin: center;
}

.ray-1 {
    width: 2px;
    height: 100%;
    left: 25%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.ray-2 {
    width: 1px;
    height: 100%;
    left: 60%;
    animation-delay: 2s;
    transform: rotate(-20deg);
}

.ray-3 {
    width: 100%;
    height: 2px;
    top: 40%;
    animation-delay: 4s;
    transform: rotate(10deg);
}

.ray-4 {
    width: 100%;
    height: 1px;
    top: 70%;
    animation-delay: 6s;
    transform: rotate(-5deg);
}

@keyframes rayMove {
    0% { 
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    20% { 
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
    80% { 
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
    100% { 
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
}

/* Tech Lines */
.tech-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-light) 50%, 
        transparent 100%);
    height: 1px;
    width: 0;
    animation: techLineExpand 6s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.line-2 {
    top: 45%;
    right: 30%;
    animation-delay: 1s;
}

.line-3 {
    top: 65%;
    left: 10%;
    animation-delay: 2s;
}

.line-4 {
    top: 80%;
    right: 20%;
    animation-delay: 3s;
}

.line-5 {
    top: 35%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes techLineExpand {
    0%, 100% { 
        width: 0;
        opacity: 0;
    }
    10% { 
        width: 0;
        opacity: 1;
    }
    50% { 
        width: 200px;
        opacity: 1;
    }
    90% { 
        width: 200px;
        opacity: 1;
    }
}

/* Asegurar que el contenido esté encima */
.products .container {
    position: relative;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-shape {
        opacity: 0.05;
    }
    
    .energy-orb {
        opacity: 0.6;
    }
    
    .gradient-overlay {
        opacity: 0.5;
    }
    
    .products-particles {
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .products-bg-effects {
        opacity: 0.8;
    }
    
    .floating-shape {
        animation-duration: 12s;
    }
    
    .energy-orb {
        animation-duration: 8s;
    }
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .energy-orb,
    .particle,
    .gradient-overlay,
    .light-ray,
    .tech-line {
        animation: none;
    }
    
    .products-bg-effects {
        opacity: 0.3;
    }
}
/* ================================
   WHATSAPP FLOATING BUTTON
================================ */

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    animation: floatEntry 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-pulse-ring,
.whatsapp-pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 3px solid #25d366;
    border-radius: 50%;
    animation: whatsappPulse 2s ease-out infinite;
    opacity: 0;
}

.whatsapp-pulse-ring-2 {
    animation-delay: 1s;
    border-color: rgba(37, 211, 102, 0.7);
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
    border-radius: 50%;
    text-decoration: none;
    color: white;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-btn:hover::before {
    transform: translateX(100%);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.5),
        0 0 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.8rem;
    z-index: 2;
    animation: iconBounce 2s ease-in-out infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(0, 0, 0, 0.9);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes floatEntry {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* ================================
   PROMOTIONAL SIDE BANNER - ACTUALIZADO
================================ */

.promo-side-banner {
    position: fixed;
    top: 50%;
    left: -300px; /* Cambiar para que solo se oculte parcialmente */
    transform: translateY(-50%);
    width: 350px;
    height: 500px;
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.98) 0%, 
        rgba(17, 24, 39, 0.98) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-left: none;
    border-radius: 0 20px 20px 0;
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 
        20px 0 40px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(107, 70, 193, 0.2);
}

.promo-side-banner.active {
    left: 0; /* Completamente visible cuando está activo */
}

/* Toggle Button - Siempre visible */
.banner-toggle {
    position: absolute;
    top: 50%;
    right: -50px; /* Siempre visible fuera del banner */
    transform: translateY(-50%);
    width: 50px;
    height: 100px;
    background: linear-gradient(135deg, 
        var(--primary-purple) 0%, 
        var(--primary-dark) 100%);
    border: none;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 
        5px 0 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(107, 70, 193, 0.3);
    overflow: hidden;
}

.banner-toggle:hover {
    background: linear-gradient(135deg, 
        var(--primary-light) 0%, 
        var(--primary-purple) 100%);
    box-shadow: 
        8px 0 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(107, 70, 193, 0.5);
    transform: translateY(-50%) scale(1.05); /* Efecto hover mejorado */
}

/* Efecto de notificación en el toggle cuando está cerrado */
.banner-toggle:not(.active)::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: notificationPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-pink);
}

@keyframes notificationPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Responsive - mantener siempre visible */
@media (max-width: 768px) {
    .promo-side-banner {
        width: 300px;
        left: -250px; /* Ajustar para móviles */
    }
    
    .banner-toggle {
        right: -45px;
        width: 45px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .promo-side-banner {
        width: 280px;
        left: -230px; /* Ajustar para móviles pequeños */
    }
    
    .banner-toggle {
        right: -40px;
        width: 40px;
        height: 70px;
    }
    
    .toggle-line {
        width: 14px;
    }
}

.banner-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-light) 50%, 
        transparent 100%);
    animation: circuitFlow 3s ease-in-out infinite;
}

.line-1 {
    width: 80%;
    height: 1px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.line-2 {
    width: 60%;
    height: 1px;
    top: 40%;
    right: 10%;
    animation-delay: 0.5s;
}

.line-3 {
    width: 1px;
    height: 60%;
    left: 30%;
    top: 20%;
    animation-delay: 1s;
}

.line-4 {
    width: 1px;
    height: 40%;
    right: 20%;
    bottom: 20%;
    animation-delay: 1.5s;
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-light);
}

.dot-1 { top: 20%; left: 30%; animation-delay: 0s; }
.dot-2 { top: 40%; right: 20%; animation-delay: 0.5s; }
.dot-3 { bottom: 40%; left: 20%; animation-delay: 1s; }
.dot-4 { bottom: 20%; right: 30%; animation-delay: 1.5s; }

@keyframes circuitFlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.banner-matrix {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.matrix-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(0, 255, 100, 0.5) 50%, 
        transparent 100%);
    animation: matrixRain 4s linear infinite;
}

.matrix-line:nth-child(1) { left: 20%; animation-delay: 0s; }
.matrix-line:nth-child(2) { left: 40%; animation-delay: 1s; }
.matrix-line:nth-child(3) { left: 60%; animation-delay: 2s; }
.matrix-line:nth-child(4) { left: 80%; animation-delay: 3s; }

@keyframes matrixRain {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.banner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(107, 70, 193, 0.1) 0%, 
        transparent 50%);
    transform: translate(-50%, -50%);
    animation: bannerGlow 6s ease-in-out infinite;
}

@keyframes bannerGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.banner-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.banner-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.banner-particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.banner-particle:nth-child(2) { top: 40%; right: 20%; animation-delay: 1s; }
.banner-particle:nth-child(3) { bottom: 30%; left: 25%; animation-delay: 2s; }
.banner-particle:nth-child(4) { bottom: 50%; right: 15%; animation-delay: 3s; }
.banner-particle:nth-child(5) { top: 60%; left: 50%; animation-delay: 4s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
}

/* Toggle Button */
.banner-toggle {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 50px;
    height: 100px;
    background: linear-gradient(135deg, 
        var(--primary-purple) 0%, 
        var(--primary-dark) 100%);
    border: none;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 
        5px 0 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(107, 70, 193, 0.3);
    overflow: hidden;
}

.banner-toggle:hover {
    background: linear-gradient(135deg, 
        var(--primary-light) 0%, 
        var(--primary-purple) 100%);
    box-shadow: 
        8px 0 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(107, 70, 193, 0.5);
}

.toggle-icon {
    position: relative;
    z-index: 2;
}

.toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    margin: 4px auto;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.banner-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.banner-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.banner-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.toggle-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: togglePulse 3s ease-in-out infinite;
}

@keyframes togglePulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Banner Content */
.banner-content {
    position: relative;
    z-index: 5;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner-header {
    text-align: center;
    margin-bottom: 20px;
}

.banner-logo {
    margin-bottom: 15px;
}

.logo-hexagon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    font-size: 1.5rem;
    color: white;
    animation: logoSpin 10s linear infinite;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.banner-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 auto;
    animation: lineGrow 3s ease-in-out infinite;
}

@keyframes lineGrow {
    0%, 100% { width: 30px; }
    50% { width: 70px; }
}

/* Promociones */
.promos-container {
    position: relative;
    height: 250px;
    margin: 20px 0;
}

.promo-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.promo-item.promo-active {
    opacity: 1;
    transform: translateX(0);
}

.promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(107, 70, 193, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
}

.promo-scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-light) 50%, 
        transparent 100%);
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.promo-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    animation: promoIconFloat 3s ease-in-out infinite;
}

@keyframes promoIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-content h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.promo-price {
    margin-bottom: 10px;
}

.old-price {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 10px;
}

.new-price {
    color: var(--accent-pink);
    font-size: 1.4rem;
    font-weight: 800;
}

.promo-savings {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.promo-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Navigation Dots */
.promo-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    background: var(--primary-light);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-light);
}

.promo-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

/* CTA Button */
.banner-cta {
    margin: 20px 0;
}

.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.cta-btn:hover .cta-bg {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(107, 70, 193, 0.5);
}

.cta-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-arrow {
    position: relative;
    z-index: 2;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(5px);
}

/* Footer */
.banner-footer {
    text-align: center;
}

.footer-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        font-size: 1.5rem;
    }
    
    .promo-side-banner {
        width: 300px;
        height: 450px;
        left: -300px;
    }
    
    .banner-toggle {
        right: -45px;
        width: 45px;
        height: 80px;
    }
    
    .toggle-line {
        width: 16px;
    }
}

@media (max-width: 480px) {
    .promo-side-banner {
        width: 280px;
        left: -280px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Performance */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-pulse-ring,
    .whatsapp-pulse-ring-2,
    .whatsapp-icon,
    .circuit-line,
    .circuit-dot,
    .matrix-line,
    .banner-glow,
    .banner-particle,
    .toggle-pulse,
    .logo-hexagon,
    .header-line,
    .promo-scan-line,
    .promo-icon {
        animation: none;
    }
}
/* ================================
   PRODUCTOS - RESPONSIVE ACTUALIZADO
================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Móvil - 2 productos por fila */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        padding: 1.5rem 1rem;
        min-height: 400px;
    }
    
    .product-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .product-features {
        margin-bottom: 1.5rem;
    }
    
    .product-features li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .product-button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .products-grid {
        gap: 0.8rem;
        padding: 0 0.25rem;
    }
    
    .product-card {
        padding: 1.2rem 0.8rem;
        min-height: 380px;
    }
    
    .product-header {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .product-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-info p {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .product-features li {
        font-size: 0.75rem;
    }
}
/* Mejoras adicionales para móvil */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    /* Ajustar productos para que encajen mejor */
    .product-card {
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .product-card:hover {
        transform: translateY(-5px);
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .product-card {
        padding: 1rem 0.6rem;
        min-height: 360px;
    }
    
    .product-info h3 {
        font-size: 0.95rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
}
/* ================================
   PRODUCTOS GRID ACTUALIZADO
================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop - 3 por fila */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Tablet - 2 por fila */
@media (max-width: 1023px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Móvil - 2 por fila */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        padding: 1.2rem 0.8rem;
        min-height: 380px;
    }
    
    .product-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .product-info h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .product-info p {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .product-features li {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .product-button {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}

/* Móvil muy pequeño */
@media (max-width: 480px) {
    .products-grid {
        gap: 0.8rem;
        padding: 0 0.25rem;
    }
    
    .product-card {
        padding: 1rem 0.6rem;
        min-height: 360px;
    }
    
    .product-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
}
/* ================================
   PAGINACIÓN
================================ */

.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-width: 45px;
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

@media (max-width: 768px) {
    .pagination-controls {
        margin: 2rem 0;
    }
    
    .page-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
}
/* ================================
   BOTÓN DE CIERRE DEL BANNER PROMOCIONAL - CORREGIDO
================================ */

.promo-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    opacity: 0.8;
    animation: closeButtonEntry 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.promo-close-btn:hover {
    background: rgba(236, 72, 153, 0.9);
    border-color: var(--accent-pink);
    transform: scale(1.1) rotate(90deg);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}

.promo-close-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* Animación de entrada del botón */
@keyframes closeButtonEntry {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
}

/* Efectos cuando el banner está siendo cerrado */
.promo-banner.closing {
    animation: promoBannerFadeOut 0.5s ease-out forwards;
}

@keyframes promoBannerFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
        padding: 3rem 0;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Estado oculto del banner */
.promo-banner.hidden {
    display: none !important;
}

/* Responsive para el botón */
@media (max-width: 768px) {
    .promo-close-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .promo-close-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        top: 8px;
        right: 8px;
    }
}

/* Efectos cuando el banner está siendo cerrado */
.promo-banner.closing {
    animation: promoBannerFadeOut 0.5s ease-out forwards;
}

@keyframes promoBannerFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Estado oculto del banner */
.promo-banner.hidden {
    display: none;
}
/* ================================
   BOTÓN DE CIERRE DEL BANNER LATERAL
================================ */

.side-banner-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    opacity: 0.7;
}

.side-banner-close-btn:hover {
    background: rgba(236, 72, 153, 0.9);
    border-color: var(--accent-pink);
    transform: scale(1.1) rotate(90deg);
    opacity: 1;
    box-shadow: 0 3px 10px rgba(236, 72, 153, 0.4);
}

.side-banner-close-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* Animación de entrada del botón */
.side-banner-close-btn {
    animation: sideCloseButtonEntry 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

@keyframes sideCloseButtonEntry {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
}

/* Estado cuando el banner lateral está cerrándose */
.promo-side-banner.closing {
    animation: sideBannerSlideOut 0.5s ease-out forwards;
}

@keyframes sideBannerSlideOut {
    from {
        left: 0;
        opacity: 1;
    }
    to {
        left: -350px;
        opacity: 0;
    }
}

/* Estado oculto del banner lateral */
.promo-side-banner.hidden {
    left: -350px !important;
    opacity: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .side-banner-close-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: 12px;
        right: 12px;
    }
    
    .promo-side-banner.closing {
        animation: sideBannerSlideOutMobile 0.5s ease-out forwards;
    }
    
    @keyframes sideBannerSlideOutMobile {
        from {
            left: 0;
            opacity: 1;
        }
        to {
            left: -300px;
            opacity: 0;
        }
    }
    
    .promo-side-banner.hidden {
        left: -300px !important;
    }
}

@media (max-width: 480px) {
    .side-banner-close-btn {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }
    
    .promo-side-banner.hidden {
        left: -280px !important;
    }
}
/* ================================
   PROMOCIÓN BANNER - RESPONSIVE MEJORADO
================================ */

.promo-banner {
    background: var(--gradient-accent);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

/* Container responsivo */
.promo-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Slider adaptativo */
.promo-slider {
    position: relative;
    height: 120px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.promo-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.promo-slide.prev {
    transform: translateX(-100px);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.promo-icon {
    font-size: 2.5rem;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.promo-text {
    flex: 1;
    min-width: 200px;
}

.promo-text h3 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.promo-text p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.promo-action {
    flex-shrink: 0;
}

.btn-promo {
    background: var(--white);
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(107, 70, 193, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-promo:hover::before {
    left: 100%;
}

.btn-promo:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(107, 70, 193, 0.3);
    color: var(--primary-purple);
}

/* Indicadores optimizados */
.promo-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 0.8rem 0;
    position: relative;
    z-index: 15;
    order: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Controles mejorados */
.promo-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 15;
    pointer-events: none;
}

.promo-nav {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    font-size: 1rem;
}

.promo-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.promo-nav:active {
    transform: scale(0.95);
}

/* Botón de cierre para móvil */
.promo-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    opacity: 0.8;
}

.promo-close-btn:hover {
    background: rgba(236, 72, 153, 0.9);
    border-color: var(--accent-pink);
    transform: scale(1.1) rotate(90deg);
    opacity: 1;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.4);
}

/* ================================
   RESPONSIVE ESPECÍFICO PARA MÓVIL
================================ */

@media (max-width: 768px) {
    .promo-banner {
        padding: 1.5rem 0;
        min-height: 160px;
    }
    
    .promo-slider {
        height: 100px;
        margin-bottom: 0.8rem;
    }
    
    .promo-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .promo-icon {
        font-size: 2rem;
    }
    
    .promo-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .promo-text p {
        font-size: 0.85rem;
    }
    
    .btn-promo {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .promo-controls {
        padding: 0 0.25rem;
    }
    
    .promo-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .promo-indicators {
        gap: 0.5rem;
        margin: 0.6rem 0;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 1.2rem 0;
        min-height: 140px;
    }
    
    .promo-container {
        padding: 0 0.5rem;
    }
    
    .promo-slider {
        height: 90px;
        margin-bottom: 0.6rem;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    
    .promo-icon {
        font-size: 1.8rem;
    }
    
    .promo-text {
        min-width: auto;
    }
    
    .promo-text h3 {
        font-size: 1rem;
        line-height: 1.1;
    }
    
    .promo-text p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .btn-promo {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        border-radius: 25px;
    }
    
    .promo-nav {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .promo-controls {
        padding: 0;
    }
    
    .indicator {
        width: 7px;
        height: 7px;
    }
    
    .promo-indicators {
        gap: 0.4rem;
        margin: 0.5rem 0;
    }
    
    .promo-close-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 360px) {
    .promo-banner {
        min-height: 130px;
        padding: 1rem 0;
    }
    
    .promo-slider {
        height: 85px;
    }
    
    .promo-content {
        gap: 0.5rem;
    }
    
    .promo-icon {
        font-size: 1.6rem;
    }
    
    .promo-text h3 {
        font-size: 0.9rem;
    }
    
    .promo-text p {
        font-size: 0.75rem;
    }
    
    .btn-promo {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .promo-nav {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* ================================
   MEJORAS DE PERFORMANCE PARA MÓVIL
================================ */

@media (max-width: 768px) {
    /* Reducir animaciones en móvil para mejor performance */
    .promo-icon {
        animation-duration: 3s;
    }
    
    .promo-slide {
        transition-duration: 0.6s;
    }
    
    /* Optimizar efectos de background en móvil */
    .promo-bg-effects {
        opacity: 0.7;
    }
    
    .promo-particles,
    .promo-waves,
    .promo-sparkles {
        opacity: 0.5;
    }
}

/* Deshabilitar animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .promo-slide,
    .promo-icon,
    .promo-text h3,
    .sparkle,
    .wave,
    .promo-particles {
        animation: none;
    }
    
    .promo-slide {
        transition: opacity 0.3s ease;
    }
}