:root {
    --primary: #8a2be2; 
    --primary-light: #a06ee1;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(30, 30, 30, 0.6);
    --light: #ffffff;
    --accent: #bb86fc;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light);
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

/* --- HERO BANNER --- */
.hero-container {
    width: 100%;
    height: 75vh; 
    min-height: 550px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Degradado oscuro en la parte inferior para que las letras resalten solas */
    background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.9) 100%);
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px; 
    box-sizing: border-box;
}

/* Contenedor del texto (Sin recuadro, totalmente limpio) */
.hero-content {
    max-width: 600px;
    padding: 20px;
    /* Esto lo empuja un poco hacia arriba para que quede centrado */
    transform: translateY(-5%); 
    animation: fadeIn 1s ease-out;
}

/* Animación de entrada suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10%); }
    to { opacity: 1; transform: translateY(-5%); }
}

.hero-content h1 { 
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    margin: 0 0 10px 0;
    /* Gradiente vibrante para el título */
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Sombra fuerte para asegurar que se lea perfecto sobre la imagen */
    text-shadow: 0px 10px 20px rgba(0,0,0,0.9);
    letter-spacing: -2px;
}

.hero-content p {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    color: #e0e0e0;
    margin: 0 0 30px;
    font-weight: 500;
    text-shadow: 0px 4px 10px rgba(0,0,0,1); /* Sombra aumentada para legibilidad */
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 85%;
    max-width: 320px;
    box-sizing: border-box;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.6);
}

.pulse-btn {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4); }
    100% { box-shadow: 0 15px 35px rgba(138, 43, 226, 0.8); }
}

.whatsapp-btn { 
    background: #25d366; 
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.btn-free {
    background: #444;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* --- CONTENIDO --- */
.container { 
    padding: 40px 20px; 
    max-width: 900px; 
    margin: auto; 
}

h2 { margin-top: 30px; font-weight: 700; font-size: 2rem;}

.card-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 25px; 
    justify-content: center; 
    margin-top: 40px; 
}

.card { 
    background: var(--card-bg); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px; 
    border-radius: 20px; 
    width: 100%; 
    max-width: 320px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-premium {
    border-color: var(--primary); 
    background: rgba(138, 43, 226, 0.1);
}

.card-premium:hover {
    border-color: var(--primary-light);
}

.card hr { border: 0.5px solid #333; margin: 20px 0; }
.card .hr-premium { border: 0.5px solid rgba(138,43,226,0.3); }
.subtitle { font-size: 0.9rem; color: #aaa; margin-top: -10px; }
.price-free { color: #fff; font-size: 2.5rem; margin: 20px 0;}
.price-premium { color: var(--accent); font-size: 2.5rem; margin: 20px 0;}

.code-box { 
    background: #000; 
    color: var(--accent); 
    padding: 15px; 
    font-family: 'Courier New', monospace; 
    font-size: 2rem; 
    border-radius: 12px; 
    margin: 20px 0; 
    border: 1px dashed var(--primary);
    letter-spacing: 8px;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(138, 43, 226, 0.2);
}

.step { 
    text-align: left; 
    background: rgba(255,255,255,0.05); 
    padding: 25px; 
    border-radius: 15px; 
    margin-bottom: 20px; 
    border-left: 4px solid var(--primary);
}

.badge { 
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    padding: 6px 15px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(138,43,226,0.4);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    margin: 30px 0;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.video-wrapper video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

footer {
    margin-top: 80px; 
    padding: 40px; 
    font-size: 0.85rem; 
    color: #666;
    border-top: 1px solid #222;
}
/* =========================================
   DISEÑO DE LA VENTANA EMERGENTE (MODAL)
   ========================================= */

.modal-overlay {
    display: none; /* Se mantiene oculto hasta que el usuario hace clic */
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Fondo oscuro semitransparente con efecto cristal */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000; /* Asegura que salga por encima de todo */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.3);
    /* Animación de entrada estilo "pop" */
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}