/* =========================================================
   DIGITAL CORTEX - STYLESHEET
   ========================================================= */

:root {
    /* CLINICAL NEON PALETTE */
    --void: #020c1b;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    
    --atlas-gold: #ffd700;
    --atlas-glow: rgba(255, 215, 0, 0.6);
    
    --why-cyan: #00f2ff;
    --why-glow: rgba(0, 242, 255, 0.6);
    
    --text-main: #e6f1ff;
    --text-mute: #8892b0;
    
    --font-ui: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    /* WHY Section Specific Variables */
    --bg-card: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
}

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

body {
    background-color: var(--void);
    color: var(--text-main);
    font-family: var(--font-ui);
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 50%, #0a192f 0%, #020c1b 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- ANIMATIONS --- */
@keyframes spin-cw {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

/* ========== ATLAS SECTION ANIMATIONS ========== */
/* Topic button press animation */
@keyframes topicPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* Content panel slide-in animation */
@keyframes contentSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Card hover glow effect */
@keyframes cardGlow {
    0% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
}

/* Button press feedback */
@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Fade in for detail content */
@keyframes detailFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- UTILITIES --- */
.view-section { 
    display: none; 
    padding: 20px; 
    animation: fadeIn 0.4s ease-out; 
    flex-grow: 1; 
}
.view-section.active { display: block; }

.badge {
    font-family: var(--font-code);
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 5px 15px;
    border: 1px solid var(--text-mute);
    border-radius: 20px;
    color: var(--text-mute);
    text-transform: uppercase;
}

/* --- LANDING PAGE --- */
#landing-view {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 100px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.9;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #8892b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.portal-grid {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- PORTAL CARDS (THE ORBS) --- */
.portal-card {
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(12px);
    width: 320px;
    height: 400px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 20px;
}

.portal-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: conic-gradient(from 0deg, transparent, var(--color), transparent 30%);
    animation: spin-cw 4s linear infinite;
    z-index: -1;
    opacity: 0.7;
}

.portal-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--void);
    border-radius: 18px;
    z-index: -1;
}

.portal-card:hover { 
    transform: scale(1.05); 
    animation: cardGlow 0.3s ease forwards;
}

.portal-card:active {
    animation: buttonPress 0.2s ease;
}

.orb-icon { 
    font-size: 5rem; 
    margin-bottom: 30px; 
    filter: drop-shadow(0 0 20px var(--glow)); 
    z-index: 2; 
    transition: transform 0.3s, filter 0.3s;
}

.portal-card:hover .orb-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px var(--glow));
}

.card-atlas { --color: var(--atlas-gold); --glow: var(--atlas-glow); }
.card-why { --color: var(--why-cyan); --glow: var(--why-glow); }

.card-label { 
    font-size: 2rem; 
    font-weight: 800; 
    color: var(--text-main); 
    margin-bottom: 10px; 
    z-index: 2; 
    transition: color 0.3s;
}

.portal-card:hover .card-label {
    color: var(--atlas-gold);
}

.card-sub { 
    font-family: var(--font-code); 
    color: var(--text-mute); 
    font-size: 0.8rem; 
    text-align: center; 
    line-height: 1.5; 
    z-index: 2; 
    transition: color 0.3s;
}

.portal-card:hover .card-sub {
    color: var(--text-main);
}

/* --- NAV & LAYOUT --- */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-mute);
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-code);
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn:hover { 
    border-color: var(--text-main); 
    color: var(--text-main); 
    background: rgba(255,255,255,0.05); 
}

.nav-btn:active {
    transform: scale(0.95);
}

/* --- ATLAS WORKSPACE --- */
.workspace {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    height: calc(100vh - 140px);
}

.sidebar {
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-y: auto;
}

.topic-btn {
    display: block;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-mute);
    font-family: var(--font-code);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.topic-btn:hover { 
    color: var(--atlas-gold); 
    padding-left: 25px; 
    background: rgba(255, 215, 0, 0.05); 
}

