    /* Custom styles beyond Tailwind */

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

    /* Focus visible styles */
    *:focus-visible {
        outline: 2px solid #0d9488;
        outline-offset: 2px;
    }

    /* 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;
    }

    /* Scroll reveal base — always visible by default (progressive enhancement) */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* Animated state — only applied via JS when in viewport */
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* Navbar scroll state */
    .navbar-scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    }

    /* Hero text glow for readability */
    .hero-glow {
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    /* Selection color */
    ::selection {
        background: #99f6e4;
        color: #042f2e;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .scroll-reveal {
            transition: none;
        }
        .scroll-reveal.revealed {
            opacity: 1;
            transform: none;
        }
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.25s ease;
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Button press effect */
    button, a {
        -webkit-tap-highlight-color: transparent;
    }
