@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- COLOR PALETTE (DARK MODE DEFAULT) --- */
    --bg-base: #07090e;
    --bg-header: rgba(7, 9, 14, 0.7);
    --bg-surface: rgba(13, 18, 30, 0.45);
    --bg-surface-hover: rgba(22, 30, 49, 0.65);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* GLO-GRADIENTS */
    --accent-physics: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    --accent-physics-solid: #0ea5e9;
    --accent-ai: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    --accent-ai-solid: #6366f1;
    --accent-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --accent-amber-solid: #f59e0b;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* --- SPACING & SIZING TO PREVENT CONGESTION --- */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 32px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- LIGHT MODE SPECIFIC VARIABLES --- */
[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-header: rgba(248, 250, 252, 0.7);
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-hover: rgba(241, 245, 249, 0.85);
    --border-color: rgba(15, 23, 42, 0.06);
    --border-color-hover: rgba(15, 23, 42, 0.14);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-physics: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    --accent-physics-solid: #0284c7;
    --accent-ai: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --accent-ai-solid: #4f46e5;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.08);
}

/* --- BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--text-muted) transparent;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 99px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Interactive Canvas background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

/* Ambient glow spheres behind everything */
.ambient-glow {
    position: fixed;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    filter: blur(160px);
    opacity: 0.10;
    transition: opacity var(--transition-normal);
    animation: glowDrift 30s ease-in-out infinite alternate;
}

.glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
}

.glow-2 {
    bottom: -15%;
    left: -15%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(14, 165, 233, 0) 70%);
    animation-delay: -8s;
    animation-duration: 55s;
}

.glow-3 {
    top: 40%;
    left: 45%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
    animation-delay: -15s;
    animation-duration: 65s;
}

[data-theme="light"] .ambient-glow {
    opacity: 0.04;
}

@keyframes glowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(2%, 3%) scale(1.04);
    }
    100% {
        transform: translate(-1%, -2%) scale(0.97);
    }
}

/* --- LAYOUT CONTAINERS --- */
.app-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px 120px 32px;
    position: relative;
    z-index: 1;
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 92%;
    max-width: 1200px;
    padding: 10px 24px;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.main-header:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 21px;
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 14px;
    border-radius: 30px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
    background: var(--bg-surface-hover);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 26px;
}

/* --- PREMIUM UNIFIED GLASS CARD SYSTEM --- */
.glass-card,
.feature-item,
.research-card,
.pub-item,
.course-card,
.panel-card,
.timeline-card,
.collaborator-card,
.product-card,
.mock-console {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.glass-card {
    padding: 48px;
    margin-top: 40px;
}

.glass-card:hover,
.feature-item:hover,
.research-card:hover,
.pub-item:hover,
.course-card:hover,
.panel-card:hover,
.timeline-card:hover,
.collaborator-card:hover,
.product-card:hover,
.mock-console:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

/* --- PAGE INTERFACE TRANSITIONS --- */
.page-content {
    display: none;
    padding-top: 130px; /* clear the floating island header */
    animation: fadeScale var(--transition-normal);
}

.page-content.active {
    display: block;
}

@keyframes fadeScale {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- TYPOGRAPHY & TITLES --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.35;
    color: var(--text-primary);
}

.section-intro {
    margin-top: 64px;
    margin-bottom: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.section-title span.accent-text {
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-size: 19px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 760px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 760px;
    line-height: 1.85;
}

/* --- HERO BANNER --- */
.hero-banner-container {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 48px;
    border: 1px solid var(--border-color);
    position: relative;
}

.hero-banner-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #090e1a 0%, #17153a 50%, #031c2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-banner-fallback::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: #0ea5e9;
    filter: blur(160px);
    opacity: 0.16;
    top: -100px;
    left: -100px;
}

.hero-banner-fallback::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: #6366f1;
    filter: blur(160px);
    opacity: 0.16;
    bottom: -100px;
    right: -100px;
}

.hero-banner-title {
    position: absolute;
    bottom: 40px;
    left: 48px;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    z-index: 2;
    letter-spacing: -1.2px;
}

/* --- NEAT SPACING GRID: FEATURE LISTS --- */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 420px));
    justify-content: center;
    gap: 48px;
    margin: 64px 0;
}