.topic-btn.active { 
    background: var(--atlas-gold); 
    color: #000; 
    font-weight: bold; 
    animation: topicPress 0.3s ease;
}

.topic-btn:active {
    transform: scale(0.98);
}

.content-area {
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    animation: contentSlide 0.4s ease-out;
}

/* --- CONTENT STYLING --- */
.h-title { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--text-main); 
    margin-bottom: 5px; 
    animation: detailFade 0.5s ease;
}

.h-sub { 
    color: var(--atlas-gold); 
    font-family: var(--font-code); 
    margin-bottom: 30px; 
    display: block; 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 20px; 
    animation: detailFade 0.6s ease;
}

.desc-text { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: var(--text-main); 
    margin-bottom: 30px; 
    animation: detailFade 0.7s ease;
}

.desc-text b { color: var(--atlas-gold); }

.img-container {
    width: 100%;
    min-height: 300px;
    background: #000;
    border: 1px dashed var(--text-mute);
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder-text { 
    color: var(--text-mute); 
    font-family: var(--font-code); 
    text-align: center; 
}

.credits-box {
    font-size: 0.8rem;
    color: var(--text-mute);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 10px;
    font-family: var(--font-code);
    width: 100%;
    text-align: right;
}

.comp-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
    background: rgba(255,255,255,0.02); 
    animation: detailFade 0.8s ease;
}

.comp-table td { 
    padding: 15px; 
    border-bottom: 1px solid var(--border); 
    vertical-align: top; 
}

.species-label { 
    font-family: var(--font-code); 
    color: var(--atlas-gold); 
    font-weight: bold; 
    width: 140px; 
}

/* --- QUIZ OVERLAY (MODERNIZED) --- */
#quiz-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.quiz-modal {
    background: var(--void);
    border: 1px solid var(--border);
    padding: 40px;
    width: 800px;
    max-width: 90%;
    height: 80vh;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

/* Quiz Menu */
.quiz-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 100%;
    align-content: center;
}

.quiz-mode-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-mode-card:hover {
    background: rgba(255,215,0,0.1);
    border-color: var(--atlas-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.quiz-mode-card:active {
    transform: translateY(-2px);
    animation: buttonPress 0.2s ease;
}

/* Quiz Interface */
#quiz-active-view { 
    display: none; 
    height: 100%; 
    flex-direction: column; 
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--why-cyan), var(--atlas-gold));
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-question-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.4;
}

.quiz-option {
    display: block;
    width: 100%;
    padding: 18px 25px;
    margin: 10px 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-mute);
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 1rem;
    position: relative;
}

.quiz-option:hover { 
    border-color: var(--atlas-gold); 
    background: rgba(255, 215, 0, 0.05); 
    color: var(--text-main);
    transform: translateX(5px);
}

.quiz-option:active {
    transform: translateX(3px) scale(0.98);
}

.quiz-option.correct { 
    border-color: #00ff9d; 
    background: rgba(0, 255, 157, 0.1); 
    color: #fff; 
}

.quiz-option.wrong { 
    border-color: #ff6b6b; 
    background: rgba(255, 107, 107, 0.1); 
    color: #fff; 
    opacity: 0.6; 
}

