/* Base & Variables */
:root {
    --primary: #0a0e17;
    --secondary: #131a28;
    --accent: #00ff66;
    --accent-glow: rgba(0, 255, 102, 0.4);
    --warning: #ffb703;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border-color: #2d3748;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--primary);
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

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

.text-accent { color: var(--accent); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 800; }
.text-center { text-align: center; }
.strike { text-decoration: line-through; opacity: 0.8; color: #ff6b6b; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 30px; }
.mt-5 { margin-top: 50px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 20px; }

.bg-darker {
    background-color: var(--secondary);
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #FFB705;
    color: #FFFFFF;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 183, 5, 0.6);
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse-subtle {
    animation: pulseSubtle 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulseSubtle {
    0% { box-shadow: 0 0 30px rgba(0, 255, 102, 0.1); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 102, 0.3); }
    100% { box-shadow: 0 0 30px rgba(0, 255, 102, 0.1); }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 102, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-warning {
    background: rgba(255, 183, 3, 0.1);
    color: var(--warning);
    border-color: var(--warning);
}

/* Top Banner Marquee */
.marquee-container {
    width: 100%;
    background-color: #FFB705;
    color: #FFFFFF;
    padding: 12px 0;
    font-weight: 900;
    font-size: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 183, 5, 0.6);
    overflow: hidden;
    white-space: nowrap;
}

.marquee {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--secondary) 0%, var(--primary) 100%);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.floating-mockup {
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.secure-checkout {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Generic Grids */
.modules { padding: 100px 0; }
.benefits { padding: 100px 0; }

/* Feature Rows (Contenido Premium) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.feature-row.reverse {
    direction: rtl;
}
.feature-row.reverse > * {
    direction: ltr;
}
.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}
.feature-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}
.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.feature-list i { margin-top: 3px; }

/* Compact Benefits */
.benefits-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.compact-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--primary);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.benefits:not(.bg-darker) .compact-benefit {
    background: var(--secondary);
}
.compact-benefit i {
    font-size: 1.5rem;
    margin-top: 5px;
}
.compact-benefit h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.compact-benefit p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bonuses Section */
.bonuses { padding: 100px 0; }
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bonus-card {
    background: var(--primary);
    border: 1px solid var(--warning);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.1);
}

.bonus-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--warning);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 800;
    border-radius: 8px;
    z-index: 10;
}

.bonus-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.bonus-content {
    padding: 30px;
}

