/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 基础动画设置 */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideInFromBottom 1s ease forwards;
}

/* 视口内动画触发 */
.fade-in-on-visible {
    opacity: 0;
    transition: opacity 1s ease;
}

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

/* 首次加载动画 */
.first-load-animation {
    animation: fadeIn 1s ease forwards;
}

/* 主标题动画 - 只在hero部分 */
.title-animation {
    opacity: 0;
    animation: slideInFromBottom 1s ease 0.2s forwards;
}

/* 动画延迟类 */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}