* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    line-height: 1.6;
}

/* 导航栏样式增强（配合 Tailwind 状态类使用） */
#navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.97);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
}

/* 首页渐显动画 */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

section {
    scroll-margin-top: 80px;
}

/* 卡片通用交互 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* 响应式优化 */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2.25rem;
    }

    #home p {
        font-size: 1rem;
    }
}


