/* dna-origins.css - DNA Origins Quiz Styles
   Version 2.1 - Updated for 5-point scale
   Requires: core.css
*/

/* =================================================================
   QUIZ CONTAINER
   ================================================================= */

.quiz-container {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    overflow-x: hidden;
}

/* =================================================================
   QUIZ SCREENS - Base Layout
   ================================================================= */

.quiz-screen {
    min-height: 100vh;
    display: none;
    opacity: 0;
}

.quiz-screen.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease forwards;
}

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

/* =================================================================
   WELCOME SCREEN
   ================================================================= */

.welcome-content {
    text-align: center;
    max-width: 560px;
    padding: var(--space-6);
    animation: fadeIn 0.6s ease;
}

/* Lab badge - matches existing quiz */
.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(6, 255, 165, 0.08);
    border: 1px solid rgba(6, 255, 165, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-green);
}

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

.welcome-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 7vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
    color: var(--white);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: clamp(1rem, 2.5vw, var(--text-lg));
    color: var(--gray-400);
    margin-bottom: var(--space-8);
    line-height: 1.5;
}

.welcome-subtitle em {
    color: var(--accent-green);
    font-style: normal;
    font-weight: 600;
}

/* Hook Preview */
.hook-preview {
    background: rgba(30, 58, 95, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    margin-bottom: var(--space-8);
    transition: all var(--transition-base);
    text-align: left;
}

.hook-preview:hover {
    border-color: rgba(6, 255, 165, 0.3);
    background: rgba(30, 58, 95, 0.35);
}

.hook-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.hook-question {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, var(--text-lg));
    font-weight: 600;
    color: var(--gray-200);
    line-height: 1.4;
}

/* Start Button */
.start-btn {
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--accent-green) 0%, #00d68f 100%);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(6, 255, 165, 0.35);
    min-height: 56px;
}

.start-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 255, 165, 0.45);
}

.start-btn:active {
    transform: translateY(-1px) scale(1);
}

.arrow-icon {
    transition: transform var(--transition-base);
}

.start-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.trust-badge svg {
    color: var(--gray-600);
}

/* Prereq Notice */
.prereq-notice {
    padding: var(--space-4);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    max-width: 400px;
    margin: 0 auto;
}

.prereq-notice.success {
    background: rgba(6, 255, 165, 0.08);
    border-color: rgba(6, 255, 165, 0.2);
}

.prereq-notice.warning {
    background: rgba(255, 214, 10, 0.08);
    border-color: rgba(255, 214, 10, 0.2);
}

.prereq-status {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--gray-300);
}

.prereq-icon {
    font-size: 1.25rem;
}

/* =================================================================
   SECTION INTRO SCREENS
   ================================================================= */

.section-intro {
    background: radial-gradient(ellipse at center, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
}

.section-intro-content {
    text-align: center;
    max-width: 560px;
    padding: var(--space-6);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.section-badge .badge-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.7rem;
}

/* Section-specific colors */
.section-badge.values {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
}
.section-badge.values .badge-num {
    background: var(--accent-purple);
    color: var(--white);
}

.section-badge.worldview {
    background: rgba(6, 255, 165, 0.08);
    border: 1px solid rgba(6, 255, 165, 0.3);
    color: var(--accent-green);
}
.section-badge.worldview .badge-num {
    background: var(--accent-green);
    color: var(--dark);
}

.section-badge.identity {
    background: rgba(255, 214, 10, 0.08);
    border: 1px solid rgba(255, 214, 10, 0.3);
    color: var(--accent-yellow);
}
.section-badge.identity .badge-num {
    background: var(--accent-yellow);
    color: var(--dark);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.section-description {
    font-size: var(--text-base);
    color: var(--gray-400);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.section-description strong {
    color: var(--white);
    font-weight: 600;
}

.section-instructions {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-8);
    text-align: left;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--gray-300);
}

.instruction-item:last-child {
    margin-bottom: 0;
}

.instruction-icon {
    font-size: 1rem;
    line-height: 1.5;
}

.instruction-item em {
    color: var(--white);
    font-style: normal;
}

.continue-btn {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--accent-green) 0%, #00d68f 100%);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(6, 255, 165, 0.25);
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 255, 165, 0.35);
}

/* =================================================================
   PROGRESS BAR
   ================================================================= */

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-4) var(--space-6);
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.progress-bar {
    height: 4px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-purple));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.section-tabs {
    display: flex;
    gap: var(--space-4);
}

.section-tab {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    transition: color var(--transition-base);
}

.section-tab.active {
    color: var(--accent-green);
}

.section-tab.complete {
    color: var(--gray-400);
}

/* =================================================================
   QUESTION SCREEN
   ================================================================= */

#question-screen {
    padding-top: 80px;
}

.question-content {
    max-width: 700px;
    width: 100%;
    padding: var(--space-6);
    margin: 0 auto;
}

.question-context {
    text-align: center;
    margin-bottom: var(--space-4);
}