.feature-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 24px 0 !important;
    border-radius: 0 !important;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item h3 {
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-fast);
}

.feature-item:hover h3 {
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(6px);
}

.feature-item p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 0;
}

/* --- JOIN US / CTA --- */
.cta-banner {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: var(--radius-md);
    padding: 64px 40px;
    text-align: center;
    margin-top: 48px;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-banner p {
    max-width: 640px;
    margin: 0 auto 32px auto;
    color: var(--text-secondary);
    font-size: 17px;
}

.opportunities-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.opportunity-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-physics);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 40px;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

/* --- RESEARCH LISTINGS --- */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
    gap: 36px;
    margin-top: 48px;
}

.research-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-left: 4px solid var(--accent-physics-solid) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.research-card:nth-child(even) {
    border-left-color: var(--accent-ai-solid) !important;
}

.research-card:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-8px);
}

.research-card h3 {
    font-size: 21px;
    margin-bottom: 14px;
    padding-right: 40px; /* Make space for watermark */
}

.research-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* --- PUBLICATIONS LAYOUT --- */
.search-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 900px) {
    .search-filter-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.search-input-wrapper {
    flex: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-physics-solid);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.filter-btn.active {
    background: var(--accent-physics-solid);
    color: #ffffff;
    border-color: var(--accent-physics-solid);
    box-shadow: var(--shadow-sm);
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pub-item {
    padding: 32px 40px;
    position: relative;
}

.pub-item:hover {
    transform: translateY(-4px);
    background: var(--bg-surface-hover);
}

.pub-year-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a78bfa;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

[data-theme="light"] .pub-year-badge {
    background: rgba(99, 102, 241, 0.06);
    color: #4f46e5;
}

.pub-citation {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pub-citation .highlight-author {
    font-weight: 700;
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-contribution {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pub-contribution::before {
    content: '•';
    color: var(--accent-ai-solid);
    font-size: 18px;
}

.pub-links {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.pub-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--accent-physics-solid);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pub-link:hover {
    text-decoration: underline;
}

/* --- LATEST NEWS TIMELINE (SPACIOUS) --- */
.timeline {
    position: relative;
    padding-left: 48px;
    margin: 32px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 4px solid var(--accent-ai-solid);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    z-index: 2;
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    border-color: var(--accent-physics-solid);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.6);
}

.timeline-date {
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-physics-solid);
    margin-bottom: 8px;
}

.timeline-card {
    padding: 24px 32px;
}

.timeline-card:hover {
    background: var(--bg-surface-hover);
}

.timeline-card p {
    margin: 0;
    font-size: 14.5px;
    color: var(--text-secondary);
}

.timeline-card strong {
    color: var(--text-primary);
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
}

/* --- ABOUT JOURNEY --- */
.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.journey-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .journey-item {
        flex-direction: row;
        gap: 32px;
    }
}

.journey-meta {
    min-width: 180px;
    text-align: left;
}

@media (min-width: 768px) {
    .journey-meta {
        text-align: right;
    }
}

.journey-date {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-physics-solid);
    font-size: 15px;
}

.journey-inst {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.journey-details {
    flex: 1;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--border-color);
}

.journey-details h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.journey-details p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
}

.collaborator-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.collaborator-card:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
}

.collaborator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-physics);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

.collaborator-info h4 {
    font-size: 15.5px;
    margin-bottom: 2px;
}

.collaborator-info p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

/* --- PLAYGROUND & PRODUCTS --- */
.playground-embed {
    width: 100%;
    height: 680px;
    background: #080810;
    overflow: hidden;
}

[data-theme="light"] .playground-embed {
    background: #ffffff;
}

.playground-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
}

.product-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-8px);
}

.product-header h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.product-badge {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #38bdf8;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.8;
}

.product-team {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* --- LIVE CLASSROOM PASSCODE SCREEN --- */
.password-section {
    max-width: 460px;
    width: 100%;
    margin: 80px auto;
    text-align: center;
    padding: 56px 48px;
    background: rgba(13, 18, 30, 0.75);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    animation: fadeIn var(--transition-normal);
}

[data-theme="light"] .password-section {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(79, 70, 229, 0.05);
}

[data-theme="light"] .password-input-group input {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .password-input-group input::placeholder {
    color: var(--text-muted);
}

.password-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--accent-physics-solid);
}

