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

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

    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            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:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(253, 252, 248, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
    }

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

    ::-webkit-scrollbar-track {
        background: #fdfcf8;
    }

    ::-webkit-scrollbar-thumb {
        background: #065f46;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #047857;
    }

    /* Selection color */
    ::selection {
        background: #065f46;
        color: #fdfcf8;
    }

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

    /* Input autofill styling */
    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #faf8f0 inset !important;
        -webkit-text-fill-color: #064e3b !important;
    }
