/* --- CYBER-POLISH STYLE.CSS --- */

:root {
    /* --- PALETA CYBER-FINTECH (BLUE/PURPLE EDITION) --- */

    /* Fundo */
    --bg-void: #050508;
    --bg-deep: #0a0a12;
    --bg-glass: rgba(10, 10, 18, 0.9);

    /* Neons Principais */
    --neon-cyan: #00f0ff;
    --neon-purple: #b026ff;
    --neon-magenta: #ff00cc;
    --neon-purple: #b026ff;
    --neon-magenta: #ff00cc;
    --neon-red: #ff003c;
    --neon-green: #00ff66;
    /* New Green for Video */
    /* Erro/Alerta */

    /* Glows - INTENSIFIED */
    --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.6);
    --glow-purple: 0 0 35px rgba(176, 38, 255, 0.7);
    --glow-purple: 0 0 35px rgba(176, 38, 255, 0.7);
    --glow-red: 0 0 25px rgba(255, 0, 60, 0.5);
    --glow-green: 0 0 25px rgba(0, 255, 102, 0.6);

    /* Texto - WHITE ONLY */
    --text-main: #ffffff;
    --text-muted: #ffffff;
    /* Forced White */

    /* Fontes */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    /* Gradiente Global Azulado - Mais sutil no mobile */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08), transparent 60%),
        radial-gradient(circle at 0% 50%, rgba(176, 38, 255, 0.05), transparent 50%);
    padding-bottom: 120px;
}

/* UTILITÃRIOS */
.container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cores de Texto Atualizadas */
.text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.text-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
}

.text-red {
    color: var(--neon-red);
    text-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
}

/* --- PROMO BANNER --- */
/* --- PROMO BANNER (POLISHED) --- */
.promo-banner {
    background: linear-gradient(90deg, var(--bg-deep), var(--neon-purple), var(--bg-deep));
    background-size: 200% auto;
    animation: banner-flow 5s infinite linear;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95rem;
    position: relative;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(176, 38, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes banner-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.promo-banner p {
    margin: 0;
}

.close-banner {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-banner:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* --- 1. HERO --- */
.hero-section {
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Grid Cyber Azul */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    opacity: 0.6;
}

.hero-tag {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
    animation: scan 3s infinite linear;
}

/* Hero Title Mobile Optimization */
.hero-title {
    font-size: 3.5rem;
    line-height: 0.95;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        /* More manageable size for mobile */
        line-height: 1.1;
    }

    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .video-frame {
        /* Slightly reduce shadow on mobile for performance */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
}

.hero-subtitle {
    color: #ffffff !important;
    /* FORCE WHITE */
    font-size: 1.1rem;
    max-width: 80%;
    margin: 0 auto 40px;
}

.hero-subtitle .text-cyan {
    color: var(--neon-cyan) !important;
}

/* Video Frame Vertical Style */
/* Video Frame Vertical Style */
/* Video Frame Vertical Style */
/* Ensure content is above grid */
/* Video Frame - NUCLEAR OPTION for Mobile Touch */
.hero-content {
    position: relative;
    z-index: 10;
}

/* 1. Kill all potential ghost clicks on backgrounds */
.cyber-grid,
.hero-bg-overlay,
.hero-section::before,
.hero-section::after {
    pointer-events: none !important;
    z-index: 1 !important;
}

/* 2. Force Video Container */
/* 2. Force Video Container (ALQUIMIA STYLE - CYAN EDITION) */
.video-frame {
    position: relative;
    z-index: 999 !important;
    width: 100%;
    max-width: 360px !important;
    /* Phone screen approximate width */
    margin: 30px auto 40px !important;
    aspect-ratio: 9/16 !important;
    /* Vertical Format */
    padding-bottom: 0 !important;
    height: auto !important;

    /* THE GLOW UP */
    border: 2px solid var(--neon-cyan);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.1);
    background: #000;
    overflow: hidden;
    transform: translateZ(0);
    touch-action: manipulation;
}

.video-frame:hover {
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.5), inset 0 0 30px rgba(0, 240, 255, 0.2);
    border-color: #fff;
    transform: scale(1.02);
}

/* 3. Ensure Iframe receives all events */
.video-frame iframe {
    pointer-events: auto !important;
    z-index: 10 !important;
    border-radius: 18px;
    /* Slightly less than container to fit */
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- CUSTOM VIDEO OVERLAY (ALQUIMIA STYLE) --- */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darker dim for better contrast */
    z-index: 20 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 18px;
    transition: opacity 0.3s ease, visibility 0.3s;
    backdrop-filter: blur(2px);
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
}

/* Reference Style Button (Updated) */
.custom-vimeo-play-button {
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.2);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    color: #fff;
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
}

