/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* 自定义样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

/* 渐变背景 */
.bg-gradient-subtle {
    background: linear-gradient(to right, rgba(249, 250, 251, 0.8), rgba(240, 249, 255, 0.8));
}

/* 细线 */
.thin-border {
    position: relative;
}

.thin-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: inherit;
    pointer-events: none;
}

/* 微妙阴影 */
.subtle-shadow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 卡片悬浮效果 */
.hover-card-effect {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-card-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 响应式调整 */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 移动端菜单 */
#mobileMenu {
    transition: max-height 0.3s ease;
}

/* FAQ 切换动画 */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-active .faq-content {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-active .faq-icon {
    transform: rotate(45deg);
}
