@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Green Palette for Protocolo GZ */
    --color-bg: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-primary: #16a34a;
    /* Green 600 */
    --color-primary-hover: #15803d;
    /* Green 700 */
    --color-text: #ffffff;
    --color-text-muted: #a3a3a3;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;

    /* Typography Overhaul: All Inter Strict */
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-weight: 400;
    /* Regular for body text */
    line-height: 1.5;
    /* Mobile comfortable reading */
    min-height: 100vh;
}

/* Headings Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 600;
    /* SemiBold */
    line-height: 1.2;
}

/* Specific component overrides for Inter strict adherence */
button,
input,
textarea,
select {
    font-family: var(--font-main) !important;
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-sm);
}


/* Header */
.main-header {
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
    /* Adjusted padding for trust bar */
    text-align: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.logo-img {
    max-width: 400px;
    /* Accommodate retinal quality source */
    width: 100%;
    /* Fill the container as requested */
    height: auto;
    display: block;
}

/* Legacy text styles kept just in case, but unused now */
.logo-top {
    display: none;
}

.logo-bottom {
    display: none;
}

.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* TRUST BAR - MARQUEE LOOP (v31) */
.trust-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 0.5rem;
    position: relative;
    /* Soft Fade Edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trust-track {
    display: flex;
    width: max-content;
    /* Allow content to dictate width */
    animation: trustScroll 25s linear infinite;
    /* Slow, smooth scroll */
}

.trust-content-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a3a3a3;
    /* Restore nice color */
    font-size: 0.75rem;
    /* RESTORE READABLE SIZE */
    font-weight: 500;
    white-space: nowrap;
    padding: 0 1rem;
    /* Spacing between items */
}

.trust-icon {
    font-size: 0.8rem;
    opacity: 0.8;
}

.trust-divider {
    color: #404040;
    font-size: 0.4rem;
    align-self: center;
}

@keyframes trustScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Assumes 2 duplicates (Content + Clone) covering 100% of cycle */
    }
}

/* --- DASHBOARD GRAPHIC STYLES (v23 - Reverted Dashboard, Styled Price Card) --- */
.dashboard-card {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 2rem;
    width: 100%;
}

.dashboard-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    /* Small gap between columns */
    width: 100%;
}

/* --- AUTHENTIC SOCIAL PROOF (v32) --- */

.testi-avatar-initials {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #262626;
    /* Neutral Premium Dark */
    color: #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #404040;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #22c55e;
    /* Green 500 */
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1;
}

.verified-icon {
    font-size: 0.8rem;
}

/* Ensure Testimonial Header Alignment for new elements */
.testi-header {
    display: flex;
    align-items: center;
    /* Center vertically */
    gap: 1rem;
    margin-bottom: 1rem;
}

.testi-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}


