    /* Custom styles beyond Tailwind */

    /* Smooth scroll */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(20, 184, 166, 0.2);
        color: #134e4a;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

    /* Reveal animations - progressive enhancement with JS */
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* When JS is enabled, these get animated classes */
    .js-enabled .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    .js-enabled .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    .js-enabled .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .js-enabled .reveal-up.revealed,
    .js-enabled .reveal-left.revealed,
    .js-enabled .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }

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

    /* Navbar transition for scroll state */
    #navbar.scrolled {
        background-color: rgba(2, 6, 23, 0.95) !important;
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    /* Active nav link */
    .nav-link.active {
        color: #5eead4 !important;
    }

    /* Mobile nav link hover */
    .mobile-nav-link::after {
        content: '';
        display: block;
        height: 1px;
        background: linear-gradient(to right, transparent, #14b8a6, transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }
    .mobile-nav-link:hover::after {
        opacity: 1;
    }

    /* Print styles */
    @media print {
        #navbar, #mobile-menu, .reveal-up, .reveal-left, .reveal-right {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
