/* ==========================================================================
   AfroDiabDB — Modern Scientific Theme (High Contrast, Clean Solid Palette)
   Zero Muddy Gradients | 100% Readable Text | High Contrast Everywhere
   ========================================================================== */

:root {
    /* Base Color Palette (Clean Deep Slate & Navy) */
    --bg-body:              #0a0f1d;
    --bg-surface:           #0f172a;
    --bg-card:              #131d35;
    --bg-card-hover:        #182647;
    --bg-header:            #15223e;
    --bg-input:             #0f182c;
    
    /* Clean Solid Borders */
    --border-main:          #243656;
    --border-light:         #334b75;
    --border-subtle:        #243656;
    --border-focus:         #0ea5e9;

    /* Crisp Solid Scientific Accents (No heavy rainbow gradients) */
    --brand-primary:        #0284c7;  /* Medical Cyan/Blue */
    --brand-cyan:           #0ea5e9;  /* Vivid Cyan */
    --brand-emerald:        #10b981;  /* Phytochemical Green */
    --brand-amber:          #f59e0b;  /* Warm Gold / Benchmark */
    --brand-red:            #ef4444;  /* Alert Red */

    /* Accent & Tag Background Dims (Solid, Crisp) */
    --accent-cyan:          #0ea5e9;
    --accent-cyan-dim:      #0e263d;
    --accent-emerald:       #10b981;
    --accent-emerald-dim:   #093325;
    --accent-amber:         #f59e0b;
    --accent-amber-dim:     #35220a;

    /* Ultra-Clear High-Contrast Text Colors (NO dark font on dark BG) */
    --text-pure:            #ffffff;
    --text-primary:         #f8fafc;
    --text-secondary:       #e2e8f0;
    --text-muted:           #cbd5e1;
    --text-subtle:          #94a3b8;
    
    /* Typography */
    --font-heading:         'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:            'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:            'JetBrains Mono', 'DM Mono', monospace;

    /* Geometry */
    --radius-sm:            6px;
    --radius-md:            10px;
    --radius-lg:            14px;
}

/* --------------------------------------------------------------------------
   Bootstrap 5 Theme Overrides (Crucial to prevent dark font on dark BG)
   -------------------------------------------------------------------------- */
:root {
    --bs-body-color:        #f8fafc;
    --bs-body-bg:           #0a0f1d;
    --bs-emphasis-color:    #ffffff;
    --bs-secondary-color:   #e2e8f0;
    --bs-secondary-rgb:     226, 232, 240;
    --bs-tertiary-color:    #cbd5e1;
    --bs-tertiary-rgb:      203, 213, 225;
    --bs-card-color:        #f8fafc;
    --bs-card-bg:           #131d35;
    --bs-modal-color:       #f8fafc;
    --bs-modal-bg:          #0f172a;
    --bs-table-color:       #f8fafc;
    --bs-table-bg:          transparent;
    --bs-border-color:      #243656;
}

/* Base Reset & Universal Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-body);
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ensure headings are bright pure white */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--text-pure) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, span, li, td, th, div, label {
    color: var(--text-primary);
}

