:root {
    --obsidian: #050505;
    --charcoal: #141414;
    --silver: #eaeaea;
    --chrome: #b0b0b0;
    --diamond: #ffffff;
    --dark-silver: #6a6a6a;
    --grad-silver: linear-gradient(135deg, #f5f5f5 0%, #b0b0b0 50%, #4a4a4a 100%);
    --grad-obsidian: linear-gradient(180deg, #141414 0%, #050505 100%);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(234, 234, 234, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-chrome: 0 8px 32px 0 rgba(176, 176, 176, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--obsidian);
    color: var(--silver);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--diamond);
}

a {
    text-decoration: none;
    color: var(--chrome);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--diamond);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- Split Screen Architecture --- */
.split-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Fixed Left Pane */
.hero-pane {
    position: fixed;
    top: 0;
    left: 0;
    width: 40%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Logo placement inside hero */
.brand-logo {
    width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.hero-cta-box {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--grad-silver);
    color: var(--obsidian);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 4px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(234, 234, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 234, 234, 0.4);
    color: var(--obsidian);
}

/* Right Scrolling Content */
.content-pane {
    margin-left: 40%;
    width: 60%;
    background: var(--grad-obsidian);
    padding: 60px 80px;
    min-height: 100vh;
}

.nav-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.nav-links a {
    color: var(--silver);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--silver);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Tracker Links in Header */
.auth-buttons .btn-login,
.auth-buttons .btn-register {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-login {
    border: 1px solid var(--silver);
    color: var(--silver);
    margin-right: 15px;
}

.btn-login:hover {
    color: var(--obsidian);
    background: var(--silver);
}

.btn-register {
    background: var(--diamond);
    color: var(--obsidian);
}

/* Content Typography */
.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--diamond);
    background: var(--grad-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--chrome);
    margin-bottom: 40px;
    font-weight: 300;
}

.seo-content {
    margin-top: 50px;
}

.seo-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: #cecece;
}

.seo-content h2,
.seo-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--silver);
}

.text-anchor {
    color: var(--diamond);
    border-bottom: 1px dotted var(--dark-silver);
    transition: border-bottom 0.2s;
}

.text-anchor:hover {
    border-bottom: 1px solid var(--diamond);
}

/* Data Vis Containers */
.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
}

.glass-panel {
    background: var(--charcoal);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.chart-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
}

/* Unique Tables per page */
.lux-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.lux-table th {
    text-align: left;
    padding: 15px;
    font-family: var(--font-heading);
    color: var(--diamond);
    border-bottom: 1px solid var(--dark-silver);
}

.lux-table td {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--chrome);
}

.lux-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   GLOBAL MOBILE COMPONENT HIDING
   ========================================= */
.mobile-dock {
    display: none;
}

.mobile-burger {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-bottom: none;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    font-size: 0.85rem;
    color: var(--dark-silver);
}

.legal-text {
    font-size: 0.75rem;
    color: var(--dark-silver);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 20px;
    background: rgba(20, 20, 20, 0.8);
    border-left: 3px solid var(--silver);
}

.author-box img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--chrome);
}

/* =========================================
   MOBILE RESPONSIVE LOGIC
   ========================================= */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }

    .hero-pane {
        position: relative;
        width: 100%;
        height: 60vh;
        min-height: 400px;
        padding: 30px;
        top: 0;
        left: 0;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 1) 100%);
    }

    .content-pane {
        width: 100%;
        margin-left: 0;
        padding: 40px 20px 100px 20px;
        /* Padding for mobile dock */
    }

    .nav-header {
        display: none !important;
        /* Hide desktop nav */
    }

    /* Activate Mobile Components */
    .mobile-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--obsidian);
        border-top: 1px solid var(--glass-border);
        justify-content: space-around;
        padding: 10px 0;
        z-index: 999;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--chrome);
        font-size: 0.7rem;
        gap: 5px;
    }

    .dock-item.active {
        color: var(--diamond);
    }

    .dock-item svg {
        fill: currentColor;
        width: 24px;
        height: 24px;
    }

    .mobile-burger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 100;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid var(--glass-border);
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
    }

    .mobile-burger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--silver);
        margin: 5px 0;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--charcoal);
        z-index: 1000;
        transition: left 0.3s ease;
        padding: 40px;
        border-right: 1px solid var(--glass-border);
    }

    .mobile-menu-overlay.active {
        left: 0;
    }
}