    /* Base styles */
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
   }

    /* Scroll reveal (progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }

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

        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }

    /* Stat card float animation */
    @media (prefers-reduced-motion: no-preference) {
        .stat-card {
            animation: float 6s ease-in-out infinite;
        }
        .stat-card:nth-child(2) { animation-delay: -1.5s; }
        .stat-card:nth-child(3) { animation-delay: -3s; }
        .stat-card:nth-child(4) { animation-delay: -4.5s; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    /* Header scroll state */
    #site-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    #site-header.scrolled .text-slate-900 {
        color: #0f172a;
    }

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

    /* Selection color */
    ::selection {
        background: rgba(13, 148, 136, 0.2);
        color: #0f172a;
    }

    /* Mobile menu transition */
    #mobile-menu {
        animation: slideDown 0.2s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