.custom-vimeo-play-button svg {
    fill: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
    width: 40px;
    height: 40px;
    margin-left: 5px;
    /* Visual center adjustment */
}

.custom-vimeo-play-button:hover {
    transform: scale(1.1);
    background: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.8);
}

/* Pulsing Effect */
.video-overlay .pulse {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 240, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

/* Disable pseudos on video frame to prevent overlays */
.video-frame::before,
.video-frame::after {
    display: none !important;
    content: none !important;
}

/* BOTÃƒO PRINCIPAL (GRADIENTE ROXO/AZUL) */
.btn-main {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.4);
    letter-spacing: 1px;
    width: 100%;
}

.btn-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.8);
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
}

.btn-main:hover i {
    animation: glitch-anim 0.3s infinite;
}

/* --- SEÃ‡ÃƒO ALERTA (MANTIDO VERMELHO) --- */
.section-alert {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 0, 60, 0.3);
    border-bottom: 1px solid rgba(255, 0, 60, 0.3);
    background: linear-gradient(to bottom, rgba(255, 0, 60, 0.08), transparent);
}

.alert-card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--neon-red);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.1);
    transition: transform 0.3s;
}

.alert-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.2);
}

.alert-card::before {
    content: 'ERROR';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    color: var(--neon-red);
    font-family: monospace;
    letter-spacing: 2px;
    border: 1px solid var(--neon-red);
    padding: 2px 5px;
}

.alert-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red);
}

.alert-card p {
    color: #ffffff !important;
}

/* --- FEATURES (BLUEPRINT) --- */
.section-blueprint {
    padding: 80px 0;
    background-image: radial-gradient(var(--bg-deep) 1px, transparent 1px);
    background-size: 20px 20px;
}

.feature-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
    padding: 20px;
    border-left: 3px solid var(--neon-purple);
    /* Purple accent */
    transition: 0.3s;
}

.feature-box:hover {
    background: linear-gradient(90deg, rgba(176, 38, 255, 0.1), transparent);
    box-shadow: -5px 0 20px rgba(176, 38, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* --- STEPPER (AZUL/ROXO) --- */
.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    opacity: 0.6;
    transition: 0.5s;
}

.step-item.active {
    opacity: 1;
    transform: translateX(10px);
}

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #555;
    font-weight: 900;
}

.step-item.active .step-num {
    -webkit-text-stroke: 2px var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    animation: flicker 4s infinite;
}

@keyframes flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        text-shadow:
            0 0 7px var(--neon-cyan),
            0 0 10px var(--neon-cyan);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
    }
}

/* --- OFERTA NEBULA --- */
.offer-section {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(176, 38, 255, 0.2) 0%, transparent 70%);
}

.nebula-card {
    background: linear-gradient(160deg, #1a0b2e, #050505);
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 0 60px rgba(176, 38, 255, 0.4), inset 0 0 20px rgba(176, 38, 255, 0.1);
    isolation: isolate;
    overflow: hidden;
    text-align: center;
}

.nebula-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--neon-cyan) 60deg, var(--neon-magenta) 120deg, transparent 180deg);
    animation: rotate-holo 6s linear infinite;
    opacity: 0.2;
    z-index: -1;
}