.fill-input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-code);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.fill-input:focus {
    outline: none;
    border-color: var(--atlas-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Feedback Box */
.feedback-panel {
    margin-top: auto;
    background: rgba(17, 34, 64, 0.8);
    border-top: 1px solid var(--atlas-gold);
    padding: 20px;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
    display: none;
}

/* Stats */
.stat-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin: 30px 0; 
}

.stat-box { 
    background: rgba(255,255,255,0.05); 
    padding: 20px; 
    border-radius: 10px; 
    border: 1px solid var(--border); 
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-val { 
    font-size: 2.5rem; 
    font-weight: bold; 
    display: block; 
}

.stat-label { 
    font-family: var(--font-code); 
    color: var(--text-mute); 
    font-size: 0.8rem; 
}

/* --- FOOTER --- */
.footer {
    background: var(--void);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-logo-space {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--text-mute);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    font-size: 0.8rem;
}

.footer-text {
    color: var(--text-mute);
    font-family: var(--font-code);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ================= WHY SECTION STYLES ================= */
#why-view {
    background: radial-gradient(circle at 50% -20%, rgba(0, 242, 255, 0.05), transparent 50%);
}

#why-view header {
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
}

#why-view h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--text-main), var(--why-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#why-view .subtitle {
    font-family: var(--font-code);
    color: var(--atlas-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

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

/* Controls */
#why-view .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
    z-index: 100;
}

#why-view .search-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

#why-view .search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--why-cyan);
    font-size: 0.9rem;
}

#why-view input[type="text"] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: rgba(2, 12, 27, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 0.9rem;
    transition: all 0.3s;
}

#why-view input[type="text"]:focus {
    outline: none;
    border-color: var(--why-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

#why-view .filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#why-view .filter-btn {
    background: transparent;
    border: 1px solid var(--text-mute);
    color: var(--text-mute);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-code);
    font-size: 0.8rem;
    transition: all 0.3s;
}

#why-view .filter-btn:hover, 
#why-view .filter-btn.active {
    border-color: var(--why-cyan);
    color: var(--why-cyan);
    background: rgba(0, 242, 255, 0.1);
}

#why-view .ai-btn {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1) 0%, rgba(0, 242, 255, 0.2) 100%);
    border: 1px solid var(--why-cyan);
    color: var(--why-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-code);
    font-size: 0.8rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

#why-view .ai-btn:hover {
    background: var(--why-cyan);
    color: var(--void);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

#why-view .ai-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

#why-view .ai-btn.loading i {
    animation: spin-cw 1s linear infinite;
}

/* Anatomy Grid */
#why-view .anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-bottom: 60px;
}

/* Glassmorphism Card */
#why-view .card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    animation: fadeIn 0.5s ease-out forwards;
}

#why-view .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: all 0.3s;
}

#why-view .card:hover {
    transform: translateY(-5px);
    border-color: var(--why-cyan);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

#why-view .card:hover::before {
    opacity: 1;
}

#why-view .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

#why-view .card-category {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--why-cyan);
    text-transform: uppercase;
    border: 1px solid var(--why-cyan);
    padding: 2px 8px;
    border-radius: 4px;
}

#why-view .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

#why-view .card-comparison {
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#why-view .card-comparison i {
    color: var(--atlas-gold);
    font-size: 0.7rem;
}

#why-view .card-preview {
    font-size: 0.9rem;
    color: var(--text-mute);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#why-view .card-footer {
    margin-top: 20px;
    text-align: right;
}

#why-view .read-more {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--why-cyan);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Modal (Full Screen Overlay) */
#why-view .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#why-view .modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

#why-view .modal-content {
    background: #112240;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    border: 1px solid var(--why-cyan);
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#why-view .modal-overlay.open .modal-content {
    transform: translateY(0);
}

#why-view .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-mute);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

#why-view .modal-close:hover {
    color: var(--why-cyan);
    transform: rotate(90deg);
}

#why-view .modal-image-col {
    background: #020c1b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

#why-view .modal-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

#why-view .modal-text-col {
    padding: 40px;
}

#why-view .modal-category {
    font-family: var(--font-code);
    color: var(--why-cyan);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

#why-view .modal-title {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

#why-view .modal-comparison-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--atlas-gold);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 600;
}

#why-view .modal-section {
    margin-bottom: 25px;
}

#why-view .modal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding-bottom: 5px;
}

#why-view .modal-section h3 {
    font-family: var(--font-code);
    font-size: 1rem;
    color: var(--why-cyan);
    margin: 0;
    display: inline-block;
}

