/* Google Fonts 引入：Inter (英文) & Noto Sans SC (中文) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 全局基础设置 */
body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #F9F9F7; /* 米白/沙色基调 */
    color: #262626; /* 炭黑 */
    overflow-x: hidden;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 优雅的自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #D1D1D1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A3A3A3;
}

/* 自定义淡入上浮动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0; /* 初始隐藏 */
}

/* 动画延迟工具类 */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }

/* 视差滚动背景辅助 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 图片悬停微交互增强 */
.hover-zoom-img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group:hover .hover-zoom-img {
    transform: scale(1.03);
}

/* 文本两端对齐优化 */
.text-balance {
    text-wrap: balance;
}

/* 移动端触摸优化 */
@media (hover: none) {
    .parallax-bg {
        background-attachment: scroll; /* 移动端禁用fixed以提升性能 */
    }
}