        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #090c16;
        }
        ::-webkit-scrollbar-thumb {
            background: #2c3557;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #818cf8;
        }

        /* Soft glow on hover, replacing the old RGB-split "glitch" effect */
        .glitch-hover:hover {
            text-shadow: 0 0 12px rgba(129, 140, 248, 0.7);
        }

        /* Accent underline beneath section headings */
        .cyber-border {
            position: relative;
        }
        .cyber-border::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #818cf8, #38bdf8, transparent);
        }

        /* Grid Background Pattern */
        .grid-bg {
            background-size: 40px 40px;
            background-image: 
                linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
        }

        /* Glassmorphism: soften + blur the card surfaces used throughout
           (matches any element whose class list includes bg-slate-900* / bg-slate-950*) */
        [class*="bg-slate-900"],
        [class*="bg-slate-950"] {
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        /* Ambient background gradient glow, sits behind the network canvas */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: -20;
            background:
                radial-gradient(circle at 15% 10%, rgba(129, 140, 248, 0.12), transparent 40%),
                radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.10), transparent 45%),
                radial-gradient(circle at 50% 90%, rgba(129, 140, 248, 0.08), transparent 50%);
            pointer-events: none;
        }

        /* Scroll Reveal "Pop Up" Animation */
        .reveal-pop {
            opacity: 0;
            transform: translateY(40px) scale(0.92);
            transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                        transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
            will-change: opacity, transform;
        }
        .reveal-pop.in-view {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Respect users who prefer reduced motion */
        @media (prefers-reduced-motion: reduce) {
            .reveal-pop {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }
