/* V3 首页专属动画 */

/* Hero入场动画 */
.hero-badge { animation: slideDown 0.7s ease-out; }
.hero-title { animation: slideDown 0.7s ease-out 0.1s both; }
.hero-subtitle { animation: slideDown 0.7s ease-out 0.2s both; }
.hero-stats { animation: slideDown 0.7s ease-out 0.3s both; }
.hero-actions { animation: slideDown 0.7s ease-out 0.4s both; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 滚动淡入 */
.section {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }

/* FAQ展开 */
.faq-item.open .faq-a {
    animation: expand 0.3s ease-out;
}
@keyframes expand {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 导航进度线 */
.navbar::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    height: 2px; background: linear-gradient(90deg, var(--primary), rgba(34,197,94,0.2));
    width: 0; transition: width 0.3s;
}
.navbar.scrolled::after { width: 100%; }

/* 热门卡片装饰 */
.scenario-card.featured::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 28px 28px 0 0;
}
