/* Core Styling Variables & Font Enforcements */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #02040a;
    overflow-x: hidden;
}
.heading-font {
    font-family: 'Space Grotesk', sans-serif;
}
.base-transition {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Mobile Adaptive Layout System Hooks */
@media (max-width: 640px) {
    .sticky-search-active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        z-index: 100 !important;
    }
}

/* Loader Vector Rotation Styles */
.animate-spin-slow { animation: spin 8s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Hyper-Fluid Dark Blue Layered Core System Background */
.fluid-matrix-bg {
    background: linear-gradient(-45deg, #02040a, #050b14, #0a122c, #030712);
    background-size: 400% 400%;
    animation: smoothFluidMotion 18s ease infinite;
}
@keyframes smoothFluidMotion {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.plasma-flare {
    position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.08; mix-blend-mode: screen;
    animation: floatMotion 22s infinite alternate ease-in-out;
}
.flare-1 { width: 500px; height: 500px; background: #1d4ed8; top: -10%; left: -10%; }
.flare-2 { width: 600px; height: 600px; background: #312e81; bottom: -20%; right: -10%; animation-delay: -5s; }
@keyframes floatMotion { 0% { transform: translate(0px, 0px) scale(1); } 100% { transform: translate(80px, 40px) scale(1.15); } }

/* Glassmorphism Structural Definitions */
.glass-panel { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.04); }
.glass-panel-suggestions { background: rgba(5, 11, 24, 0.85); backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px); border: 1px solid rgba(255, 255, 255, 0.06); }
.glass-card { background: rgba(255, 255, 255, 0.01); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.03); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.glass-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(59, 130, 246, 0.25); transform: translateY(-8px) scale(1.01); }

.node-icon-glow { box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); }
.loader-pulse { animation: loaderPulse 2s ease-in-out infinite alternate; }
@keyframes loaderPulse { from { transform: scale(0.99); } to { transform: scale(1.01); } }
@keyframes progressDrive { 0% { width: 0%; } 100% { width: 100%; } }
.loading-bar-fill { animation: progressDrive 2.5s cubic-bezier(0.76, 0, 0.24, 1) forwards; }

.glow-blue { box-shadow: 0 0 30px rgba(37, 99, 235, 0.2); border: 1px solid rgba(37, 99, 235, 0.2); }
.glow-indigo { box-shadow: 0 0 30px rgba(79, 70, 229, 0.2); border: 1px solid rgba(79, 70, 229, 0.2); }
.glow-cyan { box-shadow: 0 0 30px rgba(6, 182, 212, 0.2); border: 1px solid rgba(6, 182, 212, 0.2); }
.cubic-bezier { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }