/* ============================================
   CEREBRO - Premium Cognitive Assessment
   Premium Design System - Mensa Level
   ============================================ */

:root {
    /* Color Palette - Premium Dark Theme */
    --deep-space: #0A0A0A;
    --void: #050505;
    --carbon: #1A1A1A;
    --carbon-light: #242424;
    --clinical-white: #FAFAFA;
    --pure-white: #FFFFFF;
    --graphite: #8A8A8A;
    --graphite-light: #A0A0A0;
    --slate: #3A3A3A;
    --slate-light: #4A4A4A;
    
    /* Accent Colors */
    --cerebral-blue: #2E5CFF;
    --cerebral-blue-dark: #1E3FCC;
    --cerebral-blue-light: #5F7FFF;
    --logical-green: #00FF7F;
    --logical-green-dark: #00CC66;
    --critical-red: #FF3366;
    --critical-red-dark: #CC2952;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Menlo', 'Monaco', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s;
    --transition-normal: 0.4s;
    --transition-slow: 0.8s;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--deep-space);
    color: var(--clinical-white);
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    user-select: none;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--void);
}

::-webkit-scrollbar-thumb {
    background: var(--slate);
    border-radius: 3px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cerebral-blue);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--slate) var(--void);
}

::selection {
    background: var(--cerebral-blue);
    color: var(--clinical-white);
}

/* ============================================
   PAGE SYSTEM
   ============================================ */

.page {
    display: none;
    min-height: 100vh;
    position: relative;
}

.page.active {
    display: block;
}

/* ============================================
   LANDING PAGE
   ============================================ */

#landing-page {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: 
        linear-gradient(rgba(250, 250, 250, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 250, 250, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle-small {
    width: 1px;
    height: 1px;
    background: rgba(250, 250, 250, 0.2);
}

.particle-medium {
    width: 2px;
    height: 2px;
    background: rgba(250, 250, 250, 0.3);
    box-shadow: 0 0 4px rgba(250, 250, 250, 0.2);
}

.particle-large {
    width: 3px;
    height: 3px;
    background: rgba(46, 92, 255, 0.15);
    box-shadow: 0 0 8px rgba(46, 92, 255, 0.1);
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.2;
    }
    25% {
        transform: translate3d(10px, -30px, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate3d(-5px, -60px, 0);
        opacity: 0.8;
    }
    75% {
        transform: translate3d(-15px, -90px, 0);
        opacity: 0.5;
    }
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(10, 10, 10, 0.3) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

.landing-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.overline-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--graphite-light);
    border: 1px solid rgba(58, 58, 58, 0.3);
    border-radius: 9999px;
    background: rgba(26, 26, 26, 0.2);
    backdrop-filter: blur(8px);
}

.main-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 200;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to bottom right, var(--clinical-white), var(--graphite));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--graphite-light);
    margin-bottom: 4rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--clinical-white);
    background: var(--cerebral-blue);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--cerebral-blue-dark);
    box-shadow: 0 0 20px rgba(46, 92, 255, 0.3), 0 0 40px rgba(46, 92, 255, 0.15);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-magnetic {
    margin: 2rem 0 5rem;
}

/* ============================================
   GLASS CARDS
   ============================================ */

.glass-card {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(58, 58, 58, 0.3);
    border-radius: 1rem;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(250, 250, 250, 0.05);
    transition: all 0.4s var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(26, 26, 26, 0.4);
    border-color: rgba(74, 74, 74, 0.5);
    box-shadow: 
        0 12px 48px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(250, 250, 250, 0.08);
    transform: translateY(-2px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.stats-grid .glass-card {
    padding: 2rem;
    text-align: center;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--cerebral-blue);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--clinical-white);
    margin-bottom: 0.25rem;
}

.stat-sublabel {
    font-size: 0.75rem;
    color: var(--graphite);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.6s var(--transition-smooth) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--graphite);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.feature-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cerebral-blue);
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 1001;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    animation: scale-in 0.5s var(--transition-smooth);
}

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

