/* --- THEME CORE --- */
:root {
    --cyan-primary: #00f7ff;
    --cyan-glow: rgba(0, 247, 255, 0.4);
    /* Surface Levels - Crucial for visibility */
    --bg-obsidian: #020617; /* Deep Base */
    --bg-surface-1: #0f172a; /* Card Base */
    --bg-surface-2: #1e293b; /* Hover State */
    --glass: rgba(15, 23, 42, 0.85);
    /* Typography */
    --text-pure: #ffffff;
    --text-readable: #e2e8f0;
    --text-dim: #94a3b8;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-obsidian);
    color: var(--text-readable);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- BACKGROUND GLOBS --- */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(0, 247, 255, 0.12), transparent 50%), radial-gradient(circle at 10% 90%, rgba(165, 180, 252, 0.05), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* --- NAVIGATION --- */
.glass-nav {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
}

.btn-uplink {
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-primary) !important;
    font-family: 'Fira Code', monospace;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-uplink:hover {
        background: rgba(0, 247, 255, 0.1);
        box-shadow: 0 0 20px var(--cyan-glow);
    }

/* --- HERO & TYPOGRAPHY --- */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1, h2, h3, .navbar-brand {
    color: var(--text-pure) !important;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 40%, var(--cyan-primary));
   
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-readable);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* --- CARDS --- */
.glass-card {
    background: var(--bg-surface-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .glass-card:hover {
        transform: translateY(-10px);
        border-color: var(--cyan-primary);
        background: var(--bg-surface-2);
    }

/* --- UTILS --- */
.status-indicator {
    height: 10px;
    width: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* --- PRELOADER STYLES --- */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617; /* Deep Obsidian */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s;
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.preloader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
    animation: logo-pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--cyan-primary);
    box-shadow: 0 0 10px var(--cyan-glow);
    transition: width 0.4s ease;
}

.preloader-status {
    letter-spacing: 2px;
    font-size: 0.7rem;
}

@@keyframes logo-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Class to hide the loader */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}


.text-readable {
    line-height: 1.8;
    color: #cbd5e1; /* Slate-300 */
    font-size: 1.1rem;
}

.x-small {
    font-size: 0.75rem;
}

.max-width-700 {
    max-width: 700px;
}

.report-header h1 {
    text-shadow: 0 0 30px rgba(0, 247, 255, 0.3);
}