@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

/* Glass navigation effect */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #1a5fb4 0%, #0d3a73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

#mobile-menu.menu-open {
    transform: translateX(0);
}

/* Form success animation */
.form-success {
    animation: fadeIn 0.5s ease-in;
}

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

/* Optimize image loading */
img {
    loading: lazy;
}

/* Improve focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, transform, opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
