/* --- VARIABLES Y CONFIGURACIÓN --- */
:root {
    --primary: #0066ff;
    --accent: #00ff88;
    --dark: #05070a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- VIDEO DE FONDO CINEMÁTICO --- */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.main-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2); /* Oscurece para legibilidad */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--dark) 100%);
    z-index: -1;
}

/* --- NAVBAR CRISTAL --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span { color: var(--primary); }

.desktop-nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.desktop-nav a:hover { color: var(--primary); }

.nav-btn {
    background: var(--primary);
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-hero {
    background: var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
}

.glow {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 550px;
}

/* --- VIDEO WRAPPER 3D --- */
.glass-video-wrapper {
    background: var(--glass);
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 25px 25px 50px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.glass-video-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: block;
}

/* --- BOTONES 3D --- */
.btn-primary-3d {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), #00d4ff);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
    transition: var(--transition);
}

.btn-primary-3d:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.6);
}

/* --- SECCIÓN TARGET (CARDS) --- */
.section-padding { padding: 100px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-3d {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition);
}

.card-3d:hover {
    transform: translateY(-15px) perspective(1000px) rotateX(10deg);
    background: rgba(255,255,255,0.08);
}

.card-3d i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

/* --- SECCIÓN PRECIO RECTIFICADA --- */
.price-box-3d {
    background: linear-gradient(145deg, rgba(10, 15, 26, 0.9), rgba(0, 50, 150, 0.4));
    border: 2px solid var(--primary);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.badge-price {
    background: var(--accent);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: inline-block;
}

.current-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.new-price {
    font-size: 6.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.old-price {
    font-size: 1.4rem;
    text-decoration: line-through;
    opacity: 0.5;
    display: block;
}

.savings-text {
    color: #ff4d4d;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.features-list-premium {
    list-style: none;
    text-align: left;
    max-width: 480px;
    margin: 40px auto;
}

.features-list-premium li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.features-list-premium li i { color: var(--accent); font-size: 1.4rem; }

.btn-buy-now-3d {
    display: block;
    background: var(--accent);
    color: var(--dark);
    padding: 22px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    transition: var(--transition);
}

.btn-buy-now-3d:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* --- FOOTER --- */
.footer-premium {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p { margin-top: 20px; opacity: 0.6; }

.footer-links h4, .footer-secure h4 {
    margin-bottom: 25px;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: 0.3s;
}

.footer-links ul li a:hover { opacity: 1; color: var(--primary); }

.payment-icons {
    font-size: 2rem;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a { color: white; margin-left: 20px; text-decoration: none; opacity: 0.5; }

/* --- WHATSAPP & ANIMACIONES --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* --- ARREGLO PARA CELULARES (RESPONSIVE) --- */
@media (max-width: 768px) {
    /* Evita que las palabras toquen los bordes */
    .container {
        padding: 0 20px !important;
        width: 100% !important;
    }

    /* Separa los elementos para que no estén pegados */
    section {
        padding: 60px 0 !important;
    }

    /* Alinea todo al centro y en columna */
    .hero-grid, .grid-3, .footer-grid, .nav-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center !important;
    }

    /* Quita efectos 3D que se ven mal en pantallas pequeñas */
    .glass-video-wrapper, .card-3d, .price-box-3d {
        transform: none !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    /* Hace los botones más grandes para el dedo */
    .btn-primary-3d, .btn-buy-now-3d {
        display: block !important;
        width: 100% !important;
        font-size: 1.1rem !important;
    }
}