#why-view .sm-btn {
    background: transparent;
    border: 1px solid var(--atlas-gold);
    color: var(--atlas-gold);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

#why-view .sm-btn:hover {
    background: var(--atlas-gold);
    color: var(--void);
}

#why-view .modal-desc {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
}

#why-view .modal-clinical {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--atlas-gold);
    padding: 15px;
    color: var(--text-mute);
    font-size: 0.95rem;
    font-style: italic;
}

#why-view .ai-response-box {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px dashed var(--why-cyan);
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

#why-view .ai-response-box strong {
    color: var(--why-cyan);
}

/* Quiz Overlay */
#why-view .quiz-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#why-view .quiz-overlay.open {
    opacity: 1;
    visibility: visible;
}

#why-view .quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--why-cyan);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.15);
    position: relative;
}

#why-view .quiz-question {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

#why-view .quiz-options {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

#why-view .quiz-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-size: 1rem;
}

#why-view .quiz-btn:hover {
    border-color: var(--why-cyan);
    background: rgba(0, 242, 255, 0.05);
}

#why-view .quiz-btn.correct {
    background: rgba(0, 242, 255, 0.2) !important;
    border-color: var(--why-cyan) !important;
}

#why-view .quiz-btn.wrong {
    background: rgba(255, 100, 100, 0.2) !important;
    border-color: #ff6464 !important;
    opacity: 0.6;
}

#why-view .quiz-feedback {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--atlas-gold);
    border-radius: 8px;
    display: none;
}

#why-view .site-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-mute);
    font-family: var(--font-code);
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s;
}

#why-view .site-footer:hover {
    opacity: 1;
    color: var(--why-cyan);
}

/* --- MOBILE OPTIMIZATION (Mobile-First) --- */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    .portal-grid { gap: 30px; margin-top: 30px; }
    
    .workspace { 
        grid-template-columns: 1fr; 
        height: auto; 
        display: flex; 
        flex-direction: column; 
    }
    
    .sidebar { 
        height: auto; 
        max-height: 200px; 
        margin-bottom: 20px; 
    }
    
    .content-area { 
        padding: 20px; 
        height: auto; 
        min-height: 500px; 
    }

    .quiz-menu-grid { 
        grid-template-columns: 1fr; 
        overflow-y: auto;
        max-height: 60vh;
        display: block;
    }
    
    .quiz-mode-card { margin-bottom: 15px; }
    
    .quiz-modal {
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 20px;
    }

    .nav-bar { 
        flex-direction: column; 
        gap: 15px; 
    }
    
    .badge { display: none; }
    
    .comp-table { 
        display: block; 
        overflow-x: auto; 
        white-space: nowrap; 
    }
    
    /* WHY Section Mobile */
    #why-view h1 { font-size: 2.2rem; }
    #why-view .controls { 
        flex-direction: column; 
        align-items: stretch; 
    }
    #why-view .search-wrapper { max-width: 100%; }
    #why-view .modal-content { grid-template-columns: 1fr; }
    #why-view .modal-image-col { height: 200px; padding: 10px; }
    #why-view .modal-text-col { padding: 25px; }
    #why-view .modal-title { font-size: 1.8rem; }
    #why-view .modal-img { max-height: 100%; width: auto; }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .portal-card {
        width: 280px;
        height: 350px;
    }
    
    .orb-icon {
        font-size: 4rem;
    }
    
    .card-label {
        font-size: 1.5rem;
    }
    
    .h-title {
        font-size: 2rem;
    }
    
    .topic-btn {
        padding: 15px 18px;
        font-size: 0.85rem;
    }
    
    .quiz-option {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .quiz-question-text {
        font-size: 1.3rem;
    }
    
    #why-view .card {
        min-height: 200px;
        padding: 20px;
    }
    
    #why-view .card-title {
        font-size: 1.1rem;
    }
    
    #why-view .modal-title {
        font-size: 1.5rem;
    }
    
    .stat-val {
        font-size: 2rem;
    }
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal overflow on mobile */
body {
    overflow-x: hidden;
}

/* Improve touch targets on mobile */
@media (max-width: 900px) {
    .topic-btn,
    .quiz-option,
    .quiz-mode-card,
    .filter-btn,
    .nav-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* =========================================================
   PROFESSIONAL THEME OVERRIDES - ENHANCED WITH MEDICAL COLORS
   ========================================================= */

/* Theme Toggle Button */
.theme-toggle-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn:hover {
    transform: scale(1.05);
    border-color: var(--atlas-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}


/* Elite Toggle Button */
.elite-toggle-btn {
    display: none; /* Hidden by default, shown via JS in atlas */
}

.elite-toggle-btn.active {
    background: var(--atlas-gold) !important;
    color: var(--void) !important;
    border-color: var(--atlas-gold) !important;
}

/* Professional Mode - Medical Color Palette with Warmth */
body.professional-mode {
    /* Enhanced Medical Palette */
    --void: #f0f4f8; /* Soft blue-grey background instead of stark white */
    --glass: rgba(255, 255, 255, 0.95);
    --border: rgba(21, 101, 192, 0.15); /* Subtle blue borders */
    
    --atlas-gold: #1565c0; /* Primary Medical Blue */
    --atlas-glow: rgba(21, 101, 192, 0.15);
    
    --why-cyan: #00897b; /* Medical Teal - calming */
    --why-glow: rgba(0, 137, 123, 0.15);
    
    /* New Accent Colors for Visual Interest */
    --medical-coral: #ff7043; /* Warm accent for warnings/important */
    --medical-purple: #7e57c2; /* Secondary accent for differentiation */
    --medical-amber: #ffa726; /* Tertiary accent for highlights */
    --medical-sage: #66bb6a; /* Success/healthy indicators */
    
    --text-main: #263238; /* Dark Blue-Grey */
    --text-mute: #546e7a; /* Medium Grey */
    
    --bg-card: #ffffff;
    --glass-border: rgba(21, 101, 192, 0.2);
    
    /* Gradient Background instead of flat */
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 50%, #f0f4f8 100%) !important;
    color: var(--text-main);
    font-size: 16px;
}

/* Professional Mode - Subtle Depth instead of Neon */
body.professional-mode .portal-card::before {
    display: none; /* Remove spinning border */
}

body.professional-mode .portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--atlas-gold); /* Color-coded left border */
    box-shadow: 0 4px 6px rgba(21, 101, 192, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

body.professional-mode .portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(21, 101, 192, 0.15);
    border-color: var(--atlas-gold);
    border-left-width: 6px; /* Thicker accent on hover */
}

body.professional-mode .card-why {
    border-left-color: var(--why-cyan); /* Teal accent for Why cards */
}

body.professional-mode .card-why:hover {
    border-color: var(--why-cyan);
}

body.professional-mode .orb-icon {
    filter: none !important;
    color: var(--atlas-gold) !important;
    text-shadow: none !important;
    font-size: 4.5rem; /* Slightly smaller for elegance */
    transition: color 0.3s;
}

body.professional-mode .card-why .orb-icon {
    color: var(--why-cyan) !important;
}

body.professional-mode .portal-card:hover .orb-icon {
    color: var(--medical-coral) !important; /* Warm pop on hover */
}

body.professional-mode .card-label {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.5px;
}

body.professional-mode .card-sub {
    color: var(--text-mute);
    font-size: 0.9rem;
}

body.professional-mode .hero-title {
    background: linear-gradient(135deg, #1565c0 0%, #00897b 100%); /* Blue to Teal gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 800;
}

/* Professional Mode - Clean Navigation with Color Accents */
body.professional-mode .nav-bar {
    border-bottom: 2px solid rgba(21, 101, 192, 0.1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

body.professional-mode .nav-btn {
    border: 1px solid transparent;
    color: var(--text-mute);
    font-weight: 600;
    background: rgba(21, 101, 192, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

body.professional-mode .nav-btn:hover {
    background: var(--atlas-gold);
    color: white;
    border-color: var(--atlas-gold);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

/* Professional Mode - Content Areas with Soft Color Coding */
body.professional-mode .workspace {
    background: transparent;
    gap: 25px;
}

body.professional-mode .sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px;
    border-top: 4px solid var(--atlas-gold); /* Accent header */
}

body.professional-mode .topic-btn {
    border-bottom: 1px solid rgba(21, 101, 192, 0.08);
    color: var(--text-mute);
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

body.professional-mode .topic-btn:hover {
    color: var(--atlas-gold);
    background: rgba(21, 101, 192, 0.04);
    border-left-color: var(--atlas-gold);
    padding-left: 25px;
}

body.professional-mode .topic-btn.active {
    background: linear-gradient(90deg, rgba(21, 101, 192, 0.1), transparent);
    color: var(--atlas-gold);
    border-left-color: var(--atlas-gold);
    font-weight: 700;
    border-bottom-color: rgba(21, 101, 192, 0.2);
}

body.professional-mode .content-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-radius: 12px;
    border-top: 4px solid var(--medical-coral); /* Warm accent for content */
}

body.professional-mode .h-title {
    color: var(--text-main);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

body.professional-mode .h-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--atlas-gold), var(--medical-coral));
    border-radius: 2px;
}

body.professional-mode .h-sub {
    color: var(--why-cyan);
    border-bottom: 1px solid rgba(0, 137, 123, 0.2);
    font-weight: 600;
}

body.professional-mode .desc-text {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.1rem;
}

body.professional-mode .desc-text b { 
    color: var(--medical-coral); /* Warm accent for emphasis */
    font-weight: 600;
}

/* Enhanced Table Styling */
body.professional-mode .comp-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

body.professional-mode .comp-table tr:nth-child(even) {
    background: rgba(21, 101, 192, 0.02); /* Subtle zebra striping */
}

body.professional-mode .comp-table td {
    border-bottom: 1px solid rgba(21, 101, 192, 0.1);
    padding: 18px 15px;
}

body.professional-mode .species-label {
    color: var(--atlas-gold);
    font-weight: 700;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-block;
    width: auto;
}

/* Professional Mode - Why Section with Category Colors */
body.professional-mode #why-view {
    background: transparent; /* Use body gradient */
}

body.professional-mode #why-view h1 {
    background: linear-gradient(135deg, var(--atlas-gold), var(--why-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.professional-mode #why-view .subtitle {
    color: var(--medical-coral); /* Warm accent */
    font-weight: 600;
}

body.professional-mode #why-view .controls {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.1);
    border-left: 4px solid var(--medical-purple); /* Differentiating color */
}

body.professional-mode #why-view input[type="text"] {
    background: rgba(21, 101, 192, 0.03);
    border: 2px solid rgba(21, 101, 192, 0.15);
    border-radius: 10px;
}

body.professional-mode #why-view input[type="text"]:focus {
    border-color: var(--atlas-gold);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
}

body.professional-mode #why-view .filter-btn {
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(21, 101, 192, 0.2);
}

