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

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

    body {
        overflow-x: hidden;
    }

    /* Scroll Reveal */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }

    /* Navbar */
    #navbar {
        background: transparent;
        backdrop-filter: none;
    }

    #navbar.scrolled {
        background: rgba(8, 15, 26, 0.92);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    }

    #navbar.scrolled .font-serif {
        color: #fbbf24;
    }

    /* Selection */
    ::selection {
        background: rgba(20, 184, 166, 0.3);
        color: #f0fdfa;
    }

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

    ::-webkit-scrollbar-track {
        background: #080f1a;
    }

    ::-webkit-scrollbar-thumb {
        background: #1e293b;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #0f766e;
    }

    /* Image aspect ratios */
    .h-56 {
        height: 14rem;
    }

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

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

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .reveal,
        .reveal-hidden {
            opacity: 1;
            transform: none;
            transition: none;
        }

        html {
            scroll-behavior: auto;
        }

        .animate-bounce {
            animation: none;
        }

        .animate-pulse {
            animation: none;
        }

        .group-hover\:scale-105,
        .transition-all {
            transition: none;
        }
    }

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