@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* Base Spec */
body {
    background-color: #000000;
    /* Pure Black Base */
    background-image: url('../img/hero_bg_purple.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #cbd5e1;
    /* Slate-300 */
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

/* Navbar Transition - Cyber/Indigo */
.nav-scrolled {
    background-color: rgba(10, 5, 20, 0.95);
    /* Deep Black/Violet */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    /* Violet-500/20 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.1);
}

/* Card Hover Glow - Neon Violet */
.news-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(76, 29, 149, 0.4);
    /* Violet-900/40 */
    background: rgba(5, 1, 10, 0.6);
    backdrop-filter: blur(10px);
}

.news-card:hover {
    border-color: #8b5cf6;
    /* Violet-500 */
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.25);
    /* Neon Glow */
    transform: translateY(-5px) scale(1.01);
}

/* Lab Style Tech Pick - Blueprint Grid (Violet) */
.lab-card {
    background-color: rgba(10, 5, 20, 0.9);
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    /* Violet-600/30 */
    box-shadow: inset 0 0 50px rgba(76, 29, 149, 0.2);
}

/* Utility */
.text-neon-glow {
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.7);
}

/* Selection properties */
::selection {
    background-color: rgba(139, 92, 246, 0.4);
    color: #fff;
}

/* --- Interactive Animations --- */

/* 1. Scroll Reveal System */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 2. Stealth Cookie Banner Animation */
@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banner-enter {
    animation: slideUpBanner 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 3. Button Micro-Interactions */
button,
a.inline-block {
    transition: all 0.3s ease;
}

button:hover,
a.inline-block:hover {
    letter-spacing: 0.15em;
    /* Expanded tracking */
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
}