body.professional-mode #why-view .filter-btn:hover, 
body.professional-mode #why-view .filter-btn.active {
    background: var(--atlas-gold);
    color: white;
    border-color: var(--atlas-gold);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

body.professional-mode #why-view .ai-btn {
    background: linear-gradient(135deg, var(--medical-purple), #9575cd);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(126, 87, 194, 0.3);
}

body.professional-mode #why-view .ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 87, 194, 0.4);
    background: linear-gradient(135deg, #7e57c2, #b39ddb);
}

/* Cards with Category Color Coding */
body.professional-mode #why-view .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px;
    border-left: 4px solid var(--why-cyan);
    transition: all 0.3s ease;
}

body.professional-mode #why-view .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 137, 123, 0.15);
    border-color: var(--why-cyan);
    border-left-width: 6px;
}

body.professional-mode #why-view .card-category {
    background: rgba(0, 137, 123, 0.1);
    color: var(--why-cyan);
    border: 1px solid rgba(0, 137, 123, 0.3);
    font-weight: 600;
    border-radius: 6px;
}

body.professional-mode #why-view .card-title {
    color: var(--text-main);
    font-weight: 700;
}

body.professional-mode #why-view .card-comparison {
    color: var(--medical-coral); /* Warm color for comparison text */
    font-weight: 500;
}

