/* ==========================================================================
   QUIZ PAGE SPECIFIC STYLES
   Complete version - includes all styles previously inline in quiz.html
   ========================================================================== */

/* ==========================================================================
   QUIZ NAVIGATION
   ========================================================================== */
.quiz-page .nav {
    padding: 1.5rem 4rem;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exit-quiz {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.exit-quiz:hover {
    color: var(--color-light);
}

/* ==========================================================================
   QUIZ STAGE INDICATOR (Navigation progress dots)
   ========================================================================== */
.quiz-stage-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stage-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.stage-dot.active {
    background: var(--color-purple);
    width: 24px;
    border-radius: 4px;
}

.stage-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   QUIZ CONTAINER
   ========================================================================== */
.quiz-container {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ==========================================================================
   QUIZ BACKGROUND EFFECTS
   ========================================================================== */
.quiz-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #1a1a2e 0%, #080808 50%);
}

.quiz-bg .grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

.quiz-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.quiz-bg .orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    top: -20%;
    left: -10%;
    animation: float 30s ease-in-out infinite;
}

.quiz-bg .orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-gradient);
    bottom: -20%;
    right: -10%;
    animation: float 35s ease-in-out infinite reverse;
}

/* Mesh Gradient Background (animated multi-color effect) */
.mesh-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    opacity: 0.3;
    filter: blur(100px);
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(254, 225, 64, 0.1) 0%, transparent 50%);
    animation: meshMove 30s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* ==========================================================================
   QUIZ CONTENT
   ========================================================================== */
.quiz-wrapper {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.progress-container {
    margin-bottom: 3rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 500;
}

.progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Progress Milestone (achievement messages) */
.progress-milestone {
    font-size: 0.875rem;
    color: var(--color-purple);
    margin-top: 0.75rem;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-milestone.show {
    opacity: 1;
    animation: milestonePopIn 0.5s ease-out;
}

@keyframes milestonePopIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   QUESTION CARD
   ========================================================================== */
.question-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: questionEnter 0.5s ease-out;
}

@keyframes questionEnter {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-card.exiting {
    animation: questionExit 0.3s ease-out forwards;
}

@keyframes questionExit {
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/* Question Type Badge */
.question-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--color-purple);
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.question-type.personal {
    background: rgba(240, 147, 251, 0.1);
    border-color: rgba(240, 147, 251, 0.2);
    color: #f093fb;
}

.question-type.economic {
    background: rgba(254, 225, 64, 0.1);
    border-color: rgba(254, 225, 64, 0.2);
    color: #fee140;
}

.type-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-gradient);
}

.type-indicator.research {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Question Text */
.question-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   HELPER TOOLTIP SYSTEM
   ========================================================================== */
.helper-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.helper-icon:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--color-purple);
    transform: scale(1.1);
}

.helper-icon svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255, 255, 255, 0.7);
}

.helper-icon:hover svg {
    stroke: var(--color-purple);
}

.helper-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.helper-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.helper-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.helper-tooltip-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.helper-tooltip-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.helper-tooltip-close:hover {
    color: var(--color-light);
}

.helper-tooltip-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   QUESTION VISUAL (Icon container for each question)
   ========================================================================== */
.question-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.question-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

.question-visual svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-purple);
    fill: none;
    stroke-width: 1.5;
    position: relative;
    z-index: 1;
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.question-visual.personal svg {
    stroke: #f093fb;
}

.question-visual.economic svg {
    stroke: #fee140;
}

/* ==========================================================================
   SPECTRUM VISUALIZER (Agree/Disagree visual scale)
   ========================================================================== */
.spectrum-visualizer {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spectrum-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: visible;
}

.spectrum-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(74, 222, 128, 0.5) 0%, 
        rgba(251, 191, 36, 0.5) 50%, 
        rgba(248, 113, 113, 0.5) 100%);
    border-radius: 3px;
}

.spectrum-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--color-purple);
    border-radius: 50%;
    display: none;
    animation: markerPulse 2s ease-in-out infinite;
    z-index: 2;
}

.spectrum-marker.active {
    display: block;
}

@keyframes markerPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

.agree-marker {
    left: 10%;
}

.disagree-marker {
    right: 10%;
}

.marker-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--color-purple);
    white-space: nowrap;
    font-weight: 600;
    background: rgba(15, 15, 15, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
}

.spectrum-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.spectrum-label-left,
.spectrum-label-center,
.spectrum-label-right {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.spectrum-label-center {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   ANSWER OPTIONS
   ========================================================================== */
.answer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.answer-option.selected {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--color-purple);
    transform: scale(1.02);
}

.answer-option.selected::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--color-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkIn 0.3s ease;
}

