:root {
    --bg-primary: #030712;
    --bg-secondary: #070e24;
    --bg-card: rgba(10, 18, 38, 0.72);
    --bg-card-hover: rgba(15, 27, 56, 0.85);
    
    /* Electric Dark Blue Palette */
    --blue-primary: #0066ff;
    --blue-deep: #0a2569;
    --blue-electric: #1d63ff;
    --blue-cyan: #00d2ff;
    --blue-glow: rgba(0, 102, 255, 0.4);
    --blue-glow-subtle: rgba(0, 102, 255, 0.15);
    --blue-border: rgba(37, 99, 235, 0.3);
    --blue-border-bright: rgba(0, 210, 255, 0.5);
    
    --blue-gradient: linear-gradient(135deg, #0051ff 0%, #1d63ff 50%, #00d2ff 100%);
    --blue-dark-gradient: linear-gradient(180deg, rgba(8, 21, 51, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
    --text-gradient: linear-gradient(180deg, #ffffff 30%, #93c5fd 100%);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(ellipse 65% 50% at 50% -10%, rgba(0, 102, 255, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 60%, rgba(10, 37, 105, 0.18), transparent 70%),
        radial-gradient(ellipse 50% 40% at 15% 75%, rgba(0, 210, 255, 0.08), transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--blue-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 102, 255, 0.08);
}

/* Top Header / Logo (Sin Menú) */
.top-header {
    padding: 20px 0 12px;
    text-align: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.brand-logo:hover {
    transform: scale(1.04);
}

.brand-logo .header-logo-img {
    height: 42px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(0, 102, 255, 0.45));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logo:hover .header-logo-img {
    filter: drop-shadow(0 0 24px rgba(0, 210, 255, 0.75));
}


/* ===================================================
   PANTALLA 1: CAPTURA
   =================================================== */

.capture-hero {
    padding: 10px 0 48px;
    text-align: center;
}

/* Badge: CLASE GRATUITA • 16 MINUTOS */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-cyan);
    margin-bottom: 16px;
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.2);
}

.badge-tag .tag-dot {
    width: 7px;
    height: 7px;
    background-color: var(--blue-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-cyan);
    animation: tagPulse 2s infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Headline */
.capture-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
    max-width: 740px;
    margin-inline: auto;
}

/* Grand Highlight: SWEEP → CHoCH → FVG */
.trading-sequence-container {
    margin: 14px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sequence-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13, 27, 58, 0.9) 0%, rgba(6, 13, 28, 0.95) 100%);
    border: 1px solid var(--blue-border-bright);
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px var(--blue-glow-subtle);
    position: relative;
    overflow: hidden;
}

.sequence-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-gradient);
}

.sequence-text {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.sequence-arrow {
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    color: var(--blue-cyan);
    font-weight: 700;
    text-shadow: 0 0 12px var(--blue-glow);
    animation: arrowNudge 2s infinite ease-in-out;
}

@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* Single Line Subheadline */
.capture-single-line {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 640px;
    margin-inline: auto;
    font-weight: 400;
}

.capture-single-line strong {
    color: #ffffff;
    font-weight: 600;
}

/* Capture Form Section (Elevado para Tráfico Frío) */
.form-card {
    max-width: 460px;
    margin: 0 auto 30px;
    padding: 26px 24px 22px;
    background: var(--bg-card);
    border: 1px solid var(--blue-border);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px var(--blue-glow-subtle);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Thumbnail Visual (Reducido y ubicado debajo del formulario) */
.thumbnail-box {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.35);
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 102, 255, 0.18);
    background-color: #040815;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.thumbnail-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 102, 255, 0.35);
    border-color: var(--blue-cyan);
}

.thumbnail-box img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Play Badge Overlay on Thumbnail */
.thumbnail-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.preview-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(3, 7, 18, 0.85);
    border: 2px solid var(--blue-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 24px rgba(0, 210, 255, 0.6);
    transition: transform 0.3s ease, background 0.3s ease;
}

.thumbnail-box:hover .preview-play-btn {
    transform: scale(1.1);
    background: var(--blue-primary);
}

.preview-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: #ffffff;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--blue-cyan);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(3, 7, 18, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
    background: rgba(4, 9, 23, 0.95);
}