/* Text Utility Overrides */
.text-pure {
    color: var(--text-pure) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-primary-light {
    color: var(--text-primary) !important;
}

/* Secondary text: Bright, crisp, high-contrast readable silver on dark BG */
.text-secondary,
.text-secondary-light,
p.text-secondary,
span.text-secondary,
small.text-secondary,
label.text-secondary,
div.text-secondary,
a.text-secondary,
li.text-secondary {
    color: #e2e8f0 !important;
    --bs-secondary-color: #e2e8f0 !important;
}

/* Text Muted with high contrast */
.text-muted,
small.text-muted,
p.text-muted,
span.text-muted,
div.text-muted,
a.text-muted,
li.text-muted {
    color: #cbd5e1 !important;
    --bs-tertiary-color: #cbd5e1 !important;
}

/* Small text readability enhancement */
small, .small {
    font-size: 0.88rem;
    line-height: 1.55;
}

.text-cyan {
    color: var(--brand-cyan) !important;
}

.text-emerald {
    color: var(--brand-emerald) !important;
}

.text-amber {
    color: var(--brand-amber) !important;
}

.text-main {
    color: #ffffff !important;
}
.text-main:hover {
    color: var(--brand-cyan) !important;
    text-decoration: underline;
}

a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* Remove gradient text - use solid clean emphasis */
.gradient-text, .text-gradient {
    color: var(--brand-cyan) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    font-weight: 800;
}

/* ==========================================================================
   Navigation Bar (Crisp Solid Bar, No blur or heavy gradient)
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
    background: #0d1527;
    border-bottom: 1px solid var(--border-main);
    transition: all 0.2s ease;
}

#navbar.scrolled {
    background: #090e1c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    padding: 0.7rem 2rem;
}

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-pure) !important;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-accent {
    color: var(--brand-emerald);
}

.badge-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 2px 7px;
    border-radius: 4px;
    background: #14243e;
    color: var(--brand-cyan);
    border: 1px solid #1f375f;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.35rem 0.2rem;
    position: relative;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-pure) !important;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-cyan);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-main);
    background: var(--bg-card);
    text-decoration: none;
    transition: all 0.15s ease;
}
.nav-download-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--brand-cyan);
    color: #ffffff !important;
    text-decoration: none;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--brand-primary);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid #0284c7;
    transition: all 0.15s ease;
}
.nav-cta:hover {
    background: #0369a1;
    border-color: #0369a1;
    text-decoration: none;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-hamburger .bar {
    width: 22px;
    height: 2px;
    background: var(--text-pure);
}

.nav-drawer {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #090e1c;
    z-index: 1040;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
}
.nav-drawer.open {
    transform: translateY(0);
}
.drawer-link {
    display: block;
    font-size: 1.05rem;
    color: var(--text-secondary) !important;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-main);
    text-decoration: none;
}
.drawer-link.active, .drawer-link:hover {
    color: var(--brand-cyan) !important;
}

/* ==========================================================================
   Page Headers & Hero Section (Clean, Solid, High Legibility)
   ========================================================================== */
.hero-section {
    padding-top: 125px;
    padding-bottom: 55px;
    background: #0a0f1d;
    border-bottom: 1px solid var(--border-main);
}

.page-header-banner {
    padding-top: 115px;
    padding-bottom: 35px;
    background: #0f172a;
    border-bottom: 1px solid var(--border-main);
    margin-bottom: 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #10213b;
    color: var(--brand-cyan);
    border: 1px solid #1f3d69;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 2.85rem;
    line-height: 1.18;
    color: var(--text-pure) !important;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary) !important;
    line-height: 1.65;
    max-width: 740px;
    margin-bottom: 1.75rem;
}
.hero-subtitle strong {
    color: #ffffff !important;
}

/* Breadcrumbs (High Contrast) */
.breadcrumb-item, .breadcrumb-item a {
    color: var(--text-muted) !important;
    font-weight: 500;
}
.breadcrumb-item a:hover {
    color: var(--brand-cyan) !important;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: var(--brand-cyan) !important;
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #64748b !important;
}

/* Hero Search Box */
.hero-search-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.6rem 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 640px;
    margin-bottom: 1.75rem;
}
.hero-search-box:focus-within {
    border-color: var(--brand-cyan);
    outline: 2px solid rgba(14, 165, 233, 0.25);
}
.hero-search-box input {
    background: transparent;
    border: none;
    color: var(--text-pure);
    font-size: 0.95rem;
    outline: none;
    width: 100%;
}
.hero-search-box input::placeholder {
    color: var(--text-muted);
}

/* Stat Counter Boxes */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
}
.stat-card:hover {
    border-color: var(--border-light);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: var(--text-pure);
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ==========================================================================
   Cards & Panels
   ========================================================================== */
.card, .content-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-main) !important;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    color: var(--text-primary) !important;
}
.card:hover, .content-card:hover {
    border-color: var(--border-light) !important;
}

