        :root {
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --bg-dark: #0f172a; 
            --bg-deep: #020617; 
            --text-dim: #94a3b8;
            --text-dark: #1e293b;
            --border: rgba(255, 255, 255, 0.08);
            --glass: rgba(15, 23, 42, 0.9);
            --ia: #a78bfa;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
        
        body { 
            background-color: var(--bg-deep); 
            color: white; 
            overflow-x: hidden; 
            scroll-behavior: smooth; 
            line-height: 1.6;
        }

        /* --- LOADER --- */
        #loader-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: var(--bg-deep); display: none; flex-direction: column;
            justify-content: center; align-items: center; z-index: 9999;
        }
        .spinner {
            width: 50px; height: 50px; border: 4px solid rgba(99, 102, 241, 0.1);
            border-top: 4px solid var(--primary); border-radius: 50%;
            animation: spin 0.8s linear infinite; margin-bottom: 20px;
        }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* --- NAVBAR --- */
        .navbar {
            position: fixed; top: 0; width: 100%;
            background: var(--glass); backdrop-filter: blur(15px);
            padding: 15px 5%; display: flex; justify-content: space-between; align-items: center;
            border-bottom: 1px solid var(--border); z-index: 1000;
        }
        .navbar .logo { height: 35px; width: auto; object-fit: contain; }

        /* Login Escritorio */
        .nav-login-desktop { display: flex; gap: 10px; align-items: center; }
        .nav-login-desktop input {
            padding: 10px 14px; border-radius: 10px; border: 1px solid #334155;
            background: rgba(30, 41, 59, 0.4); color: white; font-size: 13px; width: 140px; outline: none;
        }
        .btn-login-nav {
            background: var(--primary); color: white; border: none; padding: 10px 20px;
            border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 13px;
        }

        .logo { height: 40px; transition: 0.3s; }
        .btn-back {
            color: white; text-decoration: none; font-weight: 700; font-size: 14px;
            display: flex; align-items: center; gap: 8px; transition: 0.3s;
        }

        /* --- MEJORA NAVBAR Y MODAL --- */
        .nav-actions { display: flex; align-items: center; gap: 15px; }

        .btn-mobile-trigger {
            display: none;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            border: 1px solid var(--primary);
            padding: 8px 16px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 13px;
            cursor: pointer;
        }

        /* Overlay del Modal */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(2, 6, 23, 0.85);
            backdrop-filter: blur(8px);
            display: none; justify-content: center; align-items: center;
            z-index: 2000; padding: 20px;
        }

        /* Caja del Modal */
        .modal-content {
            background: white;
            width: 100%; max-width: 400px;
            padding: 40px; border-radius: 30px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* Esto hace que al pasar el mouse brille en el verde de masivos */
        .service-card.c-4:hover {
            border-color: #10b981;
            box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
            transform: translateY(-10px);
        }

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

        .modal-header { text-align: center; margin-bottom: 30px; }
        .modal-header h3 { color: var(--bg-dark); font-size: 24px; font-weight: 800; }
        .modal-header p { color: #64748b; font-size: 14px; }

        .input-group {
            position: relative; margin-bottom: 15px;
        }
        .input-group i {
            position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
            color: var(--primary);
        }
        .input-group input {
            width: 100%; padding: 14px 14px 14px 45px;
            border-radius: 15px; border: 1px solid #e2e8f0;
            background: #f8fafc; font-size: 15px;
        }

        .btn-close-modal {
            width: 100%; background: none; border: none; color: #94a3b8;
            margin-top: 15px; font-weight: 700; cursor: pointer;
        }

        /* Media Query corregido */
        @media (max-width: 768px) {
            .nav-login-desktop { display: none; }
            .btn-mobile-trigger { display: block; }
        }

        /* Botón Entrar Móvil */
        .btn-mobile-login {
            display: none; /* Se oculta en PC */
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 10px;
            font-weight: 800;
            font-size: 12px;
        }

        /* Cajón de Login Móvil */
        .mobile-login-drawer {
            position: fixed;
            top: -100%; /* Oculto arriba */
            left: 0;
            width: 100%;
            background: white;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: 0.4s ease-in-out;
            z-index: 999;
            border-bottom: 4px solid var(--primary);
        }

        .mobile-login-drawer.active { top: 60px; } /* Se muestra debajo de la nav */

        .mobile-login-drawer input {
            width: 100%;
            padding: 12px;
            margin-bottom: 10px;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
        }

        .mobile-login-drawer h4 { color: var(--bg-dark); margin-bottom: 15px; text-align: center; }

        /*
        /* Ajuste en el Media Query de 768px 
        @media (max-width: 768px) {
            .nav-login-desktop { display: none !important; }
            .btn-mobile-login { display: flex; align-items: center; gap: 8px; }
        }
        */

        /* --- HERO --- */
        .main-wrapper { max-width: 1300px; margin: 120px auto 60px; padding: 0 5%; }
        .hero-section { text-align: center; margin-bottom: 80px; }
        .hero-section h1 { font-size: clamp(38px, 8vw, 72px); font-weight: 800; letter-spacing: -3px; line-height: 1; margin-bottom: 20px; }
        .hero-section h1 span { color: var(--primary); }
        .hero-section p { color: var(--text-dim); font-size: clamp(16px, 2vw, 19px); max-width: 800px; margin: 0 auto; }

        /* --- GRID LAYOUT --- */
        .content-layout { 
            display: grid; 
            grid-template-columns: 1fr 350px; 
            gap: 30px; 
            align-items: start; 
        }

        /* --- SERVICIOS ESTILO PASTEL PREMIUM --- */
        .services-grid { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 20px; 
        }

        .service-card {
            padding: 35px 25px;
            border-radius: 35px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            filter: brightness(1.05);
        }

        /* Efecto Hover para las tarjetas clicables */
        .service-card[onclick] {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .service-card[onclick]:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
        }

        /* Color específico si es la de WhatsApp al pasar el mouse */
        .service-card.c-2:hover {
            border-color: #25d366;
            box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
        }

        /* Paleta de Colores Pasteles Coherente */
        .c-1 { background-color: #eff6ff; color: #1e40af; } /* Azul */
        .c-2 { background-color: #ecfdf5; color: #065f46; } /* Esmeralda */
        .c-3 { background-color: #fff7ed; color: #9a3412; } /* Naranja */
        .c-4 { background-color: #fef2f2; color: #991b1b; } /* Rojo */
        .c-5 { background-color: #f0fdfa; color: #115e59; } /* Teal */
        .c-6 { background-color: #eef2ff; color: #3730a3; } /* Indigo */
        .c-7 { background-color: #f5f3ff; color: #5b21b6; } /* Violeta */
        .c-8 { background-color: #ecfeff; color: #164e63; } /* Cyan */
        .c-9 { background-color: #fdf2f8; color: #9d174d; } /* Rosa */

        .icon-wrap {
            width: 65px;
            height: 65px;
            border-radius: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            background: rgba(255, 255, 255, 0.6);
            box-shadow: 0 8px 15px rgba(0,0,0,0.05);
        }

        .service-card h3 { 
            font-size: 18px; 
            font-weight: 800; 
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .service-desc { 
            font-size: 14px; 
            line-height: 1.5; 
            font-weight: 600; 
            opacity: 0.8;
        }

        /* --- REGISTRO SIDEBAR --- */
        .reg-sidebar { background: white; padding: 40px; border-radius: 35px; color: var(--text-dark); position: sticky; top: 110px; }
        .reg-sidebar h3 { font-size: 24px; font-weight: 800; margin-bottom: 25px; text-align: center; color: var(--bg-dark); }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .full-w { grid-column: span 2; }
        .reg-sidebar input, .reg-sidebar select { 
            width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; outline: none; transition: 0.3s;
        }
        .reg-sidebar input:focus, .reg-sidebar select:focus { border-color: var(--primary); background: white; }
        .btn-reg-main { width: 100%; background: var(--primary); color: white; border: none; padding: 18px; border-radius: 15px; font-weight: 800; cursor: pointer; transition: 0.3s; }
        .btn-reg-main:hover { background: var(--primary-hover); transform: translateY(-2px); }

        /* --- NUEVOS ESTILOS PARA PLANES PREMIUM --- */
        /* --- ESTILO PLANES CLAROS Y PROFESIONALES --- */
        .pricing-section { margin: 100px 0; text-align: center; }
        .pricing-section h2 { font-size: 42px; font-weight: 800; margin-bottom: 50px; color: white; }
        .pricing-section h2 span { color: var(--primary); }

        /* --- ESTILO PLANES COLORES PASTELES --- */
        .pricing-grid { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 25px; 
            max-width: 1200px; 
            margin: 0 auto; 
        }

        .pricing-card {
            border-radius: 35px;
            padding: 50px 35px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            display: flex;
            flex-direction: column;
            border: none;
            text-align: left;
        }

        /* Colores Pasteles por Tarjeta */
        .card-enterprise { background-color: #eff6ff; color: #1e40af; } /* Azul Pastel */
        .card-premium { background-color: #ecfdf5; color: #065f46; }    /* Verde/Esmeralda Pastel */
        .card-pro { background-color: #f5f3ff; color: #5b21b6; }         /* Violeta/Lila Pastel */

        .pricing-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }

        /* Mejora del Plan Destacado (Premium) */
        .pricing-card.popular {
            transform: scale(1.05);
            z-index: 2;
            box-shadow: 0 0 40px rgba(16, 185, 129, 0.3); /* Resplandor verde suave */
            border: 2px solid #10b981;
        }

        .pricing-card.popular:hover {
            transform: scale(1.08) translateY(-10px);
        }

        .badge-popular {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #10b981;
            color: white;
            padding: 8px 25px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 800;
            box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
        }

        /* Iconos y Textos */
        .plan-icon {
            width: 60px;
            height: 60px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.5);
        }

        .pricing-card h4 { font-size: 28px; font-weight: 800; margin-bottom: 5px; }
        .price { font-size: 48px; font-weight: 800; margin-bottom: 25px; }
        .price span { font-size: 16px; opacity: 0.7; }

        .pricing-features { list-style: none; margin-bottom: 35px; flex-grow: 1; }
        .pricing-features li { 
            margin-bottom: 12px; 
            font-size: 14px; 
            display: flex; 
            align-items: center; 
            gap: 10px;
            font-weight: 600;
        }

        .pricing-features li i { font-size: 14px; }
        .disabled { opacity: 0.4; text-decoration: line-through; }

        /* Botones */
        .btn-plan { 
            width: 100%;
            border: none;
            padding: 18px; 
            border-radius: 20px; 
            font-weight: 800; 
            cursor: pointer; 
            transition: 0.3s;
            text-transform: uppercase;
        }

        .card-enterprise .btn-plan { background: #3b82f6; color: white; }
        .card-premium .btn-plan { background: #10b981; color: white; }
        .card-pro .btn-plan { background: #7c3aed; color: white; }

        .btn-plan:hover { filter: brightness(1.1); transform: scale(1.03); }

        /* --- SECCIÓN MASIVOS REESTRUCTURADA --- */
        .masivos-section {
            margin: 100px auto;
            max-width: 1200px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 45px;
            padding: 60px;
            border: 1px solid var(--border);
            display: block; /* Cambiamos de grid a block para que el título ocupe todo */
        }

        .masivos-header-area {
            text-align: center;
            margin-bottom: 40px;
            width: 100%;
        }

        .masivos-header-area h2 { font-size: 38px; font-weight: 800; margin-bottom: 15px; }
        .masivos-header-area p { 
            color: var(--text-dim); 
            font-size: 18px; 
            max-width: 850px; 
            margin: 0 auto; 
        }

        /* Contenedor inferior para visual y calculador */
        .masivos-body-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr; /* Visual un poco más ancho que el calculador */
            gap: 40px;
            align-items: start;
        }

        /* Grid para los dos videos */
        .video-duo {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .video-box {
            border-radius: 20px;
            overflow: hidden;
            border: 4px solid #1e293b;
            box-shadow: 0 10px 25px rgba(0,0,0,0.4);
        }

        .video-box img, .video-box video { width: 100%; display: block; }

        /* Responsive */
        @media (max-width: 992px) {
            .masivos-body-grid { grid-template-columns: 1fr; }
            .video-duo { grid-template-columns: 1fr; }
            .masivos-section { padding: 40px 20px; }
        }

        /* --- CALCULADOR DE PRESUPUESTO MASIVOS --- */
        .wa-calculator {
            background: white;
            padding: 30px;
            border-radius: 30px;
            margin-top: 35px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
            color: var(--bg-dark);
        }

        .wa-calculator h4 {
            font-size: 18px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #1e293b;
        }

        .calc-group { margin-bottom: 20px; }

        .calc-label {
            display: block;
            font-size: 12px;
            font-weight: 800;
            color: #64748b;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .calc-input-wrap {
            display: flex;
            gap: 10px;
        }

        .calc-input {
            flex: 1;
            padding: 12px;
            border-radius: 12px;
            border: 2px solid #f1f5f9;
            font-weight: 700;
            outline: none;
            transition: 0.3s;
        }

        .calc-input:focus { border-color: #10b981; }

        .calc-type-btn {
            flex: 1;
            padding: 12px;
            border-radius: 12px;
            border: 2px solid #f1f5f9;
            background: #f8fafc;
            cursor: pointer;
            font-weight: 700;
            font-size: 13px;
            transition: 0.3s;
        }

        .calc-type-btn.active {
            background: #ecfdf5;
            border-color: #10b981;
            color: #065f46;
        }

        .calc-result {
            background: #f8fafc;
            padding: 20px;
            border-radius: 20px;
            text-align: center;
            border: 2px dashed #e2e8f0;
        }

        .calc-result .total-price {
            display: block;
            font-size: 32px;
            font-weight: 800;
            color: #10b981;
        }

        .btn-whatsapp-calc {
            width: 100%;
            margin-top: 15px;
            background: #25d366;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 15px;
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: 0.3s;
        }

        .btn-whatsapp-calc:hover { transform: scale(1.02); background: #20ba5a; }

        /* Color verde específico para el título y los iconos */
        .text-green-wa { color: #10b981; }

        .masivos-section {
            margin: 100px auto;
            max-width: 1200px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 45px;
            padding: 60px;
            border: 1px solid var(--border);
        }

        .masivos-header-area {
            text-align: center;
            margin-bottom: 40px;
        }

        /* Título con el color verde recuperado */
        .masivos-header-area h2 span { color: #10b981; }

        .masivos-body-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 40px;
            align-items: start;
        }

        .video-duo {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .video-box {
            border-radius: 20px;
            overflow: hidden;
            border: 4px solid #1e293b;
            box-shadow: 0 10px 25px rgba(0,0,0,0.4);
        }

        /* Iconos verdes recuperados */
        .wa-feature-list li i { 
            color: #10b981; 
            font-size: 16px;
        }

        /* --- FOOTER --- */
        .footer { background: #010409; padding: 80px 5% 40px; border-top: 1px solid var(--border); }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 40px; }
        .footer-col h4 { color: white; margin-bottom: 25px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: 0.3s; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 30px; text-align: center; color: var(--text-dim); font-size: 10px; text-transform: uppercase; }
        .pulse-secure { display: inline-block; color: var(--primary); font-weight: 800; animation: softPulse 3s infinite ease-in-out; }

        @keyframes softPulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; text-shadow: 0 0 8px var(--primary); transform: scale(1.02); } }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .content-layout { grid-template-columns: 1fr; }
            .pricing-grid { grid-template-columns: 1fr; padding: 0 20px; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .reg-sidebar { position: static; order: 2; margin-top: 50px; }
        }
        @media (max-width: 768px) {
            .services-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
        }

        /* --- RESPONSIVE OPTIMIZADO PARA MÓVILES --- */
        @media (max-width: 768px) {
            /* Ajuste de Títulos Generales */
            .hero-section h1 { font-size: 42px; }
            .pricing-section h2, .masivos-content h2 { font-size: 32px; }

            /* Layout de Planes: De 3 columnas a 1 sola */
            .pricing-grid {
                grid-template-columns: 1fr;
                padding: 0 10px;
                gap: 40px; /* Espacio para que no se peguen las tarjetas */
            }

            .pricing-card.popular {
                transform: scale(1); /* Quitamos el aumento de tamaño en móvil para evitar recortes */
                margin: 10px 0;
            }

            .pricing-card.popular:hover {
                transform: translateY(-10px); /* Efecto hover más sutil en móvil */
            }

            /* Layout de Campañas Masivas */
            .masivos-section {
                grid-template-columns: 1fr; /* Una sola columna */
                padding: 40px 20px;
                margin: 40px 5%;
                border-radius: 30px;
                gap: 30px;
            }

            .masivos-content {
                order: 1; /* El texto va primero */
                text-align: center;
            }

            .wa-feature-list li {
                justify-content: center;
                text-align: left;
            }

            .pricing-bubble-grid {
                grid-template-columns: 1fr; /* Burbujas de precio una sobre otra */
            }

            /* Ajuste del Calculador */
            .calc-input-wrap {
                flex-direction: column; /* Inputs y botones uno debajo de otro */
            }

            .wa-calculator {
                order: 2; /* El calculador va después del texto */
                padding: 20px;
            }

            .masivos-visual {
                order: 3; /* El video/GIF va al final */
                margin-top: 20px;
            }

            /* Ajuste de Servicios (Grid de 3 a 1) */
            .services-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            /* Barra de navegación móvil */
            .nav-login-desktop {
                display: none; /* Ocultamos el login de la barra para ganar espacio */
            }

            @media (max-width: 768px) {
            /* Ajuste del contenedor principal */
            .masivos-section {
                padding: 30px 20px;
                margin: 40px 15px;
                border-radius: 30px;
            }

            /* Título y descripción */
            .masivos-header-area h2 {
                font-size: 28px;
                line-height: 1.2;
            }
            
            .masivos-header-area p {
                font-size: 16px;
            }

            /* Cambiamos el cuerpo de 2 columnas a 1 sola */
            .masivos-body-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            /* Los videos ahora se ven uno debajo del otro para mantener el tamaño */
            .video-duo {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .video-box {
                max-width: 100%;
            }

            /* Lista de características centrada para móvil */
            .wa-feature-list {
                grid-column: span 1 !important;
                margin-top: 10px;
            }

            .wa-feature-list li {
                font-size: 14px;
                justify-content: flex-start; /* Alineado a la izquierda para mejor lectura */
            }

            /* Ajuste del Calculador para que los botones no se amontonen */
            .calc-input-wrap {
                flex-direction: column; /* Apila el input y los botones de tipo */
                gap: 10px;
            }

            .calc-type-btn {
                width: 100%; /* Botones de ancho completo para facilitar el toque */
                padding: 15px;
            }

            .calc-input {
                text-align: center;
                font-size: 18px;
                padding: 15px;
            }

            .calc-result {
                padding: 15px;
            }

            .calc-result .total-price {
                font-size: 28px;
            }
        }

        }

        /* Ajustes para pantallas muy pequeñas (iPhone SE, etc) */
        @media (max-width: 480px) {
            .price { font-size: 40px; }
            .masivos-content h2 { font-size: 28px; }
            .btn-reg-main, .btn-plan { padding: 15px; }
        }