.bonus-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.bonus-value {
    margin-top: 20px;
    font-size: 1.1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Countdown Section */
.countdown-section {
    padding: 60px 0;
    background-color: #FFB705;
    color: #FFFFFF;
}
.countdown-section h2 {
    font-weight: 900;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.time-box {
    background: #FFFFFF;
    color: var(--primary);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 100px;
}
.time-box span {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.time-box p {
    font-size: 0.8rem;
    font-weight: 800;
    margin-top: 5px;
    color: var(--primary);
}
.time-separator {
    font-size: 3rem;
    font-weight: 900;
    margin-top: -20px;
    color: #FFFFFF;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(19, 26, 40, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: #FFB705;
    box-shadow: 0 0 40px rgba(255, 183, 5, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #FFB705;
    color: var(--primary);
    padding: 5px 20px;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 0 0 12px 12px;
    white-space: nowrap;
}

.pricing-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.highlight-header {
    background: rgba(0, 255, 102, 0.1);
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
}

.pricing-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
}

.pricing-body {
    padding: 30px 40px 40px;
    text-align: center;
}

.price-original {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.price-current {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.payment-type {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}
.pricing-features li:last-child { border-bottom: none; }

/* Slider Section */
.slider-section { padding: 100px 0; }
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 20px;
}
.slider-track {
    overflow: hidden;
    position: relative;
    height: 400px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.slide-info { text-align: center; }
.slide-info h3 { color: var(--accent); margin-bottom: 5px; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
}
.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* Testimonials */
.testimonials { padding: 100px 0; }
.testimonial-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.stars { color: #ffd700; margin-bottom: 20px; }
.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}
.author-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info { display: flex; flex-direction: column; }
.author-info span { color: var(--text-muted); font-size: 0.85rem; }

/* Guarantee Section */
.guarantee-section { padding: 80px 0; }
.guarantee-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(0, 255, 102, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.2);
    padding: 50px;
    border-radius: 24px;
}
.guarantee-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: rgba(0,255,102,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FAQ */
.faq { padding: 100px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

a, button {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Accessibility Focus State */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.faq-question:hover { color: var(--accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-question { color: var(--accent); }
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active .faq-answer { padding: 0 25px 20px; max-height: 300px; }
.faq-answer p { color: var(--text-muted); line-height: 1.6; }

/* Footer */
.footer { padding: 50px 0; border-top: 1px solid var(--border-color); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { display: flex; flex-direction: column; align-items: center; }
    .bonuses-grid, .testimonial-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .guarantee-container { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    /* Compact Padding */
    .modules, .benefits, .bonuses, .countdown-section, .pricing, .slider-section, .testimonials, .guarantee-section, .faq {
        padding: 40px 0;
    }
    
    .hero {
        padding: 45px 0 10px; /* Ensure marquee doesn't overlap image */
        background: var(--primary);
    }

    /* Reorder Hero for Mobile: Image -> Title -> Subtitle -> CTA */
    .hero-container {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0; /* Override desktop 50px gap */
    }
    
    .hero-content {
        display: contents;
    }
    
    .hero-image { 
        order: 1; 
        margin: 0; 
        width: 100%;
        position: relative;
    }
    
    .hero-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, transparent, var(--primary));
        z-index: 1;
    }
    
    .floating-mockup { 
        width: 100%; 
        height: 210px; /* Reduced to make section less giant */
        object-fit: cover;
        object-position: center 20%; /* Shift focus slightly upwards to preserve laptop screen */
        animation: none; 
        display: block; 
    }
    
    .hero-title { 
        order: 2; 
        font-size: clamp(1.2rem, 5.5vw, 1.55rem); 
        line-height: 1.05; 
        margin-top: 0px; /* Fixed overlap */
        margin-bottom: 0px; /* Extremely tight spacing to subtitle */
        position: relative;
        z-index: 2;
        padding: 0 20px;
        text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    }
    
    .hero-subtitle { 
        order: 3; 
        font-size: 0.9rem; 
        margin-top: 10px; /* Small natural gap */
        margin-bottom: 75px; /* Tripled space before CTA */
        line-height: 1.3; 
        padding: 0 15px; 
    }
    
    .hero-cta-group { 
        order: 4; 
        width: 100%; 
        padding: 0 20px; 
    }
    
    .hero-cta-group .btn { 
        padding: 16px 15px; 
        font-size: 1.15rem; 
    }
    
    /* Compact Grids */
    .bonuses-grid, .testimonial-grid-3, .pricing-grid, .benefits-compact-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .features-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        margin-right: -20px; /* Bleed to the right edge */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .features-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--border-color);
        transition: background-color 0.3s ease;
    }
    .carousel-dots .dot.active {
        background-color: var(--accent);
    }
    
    .feature-row {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        direction: ltr;
        background: var(--secondary);
        border: 1px solid var(--border-color);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 0;
        gap: 15px;
    }
    
    .feature-row.reverse, .feature-row.reverse > * {
        direction: ltr; /* Reset desktop alternating direction */
    }
    
    .feature-image {
        order: 1;
        width: 100%;
    }
    
    .feature-text {
        order: 2;
    }
    
    .feature-text h3 { font-size: 1.5rem; }
    
    .pricing-card.popular { transform: scale(1); }
    
    /* Typography Compression */
    .section-header h2 { font-size: 1.7rem; }
    .section-header p { font-size: 0.95rem; }
    .btn { padding: 14px 20px; font-size: 1rem; }
    .time-box { min-width: 70px; padding: 10px; }
    .time-box span { font-size: 2rem; }
    .time-separator { font-size: 2rem; margin-top: -10px; }
}

/* Modal Upsell */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 255, 102, 0.15);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: rgba(0, 255, 102, 0.05);
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.modal-body {
    padding: 30px;
}