/* --- FAQ ACCORDION --- */
.section-faq {
    background: linear-gradient(to bottom, var(--bg-void), var(--bg-deep));
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    background: #111;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: 0.3s;
}

.accordion-title {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    padding-right: 20px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.accordion-item.active .accordion-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.icon {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    font-weight: 900;
    transition: 0.3s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-content p {
    padding: 15px 25px 25px 25px;
    color: #ffffff !important;
    /* Force White */
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 18px 20px;
    }

    .accordion-title {
        font-size: 0.95rem;
    }
}

.offer-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-purple);
    color: #fff;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.5);
    letter-spacing: 1px;
}

.value-stack {
    margin: 30px 0;
    text-align: left;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.stack-item:last-child {
    border-bottom: none;
}

.stack-name {
    color: #fff;
    /* Bright White */
    display: flex;
    align-items: center;
    gap: 10px;
}

.stack-price {
    color: #aaa;
    /* Slightly dim for scratched price */
    text-decoration: line-through;
}

.stack-free {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.final-price-box {
    margin: 30px 0;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.price-big {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: var(--font-display);
    text-shadow: 0 0 30px rgba(176, 38, 255, 0.8);
}

/* BOTÃƒO DE OFERTA */
.btn-plasma {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-magenta));
    color: #fff;
    width: 100%;
    padding: 22px;
    font-size: 1.3rem;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.5);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    animation: pulse-purple 2s infinite;
}

.btn-plasma:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(176, 38, 255, 0.8);
}

.btn-plasma::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: scan 2s infinite;
}

/* STICKY BAR */
/* STICKY BAR (FUTURISTIC) */
.sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 450px;
    background: rgba(8, 8, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--neon-purple);
    /* Purple Border */
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(176, 38, 255, 0.3);
    z-index: 1000;
    transition: 0.3s;
    overflow: hidden;
}

/* Moving Border Effect */
.sticky-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.4), transparent);
    animation: bar-scan 4s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes bar-scan {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

.sticky-info {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-label {
    font-size: 0.65rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sticky-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.sticky-btn-pulse {
    background: var(--neon-cyan);
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    z-index: 2;
    transition: 0.3s;
    animation: pulse-sticky 1.5s infinite;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sticky-btn-pulse:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.9);
    background: #fff;
}

@keyframes pulse-sticky {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

/* ANIMATIONS */
@keyframes scan {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes pulse-purple {
    0% {
        box-shadow: 0 0 0 0 rgba(176, 38, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(176, 38, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(176, 38, 255, 0);
    }
}

@keyframes glitch-anim {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes rotate-holo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* --- HERO MICRO CARDS --- */
.hero-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.hero-micro-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.hero-micro-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
}

.micro-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--neon-cyan);
    display: inline-block;
}

.micro-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.micro-text {
    font-size: 0.75rem;
    color: #ddd;
    /* Lighter Gray */
    line-height: 1.4;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-void);
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

.testimonial-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    min-height: 220px;
}

.testimonial-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.15);
    background: rgba(20, 20, 30, 0.8);
    transform: translateY(-5px);
}

.stars {
    color: #FFD700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2.5rem;
}

.quote-text {
    font-style: italic;
    color: #eee;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.user-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.user-details h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #fff;
}

.user-details p {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
}

.user-result {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

/* Base override for mobile */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
    }
}

/* --- MOBILE FIRST HERO SWIPE --- */
.hero-benefits-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling iOS */
    scrollbar-width: none;
    /* Firefox */
}

.hero-benefits-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.hero-micro-card {
    flex: 0 0 85%;
    /* Shows part of next card to encourage swipe */
    scroll-snap-align: center;
    background: rgba(20, 20, 30, 0.8);
    /* Glass Dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-right: 5px;
}

@media (min-width: 768px) {
    .hero-benefits-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
        padding-bottom: 0;
    }

    .hero-micro-card {
        flex: none;
        scroll-snap-align: none;
    }
}

/* --- HERO VIDEO MOBILE --- */
.video-frame {
    aspect-ratio: 4/5;
    /* Taller on mobile */
    max-width: 100%;
}

@media (min-width: 768px) {
    .video-frame {
        aspect-ratio: 16/9;
        /* Standard on desktop */
    }
}

/* --- BLUEPRINT ZIG-ZAG --- */
.blueprint-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    align-items: center;
}