/* Base Column Style */
.dash-col {
    border-radius: 8px;
    /* Reverted to 8px */
    padding: 1rem 0.5rem;
    /* Reverted padding */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Column 1: Before (Darker) */
.dash-col.before {
    background-color: #0f0f0f;
    border: 1px solid #262626;
    opacity: 0.9;
}

/* Column 2: With Plan (Reverted to v21 Style) */
.dash-col.after {
    background-color: #171717;
    border: 1px solid #16a34a;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.1);
    position: relative;
    z-index: 1;
}

/* Headers */
.col-header {
    text-align: center;
    font-size: 0.75rem;
    /* Reverted size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-header.red {
    color: #ef4444;
}

.col-header.green {
    color: #22c55e;
}

/* Item Layout (Reverted to Left Align) */
.dash-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dash-label {
    color: #fff;
    font-size: 0.65rem;
    font-weight: 500;
    min-height: 2.2em;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0px;
    padding-left: 0;
    text-align: left;
    width: auto;
}

/* Independent Bars */
.dash-bar-track {
    background-color: #262626;
    height: 6px;
    /* Reverted height */
    border-radius: 999px;
    width: 100%;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 999px;
    box-shadow: none;
    /* Reverted shadow */
}

.dash-bar-fill.red {
    background-color: #ef4444;
}

.dash-bar-fill.green {
    background-color: #22c55e;
}


/* --- PREMIUM PRICE CARD STYLES (v25 - Balanced & Centered) --- */

.price-card-hero {
    background-color: #080808;
    border: 1px solid rgba(22, 163, 74, 0.5);
    border-radius: 16px;
    padding: 3rem 1rem 1.5rem 1rem;
    /* Increased Top to 3rem, Bottom 1.5rem for visual center */
    box-shadow: 0 10px 40px -5px rgba(22, 163, 74, 0.1), 0 0 15px rgba(22, 163, 74, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Enforce Flex centering */
}

/* Typography */
.price-display-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    width: 100%;
    /* Full width for centering */
}

.currency-symbol {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-right: 4px;
    opacity: 0.9;
}

.price-value-main {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.one-time-text {
    color: #86efac;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
}

/* Micro-Label for Chips */
.micro-label {
    color: #737373;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1rem 0 0.5rem 0;
    width: 100%;
}

/* Soft Divider - Reduced margins for tighter packing */
.soft-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #262626, transparent);
    width: 100%;
    margin: 2rem 0;
    /* Reduced from 3rem */
    opacity: 0.6;
}

/* Divider Line */
.section-divider {
    height: 1px;
    background-color: #262626;
    margin: 2rem auto;
    width: 80%;
    opacity: 0.7;
}

/* Adjust Marquee */
.price-card-hero .marquee-wrapper {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2px 0;
    width: 100%;
    /* Ensure full width */
    max-width: 340px;
    /* Constrain width locally if needed */
    margin-left: auto;
    margin-right: auto;
}

/* --- BUTTON ANIMATION FIX (SCOPED) --- */
/* Global .continue-btn definition removed to avoid conflicts. See line 817. */

/* Keyframes must exist */
@keyframes pulse-green-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

/* Only Apply Pulse to the Final Step Button */
/* Selector 1: Immediate Sibling (Standard) */
.final-step-wrapper+.continue-btn {
    animation: pulse-green-glow 2s infinite !important;
}

/* Selector 2: :has() Polyfill concept (Modern Browsers) */
.question-card:has(.final-step-wrapper) .continue-btn {
    animation: pulse-green-glow 2s infinite !important;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a3a3a3;
    font-size: 0.8rem;
    justify-content: center;
}

.trust-icon {
    font-size: 0.75rem;
    /* Slightly smaller icon */
    opacity: 0.8;
}

.trust-divider {
    color: #404040;
    font-size: 0.6rem;
}

/* Main Content */
.quiz-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Question Card */
.question-card {
    width: 100%;
    background-color: var(--color-surface);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease-out;
}

/* Wide card specific for audio page to make text more horizontal */
.question-card--wide {
    padding: var(--spacing-sm);
    /* Reduce padding significantly to widen content */
}

.question-card--wide .question-title {
    font-size: 1.05rem;
    /* Smaller font to fit more per line */
    line-height: 1.4;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.question-title {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    /* SemiBold */
    margin-bottom: var(--spacing-sm);
    text-align: center;
    line-height: 1.2;
}

.question-title span {
    color: var(--color-primary);
}

.question-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-weight: 500;
    /* Medium for subtitles */
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

/* Options */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* RESTORED: Green Default Style for Standard Options */
.option-btn {
    background-color: rgba(22, 163, 74, 0.05);
    border: 2px solid var(--color-primary);
    color: var(--color-text);
    padding: var(--spacing-md);
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
    /* Medium for options */
    font-size: 1.03rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    text-transform: none;
    /* Options are usually sentence case or title case */
}

.option-btn:hover {
    background-color: rgba(22, 163, 74, 0.15);
}

.option-btn.selected {
    background-color: rgba(22, 163, 74, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.4);
    border-color: var(--color-primary);
    z-index: 1;
}

.option-btn.primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    justify-content: center;
    text-align: left;
    font-weight: 500;
    /* Standardized to Medium */
    font-size: 1.03rem;
    padding: 1.2rem;
    margin-top: var(--spacing-sm);
    border-bottom: 4px solid var(--color-primary-hover);
    text-transform: none;
    /* Sentence case */
}

.option-btn.primary:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

.option-btn.primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background-color: var(--color-surface);
    border-radius: 3px;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    width: 0%;
    transition: width 0.5s ease;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    font-weight: 400;
    /* Regular for footer */
}

/* Image Grid Layout - ROBUST FIX v9 (Zoom) */
.options-grid.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.option-btn.image-option {
    padding: 0 !important;
    /* Force removal of all padding */
    overflow: hidden;
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    border: none !important;
    border-bottom: 4px solid var(--color-primary-hover) !important;
    background-color: white !important;
    gap: 0 !important;
    border-radius: 0.5rem;
    height: 100%;
    min-height: 260px;
    /* Further increased height for dramatic zoom effect */
}

.option-btn.image-option:hover {
    transform: translateY(2px);
    border-bottom-width: 2px !important;
}

.option-image {
    width: 100%;
    margin-top: 0;
    flex-grow: 1;
    /* Allow image to take all available space */
    height: 100%;
    /* Force it to try to fill */
    object-fit: cover;
    /* ZOOM: Crops to fill the space */
    object-position: top center;
    /* Focus on the chest area */
    display: block;
    background-color: #fff;
    padding: 0 !important;
    margin: 0 !important;
    max-height: none;
    /* Remove limit to allow full zoom */
}

/* Specific override for image inside the button */
.option-btn.image-option .option-image {
    border-bottom: 0;
    /* Remove divider */
}

.option-btn.image-option .option-label {
    padding: 0.6rem;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    width: 100%;
    flex-shrink: 0;
    /* Ensure label doesn't shrink */
    z-index: 2;
    /* Ensure on top */
}

/* Grid Text Option (Age Question) - 3D Style Override */
.option-btn.grid-text-option {
    background-color: var(--color-primary);
    border: none;
    border-bottom: 4px solid var(--color-primary-hover);
    /* 3D effect */
    color: white;
    justify-content: space-between;
    /* Space between text and arrow */
    padding: var(--spacing-md);
    font-weight: 500;
    /* Standardized to Medium */
    font-size: 1.03rem;
    height: 100%;
}

.option-btn.grid-text-option:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(2px);
    /* Press effect */
    border-bottom-width: 2px;
}

