    /* Custom styles and overrides */
    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(5, 21, 37, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(94, 234, 212, 0.1);
    }

    #navbar.scrolled .menu-line {
        background: white;
    }

    /* Mobile menu animation */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    /* Hamburger animation */
    #menu-toggle.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle.active .menu-line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        width: 20px;
    }

    /* Scroll reveal animations */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* Mobile link hover */
    .mobile-link {
        position: relative;
    }

    .mobile-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #5eead4;
        transition: width 0.3s ease;
    }

    .mobile-link:hover::after {
        width: 100%;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #0a2540;
    }

    ::-webkit-scrollbar-thumb {
        background: #144f7a;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #5eead4;
    }

    /* Selection color */
    ::selection {
        background: rgba(94, 234, 212, 0.3);
        color: #0a2540;
    }

    /* Input autofill override for dark forms */
    input:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.1) inset !important;
        -webkit-text-fill-color: #fff !important;
    }