body.professional-mode #why-view .read-more {
    color: var(--atlas-gold);
    font-weight: 600;
    background: rgba(21, 101, 192, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

body.professional-mode #why-view .read-more:hover {
    background: var(--atlas-gold);
    color: white;
}

/* Modal Enhancements */
body.professional-mode #why-view .modal-content {
    background: var(--bg-card);
    border: 2px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
}

body.professional-mode #why-view .modal-image-col {
    background: linear-gradient(135deg, #f5f7fa, #e3f2fd);
    border-right: 1px solid var(--border);
}

body.professional-mode #why-view .modal-text-col {
    background: white;
}

body.professional-mode #why-view .modal-category {
    color: var(--why-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

body.professional-mode #why-view .modal-title {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 10px;
}

body.professional-mode #why-view .modal-comparison-tag {
    background: rgba(255, 112, 67, 0.1); /* Coral tint */
    color: var(--medical-coral);
    border: 1px solid rgba(255, 112, 67, 0.3);
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 14px;
}

body.professional-mode #why-view .modal-section-header {
    border-bottom: 2px solid rgba(21, 101, 192, 0.1);
}

body.professional-mode #why-view .modal-section h3 {
    color: var(--atlas-gold);
    font-weight: 700;
}

body.professional-mode #why-view .modal-clinical {
    background: rgba(255, 193, 7, 0.08); /* Amber tint for clinical notes */
    border-left: 4px solid var(--medical-amber);
    color: var(--text-mute);
    border-radius: 0 8px 8px 0;
    font-style: normal; /* Remove italic for readability */
}

body.professional-mode #why-view .ai-response-box {
    background: rgba(126, 87, 194, 0.08); /* Purple tint */
    border: 1px dashed var(--medical-purple);
    border-radius: 8px;
}

body.professional-mode #why-view .ai-response-box strong {
    color: var(--medical-purple);
}

/* Quiz Enhancements */
body.professional-mode #quiz-overlay {
    background: rgba(240, 244, 248, 0.98);
}

body.professional-mode .quiz-modal {
    background: var(--bg-card);
    border: 2px solid var(--border);
    box-shadow: 0 20px 40px rgba(21, 101, 192, 0.15);
    border-radius: 20px;
    border-top: 4px solid var(--atlas-gold);
}

body.professional-mode .quiz-mode-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

body.professional-mode .quiz-mode-card:hover {
    border-color: var(--atlas-gold);
    border-bottom-color: var(--medical-coral);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(21, 101, 192, 0.15);
}

body.professional-mode .quiz-option {
    background: rgba(21, 101, 192, 0.02);
    border: 2px solid rgba(21, 101, 192, 0.1);
    color: var(--text-main);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s;
}

body.professional-mode .quiz-option:hover {
    border-color: var(--atlas-gold);
    background: rgba(21, 101, 192, 0.05);
    transform: translateX(8px);
    box-shadow: 0 4px 8px rgba(21, 101, 192, 0.1);
}

body.professional-mode .quiz-option.correct {
    border-color: var(--medical-sage) !important;
    background: rgba(102, 187, 106, 0.1) !important;
    color: #2e7d32 !important;
}