.dimension-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.question-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, var(--text-xl));
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: var(--space-8);
    line-height: 1.4;
}

/* =================================================================
   TRADE-OFF SLIDER (Values Questions) - CONTINUOUS 0-100
   ================================================================= */

.tradeoff-container {
    margin-bottom: var(--space-8);
}

.tradeoff-labels {
    display: flex;
    justify-content: space-between;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.tradeoff-label {
    flex: 1;
    max-width: 280px;
}

.tradeoff-label.left {
    text-align: left;
}

.tradeoff-label.right {
    text-align: right;
}

.tradeoff-label .value-name {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-2);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.tradeoff-label.left .value-name {
    color: var(--accent-purple);
}

.tradeoff-label.right .value-name {
    color: var(--accent-green);
}

.tradeoff-label.left.active .value-name {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.tradeoff-label.right.active .value-name {
    text-shadow: 0 0 20px rgba(6, 255, 165, 0.5);
}

.tradeoff-label .value-desc {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.5;
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    height: 60px;
    margin-bottom: var(--space-4);
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    transform: translateY(-50%);
    overflow: visible;
}

.slider-fill-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), rgba(139, 92, 246, 0.3));
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    transition: width 0.05s ease-out;
}

.slider-fill-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(270deg, var(--accent-green), rgba(6, 255, 165, 0.3));
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    transition: width 0.05s ease-out;
}

/* Center mark indicator */
.slider-center-mark {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background: var(--gray-500);
    border-radius: 1px;
    z-index: 1;
}

/* Continuous slider styling */
.tradeoff-slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 40px;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}

.tradeoff-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 3px solid var(--gray-400);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.tradeoff-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tradeoff-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}

.tradeoff-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 3px solid var(--gray-400);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.tradeoff-slider::-moz-range-track {
    background: transparent;
    border: none;
}

/* Slider thumb color based on position - applied via JS */
.tradeoff-slider.lean-left::-webkit-slider-thumb {
    border-color: var(--accent-purple);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(139, 92, 246, 0.4);
}

.tradeoff-slider.lean-right::-webkit-slider-thumb {
    border-color: var(--accent-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(6, 255, 165, 0.4);
}

.tradeoff-slider.lean-left::-moz-range-thumb {
    border-color: var(--accent-purple);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(139, 92, 246, 0.4);
}

.tradeoff-slider.lean-right::-moz-range-thumb {
    border-color: var(--accent-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(6, 255, 165, 0.4);
}

/* Slider Scores */
.slider-scores {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.slider-scores .score {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    transition: text-shadow 0.15s ease;
}

.slider-scores .score.left {
    color: var(--accent-purple);
}

.slider-scores .score.right {
    color: var(--accent-green);
}

.slider-scores .score.left.dominant {
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.slider-scores .score.right.dominant {
    text-shadow: 0 0 15px rgba(6, 255, 165, 0.5);
}

.slider-scores .score-divider {
    color: var(--gray-600);
    font-weight: 300;
}

/* Question Hint */
.question-hint {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: italic;
    margin-top: var(--space-4);
}

/* =================================================================
   LIKERT SCALE (Worldview Questions)
   ================================================================= */

.likert-container {
    margin-bottom: var(--space-8);
}

.likert-container.hidden { display: none; }

.likert-statement {
    font-size: var(--text-lg);
    color: var(--gray-300);
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.likert-scale {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.likert-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.likert-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.likert-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    position: relative;
}

.likert-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease, background 0.2s ease;
}

/* Default border colors by type */
.likert-btn.strongly-disagree { border-color: rgba(230, 57, 70, 0.4); }
.likert-btn.disagree { border-color: rgba(230, 57, 70, 0.25); }
.likert-btn.neutral { border-color: rgba(255, 255, 255, 0.2); }
.likert-btn.agree { border-color: rgba(6, 255, 165, 0.25); }
.likert-btn.strongly-agree { border-color: rgba(6, 255, 165, 0.4); }

/* HOVER states - each type gets its own color */
.likert-option:hover .likert-btn.strongly-disagree {
    border-color: var(--accent-red);
    background: rgba(230, 57, 70, 0.15);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}

.likert-option:hover .likert-btn.disagree {
    border-color: rgba(230, 57, 70, 0.7);
    background: rgba(230, 57, 70, 0.1);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.2);
}

.likert-option:hover .likert-btn.neutral {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.likert-option:hover .likert-btn.agree {
    border-color: rgba(6, 255, 165, 0.7);
    background: rgba(6, 255, 165, 0.1);
    box-shadow: 0 0 12px rgba(6, 255, 165, 0.2);
}

.likert-option:hover .likert-btn.strongly-agree {
    border-color: var(--accent-green);
    background: rgba(6, 255, 165, 0.15);
    box-shadow: 0 0 15px rgba(6, 255, 165, 0.3);
}

/* SELECTED states - each type gets its own color */
.likert-option input:checked + .likert-btn.strongly-disagree {
    border-color: var(--accent-red);
    background: rgba(230, 57, 70, 0.2);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}
.likert-option input:checked + .likert-btn.strongly-disagree::after {
    background: var(--accent-red);
    transform: translate(-50%, -50%) scale(1);
}

.likert-option input:checked + .likert-btn.disagree {
    border-color: rgba(230, 57, 70, 0.8);
    background: rgba(230, 57, 70, 0.15);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}
.likert-option input:checked + .likert-btn.disagree::after {
    background: rgba(230, 57, 70, 0.9);
    transform: translate(-50%, -50%) scale(1);
}

/* NEUTRAL - white/gray, NOT green */
.likert-option input:checked + .likert-btn.neutral {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.likert-option input:checked + .likert-btn.neutral::after {
    background: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1);
}

.likert-option input:checked + .likert-btn.agree {
    border-color: rgba(6, 255, 165, 0.8);
    background: rgba(6, 255, 165, 0.15);
    box-shadow: 0 0 15px rgba(6, 255, 165, 0.3);
}
.likert-option input:checked + .likert-btn.agree::after {
    background: rgba(6, 255, 165, 0.9);
    transform: translate(-50%, -50%) scale(1);
}

.likert-option input:checked + .likert-btn.strongly-agree {
    border-color: var(--accent-green);
    background: rgba(6, 255, 165, 0.2);
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.4);
}
.likert-option input:checked + .likert-btn.strongly-agree::after {
    background: var(--accent-green);
    transform: translate(-50%, -50%) scale(1);
}

.likert-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--gray-500);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* =================================================================
   MULTIPLE CHOICE (Identity Questions)
   ================================================================= */

.choice-container {
    margin-bottom: var(--space-8);
}

.choice-container.hidden { display: none; }

.choice-instruction {
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-6);
}

.choice-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.choice-option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.choice-option:hover {
    background: rgba(255, 214, 10, 0.05);
    border-color: rgba(255, 214, 10, 0.3);
    transform: translateX(4px);
}

.choice-option.selected {
    background: rgba(255, 214, 10, 0.1);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 25px rgba(255, 214, 10, 0.15);
}

.choice-radio {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    margin-top: 2px;
    position: relative;
    transition: all var(--transition-base);
}

.choice-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--transition-base);
}