.section-title {
    font-size: 1.85rem;
    color: var(--text-pure) !important;
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   Form Controls & Inputs (Crisp, High Contrast, No Dark Text)
   ========================================================================== */
.form-label {
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.form-control, .form-select, .form-control-dark, .form-select-dark {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-main) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
}
.form-control:focus, .form-select:focus, .form-control-dark:focus, .form-select-dark:focus {
    background-color: #121e38 !important;
    border-color: var(--brand-cyan) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.15rem rgba(14, 165, 233, 0.25) !important;
    outline: none;
}
.form-control::placeholder, textarea::placeholder {
    color: #7b8fa7 !important;
}

.form-select option, .form-select-dark option {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

.input-group-text {
    background-color: #131d35 !important;
    border: 1px solid var(--border-main) !important;
    color: var(--text-muted) !important;
}

/* ==========================================================================
   High-Contrast Chemical Table
   ========================================================================== */
.table-chem-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.table, .table-chem {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    color: var(--text-primary) !important;
    --bs-table-bg: transparent !important;
    --bs-table-color: var(--text-primary) !important;
}

.table-chem th, .table th {
    background: #14203a !important;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--border-main) !important;
    white-space: nowrap;
}
.table-chem th.sortable {
    cursor: pointer;
}
.table-chem th.sortable:hover {
    color: var(--brand-cyan) !important;
}

.table-chem td, .table td {
    background: #0f172a !important;
    color: #f1f5f9 !important;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-main) !important;
    vertical-align: middle;
}
.table-chem tbody tr:hover td, .table tbody tr:hover td {
    background: #182645 !important;
}

/* High-Contrast Badges */
.badge {
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
}

.badge-pass {
    background: #064e3b !important;
    color: #6ee7b7 !important;
    border: 1px solid #059669 !important;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}
.badge-fail {
    background: #601414 !important;
    color: #fca5a5 !important;
    border: 1px solid #b91c1c !important;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}
.badge-alert {
    background: #572908 !important;
    color: #fde68a !important;
    border: 1px solid #d97706 !important;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

/* Category & Track Badges */
.badge-secondary, .badge.bg-secondary {
    background: #1b2a47 !important;
    color: #38bdf8 !important;
    border: 1px solid #27406c !important;
}
.badge-dark, .badge.bg-dark {
    background: #14203a !important;
    color: #cbd5e1 !important;
    border: 1px solid #243656 !important;
}
.badge.bg-success {
    background: #064e3b !important;
    color: #6ee7b7 !important;
    border: 1px solid #059669 !important;
}
.badge.bg-danger {
    background: #601414 !important;
    color: #fca5a5 !important;
    border: 1px solid #b91c1c !important;
}

/* Molecular Thumbnail */
.mol-thumb {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 4px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.mol-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* QED Gauge */
.qed-gauge {
    width: 70px;
    height: 6px;
    background: #243656;
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
.qed-fill {
    height: 100%;
    background: var(--brand-cyan);
    border-radius: 3px;
}

/* Monospace Chemistry Codes */
.smiles-code, .font-mono {
    font-family: var(--font-mono);
}

/* ==========================================================================
   Buttons (Solid Colors, 100% Readable White Font, No muddy gradients)
   ========================================================================== */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

/* Solid Medical Cyan/Blue Button */
.btn-cyan, .btn-primary-bio {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
}
.btn-cyan:hover, .btn-primary-bio:hover {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

/* Solid Botanical Emerald Button */
.btn-emerald, .btn-success {
    background-color: #059669 !important;
    color: #ffffff !important;
    border: 1px solid #059669 !important;
}
.btn-emerald:hover, .btn-success:hover {
    background-color: #047857 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
}

/* Outline Buttons */
.btn-outline-cyan {
    background: transparent !important;
    color: var(--brand-cyan) !important;
    border: 1px solid var(--brand-cyan) !important;
}
.btn-outline-cyan:hover {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    border-color: var(--brand-primary) !important;
}

.btn-outline-light {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid var(--border-light) !important;
}
.btn-outline-light:hover {
    background: var(--bg-card-hover) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-dark {
    background-color: #172440 !important;
    color: #ffffff !important;
    border: 1px solid #283e65 !important;
}
.btn-dark:hover {
    background-color: #203157 !important;
    color: #ffffff !important;
}

/* Pagination */
.pagination .page-item .page-link {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-main) !important;
    color: var(--text-primary) !important;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}
.pagination .page-item.active .page-link {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
    font-weight: 700;
}
.pagination .page-item.disabled .page-link {
    background-color: #0d1527 !important;
    color: #4b5d79 !important;
    border-color: #1e2c47 !important;
}
.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: var(--bg-card-hover) !important;
    color: var(--brand-cyan) !important;
}

/* ==========================================================================
   Modal Dialogs (Clean, Visible, High Contrast)
   ========================================================================== */
.modal-content, .modal-content-dark {
    background-color: #0f172a !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md);
    color: #f8fafc !important;
}
.modal-header, .modal-header-dark {
    background: #14203a !important;
    border-bottom: 1px solid var(--border-main) !important;
    padding: 1rem 1.5rem;
    color: #ffffff !important;
}
.modal-body {
    background: #0f172a !important;
    color: #f8fafc !important;
}
.modal-footer, .modal-footer-dark {
    background: #14203a !important;
    border-top: 1px solid var(--border-main) !important;
    padding: 0.85rem 1.5rem;
}

.structure-large-box {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 1px solid #cbd5e1;
}

.prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 0.65rem;
}
.prop-item {
    background: #162442;
    border: 1px solid var(--border-main);
    padding: 0.55rem 0.75rem;
    border-radius: 4px;
}
.prop-key {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.prop-val {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #ffffff;
}

/* ==========================================================================
   Analytics Figure Cards
   ========================================================================== */
.figure-card {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    height: 100%;
}
.figure-card:hover {
    border-color: var(--border-light);
}
.figure-img-wrap {
    background: #ffffff;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    cursor: zoom-in;
    border: 1px solid #cbd5e1;
}
.figure-img-wrap img {
    max-width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
}
.figure-number {
    font-weight: 800;
    color: var(--brand-cyan);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.figure-caption {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Team Members
   ========================================================================== */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    border-color: var(--border-light);
}
.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    border: 2px solid #38bdf8;
}
.team-avatar-super {
    background: #0d9488 !important;
    border-color: #2dd4bf !important;
}
.team-avatar-arch {
    background: #4f46e5 !important;
    border-color: #818cf8 !important;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}
.team-role {
    font-size: 0.86rem;
    color: var(--brand-cyan);
    font-weight: 600;
    margin-bottom: 0.65rem;
}
.team-inst {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-main);
    padding-bottom: 0.85rem;
}
.team-inst strong {
    color: #ffffff !important;
}
.team-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Custom & Brand Icon Support */
.bi-portfolio::before {
    content: "\f1cc" !important; /* maps to bi-briefcase */
}

/* ==========================================================================
   Support Pillars
   ========================================================================== */
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    cursor: pointer;
    height: 100%;
    transition: all 0.15s ease;
}
.pillar-card:hover, .pillar-card.active {
    border-color: var(--brand-cyan);
    background: #172442 !important;
}
.pillar-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #090e1c;
    border-top: 1px solid var(--border-main);
    color: var(--text-muted);
    margin-top: 4rem;
}
.footer-heading {
    color: var(--text-pure) !important;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
    font-weight: 700;
}
.footer-desc {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-affiliation {
    color: var(--text-secondary) !important;
    font-size: 0.86rem;
    line-height: 1.5;
}
.footer-affiliation strong {
    color: #ffffff !important;
}
.footer-nav li {
    margin-bottom: 0.45rem;
}
.footer-nav a {
    color: var(--text-secondary) !important;
    font-size: 0.86rem;
}
.footer-nav a:hover {
    color: var(--brand-cyan) !important;
}

.footer-cta-box {
    background: #131d35;
    border: 1px solid var(--border-main);
}

.badge-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    border: 1px solid var(--border-main);
    border-radius: 4px;
    overflow: hidden;
}
.badge-key {
    background: #1e293b;
    padding: 2px 7px;
    color: #ffffff;
}
.badge-val {
    background: #0284c7;
    padding: 2px 7px;
    color: #ffffff;
}

.footer-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-link:hover {
    color: var(--brand-cyan) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-drawer {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}