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

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: rgba(61, 168, 126, 0.2);
        color: inherit;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: #0f1c2e;
    }
    ::-webkit-scrollbar-thumb {
        background: #3d6394;
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #5a7fae;
    }

    /* Navbar transition */
    #navbar.scrolled {
        background-color: rgba(8, 15, 26, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    #navbar.scrolled .text-current,
    #navbar.scrolled .nav-link,
    #navbar.scrolled .menu-line {
        color: #ffffff;
    }

    /* Hero animations */
    .hero-subtitle {
        animation: fadeUp 0.8s ease forwards;
        animation-delay: 0.3s;
        opacity: 0;
    }

    .hero-title {
        animation: fadeUp 0.8s ease forwards;
        animation-delay: 0.6s;
        opacity: 0;
    }

    .hero-description {
        animation: fadeUp 0.8s ease forwards;
        animation-delay: 0.9s;
        opacity: 0;
    }

    .hero-ctas {
        animation: fadeUp 0.8s ease forwards;
        animation-delay: 1.2s;
        opacity: 0;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(24px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reveal animations — progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .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; }
        .reveal:nth-child(5) { transition-delay: 0.4s; }
        .reveal:nth-child(6) { transition-delay: 0.5s; }
    }

    /* Mobile menu */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    #mobile-menu.open .mobile-link {
        animation: fadeUp 0.4s ease forwards;
        opacity: 0;
    }

    #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
    #mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.3s; }

    /* Hamburger animation */
    .menu-toggle.active .menu-line:first-child {
        transform: rotate(45deg) translate(3px, 3px);
    }
    .menu-toggle.active .menu-line:last-child {
        transform: rotate(-45deg) translate(2px, -2px);
    }

    /* Select styling */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }

    /* Focus visible */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 2px solid #3da87e;
        outline-offset: 2px;
    }

    /* Utility */
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background-color: currentColor;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }
