/* ========================================
   QUIZ PAGE — CSS
   Brand: Navy (#1B2A4A), Teal (#2E8B8B), Gold (#C9A96E), Light (#F0F4F8)
   ======================================== */

:root {
    --quiz-navy: #1B2A4A;
    --quiz-navy-light: #243456;
    --quiz-navy-dark: #111D33;
    --quiz-teal: #2E8B8B;
    --quiz-teal-light: #3AA9A9;
    --quiz-gold: #C9A96E;
    --quiz-gold-light: #D4B97E;
    --quiz-bg: #F0F4F8;
    --quiz-card-bg: #FFFFFF;
    --quiz-text: #1B2A4A;
    --quiz-text-muted: #5A6B82;
    --quiz-border: #D4DBE6;
    --quiz-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
    --quiz-radius: 16px;
}

/* ========================================
   FORCE DARK NAVBAR ON QUIZ PAGE
   (Quiz has light bg, so navbar must always be opaque)
   ======================================== */
body .navbar#header {
    background: var(--quiz-navy) !important;
    backdrop-filter: blur(10px);
}

/* ========================================
   HERO BANNER
   ======================================== */
.quiz-hero-banner {
    background: linear-gradient(135deg, var(--quiz-navy) 0%, var(--quiz-navy-dark) 50%, #0D1B2A 100%);
    padding: 160px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quiz-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(46, 139, 139, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-hero-banner h1 {
    font-size: 52px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--quiz-gold) 0%, #E8D5A8 50%, var(--quiz-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.quiz-hero-banner .quiz-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.quiz-hero-banner .quiz-hero-byline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.quiz-btn-start {
    background: linear-gradient(135deg, var(--quiz-teal) 0%, var(--quiz-teal-light) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.quiz-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 139, 139, 0.4);
    color: #fff;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.quiz-how-it-works {
    background: var(--quiz-bg);
    padding: 60px 20px;
}

.quiz-how-it-works h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--quiz-navy);
    text-align: center;
    margin-bottom: 40px;
}

.quiz-hiw-card {
    background: var(--quiz-card-bg);
    border-radius: var(--quiz-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--quiz-shadow);
    height: 100%;
}

.quiz-hiw-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.quiz-hiw-icon.icon-teal {
    background: rgba(46, 139, 139, 0.12);
    color: var(--quiz-teal);
}

.quiz-hiw-icon.icon-gold {
    background: rgba(201, 169, 110, 0.15);
    color: var(--quiz-gold);
}

.quiz-hiw-icon.icon-navy {
    background: rgba(27, 42, 74, 0.1);
    color: var(--quiz-navy);
}

.quiz-hiw-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin-bottom: 8px;
}

.quiz-hiw-card p {
    font-size: 14px;
    color: var(--quiz-text-muted);
    margin: 0;
    line-height: 1.5;
}

.quiz-hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--quiz-teal);
}

/* ========================================
   QUIZ CONTAINER
   ======================================== */
.quiz-container {
    background: var(--quiz-bg);
    padding: 100px 20px 80px;
    display: none;
}

.quiz-container.active {
    display: block;
}

.quiz-inner {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 70px;
}

/* ========================================
   PROGRESS BAR (Sticky)
   ======================================== */
.quiz-progress-wrapper {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid var(--quiz-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quiz-progress-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quiz-progress-bar {
    height: 12px;
    background: #D4DBE6;
    border-radius: 6px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--quiz-teal), var(--quiz-gold));
    transition: width 0.4s ease;
    box-shadow: 0 0 8px rgba(46, 139, 139, 0.4);
}

.quiz-progress-text {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--quiz-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.quiz-section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--quiz-teal);
}

.quiz-section-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--quiz-teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.quiz-section-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin: 0;
}

/* ========================================
   QUESTION CARDS
   ======================================== */
.quiz-question {
    background: var(--quiz-card-bg);
    border-radius: var(--quiz-radius);
    box-shadow: var(--quiz-shadow);
    padding: 24px 28px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.quiz-question.answered {
    border-left-color: var(--quiz-teal);
}

.quiz-question.unanswered-highlight {
    border-left-color: #D32F2F;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.15);
}

.quiz-question-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.quiz-question-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--quiz-bg);
    color: var(--quiz-navy);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-question.answered .quiz-question-number {
    background: var(--quiz-teal);
    color: #fff;
}