.choice-option.selected .choice-radio {
    border-color: var(--accent-yellow);
}

.choice-option.selected .choice-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.choice-content {
    flex: 1;
}

.choice-label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.choice-desc {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.5;
}

/* =================================================================
   QUIZ CONTROLS
   ================================================================= */

.quiz-controls {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
}

.control-btn {
    padding: var(--space-3) var(--space-5);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    min-height: 48px;
}

.control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.control-btn.next-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00d68f 100%);
    border: none;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(6, 255, 165, 0.25);
}

.control-btn.next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 255, 165, 0.35);
}

/* =================================================================
   CALCULATING SCREEN
   ================================================================= */

.calculating-content {
    text-align: center;
    padding: var(--space-6);
}

.dna-animation {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
}

.helix {
    width: 100%;
    height: 100%;
    position: relative;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.strand {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
}

.strand-1 {
    border-top-color: var(--accent-green);
    border-bottom-color: var(--accent-green);
    animation: pulse-strand 1.5s ease-in-out infinite;
}

.strand-2 {
    border-left-color: var(--accent-red);
    border-right-color: var(--accent-red);
    animation: pulse-strand 1.5s ease-in-out infinite 0.75s;
}

@keyframes pulse-strand {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.calculating-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-3);
}

.calculating-status {
    font-size: var(--text-base);
    color: var(--gray-400);
    margin-bottom: var(--space-8);
}

.calc-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
}

.calc-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--gray-600);
    transition: color var(--transition-base);
}

.calc-step.active {
    color: var(--gray-300);
}

.calc-step.complete {
    color: var(--accent-green);
}

.calc-step.complete .step-icon {
    color: var(--accent-green);
}

.step-icon {
    font-size: 1rem;
}

/* =================================================================
   UTILITIES
   ================================================================= */

.hidden {
    display: none !important;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 768px) {
    .tradeoff-labels {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .tradeoff-label {
        text-align: center !important;
        max-width: none;
    }
    
    .section-tabs {
        display: none;
    }
    
    .likert-btn {
        width: 44px;
        height: 44px;
    }
    
    .quiz-controls {
        flex-direction: column;
    }
    
    .control-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .slider-labels.five-point .slider-label {
        font-size: 0.55rem;
    }
    
    .slider-labels.five-point .slider-label br {
        display: none;
    }
    
    .likert-scale {
        gap: var(--space-2);
    }
    
    .likert-btn {
        width: 38px;
        height: 38px;
    }
    
    .likert-label {
        font-size: 0.55rem;
    }
    
    .tradeoff-slider.discrete-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .slider-ticks .tick {
        width: 10px;
        height: 10px;
    }
}