.modal-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.instructions-section {
    margin-bottom: 2rem;
}

.instructions-section h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.005em;
}

.instructions-section.warning h3 {
    color: var(--critical-red);
}

.instructions-section ul {
    list-style: none;
    padding: 0;
}

.instructions-section li {
    font-size: clamp(0.875rem, 1.25vw, 1rem);
    color: var(--graphite);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--slate);
}

/* ============================================
   ASSESSMENT PAGE
   ============================================ */

.assessment-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--slate);
    z-index: 100;
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.progress-info {
    flex: 1;
}

.question-counter {
    display: block;
    font-size: 0.875rem;
    color: var(--graphite);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--slate);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cerebral-blue), var(--logical-green));
    transition: width 0.3s ease;
    width: 0%;
}

.timer-container {
    display: flex;
    align-items: center;
}

.timer {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--clinical-white);
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--slate);
    border-radius: 0.5rem;
}

.assessment-main {
    padding-top: 100px;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.question-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.question-type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--slate);
    color: var(--clinical-white);
}

.question-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--clinical-white);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.option-button {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: var(--carbon);
    border: 1px solid var(--slate);
    color: var(--clinical-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-button:hover {
    border-color: var(--cerebral-blue);
    background: rgba(26, 26, 26, 0.5);
    transform: translateX(4px);
}

.option-button.selected {
    background: var(--cerebral-blue);
    border-color: var(--cerebral-blue);
    color: var(--clinical-white);
}

.option-id {
    font-family: var(--font-mono);
    font-weight: 600;
    min-width: 2rem;
}

.question-actions {
    display: flex;
    justify-content: flex-end;
}

/* ============================================
   RESULTS PAGE
   ============================================ */

.results-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 4rem;
}

.results-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
}

.iq-display-container {
    margin-bottom: 2rem;
}

.iq-value {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 200;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cerebral-blue), var(--logical-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iq-label {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.iq-percentile {
    font-size: clamp(0.875rem, 1.25vw, 1rem);
    color: var(--graphite);
    margin-bottom: 1rem;
}

.mensa-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--logical-green);
    color: var(--deep-space);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.results-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.radar-chart-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
    overflow: visible;
}

.radar-chart-container canvas {
    max-width: 100%;
    height: auto;
}

.performance-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.performance-item > div:first-child {
    flex: 1;
    min-width: 0;
}

.performance-category {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.performance-score {
    font-family: var(--font-mono);
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.performance-bar-container {
    width: 100%;
    height: 4px;
    background: var(--slate);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.performance-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cerebral-blue), var(--logical-green));
    transition: width 1s ease;
}

.analysis-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.analysis-item {
    border: 1px solid var(--slate);
    background: var(--carbon);
    border-radius: 0.5rem;
    overflow: hidden;
}

.analysis-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.analysis-header:hover {
    background: rgba(26, 26, 26, 0.5);
}

.analysis-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analysis-status-icon {
    font-size: 1.25rem;
}

.analysis-status-icon.correct {
    color: var(--logical-green);
}

.analysis-status-icon.incorrect {
    color: var(--critical-red);
}

.analysis-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--slate);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.analysis-detail {
    margin-bottom: 1rem;
}

.analysis-detail-label {
    font-size: 0.75rem;
    color: var(--graphite);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.analysis-detail-value {
    font-size: 1rem;
    line-height: 1.6;
}

.results-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.action-buttons-row,
.share-buttons-row,
.download-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.test-id-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--slate);
    border-radius: 0.5rem;
    font-family: var(--font-mono);
}

.test-id-label {
    color: var(--graphite);
    font-size: 0.875rem;
}

.test-id-value {
    color: var(--cerebral-blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clinical-white);
    background: transparent;
    border: 1px solid var(--slate);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--cerebral-blue);
    color: var(--cerebral-blue);
    background: rgba(46, 92, 255, 0.1);
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--slate);
    background: rgba(26, 26, 26, 0.5);
    color: var(--clinical-white);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-size: 1rem;
    font-weight: 600;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-share-x {
    background: rgba(0, 0, 0, 0.5);
}

