:root {
    /* Scholarly Premium Palette */
    --primary-indigo: #2c3e50;
    --accent-gold: #f1c40f;
    --navy-deep: #1a2a3a;
    --gold-gradient: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
    --scholarly-gradient: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background-color: #f8fafc;
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6, .navbar-brand-lte {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.02em;
}

/* ═══ GLASSMORPHISM ═══ */
.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* ═══ SCHOLARLY DEPTH ═══ */
.bg-scholarly {
    background: var(--scholarly-gradient);
    color: white;
}

.text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ═══ PREMIUM CARDS ═══ */
.premium-card {
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* Existing Utilities (Refined) */
.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-500 { font-weight: 500 !important; }
.x-small { font-size: 0.72rem !important; }
.tracking-widest { letter-spacing: 0.15em !important; }
.shadow-xs { box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important; }
.bg-primary-soft { background-color: rgba(44, 62, 80, 0.05) !important; }

/* ═══ MOBILE TABLE REFACTOR ═══ */
@media (max-width: 767.98px) {
    .table-responsive-stack table,
    .table-responsive-stack thead,
    .table-responsive-stack tbody,
    .table-responsive-stack th,
    .table-responsive-stack td,
    .table-responsive-stack tr {
        display: block;
    }
    .table-responsive-stack thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .table-responsive-stack tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
    }
    .table-responsive-stack td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 45% !important;
        text-align: left !important;
        white-space: normal;
    }
    .table-responsive-stack td:before {
        position: absolute;
        top: 12px;
        left: 15px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 800;
        color: var(--secondary-lte);
        content: attr(data-label);
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.1em;
    }
    .table-responsive-stack td:last-child {
        border-bottom: 0;
    }
}
