    /* Base & Utilities */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
    }

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

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

    ::-webkit-scrollbar-thumb {
        background: #0d9488;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #14b8a6;
    }

    /* Selection */
    ::selection {
        background: rgba(13, 148, 136, 0.3);
        color: #f0fdfa;
    }

    /* Navbar Transition */
    #navbar {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    #navbar.scrolled {
        background: rgba(15, 23, 42, 0.95) !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    #navbar:not(.scrolled) {
        background: transparent !important;
    }

    /* Mobile Menu Animation */
    #mobileMenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #mobileMenu.open {
        max-height: 500px;
    }

    /* Scroll Reveal (progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 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; }
    }

    /* Focus Styles */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Form Input Focus States */
    input:focus, select:focus, textarea:focus {
        box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    }

    /* Image Loading */
    img {
        background-color: #1e293b;
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Print Styles */
    @media print {
        #navbar, #mobileMenu, .reveal {
            display: none !important;
        }

        body {
            color: #000;
            background: #fff;
        }
    }
