body {
    font-family: 'Inter', sans-serif;
}

/* Ambient glow & mesh backdrop */
.hero-glow-ambient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 950px;
    max-width: 95vw;
    height: 520px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.20) 0%, rgba(139, 92, 246, 0.16) 35%, rgba(59, 130, 246, 0.06) 60%, transparent 75%);
    filter: blur(85px);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: pulseAura 8s ease-in-out infinite alternate;
}

.dark .hero-glow-ambient {
    background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.24) 0%, rgba(168, 85, 247, 0.18) 38%, rgba(99, 102, 241, 0.08) 65%, transparent 78%);
    filter: blur(95px);
}

@keyframes pulseAura {
    0% {
        opacity: 0.85;
        transform: translateX(-50%) scale(0.98);
    }
    100% {
        opacity: 1.05;
        transform: translateX(-50%) scale(1.04);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #252f48;
}
::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #3b4869;
}

/* ==========================================================================
   Interactive Forensic Glow on Hover
   ========================================================================== */

[data-card],
.interactive-glow-card,
#evidence-maps-grid > div,
#engines-container > div,
#image-summary-card,
.verdict-glow-box {
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-card]:hover,
.interactive-glow-card:hover,
#evidence-maps-grid > div:hover,
#engines-container > div:hover {
    transform: translateY(-2.5px);
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 10px 25px -4px rgba(99, 102, 241, 0.12), 0 0 16px 2px rgba(99, 102, 241, 0.08);
}

.dark [data-card]:hover,
.dark .interactive-glow-card:hover,
.dark #evidence-maps-grid > div:hover,
.dark #engines-container > div:hover {
    border-color: rgba(129, 140, 248, 0.50) !important;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.50), 0 0 22px 3px rgba(129, 140, 248, 0.15);
    background-color: #172033 !important;
}

/* Hover effect on Image Summary Card */
#image-summary-card:hover {
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.08);
}

.dark #image-summary-card:hover {
    border-color: rgba(129, 140, 248, 0.35) !important;
    box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.45), 0 0 18px 2px rgba(129, 140, 248, 0.08);
    background-color: #151c2c !important;
}

/* ==========================================================================
   C2PA Disclaimer & Chain of Custody Box with Illuminated Hover Glow
   ========================================================================== */

.c2pa-disclaimer-box {
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(238, 242, 255, 0.7);
    border: 1px solid rgba(199, 210, 254, 0.85);
    border-radius: 1.5rem;
}

.c2pa-disclaimer-box:hover {
    border-color: rgba(99, 102, 241, 0.85) !important;
    box-shadow: 0 0 16px 2px rgba(99, 102, 241, 0.22), 0 4px 12px -2px rgba(99, 102, 241, 0.10);
    transform: translateY(-1px);
}

.dark .c2pa-disclaimer-box {
    background: rgba(129, 140, 248, 0.07);
    border: 1px solid rgba(139, 147, 245, 0.25);
}

.dark .c2pa-disclaimer-box:hover {
    border-color: rgba(165, 180, 252, 0.85) !important;
    box-shadow: 0 0 20px 3px rgba(129, 140, 248, 0.30), 0 4px 16px -2px rgba(0, 0, 0, 0.45);
    background: rgba(129, 140, 248, 0.12);
    transform: translateY(-1px);
}

/* ==========================================================================
   Sidebar Navigation Menu - Sleek Indigo/Blue Active State
   ========================================================================== */

.nav-item-active {
    background-color: rgba(99, 102, 241, 0.12) !important;
    border: 1px solid rgba(129, 140, 248, 0.35) !important;
    color: #818cf8 !important;
    font-weight: 700 !important;
}

.dark .nav-item-active {
    background-color: rgba(99, 102, 241, 0.16) !important;
    border: 1px solid rgba(129, 140, 248, 0.40) !important;
    color: #818cf8 !important;
}

.nav-item-active svg {
    color: #818cf8 !important;
}

.nav-item-inactive {
    background-color: transparent !important;
    border: 1px solid transparent !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.dark .nav-item-inactive {
    color: #94a3b8 !important;
}

.nav-item-inactive svg {
    color: #64748b !important;
}

.nav-item-inactive:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9 !important;
}

.dark .nav-item-inactive:hover svg {
    color: #cbd5e1 !important;
}

