/* 滚动显示动画 */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* 粒子动画 */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50px) translateX(-30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-150px) translateX(20px) scale(1.1);
        opacity: 0.7;
    }
}

/* 数字滚动动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.5s ease-out;
}

/* 卡片悬浮效果 */
.business-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-8px);
}

/* 图标旋转效果 */
.card-icon svg {
    transition: transform 0.5s ease;
}

.business-card:hover .card-icon svg {
    transform: rotate(10deg) scale(1.1);
}

/* 按钮脉冲效果 */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* 导航栏下划线动画 */
.nav-links a::after {
    transition: width 0.3s ease;
}

/* 步骤连接线动画 */
.step-connector {
    position: relative;
    overflow: hidden;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* 滚动指示器动画 */
.scroll-arrow {
    animation: bounce 2s infinite;
}

/* 合作伙伴无限滚动 */
.marquee-track {
    animation: marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* 页脚链接悬停效果 */
.footer-links a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-orange);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 渐变文字动画 */
.highlight {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 图片悬停缩放 */
.img-zoom {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* 标签动画 */
.section-tag {
    animation: tagPulse 2s ease infinite;
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255,179,102,0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255,179,102,0);
    }
}

/* 响应式动画调整 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 移动端触摸反馈 */
@media (hover: none) {
    .business-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary:active {
        transform: scale(0.95);
    }
}