.password-input-group {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.password-input-group input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 17px;
    text-align: center;
    letter-spacing: 3px;
    transition: all var(--transition-fast);
}

.password-input-group input:focus {
    outline: none;
    border-color: var(--accent-physics-solid);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.btn-unlock {
    background: var(--accent-physics);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 15.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-unlock:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.error-shake {
    animation: shake 0.4s ease;
    border-color: #ef4444 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.password-error-message {
    color: #f87171;
    font-size: 13px;
    margin-top: 16px;
    height: 1.2em;
}

.hidden {
    display: none !important;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 480px));
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.course-card {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-physics-solid);
    background: var(--bg-surface-hover);
    box-shadow: var(--shadow-lg);
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.course-card-meta {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-physics-solid);
    margin-top: 24px;
}

/* Premium Dashboard stats layout for teaching course widgets */
.course-card-premium {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.course-card-premium:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.course-info-section {
    flex: 1;
    min-width: 0;
}

.course-info-section h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.course-card-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

.course-stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 104px;
    height: 104px;
    padding: 10px;
    text-align: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.course-card-premium:hover .course-stat-badge {
    border-color: var(--accent-physics-solid);
    background: rgba(14, 165, 233, 0.04);
}

.course-card-premium:nth-child(even):hover .course-stat-badge {
    border-color: var(--accent-ai-solid);
    background: rgba(99, 102, 241, 0.04);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 800;
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.course-card-premium:nth-child(even) .stat-number {
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .course-card-premium {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px;
    }
    .course-stat-badge {
        align-self: flex-end;
    }
}

/* Detailed Course View (Breathing Room) */
.course-detail-view {
    animation: fadeIn var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.course-detail-view .section-intro {
    width: 100%;
}
.course-panels {
    width: 100%;
}
.course-detail-view .btn-back {
    align-self: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 32px;
    transition: all var(--transition-fast);
}

.btn-back:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
    background: var(--bg-surface-hover);
}

/* Course Layout Panels */
.course-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 900px) {
    .course-panels {
        grid-template-columns: 1.3fr 1fr;
    }
}

.panel-card {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    margin-bottom: 32px;
}

.panel-card h3 {
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

/* Styled schedule */
.schedule-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.schedule-table th, .schedule-table td {
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.schedule-table tr:hover td:not(.break-cell) {
    background: rgba(255, 255, 255, 0.015);
}

.schedule-table th {
    background: rgba(255, 255, 255, 0.025);
    font-weight: 700;
    color: var(--text-primary);
}

.schedule-table td.break-cell {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.01) 100%);
    font-style: italic;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sec-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.sec-a-badge {
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.sec-b-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Accordion Syllabus (Spacious) */
.syllabus-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.accordion-header {
    background: rgba(255, 255, 255, 0.005);
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
    font-size: 15px;
}

.accordion-header:hover {
    background: var(--bg-surface-hover);
}

.accordion-icon {
    transition: transform var(--transition-fast);
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.accordion-item.open .accordion-content {
    padding: 20px 24px;
}

/* Lecture Notes Tabular searchable list layout */
.lecture-list {
    display: block;
}

.lecture-index-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-end;
}

.lecture-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

.lecture-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px 10px 34px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 13.5px;
    transition: all var(--transition-fast);
}

.lecture-search-input:focus {
    outline: none;
    border-color: var(--accent-physics-solid);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.lecture-table-scroll {
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.15);
}

.lecture-index-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.lecture-index-table th, 
.lecture-index-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.lecture-index-table th {
    background: rgba(13, 18, 30, 0.85);
    font-weight: 700;
    color: var(--text-primary);
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--border-color);
}

[data-theme="light"] .lecture-index-table th {
    background: rgba(241, 245, 249, 0.95);
}

.lecture-row {
    transition: background var(--transition-fast);
}

.lecture-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .lecture-row:hover {
    background: rgba(0, 0, 0, 0.012);
}

.lecture-table-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.lecture-table-link:hover {
    color: var(--accent-physics-solid);
}

.file-icon {
    font-size: 14px;
    opacity: 0.8;
}

.lecture-date-cell {
    color: var(--text-muted);
    font-size: 12.5px;
}

.lecture-actions-flex {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-table-action {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-view-note {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-view-note:hover {
    background: var(--accent-physics-solid);
    color: #ffffff;
    border-color: var(--accent-physics-solid);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.btn-delete-note {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.btn-delete-note:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

/* Classroom Portal credentials guides card styling */
.password-hint {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.password-hint strong {
    color: var(--text-primary);
}

.password-hint code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #0ea5e9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
}

[data-theme="light"] .password-hint {
    background: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .password-hint code {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
    color: #0284c7;
}

.lecture-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--text-primary);
    height: 100%;
}

.lecture-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-physics-solid);
    background: var(--bg-surface-hover);
    box-shadow: var(--shadow-sm);
}

.lecture-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.45;
}

.lecture-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.download-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-physics-solid);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

/* --- CONNECT / FOOTER --- */
.connect-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 48px 0 24px 0;
}