/* Specific Age Option Fix (Added v89) */
.option-btn.age-option {
    padding: 1rem !important;
    /* Reduced padding */
    font-size: 0.9rem !important;
    /* Reduced font size */
    white-space: nowrap !important;
    /* Force single line */
}

.arrow-icon {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Checkbox Layout */
.option-btn.checkbox-option {
    justify-content: space-between;
    font-size: 1.03rem;
    padding: 1.25rem;
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.option-btn.selected .checkbox-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.option-btn.selected .checkbox-icon::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

/* Continue Button - ULTRA HEIGHT & DEPTH (v52) */
.continue-btn {
    width: 100%;
    margin-top: 1.5rem;
    /* Explicit Spacing */
    padding: 1.6rem 2rem;
    /* INCREASED HEIGHT (Larger than v50/51) */
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-main);
    font-weight: 800;
    /* Extra Bold */
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1.25rem;
    /* BIGGER FONT */
    letter-spacing: 0.5px;
    transition: transform 0.1s, border-bottom-width 0.1s;

    /* DEPTH ENGINE */
    border-bottom: 5px solid #14532d;
    /* Thick Dark 3D Border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    /* Drop Shadow */
}

.continue-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
    /* Press effect */
    box-shadow: none;
}

.continue-btn:hover {
    background-color: var(--color-primary-hover);
}