.blueprint-img-container {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
    overflow: hidden;
    position: relative;
    /* aspect-ratio removed to allow image to dictate height */
    height: auto;
    background: #000;
    transition: 0.3s;
}

.blueprint-img-container:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
    background: #050510;
}

.blueprint-img-placeholder {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

.blueprint-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blueprint-text h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    line-height: 1.2;
}

.blueprint-text p {
    color: #ffffff;
    /* Pure White */
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (min-width: 768px) {
    .blueprint-block {
        flex-direction: row;
        gap: 50px;
    }

    /* Alternating Zig-Zag */
    .blueprint-block:nth-child(even) {
        flex-direction: row-reverse;
    }

    .blueprint-img-container {
        flex: 1;
    }

    .blueprint-text {
        flex: 1;
    }
}


/* --- STICKY BAR UPDATES --- */
.sticky-bar {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--neon-cyan);
    bottom: 0;
    top: auto;
    /* Ensure it sticks to bottom */
}

/* Pulse Animation for Sticky Button */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(176, 38, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(176, 38, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(176, 38, 255, 0);
    }
}


/* --- MOBILE REFACTORING (CRITICAL FIXES) --- */
@media (max-width: 768px) {

    /* 1. HERO SWIPER FIX (Reverted to Grid for reliability) */
    .hero-benefits-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
        justify-content: center !important;
    }

    .hero-micro-card {
        min-width: auto !important;
        max-width: none !important;
        margin-right: 0 !important;
        flex: none !important;
    }

    /* 2. VIDEO ASPECT RATIO (REMOVED FORCE 16:9 TO ALLOW VERTICAL REELS) */
    /* .video-frame {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        max-height: 300px !important;
        margin-bottom: 25px !important;
    } */

    /* 3. COMPACT FEATURES (Restored Neon Look) */
    .blueprint-block {
        display: flex !important;

        .blueprint-img-container {
            width: 100% !important;
            height: auto !important;
            flex: none !important;
        }

        .blueprint-img-conta.hidden-force {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
            opacity: 0 !important;
        }

        .blueprint-img-placeholder {
            height: 100% !important;
            width: 100% !important;
            object-fit: cover !important;
        }

        .blueprint-text {
            padding: 0 !important;
            background: transparent !important;
            text-align: left !important;
            flex: none !important;
        }

        /* Adjust text inside features */
        .blueprint-text h3 {
            font-size: 1.1rem !important;
            margin-bottom: 5px !important;
        }

        .blueprint-text p {
            font-size: 0.95rem !important;
            margin-bottom: 0 !important;
            color: #fff !important;
        }

    }

    /* 4. GLOBAL FAT REDUCTION */
    section {
        padding: 40px 20px !important;
    }

    .hero-title {
        font-size: 2rem !important;
        /* Prevent line breaks */
        line-height: 1.1 !important;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 5. GUARANTEE MOBILE FIX */
    .section-guarantee .feature-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
        height: auto !important;
    }

    .section-guarantee i {
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }

    /* 6. BONUS CARDS MOBILE FIX */
    .blueprint-block {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }

    .blueprint-img-container {
        height: auto !important;
        min-height: auto !important;
        padding: 0 !important;
        background: #000 !important;
    }

    .blueprint-img-placeholder {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Adjust grid overlap issues if any */
    .cyber-grid {
        opacity: 0.3;
    }

    /* 7. OFFER BUTTON MOBILE FIX */
    .nebula-card .btn-plasma {
        white-space: normal !important;
        padding: 20px 10px !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-top: 15px !important;
    }

    /* 8. HERO BUTTON MOBILE OPTIMIZATION (FUTURISTIC) */
    .hero-section .btn-main {
        width: 100% !important;
        padding: 20px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        text-align: center !important;
        line-height: 1.2 !important;

        /* Futuristic Look */
        background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-purple)) !important;
        background-size: 200% auto !important;
        animation: gradient-move 3s linear infinite !important;
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px) !important;
    }

    .hero-section .btn-main .btn-text {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
    }

    .hero-section .btn-main .btn-price-mobile {
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        color: #fff !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
    }

}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* --- BONUS TITLE MEGA --- */
.bonus-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.bonus-number {
    font-size: 8rem;
    line-height: 1;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    font-family: var(--font-display);
}