.connect-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all var(--transition-fast);
    background: var(--bg-surface);
    backdrop-filter: blur(8px);
}

.connect-icon {
    font-size: 18px;
    line-height: 1;
}

.connect-label {
    font-family: var(--font-sans);
    letter-spacing: 0.2px;
}

.connect-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-physics-solid);
    transform: translateY(-4px);
    background: var(--bg-surface-hover);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.site-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 24px;
}

.site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

/* --- RESPONSIVE MENU --- */
@media (max-width: 1150px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 18, 30, 0.95);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-color);
        padding: 32px;
        gap: 16px;
        z-index: 100;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { transform: translateY(-12px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .hero-banner-title {
        font-size: 36px;
        left: 24px;
        bottom: 24px;
    }
    
    .glass-card {
        padding: 32px 24px;
    }
}

/* --- CMS ADMIN MODE COMPONENTS --- */
.admin-float-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(13, 18, 30, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 25px rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    animation: slideUpFloat 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpFloat {
    from { bottom: -100px; opacity: 0; transform: translateX(-50%) scale(0.95); }
    to { bottom: 24px; opacity: 1; transform: translateX(-50%) scale(1); }
}

[data-theme="light"] .admin-float-bar {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.12), 0 0 25px rgba(79, 70, 229, 0.08);
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
}

.admin-pulse-indicator {
    width: 12px;
    height: 12px;
    background-color: #f59e0b;
    border-radius: 50%;
    animation: warningPulse 1.5s infinite;
}

.admin-status.clean .admin-pulse-indicator {
    background-color: #10b981;
    animation: successPulse 1.5s infinite;
}

@keyframes warningPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes successPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.btn-admin-action {
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-admin-git {
    background: var(--accent-ai);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-admin-git:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-admin-dl {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-admin-dl:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-2px);
}

/* Edit / Add Form container (Breathing Room) */
.admin-form-container {
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-top: 20px;
    animation: slideDownFade 0.3s ease;
}

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

.admin-form-container h4 {
    font-size: 14.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast);
}

[data-theme="light"] .admin-form-container {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group input {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group input:focus {
    background: #ffffff;
    border-color: var(--accent-physics-solid);
}

[data-theme="light"] .form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-physics-solid);
}

.btn-submit-form {
    align-self: flex-end;
    background: var(--accent-physics-solid);
    color: #ffffff;
    border: none;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit-form:hover {
    filter: brightness(1.1);
}

/* Delete badge styles */
.delete-btn-wrapper {
    position: relative;
}

.delete-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    border: 2px solid var(--bg-base);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    z-index: 10;
}

.delete-btn:hover {
    transform: scale(1.2);
    background: #dc2626;
}

/* Modal Overlay for Git Settings */
.git-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 21, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn var(--transition-fast);
}

.git-modal-card {
    background: rgba(13, 18, 30, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[data-theme="light"] .git-modal-card {
    background: rgba(255, 255, 255, 0.98);
}

.git-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.git-modal-header h3 {
    margin: 0;
    font-size: 22px;
}

.git-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
}

.git-modal-close:hover {
    color: var(--text-primary);
}

.git-modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.git-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 32px;
}