@keyframes checkIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.answer-option.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.answer-label {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.answer-description {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.4;
}

/* Research question specific styles */
.answer-option.research-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
}

.answer-option.research-option .checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.answer-option.research-option.selected .checkbox {
    border-color: var(--color-purple);
    background: rgba(102, 126, 234, 0.2);
}

.answer-option.research-option.selected .checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-purple);
    font-size: 16px;
    font-weight: bold;
}

/* Stack research options vertically */
.answer-grid.research-grid {
    grid-template-columns: 1fr !important;
}

/* ==========================================================================
   QUIZ NAVIGATION BUTTONS
   ========================================================================== */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.nav-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-button.next {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 2rem;
    margin-left: auto;
}

.nav-button.next:hover:not(:disabled) {
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================================================
   INTRO SCREEN
   ========================================================================== */
.intro-screen {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Modern Intro Icon */
.intro-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.icon-svg {
    width: 100%;
    height: 100%;
    animation: iconReveal 1s ease-out forwards;
}

@keyframes iconReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.intro-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Features Grid */
.quiz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.3s; }
.feature:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-purple);
    fill: none;
    stroke-width: 2;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 500;
}

/* Start Button */
.start-button {
    background: var(--primary-gradient);
    color: var(--color-light);
    padding: 1.25rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.start-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.start-button:hover::before {
    width: 300px;
    height: 300px;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ==========================================================================
   SOCIAL PROOF
   ========================================================================== */
.social-proof {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proof-number {
    color: var(--color-light);
    font-weight: 600;
}

/* ==========================================================================
   REVIEW SCREEN
   ========================================================================== */
.review-screen {
    animation: fadeInUp 0.6s ease-out forwards;
}

.review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.review-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
}

.answers-summary {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.review-item.agree {
    border-left: 4px solid #4ade80;
}

.review-item.maybe {
    border-left: 4px solid #fbbf24;
}

.review-item.disagree {
    border-left: 4px solid #f87171;
}

.review-item.unanswered {
    border-left: 4px solid var(--color-gray);
    opacity: 0.6;
}

.review-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.review-question {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.review-answer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-answer .answer-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.review-edit {
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-item:hover .review-edit {
    opacity: 1;
}

.review-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.hidden {
    display: none !important;
}

/* ==========================================================================
   QUESTION TRANSITION ANIMATIONS
   ========================================================================== */
.question-exit {
    animation: slideOutLeft 0.5s ease-out forwards;
}

.question-enter {
    animation: slideInRight 0.5s ease-out forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   TOUCH FEEDBACK
   ========================================================================== */
@media (hover: none) {
    .answer-option:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ==========================================================================
   RESPONSIVE - QUIZ SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
    /* Quiz nav on mobile (fixed at top) */
    .nav {
        padding: 0.75rem 1.25rem;
    }

    /* Ensure content clears the fixed nav and uses height efficiently */
    .quiz-container {
        padding: 6.5rem 1rem 2.5rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    /* Intro hero adjustments */
    .intro-title {
        font-size: clamp(2rem, 6vw, 2.6rem);
        margin-bottom: 0.9rem;
    }

    .intro-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }

    .quiz-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
        margin: 1.75rem 0 1.25rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.5rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    .start-button {
        padding: 0.9rem 2.4rem;
        font-size: 1rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    /* Compact trust indicators so they don’t push CTA off-screen */
    .social-proof {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.75rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem 1.25rem;
    }

    .proof-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        white-space: nowrap;
    }

    .proof-number {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Quiz question pages */
    .progress-container {
        margin-top: 0.75rem;
        margin-bottom: 2rem;
    }

    .question-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    /* Tighten up spacing above/below the question text */
    .question-type {
        margin-bottom: 0.75rem;
    }

    .question-text {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
    }

    /* Remove non-essential visuals to avoid scrolling */
    .question-visual,
    .spectrum-visualizer {
        display: none;
    }

    /* Make answers full-width, easy tap targets, all visible at once */
    .answer-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .answer-option {
        padding: 1rem 1.25rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .answer-option .answer-label {
        font-size: 1.05rem;
    }

    .answer-option.selected::after,
    .answer-option.selected::before {
        top: 50%;
        transform: translateY(-50%);
        right: 1rem;
    }

    /* Buttons: single row on desktop, stacked full-width on mobile */
    .quiz-navigation {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .nav-button.next {
        margin-left: 0;
    }

    .review-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .helper-tooltip {
        width: 90%;
        max-width: 350px;
        padding: 1.25rem;
    }
    
    .helper-icon {
        width: 28px;
        height: 28px;
    }
}