    /* Base & Reset */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

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

    body {
        overflow-x: hidden;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #060f18;
    }
    ::-webkit-scrollbar-thumb {
        background: #1e3a52;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #2e5272;
    }

    /* Selection */
    ::selection {
        background: rgba(63, 184, 136, 0.3);
        color: #f0f4f8;
    }

    /* Animation keyframes */
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    @keyframes pulse-ring {
        0% { transform: scale(0.95); opacity: 0.7; }
        50% { transform: scale(1); opacity: 1; }
        100% { transform: scale(0.95); opacity: 0.7; }
    }

    /* Reveal animations - progressive enhancement, only active when JS runs */
    .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.revealed {
        opacity: 1;
        transform: translateY(0);
    }

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

    /* Nav scroll state */
    .nav-scrolled {
        background: rgba(6, 15, 24, 0.95) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(63, 184, 136, 0.1);
    }

    /* Image placeholder fallback */
    img {
        background: linear-gradient(135deg, #0d1c2b 0%, #152a3c 100%);
    }

    /* Focus styles */
    a:focus-visible, button:focus-visible {
        outline: 2px solid #3fb888;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Form styles */
    input, textarea {
        background: rgba(13, 28, 43, 0.8);
        border: 1px solid rgba(46, 82, 114, 0.5);
        color: #f0f4f8;
        border-radius: 8px;
        padding: 12px 16px;
        font-family: inherit;
        font-size: 1rem;
        width: 100%;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    input:focus, textarea:focus {
        outline: none;
        border-color: #3fb888;
        box-shadow: 0 0 0 3px rgba(63, 184, 136, 0.15);
    }

    input::placeholder, textarea::placeholder {
        color: #507098;
    }

    /* Contact form success message */
    .form-success {
        display: none;
        background: rgba(63, 184, 136, 0.1);
        border: 1px solid rgba(63, 184, 136, 0.3);
        color: #9fe8cd;
        padding: 16px 20px;
        border-radius: 12px;
        margin-top: 16px;
        text-align: center;
    }

    .form-success.show {
        display: block;
        animation: fadeIn 0.5s ease;
    }

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