.quiz-question-content {
    flex: 1;
}

.quiz-question-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--quiz-navy);
    margin-bottom: 6px;
    display: block;
}

.quiz-question-why {
    font-size: 13px;
    color: var(--quiz-text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.quiz-question-why i {
    color: var(--quiz-teal);
    margin-right: 4px;
}

.quiz-select {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid var(--quiz-border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--quiz-navy);
    background: #fff;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.quiz-select:focus {
    border-color: var(--quiz-teal);
    box-shadow: 0 0 0 3px rgba(46, 139, 139, 0.15);
    outline: none;
}

.quiz-question.answered .quiz-select {
    border-color: var(--quiz-teal);
}

/* ========================================
   NAVIGATION BUTTONS
   ======================================== */
.quiz-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 16px;
}

.quiz-btn-next,
.quiz-btn-submit {
    background: var(--quiz-navy);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: auto;
}

.quiz-btn-next:hover,
.quiz-btn-submit:hover {
    background: var(--quiz-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27, 42, 74, 0.25);
    color: #fff;
}

.quiz-btn-submit {
    background: linear-gradient(135deg, var(--quiz-teal) 0%, var(--quiz-teal-light) 100%);
}

.quiz-btn-submit:hover {
    background: linear-gradient(135deg, var(--quiz-teal-light) 0%, var(--quiz-teal) 100%);
}

.quiz-btn-prev {
    background: transparent;
    color: var(--quiz-navy);
    border: 2px solid var(--quiz-navy);
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quiz-btn-prev:hover {
    background: var(--quiz-navy);
    color: #fff;
}

.quiz-validation-msg {
    text-align: center;
    color: #D32F2F;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    display: none;
}

/* ========================================
   RESULTS SECTION
   ======================================== */
.quiz-results {
    background: var(--quiz-bg);
    padding: 110px 20px 80px;
    display: none;
}

.quiz-results-inner {
    max-width: 860px;
    margin: 0 auto;
}

.quiz-results-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--quiz-navy);
    text-align: center;
    margin-bottom: 8px;
}

.quiz-results-subtitle {
    font-size: 16px;
    color: var(--quiz-text-muted);
    text-align: center;
    margin-bottom: 48px;
}

/* ========================================
   SCORE GAUGE (Semicircle)
   ======================================== */
.quiz-gauge-section {
    text-align: center;
    margin-bottom: 56px;
}

.quiz-gauge-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin-bottom: 32px;
}

.quiz-gauge-container {
    width: 280px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.quiz-gauge-bg {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: conic-gradient(
        #388E3C 0deg,
        #66BB6A 45deg,
        #F9A825 90deg,
        #E65100 135deg,
        #D32F2F 180deg,
        #E0E6ED 180deg,
        #E0E6ED 360deg
    );
    position: absolute;
    top: 0;
    left: 0;
}

.quiz-gauge-mask {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 232px;
    height: 232px;
    border-radius: 50%;
    background: var(--quiz-bg);
}

.quiz-gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 120px;
    margin-left: -2px;
    background: var(--quiz-navy);
    transform-origin: bottom center;
    transform: rotate(-90deg);
    transition: transform 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px 2px 0 0;
    z-index: 3;
}

.quiz-gauge-needle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--quiz-navy);
}

.quiz-gauge-score-display {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
}

.quiz-gauge-score-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--quiz-navy);
    line-height: 1;
}

.quiz-gauge-score-max {
    font-size: 16px;
    color: var(--quiz-text-muted);
    font-weight: 500;
}

.quiz-urgency-label {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
}

.urgency-urgent {
    background: #FFEBEE;
    color: #D32F2F;
}

.urgency-important {
    background: #FFF3E0;
    color: #E65100;
}

.urgency-moderate {
    background: #FFF8E1;
    color: #F57F17;
}

.urgency-low {
    background: #E8F5E9;
    color: #388E3C;
}

.quiz-urgency-text {
    font-size: 15px;
    color: var(--quiz-text-muted);
    max-width: 560px;
    margin: 16px auto 0;
    line-height: 1.6;
}

/* ========================================
   RECOMMENDATION CARDS
   ======================================== */
.quiz-rec-section {
    margin-bottom: 48px;
}

.quiz-rec-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin-bottom: 8px;
}

.quiz-rec-section > p {
    font-size: 15px;
    color: var(--quiz-text-muted);
    margin-bottom: 24px;
}

.quiz-rec-card {
    background: var(--quiz-card-bg);
    border-radius: var(--quiz-radius);
    box-shadow: var(--quiz-shadow);
    padding: 24px;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.quiz-rec-card:hover {
    transform: translateY(-2px);
}

.quiz-rec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.quiz-rec-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin: 0;
}

.quiz-rec-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.quiz-rec-desc {
    font-size: 14px;
    color: var(--quiz-text-muted);
    line-height: 1.6;
    margin: 0;
}

.quiz-rec-note {
    font-size: 13px;
    color: var(--quiz-teal);
    font-weight: 600;
    font-style: italic;
    margin-top: 8px;
}

/* Badge colors */
.badge-strongly-recommended { background: #FFEBEE; color: #C62828; }
.badge-recommended { background: #FFF3E0; color: #E65100; }
.badge-worth-exploring { background: #E0F2F1; color: #00695C; }
.badge-review-plan { background: #E3F2FD; color: #1565C0; }
.badge-get-clarity { background: #F3E5F5; color: #6A1B9A; }
.badge-update-needed { background: #FFFDE7; color: #F57F17; }
.badge-get-coverage-first { background: #FFCDD2; color: #C62828; }
.badge-lower-priority { background: #EFEBE9; color: #795548; }
.badge-not-priority { background: #ECEFF1; color: #607D8B; }
.badge-urgent { background: #FFEBEE; color: #B71C1C; border: 1px solid #EF9A9A; }
.badge-optional { background: #F5F5F5; color: #757575; }
.badge-not-needed { background: #F5F5F5; color: #9E9E9E; }
.badge-not-applicable { background: #F5F5F5; color: #9E9E9E; }
.badge-review-periodically { background: #E8F5E9; color: #2E7D32; }

/* ========================================
   RECOMMENDATION LEGEND
   ======================================== */
.quiz-legend {
    background: var(--quiz-card-bg);
    border-radius: var(--quiz-radius);
    box-shadow: var(--quiz-shadow);
    padding: 32px;
    margin-bottom: 32px;
}

.quiz-legend h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--quiz-navy);
    margin-bottom: 20px;
}

.quiz-legend-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.quiz-legend-badge {
    min-width: 200px;
}

.quiz-legend-text {
    font-size: 13px;
    color: var(--quiz-text-muted);
    line-height: 1.5;
}

/* ========================================
   DISCLAIMER
   ======================================== */
.quiz-disclaimer {
    background: rgba(27, 42, 74, 0.04);
    border: 1px solid var(--quiz-border);
    border-radius: var(--quiz-radius);
    padding: 24px;
    margin-bottom: 40px;
}

.quiz-disclaimer p {
    font-size: 13px;
    color: var(--quiz-text-muted);
    line-height: 1.7;
    margin: 0;
}

.quiz-disclaimer strong {
    color: var(--quiz-navy);
}

/* ========================================
   CTA SECTION
   ======================================== */
.quiz-cta-section {
    background: linear-gradient(135deg, var(--quiz-navy) 0%, var(--quiz-navy-dark) 100%);
    border-radius: var(--quiz-radius);
    padding: 56px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quiz-cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 40%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(46, 139, 139, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--quiz-gold);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.quiz-cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.quiz-btn-cta {
    background: linear-gradient(135deg, var(--quiz-gold) 0%, var(--quiz-gold-light) 100%);
    color: var(--quiz-navy);
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.quiz-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
    color: var(--quiz-navy);
}

.quiz-cta-secondary {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.quiz-cta-secondary a {
    color: var(--quiz-gold);
    text-decoration: none;
}

.quiz-cta-secondary a:hover {
    text-decoration: underline;
}

/* ========================================
   RESTART BUTTON
   ======================================== */
.quiz-restart-btn {
    background: transparent;
    color: var(--quiz-teal);
    border: 2px solid var(--quiz-teal);
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quiz-restart-btn:hover {
    background: var(--quiz-teal);
    color: #fff;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes quizShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.quiz-question.unanswered-highlight {
    animation: quizShake 0.5s ease;
}

@keyframes quizFadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-step-animate {
    animation: quizFadeInUp 0.4s ease-out;
}

@keyframes quizScoreCount {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.quiz-results.visible {
    display: block;
    animation: quizFadeInUp 0.6s ease-out;
}

.quiz-rec-card-animate {
    opacity: 0;
    animation: quizFadeInUp 0.4s ease-out forwards;
}

/* ========================================
   LEAD CAPTURE
   ======================================== */

.quiz-lead-capture {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--quiz-navy-dark) 0%, var(--quiz-navy) 50%, var(--quiz-navy-light) 100%);
    padding: 120px 20px 80px;
}

.lead-capture-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(10px);
}

.lead-capture-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--quiz-gold), var(--quiz-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 30px;
    color: var(--quiz-navy);
}

.lead-capture-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.lead-capture-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.lead-capture-field {
    margin-bottom: 16px;
}

.lead-capture-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    box-sizing: border-box;
}

.lead-capture-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lead-capture-input:focus {
    border-color: var(--quiz-gold);
    background: rgba(255, 255, 255, 0.12);
}

.lead-capture-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}

.lead-capture-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--quiz-gold), var(--quiz-gold-light));
    color: var(--quiz-navy);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.lead-capture-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
    color: var(--quiz-navy);
}

.lead-capture-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.lead-capture-privacy {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .quiz-hero-banner h1 {
        font-size: 36px;
    }

    .quiz-hero-banner {
        padding: 140px 16px 60px;
    }
}

@media (max-width: 767px) {
    .quiz-hero-banner h1 {
        font-size: 28px;
    }

    .quiz-hero-banner .quiz-hero-subtitle {
        font-size: 15px;
    }

    .quiz-hero-banner {
        padding: 120px 16px 48px;
    }

    .quiz-hiw-arrow {
        display: none;
    }

    .quiz-question-row {
        flex-direction: column;
        gap: 12px;
    }

    .quiz-question-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
    }

    .quiz-question {
        padding: 20px;
    }

    .quiz-nav-buttons {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .quiz-nav-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .quiz-btn-next,
    .quiz-btn-submit {
        margin-left: 0;
    }

    .quiz-gauge-container {
        width: 220px;
        height: 130px;
    }

    .quiz-gauge-bg {
        width: 220px;
        height: 220px;
    }

    .quiz-gauge-mask {
        top: 20px;
        left: 20px;
        width: 180px;
        height: 180px;
    }

    .quiz-gauge-needle {
        height: 92px;
    }

    .quiz-gauge-score-num {
        font-size: 36px;
    }

    .quiz-results-title {
        font-size: 26px;
    }

    .quiz-rec-header {
        flex-direction: column;
        gap: 8px;
    }

    .quiz-legend-item {
        flex-direction: column;
        gap: 4px;
    }

    .quiz-legend-badge {
        min-width: auto;
    }

    .quiz-cta-section {
        padding: 40px 20px;
    }

    .quiz-cta-section h2 {
        font-size: 22px;
    }

    .quiz-section-header h3 {
        font-size: 22px;
    }

    .quiz-progress-wrapper {
        top: 62px;
    }

    .lead-capture-inner {
        padding: 36px 24px;
    }

    .lead-capture-title {
        font-size: 24px;
    }

    .quiz-lead-capture {
        padding: 100px 16px 60px;
    }
}

@media (max-width: 400px) {
    .quiz-hero-banner h1 {
        font-size: 24px;
    }

    .quiz-gauge-container {
        width: 180px;
        height: 110px;
    }

    .quiz-gauge-bg {
        width: 180px;
        height: 180px;
    }

    .quiz-gauge-mask {
        top: 16px;
        left: 16px;
        width: 148px;
        height: 148px;
    }

    .quiz-gauge-needle {
        height: 75px;
    }

    .quiz-gauge-score-num {
        font-size: 30px;
    }
}
