:root {
    --primary-color: #6200ea;
    --secondary-color: #d1c4e9;
    --bg-dark: #121212;
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass-bg: #ffffff;
    --glass-border: transparent;
    --shadow: none;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 100px;
}

.background-overlay {
    display: none;
}

.quiz-container {
    width: 100%;
    max-width: 600px;
    background: var(--white);
    padding: 2rem;
    margin: 0 auto;
}

/* Progress Bar - Top */
.progress-wrapper {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 10px;
    z-index: 1000;
    margin: 0;
    background: #ede7f6;
    display: block;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 20px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 10%;
    transition: width 0.5s ease-in-out;
    border-radius: 20px;
    box-shadow: none;
}

.progress-text {
    display: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-body);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
}

.sub-copy {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: var(--white);
    border: 2px solid #f0f0f0;
    padding: 1.5rem 1.8rem;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    font-weight: 500;
    min-height: 80px;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: #fbf5ff;
}

/* Back Button */
.back-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #999;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding: 0;
    font-family: var(--font-body);
    transition: color 0.2s, transform 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.back-btn:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.back-btn.hidden {
    display: none;
}

/* Image Options Layout */
.options-grid.image-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.image-option-card {
    border: 2px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    background: white;
    display: flex;
    flex-direction: column;
}

.image-option-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(98, 0, 234, 0.1);
}

.image-option-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.image-option-label {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA */
.cta-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    display: block;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 350px;
}

.cta-btn:hover {
    background: #4a00b0;
}

/* Loading Step Styles */
.loading-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    width: 100%;
}

.inner-loader-container {
    width: 100%;
    height: 16px;
    background: #ede7f6;
    border-radius: 20px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.inner-loader-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    border-radius: 20px;
    transition: none;
    /* JS controlled */
}

.social-proof-img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}

/* Result Processing Step */
.processing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    width: 100%;
}

.processing-bar-container {
    width: 100%;
    height: 16px;
    background: #ede7f6;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.processing-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    border-radius: 20px;
    transition: none;
    /* JS controlled */
}

.processing-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: 1.1rem;
}

.processing-btn {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
}

.processing-btn:hover {
    background: #4a00b0;
    transform: translateY(-2px);
}

/* Graph Animation */
.animated-graph-container {
    padding: 2rem 1rem;
    position: relative;
    height: 300px;
    width: 100%;
    margin-bottom: 2rem;
    background: white;
}

.graph-axis-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.graph-line-dashed {
    width: 100%;
    border-top: 1px dashed #e0e0e0;
    height: 1px;
}

.graph-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-path {
    fill: none;
    stroke: url(#gradientGraph);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-out;
}

.graph-area {
    fill: url(#gradientArea);
    opacity: 0;
    transition: opacity 2s ease-out 0.5s;
}

.graph-labels-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    color: #999;
    font-size: 0.8rem;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.graph-tooltip {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
    border: 1px solid #f0f0f0;
}

.graph-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip-sem-guia {
    left: 10%;
    top: 70%;
}

.tooltip-com-guia {
    right: 0;
    top: 0;
}

/* Sales Page */
.sales-page {
    text-align: center;
}

.sales-page img {
    max-width: 100%;
    border-radius: 12px;
}

.price-tag {
    background: #fbf5ff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--secondary-color);
    margin: 2rem 0;
}

.price-new {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
}

/* Sales Page Styles */
.sales-subheadline {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.access-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.access-feature-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.access-feature-card:hover {
    transform: translateY(-5px);
}

.access-feature-card img {
    width: 100%;
    height: auto;
    display: block;
}

.main-offer {
    background: #fdf2f4;
    border: 2px solid var(--primary-color) !important;
    padding: 2rem !important;
}

.social-proof-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-proof-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-proof-section img {
    width: 100%;
    border-radius: 12px;
}

/* Detailed Guarantees */
.guarantee-detailed-section {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vital-access-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.vital-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.vital-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 1px;
}

.vital-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
}

.vital-access-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.security-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.security-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.guarantee-seal {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.security-text {
    text-align: left;
}

.security-text h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #000;
}

.security-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Comparison & Final Offer Styles */
.comparison-section {
    margin: 3rem 0 1rem;
    position: relative;
    border-radius: 12px;
    background: #fff;
    padding-bottom: 1rem;
}

.comparison-header {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.before-label {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 900;
}

.after-label {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 900;
}

.comparison-img {
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
}

.comparison-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 10px;
}

.stat-item {
    margin-bottom: 1rem;
    text-align: left;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
}

.stat-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
}

.bar-fill.red {
    background: #ef5350;
}

.segmented {
    display: flex;
    gap: 4px;
    background: transparent;
}

.segment {
    flex: 1;
    height: 8px;
    background: #66bb6a;
    border-radius: 2px;
}

.stat-status {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    font-weight: 600;
}

.green-text {
    color: #43a047;
}

.countdown-bar {
    background: #FFEBEE;
    color: #C62828;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 2rem 0;
}

.final-offer-box {
    border: 1px solid #0288D1;
    border-radius: 16px;
    overflow: hidden;
    margin: 2rem 0;
    text-align: left;
    background: #fff;
}

.offer-header {
    background: #0288D1;
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.offer-body {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.offer-info h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.offer-info h3 span {
    font-weight: 400;
    font-size: 0.95rem;
}

.offer-price-box {
    background: #F5F5F5;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
}

.price-installments {
    font-size: 0.8rem;
    color: #666;
}

.price-value {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 900;
}

.price-value::before {
    content: 'R$ ';
    font-size: 0.9rem;
}

.price-full {
    font-size: 0.75rem;
    color: #888;
}

.final-red-cta {
    background: #D32F2F !important;
    font-size: 1.5rem !important;
    padding: 1.2rem !important;
    box-shadow: 0 6px 0 #8B0000 !important;
    margin-bottom: 2rem !important;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.final-red-cta:active {
    transform: translateY(3px) scale(0.98);
    box-shadow: 0 3px 0 #8B0000 !important;
}

.life-comparison-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
}

.before-card {
    background: #fdfdfd;
    border: 1px solid #eee;
}

.after-card {
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
}

.comparison-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #333;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #444;
}

.comparison-card li span {
    font-size: 1.1rem;
}

.after-card li {
    color: #1B5E20;
}

.specialist-section {
    margin: 4rem auto 2rem;
    max-width: 800px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.specialist-content {
    display: flex;
    align-items: center;
    text-align: left;
    background: #fff;
}

.specialist-img {
    width: 45%;
    max-width: 400px;
    height: auto;
    min-height: 450px;
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;
    display: block;
}

.specialist-text {
    width: 55%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specialist-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #000;
}

.specialist-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .specialist-content {
        flex-direction: column;
        text-align: center;
    }

    .specialist-img {
        width: 100%;
        min-width: 0;
        height: 350px;
    }

    .specialist-text {
        width: 100%;
        padding: 2rem;
    }
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.payment-methods img {
    height: 25px;
    width: auto;
}

@media (max-width: 600px) {
    .offer-body {
        flex-direction: column;
        text-align: center;
    }

    .price-value {
        font-size: 2.2rem;
    }
}