.bonus-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}

.bonus-text-line {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    font-family: var(--font-display);
}

.bonus-subtitle {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

.bonus-underline {
    width: 60px;
    height: 4px;
    background: var(--neon-cyan);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* --- ANIMATIONS & POLISH --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* MOBILE TYPOGRAPHY REFINEMENT */
@media (max-width: 768px) {

    h1,
    .hero-title {
        font-size: 2.2rem !important;
        /* Smaller on mobile */
        word-wrap: break-word;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    /* 4. GLOBAL FAT REDUCTION */
    section {
        padding: 40px 20px !important;
    }


    .bonus-text-group {
        align-items: center;
    }
}

/* --- OPTIMIZED CAROUSEL (FIXED & ROBUST) --- */
.carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Phone Width */
    aspect-ratio: 9/16;
    margin: 0 auto;
    border-radius: 30px;
    border: 8px solid #111;
    box-shadow:
        0 0 0 2px #333,
        0 0 50px rgba(0, 0, 0, 0.8);
    background: #000;
    /* Ensure container has structure even if empty */
    display: flex;
    flex-direction: column;
}

.carousel-track-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    flex: 1;
    /* Take available space */
}

/* The UL itself becomes the scrollable flex container */
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
    /* Smooth iOS */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    display: block;
    /* Prevent collapse */
    min-height: 100%;
}

/* Nav Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.carousel-button:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.carousel-button--left {
    left: 10px;
}

.carousel-button--right {
    right: 10px;
}

.carousel-button.is-hidden {
    display: none;
}

/* Dots Nav */
.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 20;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    transform: scale(1.2);
}

/* 1. Global Overflow Protection */
html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* 2. Responsive Typography & Layout Fixes */
@media (max-width: 768px) {

    /* Fix Bonus Section Overflow */
    .bonus-title-wrapper {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
        margin-bottom: 30px !important;
    }

    .bonus-number {
        font-size: 5rem !important;
        margin-bottom: -10px !important;
        line-height: 1 !important;
    }

    .bonus-text-group {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .bonus-text-line {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
    }

    .bonus-subtitle {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    /* General Safe Containers */
    .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden !important;
    }

    /* Fix potential large text overflows */
    h1,
    h2,
    h3,
    h4,
    p,
    span {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
}

/* 3. Polish & Performance Helpers */
img {
    max-width: 100%;
}

button,
a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}


/* --- CRITICAL MOBILE FIXES V2 + FOLD 5 --- */

@media (max-width: 768px) {

    /* 1. PRICE OVERFLOW FIX */
    .price-big {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word !important;
    }

    .final-price-box {
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. BONUS HEADER & NAMES */
    .blueprint-text h3 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }
}

/* --- ULTRA NARROW SCREEN FIXES (Galaxy Fold Cover etc) --- */
@media (max-width: 400px) {
    .bonus-number {
        font-size: 4rem !important;
        /* Fold Cover Safe Size */
    }

    .bonus-text-line {
        font-size: 1.4rem !important;
    }

    .price-big {
        font-size: 2rem !important;
        /* Fold Cover Safe Size */
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .testimonial-card,
    .hero-micro-card,
    .final-price-box {
        padding: 15px !important;
    }
}