/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --info-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    --bg-primary: #f8f9ff;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Domain Colors */
    --domain-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --domain-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --domain-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --domain-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --domain-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.95);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-icon {
    font-size: 80px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instruction-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #667eea;
}

.instruction-card i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.instruction-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.rating-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.guide-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guide-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.guide-divider {
    width: 2px;
    height: 40px;
    background: var(--border-color);
}

.breathe-reminder {
    background: var(--info-gradient);
    padding: 25px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    animation: breathe 3s ease-in-out infinite;
}

.breathe-reminder i {
    font-size: 1.8rem;
    color: white;
}

.breathe-reminder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.start-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.start-btn i {
    transition: transform 0.3s ease;
}

.start-btn:hover i {
    transform: translateX(5px);
}

/* ========================================
   ASSESSMENT SECTION
   ======================================== */
.assessment-section {
    animation: fadeInUp 0.8s ease;
}

/* Progress Bar */
.progress-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-percentage {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.progress-bar {
    height: 12px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.domain-indicator {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Question Container */
.question-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    min-height: 600px;
}

.question-card {
    animation: fadeInScale 0.5s ease;
}

.domain-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.question-number {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.question-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.question-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.scale-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.scale-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Slider Styling */
.slider-container {
    margin: 30px 0;
    position: relative;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    margin: 20px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-lg);
}

.slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: none;
    transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-lg);
}

.slider-value {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 15px;
}

/* Reflection Section */
.reflection-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--border-color);
}

.reflection-prompt-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.reflection-prompt {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reflection-prompt i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 3px;
}

.reflection-prompt p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    flex: 1;
}

.reflection-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.reflection-input {
    width: 100%;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.reflection-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.nav-btn {
    flex: 1;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.prev-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.prev-btn:hover:not(:disabled) {
    background: var(--border-color);
    transform: translateX(-3px);
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-btn, .submit-btn {
    background: var(--primary-gradient);
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   RESULTS SECTION
   ======================================== */
.results-section {
    animation: fadeInUp 0.8s ease;
    padding: 40px 0;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.results-icon {
    font-size: 80px;
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

.results-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.results-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Score Gauge */
.score-gauge-container {
    margin-bottom: 50px;
}

.gauge-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.gauge-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.gauge-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.gauge-score {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-interpretation {
    padding: 20px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 20px;
}

.score-interpretation.awakening {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
}

.score-interpretation.conflict {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    color: #f5576c;
}

.score-interpretation.mature {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    color: #43e97b;
}

/* Domain Scores */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.section-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-scores-container {
    margin-bottom: 50px;
}

.domain-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.domain-score-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.domain-score-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.domain-score-card.domain-1 { border-top-color: #667eea; }
.domain-score-card.domain-2 { border-top-color: #f5576c; }
.domain-score-card.domain-3 { border-top-color: #00f2fe; }
.domain-score-card.domain-4 { border-top-color: #38f9d7; }
.domain-score-card.domain-5 { border-top-color: #fee140; }

.domain-score-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.domain-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
}

.domain-score-title {
    flex: 1;
}

.domain-score-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.domain-score-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.domain-score-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.domain-score-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Radar Chart */
.radar-chart-container {
    margin-bottom: 50px;
}

.chart-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Reflection Summary */
.reflection-summary {
    margin-bottom: 50px;
}

.reflection-cards {
    display: grid;
    gap: 20px;
}

.reflection-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid transparent;
}

.reflection-card.domain-1 { border-left-color: #667eea; }
.reflection-card.domain-2 { border-left-color: #f5576c; }
.reflection-card.domain-3 { border-left-color: #00f2fe; }
.reflection-card.domain-4 { border-left-color: #38f9d7; }
.reflection-card.domain-5 { border-left-color: #fee140; }

.reflection-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reflection-card-icon {
    font-size: 1.5rem;
}

.reflection-card-title {
    flex: 1;
}

.reflection-card-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.reflection-card-title p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.reflection-card-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.reflection-card-prompt {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 10px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.reflection-card-answer {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Interpretation Guide */
.interpretation-guide {
    margin-bottom: 50px;
}

.interpretation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.interpretation-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.interpretation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.interpretation-card.awakening {
    border-color: #667eea;
}

.interpretation-card.conflict {
    border-color: #f5576c;
}

.interpretation-card.mature {
    border-color: #43e97b;
}

.interpretation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.interpretation-card.awakening .interpretation-icon {
    color: #667eea;
}

.interpretation-card.conflict .interpretation-icon {
    color: #f5576c;
}

.interpretation-card.mature .interpretation-icon {
    color: #43e97b;
}

.interpretation-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.score-range {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.interpretation-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Quick Revision */
.quick-revision {
    margin-bottom: 50px;
}

.revision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.revision-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.revision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.revision-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.revision-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.revision-card ul {
    list-style: none;
    padding: 0;
}

.revision-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.revision-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #43e97b;
    font-weight: 700;
}

/* Closing Wisdom */
.closing-wisdom {
    background: var(--primary-gradient);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: var(--shadow-xl);
}

.wisdom-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.wisdom-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    line-height: 1.8;
    font-style: italic;
    margin: 30px 0;
}

/* Action Buttons */
.results-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.action-btn {
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.download-btn {
    background: var(--info-gradient);
    color: white;
}

.print-btn {
    background: var(--secondary-gradient);
    color: white;
}

.restart-btn {
    background: var(--warning-gradient);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Stats Card */
.stats-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
}

.stats-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.stat-item i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-instructions {
        grid-template-columns: 1fr;
    }

    .rating-guide {
        flex-direction: column;
        gap: 20px;
    }

    .guide-divider {
        width: 40px;
        height: 2px;
    }

    .question-container {
        padding: 25px;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    .results-title {
        font-size: 1.8rem;
    }

    .domain-scores-grid,
    .revision-grid,
    .interpretation-cards {
        grid-template-columns: 1fr;
    }

    .wisdom-text {
        font-size: 1.2rem;
    }

    .results-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .theme-toggle,
    .navigation-buttons,
    .results-actions {
        display: none !important;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }
}
