: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 */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    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-heading);
    font-weight: 600;
    /* SemiBold */
    line-height: 1.2;
}

.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;
    text-align: center;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
}

.logo-top,
.logo-bottom {
    display: none;
}

.highlight {
    color: var(--color-primary);
}

/* 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-heading);
    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);
}

/* 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 */
}

@media (hover: hover) {
    .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;
}

@media (hover: hover) {
    .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 */
.options-grid.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.option-btn.image-option {
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    border: none;
    border-bottom: 4px solid var(--color-primary-hover);
    /* Green 3D border for image options */
    background-color: white;
    /* White background for image cards */
    gap: 0;
}

@media (hover: hover) {
    .option-btn.image-option:hover {
        transform: translateY(2px);
        border-bottom-width: 2px;
    }
}

.option-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: #fff;
}

.option-label {
    padding: var(--spacing-sm);
    background-color: var(--color-primary);
    color: white;
    text-align: left;
    font-weight: 500;
    /* Standardized to Medium */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 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%;
}

@media (hover: hover) {
    .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 */
.continue-btn {
    width: 100%;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    /* SemiBold */
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    border-bottom: 4px solid var(--color-primary-hover);
    /* ADICIONAR ISSO */
}

.continue-btn:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}


@media (hover: hover) {
    .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;
}

/* Animations */
@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);
}

/* 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-heading);
    font-size: 1.5rem;
    font-weight: 600;
    /* SemiBold */
    text-transform: uppercase;
    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);
}

.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: 700;
}

.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-heading);
    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 */
.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;
    /* Green as requested */
    width: 0%;
    /* Transition handled by JS for precise control */
    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 Loading Messages */
.loading-text-container {
    height: 40px;
    /* Fixed height to prevent layout shift */
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.loading-text-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    /* Start below */
    opacity: 0;
    transition: all 0.5s ease;
    font-size: 0.9rem;
    color: #d4d4d4;
    font-style: italic;
}

.loading-text-item.active {
    top: 0;
    opacity: 1;
}

/* Header Trust Bar (Marquee Loop) */
/* TRUST BAR - MARQUEE LOOP (v31 - US Ported) */
.trust-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 0.5rem;
    position: relative;
    /* Soft Fade Edges (US Style) */
    -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 */
    }
}