body.professional-mode .quiz-option.wrong {
    border-color: #ef5350 !important;
    background: rgba(239, 83, 80, 0.1) !important;
    color: #c62828 !important;
}

body.professional-mode .fill-input {
    background: white;
    border: 2px solid rgba(21, 101, 192, 0.2);
    color: var(--text-main);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

body.professional-mode .fill-input:focus {
    border-color: var(--atlas-gold);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1), inset 0 2px 4px rgba(0,0,0,0.05);
}

body.professional-mode .progress-bar {
    background: linear-gradient(90deg, var(--why-cyan), var(--medical-coral)); /* Teal to Coral gradient */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.professional-mode .feedback-panel {
    background: rgba(255, 243, 224, 0.95); /* Warm amber tint */
    border-top: 3px solid var(--medical-amber);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Stats Enhancement */
body.professional-mode .stat-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s;
}

body.professional-mode .stat-box:nth-child(1) { border-left-color: var(--atlas-gold); }
body.professional-mode .stat-box:nth-child(2) { border-left-color: var(--why-cyan); }
body.professional-mode .stat-box:nth-child(3) { border-left-color: var(--medical-coral); }
body.professional-mode .stat-box:nth-child(4) { border-left-color: var(--medical-purple); }

body.professional-mode .stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(21, 101, 192, 0.12);
}

body.professional-mode .stat-val {
    color: var(--atlas-gold);
    font-weight: 800;
}

/* Footer Enhancement */
body.professional-mode .footer {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,244,248,1));
    border-top: 2px solid rgba(21, 101, 192, 0.1);
    margin-top: 40px;
}

body.professional-mode .footer-logo-space {
    background: white;
    border: 2px solid rgba(21, 101, 192, 0.2);
    color: var(--atlas-gold);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

body.professional-mode .footer-text {
    color: var(--text-mute);
    font-weight: 500;
}

/* Theme Toggle in Professional Mode */
body.professional-mode .theme-toggle-btn {
    background: white;
    border: 2px solid var(--atlas-gold);
    color: var(--atlas-gold);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

body.professional-mode .theme-toggle-btn:hover {
    background: var(--atlas-gold);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

/* Image Container Enhancement */
body.professional-mode .img-container {
    background: linear-gradient(135deg, #fafafa, #f5f7fa);
    border: 2px solid rgba(21, 101, 192, 0.15);
    border-radius: 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

body.professional-mode .img-placeholder-text {
    color: var(--text-mute);
    font-weight: 500;
}

body.professional-mode .credits-box {
    color: var(--medical-purple);
    font-weight: 500;
    border-top: 1px solid rgba(21, 101, 192, 0.1);
}

/* Enhanced Typography Hierarchy */
body.professional-mode {
    font-size: 16px;
    line-height: 1.6;
}

body.professional-mode .h-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

body.professional-mode .desc-text,
body.professional-mode .modal-desc {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #37474f; /* Slightly softer than pure black */
}

/* Scrollbar Styling for Professional Mode */
body.professional-mode ::-webkit-scrollbar {
    width: 10px;
}

body.professional-mode ::-webkit-scrollbar-track {
    background: rgba(21, 101, 192, 0.05);
    border-radius: 5px;
}

body.professional-mode ::-webkit-scrollbar-thumb {
    background: rgba(21, 101, 192, 0.3);
    border-radius: 5px;
    border: 2px solid white;
}

body.professional-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--atlas-gold);
}

/* Selection Colors */
body.professional-mode ::selection {
    background: rgba(21, 101, 192, 0.2);
    color: var(--atlas-gold);
}

/* Badge Enhancement */
body.professional-mode .badge {
    background: rgba(0, 137, 123, 0.1);
    border-color: var(--why-cyan);
    color: var(--why-cyan);
    font-weight: 600;
}