.continue-btn:disabled {
    background-color: var(--color-surface);
    color: var(--color-text-muted);
    cursor: not-allowed;
    border-bottom: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image styling */
.question-image {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: var(--spacing-md);
    max-height: 250px;
    object-fit: contain;
}

/* Info Page Image */
.info-image {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.info-caption {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    /* Medium */
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

/* Intro Cards (Custom Content) */
.intro-card {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    border-radius: 0.5rem;
    padding: var(--spacing-md);
    color: white;
    text-align: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.intro-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 600;
    /* SemiBold */
    text-transform: uppercase;
    /* Use uppercase per guidelines only if logic fits, here intro title usually matches logo style */
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.symptom-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.symptom-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    /* SemiBold */
    font-size: 0.95rem;
    text-transform: uppercase;
}

.x-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    /* Regular */
    margin-bottom: var(--spacing-md);
    font-family: var(--font-main);
}

.highlight-yellow {
    color: #fbbf24;
    font-weight: 700;
}

.green-badge {
    background-color: #16a34a;
    color: white;
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    font-weight: 600;
    /* SemiBold */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    border: 2px solid #15803d;
}

.check-icon-badge {
    background: white;
    color: #16a34a;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Intro Text Content (HTML version of image) */
.intro-text-content {
    text-align: left;
    color: #d4d4d4;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: #000;
    padding: var(--spacing-md);
    border-radius: 0.5rem;
    border: 1px solid #333;
}

.intro-text-content p {
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.intro-text-highlight {
    color: var(--color-primary);
    font-weight: 600;
    /* SemiBold to match highlight */
}

/* Scientific Badge - Keeping for potential use or legacy reference */
.scientific-badge {
    margin-top: var(--spacing-lg);
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 2px solid var(--color-primary);
    border-radius: 0.5rem;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
    font-family: var(--font-main);
    font-weight: 600;
    /* SemiBold */
    font-size: 1rem;
    color: white;
    text-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.2), inset 0 0 10px rgba(22, 163, 74, 0.1);
    position: relative;
    overflow: hidden;
}

.scientific-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.atom-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Loading Screen - RESTORED */
.loading-bar-container {
    width: 100%;
    height: 12px;
    background-color: #333;
    border-radius: 6px;
    margin: var(--spacing-md) 0;
    overflow: hidden;
    position: relative;
}

.loading-bar-fill {
    height: 100%;
    background-color: #16a34a;
    width: 0%;
    transition: width 0.1s linear;
    /* Fast transition to match JS updates */
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
}

.loading-percentage {
    text-align: right;
    font-weight: 700;
    color: #a3a3a3;
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* ROTATING TEXT LOADING */
.loading-text-container {
    height: 4rem;
    /* Fixed height to prevent jumps */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.loading-text-item {
    display: none;
    color: #d4d4d4;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeInOut 2.8s ease-in-out infinite;
}

.loading-text-item.active {
    display: block;
}

/* Marquee Animation (v16) */
.marquee-wrapper {
    margin-bottom: 2rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    max-width: 100%;
    /* Gradient Masks for fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    /* Ensure hardware acceleration */
    will-change: transform;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mx-2 {
    margin: 0 1rem;
}

.mx-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* New Pill Style */
.mx-pill {
    background-color: rgba(22, 163, 74, 0.15);
    /* Harmonic Green */
    color: #fff;
    /* All text white */
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    /* Pill shape */
    font-weight: 500;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.mx-dot {
    color: #404040;
    font-size: 0.8rem;
    margin: 0 0.2rem;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* WA Player Audio */
.wa-player-container {
    width: 100%;
    background-color: #f0f2f5;
    /* WhatsApp bg color */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
    font-family: var(--font-main);
    /* Ensure Inter */
}

.wa-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h10v10H10V10zM30 30h10v10H30V30zM50 50h10v10H50V50zM70 70h10v10H70V70zM90 90h10v10H90V90z' fill='%23000000' fill-opacity='1'/%3E%3C/svg%3E");
    /* Placeholder pattern, ideally use a real WA doodle pattern */
    pointer-events: none;
}

.wa-layout {
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.wa-message-bubble {
    background-color: #fff;
    border-radius: 0 8px 8px 8px;
    padding: 8px 12px 8px 12px;
    position: relative;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    margin-left: 8px;
    /* For tail */
}

.wa-bubble-tail {
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 13px;
    overflow: hidden;
}

.wa-doctor-name {
    font-weight: 600;
    /* SemiBold */
    font-size: 0.9rem;
    color: #e52e71;
    /* Or a color fitting the doctor profile, maybe dark gray */
    margin-bottom: 4px;
    color: var(--color-primary);
    /* Use green branding */
}

.wa-player-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Play Btn */
.wa-play-btn {
    background: #e9e9eb;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8e8e93;
    flex-shrink: 0;
    transition: background 0.2s;
}

.wa-play-btn svg {
    margin-left: 2px;
    /* Visual center adjustment */
    fill: #aebac1;
}

.wa-play-btn.playing svg {
    margin-left: 0;
}

/* Waveform */
.wa-waveform-area {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    position: relative;
}

.wa-waveform-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.wa-waveform-bars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* simple distribution */
    width: 100%;
    height: 100%;
    padding: 2px 0;
}

.wa-bar {
    width: 3px;
    background-color: #d1d5db;
    /* Inactive color (gray) */
    border-radius: 2px;
}

/* Mask for Active Color */
.wa-waveform-active-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Animate this */
    overflow: hidden;
    border-right: 1px solid #aebac1;
    /* Playhead line */
    transition: width 0.1s linear;
}

.wa-waveform-active-mask .wa-waveform-bars .wa-bar {
    background-color: #54656f;
    /* Active color (Dark Gray/Blueish) or Brand Green */
    /* Let's use Brand Green for "User" feel or standard WA color */
    background-color: #3b4a54;
}

/* Ensure proper layering so the masked bars align perfectly with background bars */
.wa-waveform-active-mask .wa-waveform-bars {
    width: 100vw;
    /* HACK: Make it separate from container width interaction? No, keep strictly relative */
    width: 100%;
    /* It needs to match parent width exactly. */
    /* The trick: The mask is cutting off the view. The inner container needs to be full width of the PARENT wrapper, not the mask. */
    /* Since width is 0%, inner width 100% is 0. We need to counter this. */
}

/* Avatar & Mic */
.wa-avatar-wrapper {
    position: relative;
    height: 48px;
    width: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    /* whitespace ring */
}

.wa-mic-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    /* Mic icon SVG replacement or standard dot */
    background: transparent;
}

.wa-time {
    position: absolute;
    bottom: -18px;
    left: 4px;
    /* Adjust based on look */
    font-size: 0.7rem;
    color: #8696a0;
    font-weight: 400;
}

/* Final Audio Player Overrides (if any) */
.wa-play-btn.final-player {
    /* Special styling if needed */
}

.wa-play-btn.playing {
    background-color: #fff;
    /* example state change */
}


.transition-microcopy {
    font-size: 0.85rem;
    color: #737373;
    font-weight: 400;
    /* Regular */
    margin-top: var(--spacing-sm);
    text-align: center;
}


/* --- DECISION PAGE STYLES (v12) --- */

.decision-container {
    padding: var(--spacing-sm);
    color: var(--color-text);
}

.decision-section {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.text-center {
    text-align: center;
}

.spacer-lg {
    height: 2.5rem;
}

.spacer-md {
    height: 1.5rem;
}

/* HEADLINE */
.decision-headline {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: #fff;
}

.decision-subheadline {
    color: #a3a3a3;
    font-size: 1rem;
    font-weight: 400;
}

/* RECONTEXT BOX */
.recontext-box {
    background-color: #1a1a1a;
    border-left: 3px solid var(--color-primary);
    padding: 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #d4d4d4;
    line-height: 1.6;
}

.recontext-box p {
    margin-bottom: 0.75rem;
}

.recontext-box p:last-child {
    margin-bottom: 0;
}

.recontext-box strong {
    color: #fff;
}

/* DEFINITION GRID */
.definition-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.def-card {
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #333;
}

.def-card.not {
    background-color: #261010;
    border-color: #450a0a;
}

.def-card.is {
    background-color: #0d2818;
    border-color: #154c2a;
}

.def-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.def-card.not .def-title {
    color: #fca5a5;
}

.def-card.is .def-title {
    color: #86efac;
}

.def-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.def-card li {
    font-size: 0.9rem;
    color: #e5e5e5;
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
}

/* VIDEO PLACEHOLDER */
.video-placeholder-container {
    width: 100%;
}

.video-placeholder {
    width: 100%;
    height: 220px;
    background-color: #000;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    color: #525252;
    font-size: 0.9rem;
}

.caption-text {
    text-align: center;
    font-size: 0.8rem;
    color: #737373;
    margin-top: 0.5rem;
}

/* SOCIAL PROOF */
.section-title {
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card-v2 {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #333;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.testi-img-placeholder {
    width: 40px;
    height: 40px;
    background-color: #404040;
    border-radius: 50%;
}

.testi-info {
    display: flex;
    flex-direction: column;
}

.testi-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.testi-loc {
    font-size: 0.75rem;
    color: #737373;
}

.testi-quote {
    font-style: italic;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* DELIVERABLES STACK */
.value-stack {
    background-color: #171717;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #333;
}

.stack-title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.stack-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stack-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.check-icon {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

.stack-list strong {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.stack-list span {
    font-size: 0.85rem;
    color: #a3a3a3;
}

/* AUDIO PLACEHOLDER */
.audio-placeholder {
    width: 100%;
    height: 60px;
    background-color: #262626;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #737373;
    font-size: 0.85rem;
    border: 1px solid #404040;
}

/* PRICE & GUARANTEE */
.price-box {
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    color: #a3a3a3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.price-features {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

.guarantee-box {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
    border: 1px solid #333;
}

.guarantee-icon {
    font-size: 1.5rem;
}

.guarantee-box p {
    font-size: 0.85rem;
    color: #d4d4d4;
    line-height: 1.4;
    margin: 0;
}

.guarantee-box strong {
    color: #fff;
}

/* FINAL CTA */
.final-cta {
    font-size: 1.2rem;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.secure-text {
    text-align: center;
    font-size: 0.75rem;
    color: #525252;
    margin-top: 0.75rem;
}

/* --- FUNNEL STEP STYLES (v13) --- */

.funnel-step {
    padding: 0.5rem;
    color: var(--color-text);
    animation: fadeIn 0.5s ease-out;
}

.text-center {
    text-align: center;
}

.decision-headline {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 1rem;
}

/* Result Card Logic */
.recontext-box {
    background-color: #1a1a1a;
    border-left: 3px solid var(--color-primary);
    padding: 1.25rem;
    border-radius: 0.5rem;
    text-align: left;
}

/* Video Placeholder */
.video-placeholder-container {
    width: 100%;
}

.video-placeholder {
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #525252;
    border: 1px solid #333;
    aspect-ratio: 16/9;
    /* For responsive video logic */
    border-radius: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.testimonial-card-v2 {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #333;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.testi-img-placeholder {
    width: 32px;
    height: 32px;
    background-color: #404040;
    border-radius: 50%;
}

.testi-info {
    display: flex;
    flex-direction: column;
}

.testi-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.testi-loc {
    font-size: 0.7rem;
    color: #737373;
}

.testi-quote {
    font-style: italic;
    color: #d4d4d4;
    font-size: 0.9rem;
}


/* Value Stack */
.value-stack {
    background-color: #171717;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #333;
    text-align: left;
}

.stack-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stack-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.check-icon {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

.stack-list strong {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.stack-list span {
    font-size: 0.85rem;
    color: #a3a3a3;
}

/* Price Box Clean - Removed Box/Borders as per "Clean/SaaS" look */
.price-box-clean {
    padding: 0;
    background: transparent;
    border: none;
}

/* Ensure Button is Solid and Clean */
.continue-btn {
    background: #16a34a;
    /* Solid Green */
    background-image: none !important;
    /* Remove gradients */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Subtle shadow */
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    letter-spacing: 0.5px;
}

.continue-btn:hover {
    background: #15803d;
    border: 1px solid #333;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #22c55e;
    line-height: 1;
    margin: 0.5rem 0;
}

.price-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #a3a3a3;
}

/* Guarantee Box */
.guarantee-box {
    padding: 1.5rem;
    border-radius: 8px;
}

/* --- PREMIUM VALUE STACK (v38) --- */
.value-stack-premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stack-item-premium {
    display: flex;
    align-items: center;
    background-color: #171717;
    /* Very dark grey, barely visible */
    border: 1px solid #262626;
    /* Subtle border */
    border-radius: 12px;
    padding: 1.25rem 1rem;
    /* Comfortable padding */
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stack-item-premium:hover {
    border-color: #404040;
    transform: translateY(-2px);
}

.stack-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #0a0a0a;
    /* Darker bg for icon */
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 1px solid #262626;
}

.stack-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.stack-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.stack-desc {
    color: #a3a3a3;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
}

.stack-transition-text {
    text-align: center;
    color: #737373;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    /* A bit of style */
    opacity: 0.8;
    margin-top: 1rem;
}

/* --- PREMIUM PLAN LIST (v50 LATAM STANDARD) --- */
.premium-plan-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    /* Standard spacing */
    text-align: left;
}

.plan-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1rem 1rem;
    transition: all 0.2s ease;
}

/* Optional hover effect for desktop feels premium */
.plan-item:hover {
    border-color: #525252;
    background-color: #202020;
}

.plan-icon {
    font-size: 1.35rem;
    /* Emoji size */
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plan-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.plan-desc {
    color: #a3a3a3;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Balanced Spacing for Microcopy (v50) */
.plan-microcopy {
    text-align: center;
    color: #737373;
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* --- FORCED LATAM OVERRIDE (v53) --- */
/* User requested EXACT match. Using !important to guarantee fix. */
.continue-btn {
    width: 100% !important;
    margin-top: 1.5rem !important;
    /* Hardcoded 1.5rem (spacing-md) */
    padding: 1.5rem !important;
    /* Hardcoded 1.5rem (spacing-md) */
    background-color: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    transition: background-color 0.2s !important;
    border-bottom: 4px solid var(--color-primary-hover) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.continue-btn:active {
    transform: translateY(2px) !important;
    border-bottom-width: 2px !important;
}

.continue-btn:hover {
    background-color: var(--color-primary-hover) !important;
}

.continue-btn:disabled {
    background-color: var(--color-surface) !important;
    color: var(--color-text-muted) !important;
    cursor: not-allowed !important;
} 
/* Input Styling (Ported from BR v97) */
.input-group { display: flex; flex-direction: column; align-items: center; width: 100%; margin-bottom: var(--spacing-md); }
.quiz-input { width: 100%; background-color: #0a0a0a; border: 2px solid #333; border-radius: 0.5rem; padding: var(--spacing-md); color: white; font-size: 1.1rem; text-align: center; font-family: var(--font-main); outline: none; transition: all 0.3s ease; }
.quiz-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1); }
.quiz-input::placeholder { color: #525252; font-style: italic; font-size: 0.9rem; }
.input-helper { margin-top: var(--spacing-sm); color: var(--color-text-muted); font-size: 0.85rem; font-weight: 400; }