.btn-share-x:hover {
    background: #000000;
    border-color: #000000;
}

.btn-share-linkedin {
    background: rgba(0, 119, 181, 0.2);
}

.btn-share-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.btn-share-facebook {
    background: rgba(24, 119, 242, 0.2);
}

.btn-share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.btn-share-link {
    background: rgba(46, 92, 255, 0.2);
}

.btn-share-link:hover {
    background: var(--cerebral-blue);
    border-color: var(--cerebral-blue);
}

/* ============================================
   CONFETTI
   ============================================ */

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--cerebral-blue);
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--slate);
    padding: 1rem 2rem;
    z-index: 50;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--graphite);
}

.footer-text {
    display: flex;
    align-items: center;
}

.footer-separator {
    color: var(--slate);
}

.footer-link {
    color: var(--cerebral-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    margin-left: 0.25rem;
}

.footer-link:hover {
    color: var(--cerebral-blue-light);
    text-decoration: underline;
}

.landing-body {
    padding-bottom: 60px;
}

.test-body {
    padding-bottom: 60px;
}

.results-body {
    padding-bottom: 60px;
}

/* ============================================
   ENHANCED PROFESSIONAL DESIGN
   ============================================ */

.landing-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-body,
.results-body {
    background: var(--deep-space);
}

.assessment-main {
    padding-bottom: 80px;
}

.results-container {
    padding-bottom: 80px;
}

/* Enhanced glass card effects */
.glass-card {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(58, 58, 58, 0.4);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(250, 250, 250, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Enhanced button effects */
.btn-primary {
    box-shadow: 
        0 4px 16px rgba(46, 92, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 
        0 8px 24px rgba(46, 92, 255, 0.4),
        0 0 40px rgba(46, 92, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Enhanced IQ display */
.iq-value {
    text-shadow: 
        0 0 40px rgba(46, 92, 255, 0.5),
        0 0 80px rgba(0, 255, 127, 0.3);
    filter: drop-shadow(0 0 20px rgba(46, 92, 255, 0.3));
}

/* Enhanced progress bar */
.progress-bar {
    box-shadow: 
        0 0 10px rgba(46, 92, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced option buttons */
.option-button {
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.option-button:hover {
    box-shadow: 
        0 4px 16px rgba(46, 92, 255, 0.3),
        0 0 0 1px rgba(46, 92, 255, 0.2);
}

.option-button.selected {
    box-shadow: 
        0 4px 20px rgba(46, 92, 255, 0.5),
        0 0 0 2px rgba(46, 92, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced timer */
.timer {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(8px);
}

/* Enhanced assessment header */
.assessment-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(58, 58, 58, 0.5);
}

/* Enhanced results sections */
.results-section {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(58, 58, 58, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(58, 58, 58, 0.3);
    border-radius: 1rem;
}

/* Enhanced mensa badge */
.mensa-badge {
    box-shadow: 
        0 4px 16px rgba(0, 255, 127, 0.3),
        0 0 20px rgba(0, 255, 127, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(0, 255, 127, 0.3),
            0 0 20px rgba(0, 255, 127, 0.2);
    }
    50% {
        box-shadow: 
            0 6px 24px rgba(0, 255, 127, 0.5),
            0 0 30px rgba(0, 255, 127, 0.4);
    }
}

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

@media (max-width: 768px) {
    .landing-content {
        padding: var(--spacing-md);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .question-container {
        padding: 1rem;
    }
    
    .results-container {
        padding: 2rem 1rem;
    }
    
    .footer {
        padding: 0.75rem 1rem;
    }
    
    .footer-content {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .results-section {
        padding: 1.5rem;
    }
    
    .results-header {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

.hidden {
    display: none !important;
}

.fade-in {
    animation: fade-in 0.6s var(--transition-smooth);
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

