/* ================= 动态效果增强 ================= */

/* 1. 全局平滑入场动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 给不同区域设置不同的延迟，形成错落感 */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* 2. 特色卡片悬停效果：轻微上浮 + 阴影 */
.feature-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 3. “通知我”按钮呼吸灯效果 */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 85, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0); }
}

.btn-orange {
    animation: pulse 2s infinite;
}
.btn-orange:hover {
    animation: none; /* 悬停时停止呼吸，防止闪烁 */
    transform: scale(1.02);
}

/* 4. 图片淡入优化 */
.hero-section, .value-section, .features-section {
    will-change: transform, opacity;
}