/* Global Vars for our Premium Theme */
:root {
    --primary: #f06292;
    --primary-dark: #d81b60;
    --secondary: #e91e63;
    --accent-green: #2ecc71;
    --accent-green-dark: #27ae60;
    --bg-pink: #fff0f5;
    --bg-light-green: #e8f8f0;
    --bg-light-yellow: #fff9c4;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --font-family: 'Outfit', sans-serif;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-family);
    background: var(--bg-pink);
    /* Overall pinkish background as per images */
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

/* --- Core Quiz Layout & Components --- */

/* Transition & Container */
.step-content {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Progress */
.progress-container {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Landing Page */
.landing-hero img {
    width: 100%;
    max-width: 350px;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.landing-subheadline {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.text-highlight {
    color: var(--primary);
    font-weight: 800;
}

.warning-box {
    background: #fff3e0;
    color: #e65100;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 20px 0;
    border: 1px solid #ffe0b2;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(240, 98, 146, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
    text-transform: uppercase;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Questions & Option Cards */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.option-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.option-card:hover {
    border-color: var(--primary);
    background: #fff0f6;
    transform: translateY(-2px);
}

.subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Image Selection Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.options-grid.list-layout {
    grid-template-columns: 1fr;
}

.options-grid.list-layout .image-option {
    flex-direction: row;
    padding: 10px;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    text-align: left;
}

.options-grid.list-layout .image-option img {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    border-radius: 8px;
}

.options-grid.list-layout .image-option span {
    margin-top: 0;
    font-size: 1.1rem;
}

.image-option {
    background: white;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-option img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
}

.image-option:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 98, 146, 0.2);
}

.image-option span {
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

/* Measurement Input */
.measure-input-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.measure-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Analysis & Loading */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.comparison-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.comparison-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 120px;
}

.comparison-card img {
    width: 100%;
    border-radius: 8px;
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--primary);
}

.weight-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.weight-card {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.weight-card.green {
    background: #e8f8f0;
    border: 1px solid #2ecc71;
}

.weight-card.green strong {
    color: #27ae60;
}

.weight-card span {
    font-size: 0.9rem;
    color: #888;
}

.weight-card strong {
    font-size: 1.4rem;
    color: #333;
}

.metrics-container {
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.metric-col {
    flex: 1;
    text-align: left;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.metric-value {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.progress-capsule {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.red {
    background: #ff5252;
}

.progress-fill.green {
    background: #2ecc71;
}

.sales-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Header */
.sales-header h1 {
    font-size: 2.2rem;
    color: #d81b60;
    /* Pink/Purple tone */
    margin-bottom: 2rem;
    background: -webkit-linear-gradient(45deg, #FF6EC4, #7873F5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-underline {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 4px;
}

/* Green Box (What you receive) */
.green-box {
    background: var(--bg-light-green);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
    text-align: left;
}

.green-box h2 {
    color: #c944a9;
    /* Pinkish title */
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list li i,
.check-list li span.icon {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin-right: 12px;
    min-width: 24px;
}

/* Yellow Box (Bonuses) */
.yellow-box {
    background: #fffDE7;
    /* Light yellow */
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px dashed #f1c40f;
}

.yellow-box h2 {
    color: #db5ab9;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bonus-item {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: start;
}

.bonus-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.bonus-text strong {
    color: #000;
}

.strike {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

/* Pricing Card */
.price-card-container {
    background: #fff;
    border-radius: var(--radius);
    padding: 0;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 1px solid #ffe0f0;
    overflow: hidden;
}

.price-header {
    background: #fff0f6;
    padding: 1.5rem;
    border-bottom: 1px solid #ffd1e1;
}

.price-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #000;
}

.price-body {
    padding: 2rem;
    background: #e8f8f0;
    /* Light green bg for price area */
}

.price-display {
    text-align: center;
}

.price-tag-line {
    font-weight: 800;
    font-size: 1.4rem;
}

.price-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d946ef;
    line-height: 1;
    margin: 10px 0;
}

.price-sub {
    color: var(--accent-green-dark);
    font-weight: 600;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-cta-green {
    background: var(--accent-green-dark);
    color: #fff;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #1e8449;
    /* 3D effect */
    transition: transform 0.1s;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.btn-cta-green:active {
    transform: translateY(4px);
    box-shadow: none;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.security-badges div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-green {
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline */
.timeline-section {
    margin: 3rem 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 2rem;
}

.timeline-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #ffdcf0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.bar-container {
    height: 120px;
    width: 40px;
    background: #ffecec;
    margin: 0 auto 1rem;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bar-fill {
    width: 100%;
    background: var(--accent-green-dark);
    border-radius: 0 0 20px 20px;
}

.bar-fill.top-rounded {
    border-radius: 20px;
}

.bar-label {
    position: absolute;
    top: 5px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #000;
}

.timeline-desc h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #000;
}

.timeline-desc p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

/* Specialist */
.specialist-section {
    margin: 3rem 0;
}

.specialist-img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}

.specialist-bio {
    text-align: left;
    margin-top: 2rem;
    padding: 2rem;
}

.bio-intro {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.bio-point {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #444;
}

.pin-icon {
    color: #d81b60;
    font-size: 1.2rem;
    min-width: 20px;
}

/* Guarantee */
.guarantee-section {
    padding: 3rem 1rem;
    background: #fff0f5;
    text-align: center;
}

.guarantee-badge {
    max-width: 200px;
    margin: 2rem auto;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.4));
}

/* FAQ */
.faq-section {
    margin: 3rem 0;
    text-align: left;
}

.faq-title {
    text-align: center;
    color: #d946ef;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-q {
    font-weight: 700;
    color: #d946ef;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#quiz-container {
    width: 100%;
    max-width: 600px;
    /* Constrain width for mobile-like feel on desktop */
}

/* Progress bar overwrite for Sales page if needed */
.hidden {
    display: none;
}

/* Responsive Grid fix */
@media (max-width: 600px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bar-container {
        height: 40px;
        width: 100%;
        flex-direction: row;
        border-radius: 8px;
        justify-content: flex-start;
    }

    .bar-fill {
        height: 100% !important;
        /* Force height in horizontal mode */
        width: var(--width);
        /* Use variable for width */
        border-radius: 8px;
    }

    /* We might stick to vertical bars even on mobile to match image? 
       The image shows vertical bars "7 Dias", "14 Dias", "21 Dias". 
       Usually these stacked side by side. 3 cols is fine on mobile if small text.
       Let's stick to 3 cols but smaller font.
    */
    .timeline-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .timeline-title {
        font-size: 0.9rem;
    }

    .timeline-desc h3 {
        font-size: 0.8rem;
    }

    .timeline-desc p {
        font-size: 0.7rem;
    }
}