/* ========================================
   爱加速 - 首页专属样式 (v1 科技蓝)
   ======================================== */

/* 额外的首页动画 */
.hero-title {
    animation: fadeInUp 0.8s ease-out;
}
.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动淡入效果 */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 场景卡片hover */
.scenario-card {
    cursor: default;
}

/* 价格卡片的热门标签 */
.pricing-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.05em;
}

/* Hero区手机端logo */
.hero-visual {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 数字动画 */
.stat-num {
    transition: all 0.3s;
}

/* 连接卡片脉冲 */
.connection-card {
    animation: cardPulse 3s ease-in-out infinite;
}

@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
    }
    50% {
        box-shadow: 0 10px 40px rgba(37,99,235,0.15), 0 4px 16px rgba(37,99,235,0.1);
    }
}

/* FAQ展开动画 */
.faq-item.open .faq-a {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 导航栏滚动进度指示（可选） */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    width: 0;
    transition: width 0.3s;
}

.navbar.scrolled::after {
    width: 100%;
}
