/**
 * AETHER Documentation Theme Stylesheet
 * Premium, futuristic dark interface featuring fluid sidebar navigations and high-end technical layouts.
 */

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

:root {
    --bg-dark: #090A0F;
    --bg-sidebar: #0C0E14;
    --c-indigo: #4F46E5;
    --c-indigo-light: #6366F1;
    --c-lavender: #A5B4FC;
    --c-cyan: #06B6D4;
    --c-cyan-light: #22D3EE;
    --c-pink: #EC4899;
    --c-white: #FFFFFF;
    --c-gray: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.06);
    
    --g-holo: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-indigo-light) 50%, var(--c-pink) 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-dark);
    color: var(--c-silver);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--c-indigo-light);
}

/* Premium Layout Grid */
.doc-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation Pane */
.doc-sidebar {
    width: 300px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 40px 30px;
    overflow-y: auto;
}

.doc-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--c-white);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 40px;
}
.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g-holo);
    display: inline-block;
    box-shadow: 0 0 10px var(--c-cyan-light);
}

.doc-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.doc-nav-item {
    margin-bottom: 8px;
}
.doc-nav-link {
    color: var(--c-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    display: block;
    transition: var(--transition-smooth);
}
.doc-nav-link:hover, 
.doc-nav-link.active {
    color: var(--c-white);
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 20px;
}
.doc-nav-link.active {
    border-left: 2px solid var(--c-cyan-light);
}

/* Main Content Pane */
.doc-content {
    margin-left: 300px;
    flex: 1;
    padding: 80px 10%;
    max-width: 1200px;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: var(--c-white);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-top: 0;
    background: var(--g-holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 40px;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-gray);
    margin-bottom: 24px;
}

/* Beautiful Fenced Code Boxes */
code {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--c-lavender);
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

pre {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    margin-bottom: 30px;
}
pre code {
    background-color: transparent;
    color: #A5B4FC;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Custom Warning/Info Callout Cards */
.doc-callout {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid var(--c-cyan);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}
.doc-callout-warning {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
    border-color: rgba(236, 72, 153, 0.2);
    border-left-color: var(--c-pink);
}

.doc-callout h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.doc-folder-tree {
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 2;
    background-color: rgba(255,255,255,0.01);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

/* Custom documentation table */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.doc-table th, .doc-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.doc-table th {
    color: var(--c-white);
    font-weight: 600;
}
.doc-table td {
    color: var(--c-gray);
}

/* Responsive sidebar hides on small screens */
@media (max-width: 991px) {
    .doc-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .doc-content {
        margin-left: 0;
        padding: 40px 24px;
    }
    .doc-wrapper {
        flex-direction: column;
    }
}