.toast-msg {
    position: fixed;
    top: 32px;
    right: 32px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 500;
    font-size: 14px;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-success {
    background: #10b981;
}

.toast-error {
    background: #ef4444;
}

/* --- PREMIUM DESKTOP CONSOLE UI (PLAYGROUND EMBEDS) --- */
.mock-console {
    overflow: hidden;
    margin-bottom: 48px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.console-header {
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

[data-theme="light"] .console-header {
    background: rgba(0, 0, 0, 0.015);
}

.console-dots {
    display: flex;
    gap: 8px;
}

.console-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.console-dots .dot.red { background-color: #ef4444; }
.console-dots .dot.yellow { background-color: #f59e0b; }
.console-dots .dot.green { background-color: #10b981; }

.console-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 48px; /* Offset the dots to keep title perfectly centered */
}

/* --- ABOUT INTRO SPACIOUS TEXT --- */
.about-intro-wrapper {
    margin-bottom: 48px;
}

.about-intro-text {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-primary);
    max-width: 800px;
}

/* --- HIGH-FIDELITY ASSIGNMENTS & PROJECT ROWS --- */
.assignments-list, .projects-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.assignment-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: all var(--transition-fast);
    gap: 12px;
}

.assignment-item-row:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-color-hover);
    transform: translateX(4px);
}

.assignment-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* truncate long text */
}

.assignment-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.assignment-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.assignment-link:hover {
    color: var(--accent-physics-solid);
}

.assignment-due-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

[data-theme="light"] .assignment-due-badge {
    background: rgba(245, 158, 11, 0.06);
    color: #d97706;
}

/* --- PREMIUM TYPOGRAPHIC HERO --- */
.hero-typography-container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 0 40px 0;
    position: relative;
}

.hero-pre-title {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-main-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-main-title .gradient-text-ai {
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: var(--accent-physics);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
    transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
    filter: brightness(1.05);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 36px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 48px;
        letter-spacing: -1.5px;
    }
    .hero-desc-text {
        font-size: 17px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
    }
}

