:root {
    /* Palette: Ice White + Intense Dark Red + Complementary */
    --bg-color: #F5F8FA;
    /* 'Branco Gelo' (Ice White) - Cool tone */
    --text-main: #1E293B;
    /* Slate 800 - Cool dark gray to complement Ice */
    --text-muted: #475569;
    /* Slate 600 */

    --color-urgency: #7F1D1D;
    /* Deep intense red (Burgundy/Blood) */
    --color-brand-red: #8B0000;
    /* New 'Intense Dark Red' for heavy lifting */

    --color-gold: #B45309;
    /* Deep Gold/Bronze for value highlights */

    /* Complementary Accent (Teal/Cyan spectrum to complement Red/Ice) */
    --color-accent: #0F766E;
    /* Teal 700 */

    --color-cta: #059669;
    /* Emerald 600 (Green) for main actions */
    --color-cta-hover: #047857;
    /* Darker Emerald on hover */

    --white: #FFFFFF;
    --border-color: #CBD5E1;
    /* Slate 300 */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #000000;
    /* Black */
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
}

h2 {
    font-size: 1.75rem;
}

.subheadline {
    font-size: 1.35rem;
    /* Increased size */
    color: #000;
    /* Darker than text-muted */
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.text-gold {
    color: var(--color-gold);
}

.text-urgency {
    color: var(--color-urgency);
}

.text-bold {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    width: 100%;
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.1rem;
}

.btn:active {
    transform: translateY(1px);
}

/* Landing Page Specifics */
.btn-start {
    background-color: var(--color-cta);
    color: var(--white);
    animation: pulse 2s infinite;
}

.btn-start:hover {
    background-color: var(--color-cta-hover);
}

.authority-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    /* Stack image and text */
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.auth-icon {
    font-size: 1.5rem;
    color: var(--color-cta);
}

.social-proof {
    background: rgba(217, 119, 6, 0.1);
    /* Gold tint */
    color: var(--color-gold);
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Quiz Styles */
#view-quiz {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent);
    /* Teal/Green spectrum for 'Progress' -> Psychological 'Go' */
    width: 0%;
    transition: width 0.4s ease;
}

.quiz-question-wrapper {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.quiz-options {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.quiz-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    /* Neutral start */
    color: var(--text-main);
    padding: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quiz-btn:hover {
    border-color: var(--color-brand-red);
    background: #FEF2F2;
    /* Very faint red tint */
    color: var(--color-brand-red);
    transform: translateX(4px);
}

/* Analysis Page */
#view-analysis {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.analysis-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    /* Limit width for better centering look */
    width: 100%;
    margin: 0 auto;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid var(--color-urgency);
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 1s linear infinite;
}

.btn-urgency {
    background-color: var(--color-cta);
    /* Switched to Green per user request */
    color: var(--white);
    animation: pulse 2s infinite;
    /* Add pulse effect */
}

.btn-urgency:hover {
    background-color: var(--color-cta-hover);
    filter: brightness(1.1);
}

/* Result Page */
.vsl-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.video-box {
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.shock-box {
    background: #FEF2F2;
    /* Red 50 */
    border-left: 4px solid var(--color-urgency);
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
    color: #7F1D1D;
    font-weight: 500;
}

.promise-box {
    background: #FFFBEB;
    /* Amber 50 */
    border: 1px solid #FCD34D;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        /* Green shadow */
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(1);
    }
}

/* Mobile */
/* Mobile Optimization */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    h1 {
        font-size: 1.75rem;
        /* Better fit for mobile */
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    /* Better Touch Targets */
    .btn,
    .quiz-btn {
        min-height: 54px;
        /* Fat finger friendly */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .quiz-options {
        gap: 0.75rem;
    }

    .quiz-btn {
        padding: 1rem 1.25rem;
    }

    /* Stack Authority Box on very small screens */
    .authority-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    /* Fix video height */
    .vsl-container {
        border-radius: 8px;
        /* Slightly less rounded on mobile */
    }
}

/* Safe Area for modern phones (notch support) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .container {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* =========================================
   4. SALES PAGE (NOVO LAYOUT NEUTRO/VERDE)
   ========================================= */

/* Neutral Theme Variables */
#view-offer {
    background-color: #F8FAFC;
    /* Slate 50 */
    color: #1E293B;
    /* Slate 800 */
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-gray {
    background-color: #F1F5F9;
    /* Slate 100 */
}

.text-green-pulse {
    color: #10B981;
    animation: pulse-text 2s infinite;
}

/* Hero Section Clean */
.sales-hero-clean {
    padding: 3rem 1.5rem;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
}

.hero-headline {
    color: #1E293B;
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-sub {
    color: #475569;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Video Placeholder */
.video-wrapper {
    position: relative;
    max-width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(45deg, #111827, #374151);
}

.video-placeholder span {
    margin-top: 1rem;
    font-weight: 500;
}

/* Call to Action Box */
.cta-box {
    margin-top: 2rem;
}

.btn-green-pulse {
    background-color: #10B981;
    /* Emerald 500 */
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-decoration: none;
}

.btn-green-pulse:hover {
    background-color: #059669;
    /* Emerald 600 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-large {
    padding: 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

.security-note {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Section Styling */
.sales-section {
    padding: 3rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.section-heading {
    font-size: 1.5rem;
    color: #0F172A;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-sub {
    color: #64748B;
    margin-bottom: 2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 2rem;
    text-align: left;
}

.benefit-item {
    background: #F8FAFC;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #DCFCE7;
    /* Green 100 */
    color: #166534;
    /* Green 800 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

/* Social Proof */
.social-proof-list {
    display: grid;
    gap: 1.5rem;
}

.citation-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-left: 4px solid #10B981;
}

.quote {
    font-style: italic;
    color: #334155;
    margin-bottom: 1rem;
}

.author {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #1E293B;
}

.verified {
    color: #10B981;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Clean Offer Card */
.offer-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #10B981;
}

.urgency-banner {
    background: #FEF2F2;
    color: #991B1B;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #FCA5A5;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.offer-header {
    margin-bottom: 2rem;
}

.offer-header h3 {
    font-size: 1.5rem;
    color: #0F172A;
    margin-bottom: 1rem;
}

.pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.old-price {
    color: #94A3B8;
    text-decoration: line-through;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10B981;
}

.installment {
    color: #64748B;
    margin-bottom: 2rem;
}

/* Bonus Section Enhanced */
.bonuses-container {
    margin: 2rem 0;
    text-align: left;
}

.bonus-section-title {
    text-align: center;
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.bonus-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.bonus-item:hover {
    transform: translateY(-2px);
    border-color: #CBD5E1;
}

.bonus-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 0.5rem;
}

.bonus-header h5 {
    font-size: 1rem;
    color: #1E293B;
    font-weight: 700;
    margin: 0;
}

.bonus-header i {
    color: #B45309;
    /* Gold/Bronze */
}

.bonus-features {
    list-style: none;
    padding-left: 0.5rem;
}

.bonus-features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bonus-features li i {
    color: #10B981;
    /* Green check */
    margin-top: 3px;
    font-size: 0.8rem;
}

.guarantee-row {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #475569;
    text-align: left;
}

.security-badges {
    margin-top: 1rem;
    color: #64748B;
    font-size: 0.8rem;
}

.scarcity-footer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #EF4444;
    font-weight: 600;
}

/* Toast Update for Clean Look */
.sales-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #1E293B;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #10B981;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 0.85rem;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.time {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
}

@keyframes pulse-text {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sales Page Mobile Adjustments */
@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .sales-hero-clean {
        padding: 1.5rem 1rem;
    }

    .hero-headline {
        font-size: 1.8rem;
        /* Increased for better impact */
        line-height: 1.2;
    }

    .hero-sub {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .video-wrapper {
        margin-bottom: 1.5rem;
        border-radius: 8px;
        /* Tighter radius */
    }

    .benefits-grid,
    .social-proof-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sales-section {
        padding: 1.5rem 1rem;
    }

    .benefit-item,
    .citation-card,
    .offer-card {
        padding: 1rem;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .pricing .new-price {
        font-size: 2rem;
    }

    .btn-large {
        font-size: 0.95rem;
        /* Smaller button text */
        padding: 1rem;
    }

    .sales-toast {
        width: 94%;
        left: 3%;
        right: auto;
        right: auto;
        bottom: auto;
        top: 10px;
        /* Fix for vertical stretching */
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Date Scarcity Alert */
/* Date Scarcity Alert */
/* Date Scarcity Alert */
.date-alert-box {
    background: #FEF2F2;
    /* Red 50 */
    border: 2px dashed #EF4444;
    /* Red 500 */
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.alert-label {
    font-size: 0.9rem;
    color: #991B1B;
    /* Red 800 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alert-date {
    font-size: 1.5rem;
    color: #DC2626;
    /* Red 600 */
    font-weight: 800;
    line-height: 1;
}

/* Analysis Graph */
.graph-box {
    margin: 1.5rem 0;
    text-align: center;
}

.graph-box p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1E293B;
}

.graph-bar-bg {
    width: 100%;
    height: 20px;
    background-color: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.graph-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #EF4444 0%, #F59E0B 50%, #10B981 100%);
    transition: width 0.5s ease-out;
}

.graph-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1E293B;
}

/* Pre-Stack Page Styles */
.pre-stack-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pre-stack-header h1 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 1rem 0;
    color: #000;
}

.sub-text {
    font-size: 0.9rem;
    color: #4B5563;
    margin-bottom: 0.5rem;
}

.sub-text-bold {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.vertical-video {
    aspect-ratio: 9/16;
    max-width: 220px;
    /* Mobile vertical video width */
    margin: 0 auto 1.5rem auto;
    background: #000;
}

.insight-box {
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.yellow-box {
    background-color: #FEF3C7;
    /* Amber 100 */
    border: 1px solid #FCD34D;
    color: #92400E;
}

.pink-box {
    background-color: #FCE7F3;
    /* Pink 100 */
    border: 1px solid #FBCFE8;
    color: #9D174D;
}

.insight-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.insight-box p {
    font-size: 0.9rem;
}

/* Curve Graph */
.curve-graph-container {
    position: relative;
    /* height: 150px; Removed to fit image */
    width: 100%;
    margin-top: 1rem;
    background: #FFF;
    border-radius: 8px;
    padding: 10px;
}

.graph-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #6B7280;
    margin-bottom: 5px;
}

.curve-visual {
    height: 100px;
    width: 100%;
}

.text-content {
    text-align: center;
}

.text-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #374151;
}

.text-content h3 {
    font-size: 1.2rem;
    color: #000;
    font-weight: 800;
}

.footer-small {
    text-align: center;
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 2rem;
}

.text-red {
    color: #DC2626;
    font-weight: 700;
}