/* === Coverage Recommendation Quiz === */

.quiz-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.quiz-hero {
    text-align: center;
    padding: 80px 24px 40px;
    background: linear-gradient(180deg, var(--warm) 0%, #fff 100%);
}

.quiz-hero h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: var(--ink);
    margin-bottom: 12px;
}

.quiz-sub {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 8px;
}

.quiz-time {
    font-size: 0.9rem;
    color: var(--mist);
    font-weight: 500;
}

/* Quiz card */
.quiz-section {
    padding: 0 24px 80px;
}

.quiz-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--cloud);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Progress */
.quiz-progress {
    height: 6px;
    background: var(--cloud);
    border-radius: 3px;
    margin-bottom: 12px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.quiz-step-label {
    font-size: 0.85rem;
    color: var(--mist);
    font-weight: 500;
    margin-bottom: 28px;
    text-align: center;
}

/* Questions */
.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: quizFadeIn 0.3s ease;
}

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question h2 {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.quiz-hint {
    font-size: 0.9rem;
    color: var(--mist);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Option buttons */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--warm);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink);
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.quiz-option:hover {
    border-color: var(--green);
    background: rgba(4, 120, 87, 0.04);
}

.quiz-option.selected {
    border-color: var(--green);
    background: rgba(4, 120, 87, 0.08);
}

.quiz-option-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

/* Result */
.quiz-result {
    display: none;
    text-align: center;
}

.quiz-result.active {
    display: block;
    animation: quizFadeIn 0.4s ease;
}

.result-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-glow);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}

.quiz-result h2 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: var(--ink);
    margin-bottom: 12px;
}

.result-why {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 28px;
}

.result-details {
    text-align: left;
    margin-bottom: 36px;
}

.result-details ul {
    list-style: none;
    padding: 0;
}

.result-details li {
    padding: 12px 0;
    border-bottom: 1px solid var(--cloud);
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
}

.result-details li:last-child {
    border-bottom: none;
}

.result-details strong {
    color: var(--ink);
}

/* Result CTA */
.result-cta {
    padding: 32px 24px;
    background: var(--warm);
    border-radius: 12px;
    margin-top: 8px;
}

.result-cta h3 {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.result-cta > p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.result-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--green);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.result-btn:hover {
    background: var(--green-deep);
}

.result-alt {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--mist);
}

.result-alt a {
    color: var(--green);
    font-weight: 500;
    text-decoration: none;
}

.result-alt a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .quiz-hero {
        padding: 60px 16px 32px;
    }
    .quiz-hero h1 {
        font-size: 1.7rem;
    }
    .quiz-card {
        padding: 24px 16px;
    }
    .quiz-question h2 {
        font-size: 1.2rem;
    }
    .quiz-option {
        padding: 14px 16px;
    }
    .quiz-result h2 {
        font-size: 1.5rem;
    }
    .result-cta {
        padding: 24px 16px;
    }
}
