:root {
    --color-bg: #050505;
    --color-card: #0f0f0f;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #E10600;
    /* Protocol Red */
    --color-accent-dark: #900000;
    --font-main: 'Inter', sans-serif;
    --spacing-container: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Premium "cinematic" background */
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(20, 20, 20, 1) 0%, transparent 80%),
        radial-gradient(circle at 80% 20%, rgba(225, 6, 0, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");

    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 40px;

    /* Vignette effect */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);
    min-height: 100vh;
}

/* BLOCO 1: BARRA FIXA */
.alert-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    font-size: 10px;
    /* Still legible but more compact */
    font-weight: 700;
    text-align: center;
    padding: 6px 10px;
    /* Reduced padding for compact height */
    z-index: 1000;
    border-bottom: 1px solid var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(225, 6, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth premium transition */
}

.alert-bar.scrolled {
    background: rgba(26, 26, 26, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(8px);
    /* Glass effect */
    padding: 5px 10px;
    /* Reduced height on desktop */
    opacity: 0.95;
    border-bottom: 1px solid rgba(225, 6, 0, 0.5);
    /* Fainter border */
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
    flex-shrink: 0;
}

.alert-timer {
    display: block;
    font-weight: 400;
    color: #ccc;
    font-size: 10px;
    margin-top: 2px;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(225, 6, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 6, 0, 0);
    }
}

.main-wrapper {
    max-width: 480px;
    /* Mobile focused max-width */
    margin: 85px auto 0;
    /* Adjusted: Enough to clear fixed bar but not huge */
    padding: 0 var(--spacing-container);
}

.header-section {
    text-align: center;
    margin-bottom: 60px;
    /* Enhanced breathing room for Hero */
    margin-top: 5px;
    /* Minimal top space */
}

.main-headline {
    font-size: 18px;
    /* Reduced for premium elegance */
    font-weight: 800;
    /* Slightly less heavy */
    text-transform: uppercase;
    line-height: 1.35;
    /* More breathing room */
    letter-spacing: 0.5px;
    /* Wider spacing = premium feel */
    color: #fff;
    position: relative;
    padding: 0 10px;
    /* Prevent edge touching */
}

.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(32px, 9999px, 11px, 0);
    }

    20% {
        clip: rect(89px, 9999px, 13px, 0);
    }

    40% {
        clip: rect(25px, 9999px, 90px, 0);
    }

    60% {
        clip: rect(6px, 9999px, 83px, 0);
    }

    80% {
        clip: rect(52px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(38px, 9999px, 45px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(66px, 9999px, 80px, 0);
    }

    20% {
        clip: rect(12px, 9999px, 6px, 0);
    }

    40% {
        clip: rect(23px, 9999px, 46px, 0);
    }

    60% {
        clip: rect(49px, 9999px, 73px, 0);
    }

    80% {
        clip: rect(98px, 9999px, 4px, 0);
    }

    100% {
        clip: rect(29px, 9999px, 56px, 0);
    }
}

.glow-text {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(225, 6, 0, 0.4);
}

/* BLOCO 3: VISUAL */
.visual-section {
    text-align: center;
    margin-bottom: 30px;
}

.visual-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Remove padding if any */
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: screen;
    /* Optional: blends black background of image with container */
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px #000;
    pointer-events: none;
    /* Red glow hint */
    background: radial-gradient(circle at center, transparent 0%, rgba(225, 6, 0, 0.1) 100%);
}

.visual-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.lock-icon {
    color: #444;
    margin-bottom: 8px;
}

.visual-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
}

.micro-text {
    font-size: 13px;
    color: #e0e0e0;
    /* High contrast */
    font-weight: 600;
    font-style: normal;
    margin-top: 12px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

/* BLOCO 4: SUB-HEADLINE */
.sub-headline-section {
    margin-bottom: 30px;
    text-align: center;
}

.sub-headline-section h2 {
    font-size: 16px;
    font-weight: 400;
    color: #ddd;
    line-height: 1.4;
}

/* BLOCO 5: PROVA SOCIAL */
.testimonials-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

/* Glassmorphism Testimonials */
.testimonial-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    /* slightly more padding for premium feel */
    border-radius: 12px;
    /* softer corners */
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(225, 6, 0, 0.3);
    transform: translateY(-2px);
}