/* Audio Player */
.audio-player-container {
    background-color: #262626;
    border-radius: 0.5rem;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.play-button {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

@media (hover: hover) {
    .play-button:hover {
        background-color: var(--color-primary-hover);
        transform: scale(1.05);
    }
}

.audio-wave {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.audio-wave::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Testimonials in Audio Step */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.testimonial-card {
    background-color: #262626;
    padding: var(--spacing-md);
    border-radius: 0.5rem;
    text-align: left;
}

.stars {
    color: #fbbf24;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author {
    font-weight: 600;
    /* SemiBold */
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

.testimonial-text {
    font-size: 0.9rem;
    color: #d4d4d4;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
}

/* Input Styling */
.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.quiz-input {
    width: 100%;
    background-color: #0a0a0a;
    /* Dark background as requested */
    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;
    /* Regular microtext */
}

/* Final Result Page Styling */
.result-box {
    background-color: #262626;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    position: relative;
    text-align: left;
}

.result-box-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--color-primary);
}

.result-box-content {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-lg);
}

.result-text {
    font-size: 0.95rem;
    color: #d4d4d4;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    font-weight: 400;
}

.result-text strong {
    color: white;
    font-weight: 700;
}

.efficacy-badge {
    background-color: rgba(22, 163, 74, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 0.25rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.efficacy-icon {
    background-color: var(--color-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.efficacy-text {
    color: var(--color-primary);
    font-weight: 600;
    /* SemiBold */
    font-size: 0.9rem;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    text-align: left;
    padding-left: var(--spacing-sm);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #a3a3a3;
    font-size: 0.9rem;
}

.checklist-icon {
    color: #404040;
    /* Darker checkmark as in screenshot */
    font-weight: bold;
    font-size: 1.1rem;
}

.cta-button {
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    /* SemiBold */
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 1.5rem;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Stats Section */
.stats-grid {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
}

.stat-col {
    flex: 1;
}

.stat-item {
    margin-bottom: 0.8rem;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    /* SemiBold */
    margin-bottom: 4px;
    line-height: 1.2;
    color: #d4d4d4 !important;
}

.stat-bar-container {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2px;
}

.stat-bar {
    height: 100%;
    border-radius: 4px;
}

.stat-bar.red {
    background-color: #ef4444;
}

.stat-bar.blue {
    background-color: #3b82f6;
}

.stat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 600;
}

/* Layout Utilities */
.content-block-img {
    margin-bottom: var(--spacing-md);
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: 0.5rem;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.results-text-block {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.results-text-block p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    /* Medium per context */
    color: #d4d4d4 !important;
}

.bottom-cta-container {
    text-align: center;
    margin-bottom: 3rem;
}

.guarantee-section {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.guarantee-seal {
    width: 120px;
    height: auto;
}

/* Final Page Specific Styles (Restored & Updated to Inter) */
.final-page-container {
    background-color: #fff;
    border-radius: 1rem;
    padding: var(--spacing-md);
    color: #333;
    margin-top: 1rem;
}

.final-headline-box {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.final-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Inter ExtraBold */
    font-size: 1.25rem;
    /* Reduced size for fix */
    color: #000;
    line-height: 1.3;
}

.text-red {
    color: #dc2626;
}

.text-red-title {
    color: #000;
    font-weight: 900;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.text-red-bold {
    color: #dc2626;
    font-weight: 800;
}

/* Custom Audio Player Base */
.custom-audio-player {
    background-color: #1f2937;
    border-radius: 1rem;
    padding: 1rem;
    color: white;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #111827;
}

.player-header {
    font-size: 0.8rem;
    color: #16a34a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-icon {
    font-size: 1.5rem;
    color: #fff;
}

.wave-visual {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
}

.wave-bar {
    width: 3px;
    height: 10px;
    background-color: #4b5563;
    border-radius: 2px;
}

.wave-bar.active {
    height: 25px;
    background-color: #22c55e;
}

.doctor-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #374151;
    object-fit: cover;
}

.audio-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 5px;
    text-align: left;
    padding-left: 60px;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: var(--spacing-lg);
}

.comparison-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comp-tab {
    flex: 1;
    padding: 0.6rem;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #FF6961;
    background-color: #fee2e2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.tab-title {
    font-size: 0.9rem;
    font-weight: 800;
}

.tab-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.9;
}

.comp-tab.active-blue {
    color: #1e3a8a;
    background-color: #dbeafe;
}

.comparison-image-wrapper {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

/* =========================================
   DARK THEME OVERRIDES (Protocolo GZ Style)
   ========================================= */

/* Main Container: Black Background, Light Text */
.final-page-container {
    background-color: #0c0c0c !important;
    color: #e5e5e5 !important;
    border: 1px solid #262626;
}

/* Highlights: GREEN instead of Red */
.text-highlight {
    color: #22c55e !important;
    /* Green */
}

.text-highlight-title {
    color: #fff !important;
    font-weight: 800;
    /* Keep bold for titles */
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.text-highlight-bold {
    color: #22c55e !important;
    font-weight: 700;
}

/* Comparison Tabs */
.comp-tab {
    color: #a3a3a3 !important;
    background-color: #262626 !important;
    border: 1px solid #333 !important;
}

.comp-tab.active-blue {
    color: #000 !important;
    background-color: #22c55e !important;
    border-color: #22c55e !important;
}

/* Audio Player Dark Mode */
.custom-audio-player {
    background-color: #171717 !important;
    background-image: radial-gradient(#262626 1px, transparent 1px) !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}

.doctor-avatar img {
    border-color: #22c55e !important;
}

.play-icon {
    color: #22c55e !important;
}

.play-btn-wrapper {
    background-color: rgba(34, 197, 94, 0.2) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.wave-bar.active {
    background-color: #22c55e !important;
}

.player-header {
    color: #22c55e !important;
}

/* Fix for Headline Visibility */
.final-headline {
    color: #ffffff !important;
}

/* =========================================
   WhatsApp Style Audio Player (Dark Mode)
   ========================================= */

.wa-player-container {
    position: relative;
    background-color: #0b141a;
    /* Dark background */
    border-radius: 0.75rem;
    overflow: hidden;
    padding: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 100%;
}

/* Background Pattern Overlay */
.wa-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("https://public.inlead.cloud/images/components/bg-whatsapp.png");
    pointer-events: none;
    z-index: 0;
}

/* Layout */
.wa-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    /* Gap handled by margins/padding */
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Message Bubble */
.wa-message-bubble {
    background-color: #27353e;
    /* Dark bubble color */
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    /* Top-left square */
    padding: 0.5rem 0.75rem;
    flex-grow: 1;
    position: relative;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
    min-width: 0;
    margin-right: 0.5rem;
}

/* Triangle/Tail */
.wa-bubble-tail {
    position: absolute;
    top: 0;
    right: 100%;
    width: 8px;
    height: 13px;
    color: #27353e;
}

.wa-bubble-tail svg {
    display: block;
    fill: currentColor;
}

/* Header */
.wa-doctor-name {
    font-size: 0.75rem;
    color: #22c55e;
    /* text-green-500 */
    font-weight: 500;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

/* Controls Row */
.wa-player-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
}

/* Play Button */
.wa-play-btn {
    background: none;
    border: none;
    color: #bcc1c3;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .wa-play-btn:hover {
        color: #ffffff;
    }
}

/* Waveform Area */
.wa-waveform-area {
    position: relative;
    flex-grow: 1;
    height: 24px;
    /* Height of tallest bar approx */
    display: flex;
    align-items: center;
    /* Height of tallest bar approx */
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Prevent ANY spillover onto avatar */
}

.wa-waveform-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.wa-waveform-bars {
    display: flex;
    align-items: center;
    gap: 1px;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.wa-bar {
    width: 2px;
    background-color: #bcc1c3;
    border-radius: 2px;
    opacity: 0.4;
    flex: 1 1 auto;
    /* Allow shrinking and growing */
    min-width: 1px;
    /* Prevent disappearing completely */
}

/* Active Overlay Mask */
.wa-waveform-active-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Full width always */
    clip-path: inset(0 100% 0 0);
    /* Start hidden */
    /* transition: clip-path 0.1s linear; Removed for JS Loop control */
    pointer-events: none;
    z-index: 2;
    -webkit-transform: translateZ(0);
    /* Force Hardware Acceleration */
    transform: translateZ(0);
}

/* The active bars inside the mask */
.wa-waveform-active-mask .wa-bar {
    background-color: #53bdeb;
    /* Active Blue */
    opacity: 1;
}

/* Time */
.wa-time {
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 0.7rem;
    color: #848488;
    font-family: 'Inter', sans-serif;
}

/* Avatar Wrapper */
.wa-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
}

.wa-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wa-mic-icon {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 1.5rem;
    height: 1.5rem;
    color: #53bdeb;
}

/* Progress Slider Input (Hidden but Functional) */
.wa-progress-input {
    position: absolute;
    top: -50%;
    bottom: -50%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 20;
}

/* --- Unmute Button Overlay (Added v101) --- */
.video-container {
    position: relative !important;
}

.panda-muted-indicator-impact-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    background-color: #ff0000;
    border: 3px solid #ffffff;
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 250px;
    animation: pulse-red 2s infinite;
    text-align: center;
    --muted-indicator-text: #ffffff;
    --muted-indicator-background: transparent;
}

@media (hover: hover) {
    .panda-muted-indicator-impact-wrapper:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.panda-muted-indicator-impact-wrapper .text {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}


.panda-muted-indicator-impact-wrapper .text.top {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.panda-muted-indicator-impact-wrapper .text.bottom {
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 600;
}

.panda-muted-indicator-impact-wrapper svg {
    width: 40px;
    height: 40px;
    display: block;
    fill: white;
    margin: 5px 0;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fadeEffect 1.5s;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* --- PULSING GLOW EFFECT (v109) --- */
.highlight-pulse {
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(22, 163, 74, 0.6);
    animation: greenPulse 0.8s infinite;
}

@keyframes greenPulse {
    0% {
        text-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
        color: #16a34a;
    }

    50% {
        text-shadow: 0 0 25px rgba(22, 163, 74, 0.9), 0 0 5px rgba(255, 255, 255, 0.2);
        color: #22c55e;
        /* Slightly brighter */
    }

    100% {
        text-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
        color: #16a34a;
    }
}

.pulse-white {
    animation: whitePulse 0.8s infinite;
}

@keyframes whitePulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
        opacity: 0.9;
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        opacity: 1;
    }

    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
        opacity: 0.9;
    }
}