.form-input::placeholder {
    color: var(--text-dim);
}

/* Primary CTA Button */
.cta-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.7);
    filter: brightness(1.08);
}

.cta-button:active {
    transform: translateY(0);
}

/* Pulsing Glow Animation */
.cta-pulse {
    animation: electricPulse 2.8s infinite;
}

@keyframes electricPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(0, 102, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.cta-button svg {
    transition: transform 0.25s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Sub-note Under Button */
.cta-subtext {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cta-subtext svg {
    color: var(--blue-cyan);
}

/* ===================================================
   PANTALLA 2: CLASE (/clase)
   =================================================== */

.class-page-header {
    text-align: center;
    padding: 10px 0 26px;
}

.class-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.4);
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-cyan);
    margin-bottom: 16px;
}

.class-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.class-instruction {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.arrow-down-icon {
    display: inline-block;
    color: var(--blue-cyan);
    animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Video Player 16:9 Wrapper */
.video-container-16-9 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #02040a;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--blue-border-bright);
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 102, 255, 0.25);
    margin: 0 auto 36px;
}

.video-container-16-9 iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Immediate Post-Video Section */
.post-video-action {
    text-align: center;
    padding: 34px 24px;
    margin-bottom: 50px;
    background: linear-gradient(180deg, rgba(10, 20, 44, 0.75) 0%, rgba(4, 9, 22, 0.85) 100%);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 20px;
}

.post-video-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
}

.post-video-subtext {
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 600px;
    margin-inline: auto;
}

/* WhatsApp CTA Button */
.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--blue-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 38px;
    border-radius: 50px;
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.55);
    transition: all 0.3s ease;
}

.whatsapp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.8);
    filter: brightness(1.1);
}

.whatsapp-cta svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.team-subtext {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ===================================================
   TESTIMONIALS (Máximo 3)
   =================================================== */

.testimonials-block {
    padding: 20px 0 50px;
}

.section-label {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-cyan);
    margin-bottom: 8px;
}

.testimonials-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
}

.testimonials-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.testimonial-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #02040b;
    border: 1px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    aspect-ratio: 9 / 16;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-cyan);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.25);
}

.testimonial-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.2) 0%, rgba(3, 7, 18, 0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.testimonial-card:hover .testimonial-play-overlay {
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.1) 0%, rgba(3, 7, 18, 0.5) 100%);
}

.testimonial-play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(3, 7, 18, 0.85);
    border: 2px solid var(--blue-cyan);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
    transition: transform 0.25s ease;
}

.testimonial-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: #ffffff;
}

.testimonial-card:hover .testimonial-play-btn {
    transform: scale(1.1);
    background: var(--blue-primary);
}

.testimonial-badge {
    position: absolute;
    bottom: 16px;
    left: 14px;
    right: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-badge .star-icon {
    color: #38bdf8;
}

/* Secondary Repeated CTA Block */
.repeated-cta-block {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 102, 255, 0.15);
    margin-top: 20px;
}

/* ===================================================
   FOOTER LEGAL
   =================================================== */

.legal-footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #020409;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.7;
}

.legal-footer .disclaimer-box {
    max-width: 820px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.legal-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-footer a:hover {
    color: var(--blue-cyan);
}

.legal-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Utilities & Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */

@media (max-width: 768px) {
    .top-header {
        padding: 14px 0 6px;
    }
    
    .brand-logo .header-logo-img {
        height: 36px;
    }

    .badge-tag {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .capture-headline {
        margin-bottom: 12px;
    }

    .trading-sequence-container {
        gap: 6px;
        margin: 10px 0 14px;
    }
    
    .sequence-pill {
        padding: 8px 14px;
    }
    
    .sequence-text {
        font-size: 1.05rem;
    }
    
    .sequence-arrow {
        font-size: 1.05rem;
    }

    .capture-single-line {
        margin-bottom: 18px;
        font-size: 0.95rem;
    }
    
    .form-card {
        padding: 20px 16px 16px;
        margin-bottom: 24px;
    }

    .thumbnail-box {
        max-width: 310px;
    }

    .preview-play-btn {
        width: 44px;
        height: 44px;
    }

    .preview-play-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .testimonials-grid-3 {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
        gap: 24px;
    }
    
    .whatsapp-cta {
        padding: 16px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
}