.avatar-container {
    width: 60px;
    /* Increased size for detail */
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    /* Mask the image to circle */
    background: #000;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This fixes the distortion */
    display: block;
}

.testi-info {
    flex: 1;
}

.testi-author {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.testi-quote {
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    color: #eee;
}

/* BLOCO 6: REFORÇO + BENEFÍCIOS (PREMIUM GRID) */
.benefits-section {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

/* Subtle red accent line on left */
.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.benefits-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 900;
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(225, 6, 0, 0.2);
    transform: translateX(4px);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(225, 6, 0, 0.6));
}

.benefit-card span {
    font-size: 14px;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.3;
}

.impact-box {
    background: rgba(225, 6, 0, 0.08);
    /* Very faint red bg */
    border: 1px solid rgba(225, 6, 0, 0.2);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

.impact-box p {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* BLOCO 7: OFERTA PRINCIPAL */
.offer-section {
    margin-bottom: 30px;
}

.offer-box {
    background: linear-gradient(180deg, #111, #000);
    border: 1px solid #333;
    /* Default border */
    border-top: 1px solid var(--color-accent);
    /* Highlight top */
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    /* Ultra Glass Dark */
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
}

.offer-box h2 {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

.price-display {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    /* Reduced to sit closer to anchor */
    display: block;
}

.price-anchor {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.4;
}

.price-anchor strong {
    color: #e0e0e0;
    font-weight: 700;
}

.main-cta-button {
    display: block;
    width: 100%;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    padding: 18px 10px;
    font-weight: 800;
    font-size: 15px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    margin-bottom: 15px;
}

.main-cta-button:active {
    transform: scale(0.98);
}

.scarcity-warning {
    font-size: 11px;
    color: #ffd700;
    /* Gold/Yellow for warning */
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 600;
}

.link-button {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 10px;
    font-family: inherit;
}

/* MODAL DOWSELL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Dark layout overlay */
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-card {
    background: #050505;
    /* Darker than page for contrast */
    border: 1px solid #333;
    width: 100%;
    max-width: 380px;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 1);
    /* Mobile Safe Guards */
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-icon {
    font-size: 42px;
    margin-bottom: 5px;
    line-height: 1;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.2));
}

.hidden .modal-card {
    transform: scale(0.9);
}

.modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.4;
}

.modal-pricing {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.deprecated-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #666;
}

.highlight-price {
    font-size: 24px;
    color: var(--color-accent);
    font-weight: 900;
    animation: price-pulse 2s infinite ease-in-out;
}

@keyframes price-pulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(225, 6, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(225, 6, 0, 0.5);
    }
}

.price-note {
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
}

.modal-cta {
    display: block;
    width: 100%;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    padding: 16px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modal-close {
    background: none;
    border: none;
    color: #555;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
}

/* MOBILE FIRST MEDIA QUERIES (Adjustments for Larger Screens) */
@media (max-width: 480px) {
    /* STRICT MOBILE OPTIMIZATION */

    /* 1. Bar Height Reduction */
    .alert-bar {
        padding: 4px 8px !important;
        /* Very tight padding */
        font-size: 9px !important;
        /* Smaller font to prevent 3 lines */
        min-height: auto !important;
    }

    /* 2. Main Wrapper Top Spacing */
    /* Pulling it up because bar is now shorter */
    .main-wrapper {
        margin-top: 65px !important;
    }

    /* 3. Breathing Room for Hero */
    /* Increasing bottom margin to separate Headline from Hero */
    .header-section {
        margin-bottom: 50px !important;
        /* Visual separation */
        margin-top: 0 !important;
    }

    .main-headline {
        font-size: 16px !important;
        /* Ensure it stays small/elegant */
        line-height: 1.35 !important;
    }
}

@media (min-width: 768px) {
    .main-wrapper {
        margin-top: 80px;
    }

    .alert-bar {
        font-size: 13px;
    }

    .header-section h1 {
        font-size: 32px;
    }

    .main-cta-button {
        padding: 20px;
        font-size: 18px;
    }
}