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

body {
    font-family: 'Noto Sans SC', 'Heiti SC', 'Hiragino Sans GB', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans SC', 'Heiti SC', 'Hiragino Sans GB', sans-serif;
}

.font-geist-mono {
    font-family: monospace, 'Heiti SC', 'Hiragino Sans GB', sans-serif;
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.5);
}

/* 品牌卡片效果 */
.brand-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 导航链接悬停效果 */
nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}
