/*
 * NEBULA OBSIDIAN: Elite Design System
 * "Designing the Extension of the Mind" - 2026 Standards
 */

:root {
    --bg: #050505;
    --surface: #0a0a0a;
    --surface-glass: rgba(18, 18, 18, 0.7);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --text-high: #ffffff;
    --text-med: #94a3b8;
    --text-low: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(40px) saturate(180%);
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background-color: var(--bg);
    color: var(--text-high);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow: hidden;
    height: 100vh;
}

/* --- Atmospheric Backdrop --- */
.nebula-surface {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.08) 0px, transparent 50%);
}

/* --- Shell Components --- */

.sidebar-obsidian {
    width: 280px;
    margin: 1.25rem;
    border-radius: 2.5rem;
    background: var(--surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 50;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
}

.workspace-obsidian {
    flex-grow: 1;
    margin: 1.25rem 1.25rem 1.25rem 0;
    border-radius: 2.5rem;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

header.obsidian-header {
    height: 72px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 3rem;
}

/* --- Interactive Elements --- */

.nav-link-elite {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    margin: 0.25rem 1.25rem;
    border-radius: 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-low);
    text-decoration: none;
    transition: all 0.4s var(--spring);
}

.nav-link-elite:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

.nav-active {
    background: white !important;
    color: var(--bg) !important;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.2);
}

.nav-active i { color: var(--bg) !important; }

/* Dashboard Cards (Neuron Tiles) */
.neuron-tile {
    background: linear-gradient(145deg, #121212 0%, #0a0a0a 100%);
    border-radius: 2.5rem;
    padding: 3rem;
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.neuron-tile:hover {
    transform: translateY(-16px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 50px 100px -20px rgba(99, 102, 241, 0.15);
}

.card-title-elite {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1.25rem;
    color: white;
}

/* Premium Buttons */
.btn-obsidian {
    background: white;
    color: black;
    padding: 1rem 2rem;
    border-radius: 1.25rem;
    font-weight: 900;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--spring);
}

.btn-obsidian:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.3);
}

.btn-primary-glow {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px -5px var(--primary-glow);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