/* --- CARD NUMERICAL BADGES --- */
.card-num, .card-num-light {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0.08;
    margin-bottom: 0;
    display: block;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.card-num {
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-num-light {
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.research-card:hover .card-num,
.product-card:hover .card-num-light {
    opacity: 0.28;
    transform: translateY(-4px) scale(1.08);
}

/* --- HIGH-FIDELITY TYPOGRAPHIC TIMELINE --- */
.timeline-content {
    margin-left: 20px;
    padding-bottom: 12px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 760px;
}

/* --- REFINED SLIDE-IN PUBLICATION LISTS (REPLACES CARDS) --- */
.pub-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 32px 0 !important;
    transition: all var(--transition-normal) !important;
}

.pub-item:hover {
    border-bottom-color: transparent !important;
    background: var(--bg-surface-hover) !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: var(--radius-md) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* --- TIMETABLE CALENDAR GRID --- */
.schedule-table-wrapper {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.schedule-table th {
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.schedule-table td {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- ABOUT SECTION PROFILE LAYOUT --- */
.about-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .about-profile-grid {
        grid-template-columns: 260px 1fr;
        gap: 48px;
    }
}

.about-profile-image-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-profile-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
    pointer-events: none;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.about-profile-image-container:hover .about-profile-img {
    transform: scale(1.05);
}

.about-profile-bio {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.profile-stat-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: all var(--transition-fast);
}

.profile-stat-item:hover {
    border-color: var(--accent-physics-solid);
    background: var(--bg-surface-hover);
    transform: translateY(-2px);
}

.profile-stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: var(--accent-physics);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.profile-stat-item:nth-child(2) .profile-stat-val {
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-stat-item:nth-child(3) .profile-stat-val {
    background: var(--accent-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-stat-lbl {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* --- ANNOUNCEMENTS / NOTICEBOARD --- */
.announcements-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.announcement-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.03);
    animation: slideDownFade 0.4s ease;
}

.announcement-content-side {
    flex: 1;
    min-width: 0;
}

.announcement-tag-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a78bfa;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.announcement-txt {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 0;
    max-width: 100%;
}

.announcement-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-physics);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-announcement-link:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

/* Quick Notice publisher for Admin */
.announcement-publisher-card {
    background: rgba(13, 18, 30, 0.5);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 32px;
}

[data-theme="light"] .announcement-publisher-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

.announcement-publisher-card h3 {
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .announcement-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    .announcement-actions {
        align-self: flex-end;
    }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- PREMIUM TABLE HOVER CELL HIGHLIGHTS --- */
.timetable-header-highlight {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0ea5e9 !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
}

.timetable-cell-highlight {
    background: rgba(14, 165, 233, 0.05) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
}

[data-theme="light"] .timetable-header-highlight {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
}

/* --- BACK TO TOP FLOAT BUTTON --- */
.back-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(13, 18, 30, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.9);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top-btn:hover {
    background: var(--bg-surface-hover);
    border-color: var(--accent-physics-solid);
    color: var(--accent-physics-solid);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

[data-theme="light"] .back-to-top-btn {
    background: rgba(255, 255, 255, 0.7);
}

/* --- ABOUT SECTION SOCIAL LINKS --- */
.about-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.about-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all var(--transition-fast);
}

.about-social-btn:hover {
    color: var(--accent-physics-solid);
    border-color: var(--accent-physics-solid);
    background: rgba(14, 165, 233, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.12);
}

.about-social-btn-secondary {
    border-style: dashed;
    opacity: 0.75;
}

.about-social-btn-secondary:hover {
    opacity: 1;
    border-style: solid;
}

[data-theme="light"] .about-social-btn {
    background: rgba(255,255,255,0.9);
}

/* --- AADRI CHATBOT LAUNCH PANEL --- */
.aadri-launch-panel {
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: radial-gradient(ellipse at 50% 80%, rgba(99,102,241,0.06) 0%, transparent 70%);
}

.aadri-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 560px;
}

.aadri-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(167,139,250,0.1) 100%);
    border: 1px solid rgba(99,102,241,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: aadriFloat 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(99,102,241,0.1);
}

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

.aadri-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    background: var(--accent-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.aadri-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.aadri-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.aadri-chip {
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a78bfa;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.aadri-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    background: var(--accent-ai);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.2px;
    transition: all var(--transition-fast);
    box-shadow: 0 8px 30px rgba(99,102,241,0.3);
    position: relative;
    overflow: hidden;
}

.aadri-launch-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.aadri-launch-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px rgba(99,102,241,0.45);
    filter: brightness(1.1);
}

.aadri-launch-btn:hover::before {
    opacity: 1;
}

.aadri-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

[data-theme="light"] .aadri-launch-panel {
    background: radial-gradient(ellipse at 50% 80%, rgba(79,70,229,0.04) 0%, transparent 70%);
}

/* --- AADRI SIMULATOR & MODE SWITCHER STYLES --- */
.aadri-mode-switcher {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.aadri-tab-btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
}

.aadri-tab-btn.active {
    background: var(--accent-ai);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.aadri-tab-btn.cloud-link:hover {
    color: var(--accent-physics-solid);
    border-color: var(--accent-physics-solid);
    transform: translateY(-2px);
}

.aadri-cloud-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    margin-top: 6px;
}

[data-theme="light"] .aadri-cloud-warning {
    background: rgba(245, 158, 11, 0.06);
    color: #b45309;
}

.aadri-simulator-box {
    width: 100%;
    background: rgba(13, 18, 30, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

[data-theme="light"] .aadri-simulator-box {
    background: rgba(255, 255, 255, 0.85);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
}

.chat-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chat-msg.user {
    flex-direction: row-reverse;
}

.bot-avatar, .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.user-avatar {
    background: rgba(14, 165, 233, 0.15);
}

.msg-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 85%;
}

.chat-msg.user .msg-bubble {
    background: var(--accent-ai);
    color: white;
    border: none;
}

.chat-quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-quick-prompts button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-quick-prompts button:hover {
    background: rgba(99, 102, 241, 0.12);
    color: #a78bfa;
    border-color: rgba(99, 102, 241, 0.3);
}

.chat-input-row {
    display: flex;
    gap: 10px;
}

.chat-input-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
}

.chat-input-row input:focus {
    border-color: var(--accent-ai-solid);
}

.chat-send-btn {
    background: var(--accent-ai);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
