        :root {
            --bg-deep: #050505;
            --accent: #0057FF;
            --btn-glow: rgba(0, 87, 255, 0.35);
        }

        body {
            background-color: var(--bg-deep);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        /* Sticky Header Transitions */
        header {
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, backdrop-filter 0.3s ease !important;
            z-index: 99 !important; /* Ensure it's above everything */
        }

        header.nav-hidden {
            transform: translateY(-100%);
        }

        html {
            overflow-x: hidden;
            width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        /* Lenis setup */
        html.lenis,
        html.lenis body {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        /* Mobile Menu Styles */
        #mobile-menu {
            z-index: 150 !important; /* Above and beyond everything */
        }

        #mobile-menu.active {
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        .mobile-menu-link {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        #mobile-menu.active .mobile-menu-link {
            opacity: 1;
            transform: translateY(0);
        }

        #mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
        #mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
        #mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
        #mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

        /* Prevent FOUC before GSAP initiates the reveal */
        .gsap-reveal {
            visibility: hidden;
        }

        /* Grid Backgrounds */
        .grid-bg-light {
            background-color: #FFFFFF;
            background-image:
                linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
        }

        .grid-bg-dark {
            background-color: var(--bg-deep);
            background-image:
                linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
        }

        /* Glassmorphism */
        .glass-panel {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .glass-panel-dark {
            background: rgba(23, 23, 23, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Noise & Glow Enhancements */
        .noise-overlay {
            position: absolute;
            inset: 0;
            z-index: 5;
            opacity: 0.03;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        .glow-point {
            position: absolute;
            border-radius: 9999px;
            filter: blur(100px);
            opacity: 0.2;
            pointer-events: none;
            mix-blend-mode: screen;
            background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
        }

        .glow-point-light {
            position: absolute;
            border-radius: 9999px;
            filter: blur(120px);
            opacity: 0.08;
            pointer-events: none;
            mix-blend-mode: multiply;
            background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
        }

        /* Mobile Menu Styles */
        #mobile-menu {
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
        }

        #mobile-menu.active {
            transform: translateX(0);
            pointer-events: auto;
            opacity: 1;
            visibility: visible;
        }


        .mobile-menu-link {
            transition: all 0.3s ease;
        }

        .mobile-menu-link:hover {
            padding-left: 1rem;
            color: #0057FF;
        }

        /* Beam Button (Gemini / DS3) */
        @keyframes shimmer {
            from {
                transform: translateX(-100%) skewX(-15deg);
            }

            to {
                transform: translateX(200%) skewX(-15deg);
            }
        }

        .btn-beam {
            position: relative;
            padding: 1px;
            border-radius: 9999px;
            overflow: hidden;
            display: inline-flex;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .btn-beam:hover {
            transform: scale(1.02);
        }

        .btn-beam-bg {
            position: absolute;
            inset: -100%;
            background: conic-gradient(from 0deg, transparent 0 340deg, var(--accent) 360deg);
            animation: spin 2s linear infinite;
        }

        .btn-beam-bg-dark {
            background: conic-gradient(from 0deg, transparent 0 340deg, #FFFFFF 360deg);
        }

        .btn-beam-inner {
            position: relative;
            background: #000000;
            color: #FFFFFF;
            border-radius: 9999px;
            padding: 16px 36px;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.875rem;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .btn-beam-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: translateX(-100%) skewX(-15deg);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .btn-beam:hover .btn-beam-inner::before {
            opacity: 1;
            animation: shimmer 1.5s infinite;
        }

        .btn-beam-inner-light {
            background: #FFFFFF;
            color: #000000;
        }

        .btn-beam-inner-brand {
            background: var(--accent);
            color: #FFFFFF;
        }

        .btn-beam:hover .btn-beam-inner {
            background: #111111;
            box-shadow: inset 0 0 20px rgba(0, 87, 255, 0.2);
        }

        .btn-beam:hover .btn-beam-inner-brand {
            background: #0048D6;
            box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
        }

        .btn-beam:hover .btn-beam-inner-light {
            background: #f9f9f9;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
        }

        /* Flashlight Effect */
        .flashlight-card {
            position: relative;
            overflow: hidden;
        }

        .flashlight-card::before {
            content: "";
            position: absolute;
            inset: 0px;
            background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(0, 87, 255, 0.1),
                    transparent 40%);
            opacity: 0;
            transition: opacity 0.5s;
            pointer-events: none;
            z-index: 2;
        }

        .flashlight-card:hover::before {
            opacity: 1;
        }

        /* Border Beam Animation (Section 4 Cards) */
        .border-beam-card {
            position: relative;
            padding: 1px;
            border-radius: 32px;
            overflow: hidden;
            display: flex;
            height: 100%;
            background: rgba(255, 255, 255, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .border-beam-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -15px rgba(0, 87, 255, 0.2);
        }

        .border-beam-card::before {
            content: "";
            position: absolute;
            width: 150%;
            height: 150%;
            top: -25%;
            left: -25%;
            background: conic-gradient(from 0deg,
                    transparent 0%,
                    transparent 90%,
                    var(--accent) 95%,
                    transparent 100%);
            animation: rotate_beam 3s linear infinite;
            z-index: 1;
        }

        .border-beam-inner {
            position: relative;
            width: 100%;
            height: 100%;
            background: #09090b;
            backdrop-filter: blur(10px);
            border-radius: 31px;
            z-index: 2;
            padding: 40px 32px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        @keyframes rotate_beam {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Agent Image Reveal / 3D wrapper */
        .agent-card {
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .agent-card-inner {
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateZ(0);
        }

        .agent-card:hover .agent-card-inner {
            transform: scale(1.02) translateY(-10px);
            box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
        }

        .agent-img {
            transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s;
            filter: grayscale(80%) contrast(1.1);
        }

        .agent-card:hover .agent-img {
            transform: scale(1.08) translateZ(50px);
            filter: grayscale(0%) contrast(1.05);
        }

        /* Navbar */
        .nav-load {
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.8s ease-out;
        }

        .nav-load.loaded {
            opacity: 1;
            transform: translateY(0);
        }

        /* Infinite Marquee */
        @keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .animate-marquee {
            display: flex;
            animation: marquee 30s linear infinite;
        }

        .marquee-wrapper {
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        /* --- RESPONSIVE MEDIA QUERIES --- */

        /* Tablets and Large Mobiles */
        @media (max-width: 1024px) {
            .hero-content h1 {
                font-size: 3.5rem !important;
            }
            
            section {
                padding-top: 80px !important;
                padding-bottom: 80px !important;
            }
        }

        /* Mobile Devices */
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2rem !important;
                line-height: 1.15 !important;
                letter-spacing: -0.025em !important; /* Equivalent to tracking-tight */
            }

            .hero-content p {
                font-size: 0.95rem !important;
                margin-bottom: 2rem !important;
                line-height: 1.6 !important;
            }

            /* Global Section Headline Fixes for Mobile */
            section h2 {
                font-size: 1.75rem !important;
                line-height: 1.2 !important;
                letter-spacing: -0.01em !important;
            }

            section h3 {
                font-size: 1.2rem !important;
                line-height: 1.3 !important;
            }

            /* Adjust Hero specifically if needed differently */
            .hero-content h1 {
                font-size: 2rem !important;
                line-height: 1.15 !important;
                letter-spacing: -0.025em !important;
            }

            /* Fix potential overflows */
            .max-w-7xl {
                padding-left: 1.25rem !important;
                padding-right: 1.25rem !important;
            }
        }

        /* Small Mobile Devices */
        @media (max-width: 480px) {
            section h2 {
                font-size: 1.5rem !important;
            }

            .hero-content h1 {
                font-size: 1.6rem !important;
            }

            .hero-content {
                padding-left: 0.5rem !important;
                padding-right: 0.5rem !important;
            }
        }

        /* Desktop and Large Screens */
        @media (min-width: 1025px) {
            .hero-content h1 {
                font-size: 3.6rem !important; /* 20% reduction from 4.5rem */
            }
        }

        /* Ultra-Wide and High Density Desktop */
        @media (min-width: 1536px) {
            .max-w-7xl {
                max-width: 1440px !important;
            }
            
            .hero-content h1 {
                font-size: 4rem !important; /* 20% reduction from 5rem */
            }
        }
