:root {
    --bg-body: #000000;       
    --text-main: #ffffff;     
    --text-sub: #d1d1d1;      
    --neon-gradient: linear-gradient(135deg, #03a9f4, #f441a5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: var(--text-main);
    overflow: hidden; /* Importante: El body NO hace scroll, lo hace el main */
    height: 100dvh;
    width: 100vw;
}

/* --- CONTENEDOR MAESTRO (Horizontal) --- */
.horizontal-scroller {
    display: flex;
    width: 100vw;
    height: 100dvh;
    overflow-x: auto;      /* Permite scroll horizontal */
    overflow-y: hidden;    /* Bloquea scroll vertical */
    scroll-snap-type: x mandatory; /* OBLIGA a detenerse en cada sección */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
}

/* Ocultar barra de scroll pero mantener funcionalidad */
.horizontal-scroller::-webkit-scrollbar { display: none; }
.horizontal-scroller { -ms-overflow-style: none; scrollbar-width: none; }

/* --- SECCIONES (CARDS) --- */
.card {
    flex: 0 0 100vw; /* Cada card ocupa el 100% del ancho */
    height: 100dvh;
    scroll-snap-align: start; /* Punto de anclaje */
    scroll-snap-stop: always; /* Fuerza la parada, evita saltarse slides */
    position: relative;
    padding: 0 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #111111 0%, #000000 100%);
}

/* --- ESTILOS VISUALES & TIPOGRAFÍA --- */
.content-safe {
    position: relative; z-index: 10; max-width: 900px;
    pointer-events: none; /* Deja pasar clicks al fondo si es necesario */
}
/* Reactivamos clicks en elementos interactivos dentro de content-safe */
.content-safe * { pointer-events: auto; }

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.9; font-weight: 900; margin-bottom: 1.5rem;
    text-transform: uppercase; color: #fff;
    opacity: 0; transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.subtitle {
    font-size: clamp(1rem, 1.5vw, 1.4rem); margin-bottom: 2.5rem;
    opacity: 0; transform: translateX(-30px);
    color: var(--text-sub); font-weight: 300; line-height: 1.6; max-width: 80%;
    transition: all 0.8s ease-out 0.2s;
}

.highlight-text {
    background: var(--neon-gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; font-weight: 700;
}

/* Features Lista */
.features {
    display: flex; gap: 3rem; list-style: none; 
    opacity: 0; transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}
.features li { 
    font-weight: 700; color: #fff; display: flex; align-items: center; 
    gap: 12px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;
}
.features li i {
    font-size: 1.4rem; background: var(--neon-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Icono de Fondo */
.bg-icon {
    position: absolute; bottom: -10%; right: -5%;
    font-size: 50vw; line-height: 1; z-index: 1; 
    background: var(--neon-gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; opacity: 0.1; 
    transition: transform 1s ease, opacity 1s ease;
    pointer-events: none;
}

/* --- ESTADOS ACTIVOS (ANIMACIONES) --- */
.card.active-section h1,
.card.active-section .subtitle,
.card.active-section .features {
    opacity: 1; transform: none;
}
.card.active-section .bg-icon {
    opacity: 0.2; transform: scale(1.05) rotate(-5deg);
}

/* --- PRECIOS & FORMULARIO (CARD 4) --- */
.card-split {
    display: grid; grid-template-columns: 1fr 1fr; padding: 0;
}
.cta-text { padding: 8vw; display: flex; flex-direction: column; justify-content: center; position: relative; }
.cta-form-container { 
    padding: 8vw; display: flex; flex-direction: column; justify-content: center;
    background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255,255,255,0.1);
}

.price-box { margin: 2rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.old-price { text-decoration: line-through; color: #666; font-size: 1rem; }
.new-price { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; line-height: 1; }
.new-price small { font-size: 0.4em; font-weight: 400; color: #888; }
.promo-tag { font-size: 0.7rem; color: #d7d7d7; text-transform: uppercase; letter-spacing: 1px; }

.cyan-text { color: #00eeff; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.red-alert { color: #ff4b4b; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; margin-top: 10px; display: block; }
.blink { animation: blink 1s infinite; margin-right: 5px; font-size: 8px; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

/* Inputs */
input {
    width: 100%; padding: 1.2rem 0; margin-bottom: 1.5rem;
    border: none; border-bottom: 1px solid #333;
    font-size: 1.1rem; background: transparent; color: #fff;
    transition: border-color 0.3s;
}
input:focus { outline: none; border-bottom: 1px solid #f441a5; }

.btn-submit, #mobile-btn {
    width: 100%; padding: 1.2rem; border-radius: 8px; border: none;
    background: #fff; color: #000; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
    margin-top: 1rem; transition: transform 0.2s, box-shadow 0.3s;
    z-index: 10;
}
.btn-submit:hover, #mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(3, 169, 244, 0.3);
}

/* Indicador flecha animada */
.hero-arrow-indicator {
    position: absolute; bottom: 40px; right: 40px; font-size: 3rem;
    background: var(--neon-gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bounceRight 2s infinite; z-index: 50;
}
@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

/* Barra Progreso */
#progress-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 4px;
    background: rgba(255, 255, 255, 0.1); z-index: 1000;
}
#progress-bar {
    height: 100%; width: 0%; background: var(--neon-gradient);
    box-shadow: 0 0 15px #f441a5; transition: width 0.2s ease-out;
}

/* --- RESPONSIVE MOBILE --- */
#mobile-btn { display: none; }  /* <--- ESTA DEJA LA QUIETA, ES IMPORTANTE */

.checkbox-label { 
    display: flex;           /* Pone el cuadro y el texto en fila */
    align-items: center;     /* Los centra verticalmente */
    gap: 10px;               /* Espacio entre cuadro y texto */
    font-size: 0.75rem;      /* Pequeño pero legible (12px) */
    color: #aaa;
    width: 100%;             /* Que ocupe el ancho disponible sin salirse */
    margin-bottom: 1rem;
    cursor: pointer;
}

/* IMPORTANTE: Esto evita que el checkbox se estire al 100% como los otros inputs */
.checkbox-label input {
    width: auto;  
    margin: 0;
    border: none; /* Quita la línea inferior que tienen los inputs de texto */
    padding: 0;
}




@media (max-width: 900px) {
    .card-split { grid-template-columns: 1fr; }
    .cta-form-container { display: none; } /* Se usa el modal */
    #mobile-btn { display: block; background: var(--neon-gradient); color: #fff; border: none; }
    
    .features { flex-direction: column; gap: 1rem; }
    .bg-icon { font-size: 80vw; opacity: 0.05; }
    h1 { font-size: 3.5rem; }
    
    /* En móvil, la flecha rebota hacia abajo para indicar swipe natural si quieres, 
       o a la derecha si es horizontal */
    .hero-arrow-indicator { display: none; } 
}

/* MODAL */
#modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000;
    display: none; justify-content: center; align-items: center; padding: 20px;
}
#modal-content { width: 100%; max-width: 500px; }
.close-modal-btn {
    position: absolute; top: 20px; right: 20px; font-size: 2rem; 
    color: #fff; background: none; border: none; cursor: pointer;
}