﻿/* ============================================================
   鹰牛官网 · /advantages 核心优势页
   复用首页设计系统：home.css 的 .hn-* 组件 + features.css 的 .fd-* 组件，
   本文件仅补充 .adv-* 差异项（Hero 居中、段内小标签、摘要角标）。
   进场动效复用 .fx（main.js 统一观察）+ home.js 数字滚动。
   ============================================================ */

/* ---------- 段标题：编号方块与文字垂直居中，桌面端一行放下 ---------- */
.hn-head { max-width: 860px; }
.hn-head .hn-title { font-size: clamp(24px, 2.4vw, 32px); }
/* 覆盖 features.css 的 vertical-align:-8px：窄屏换行时编号也与首行居中 */
.hn-head .fd-no { vertical-align: middle; margin-top: -4px; }
@media (min-width: 1025px) {
    .hn-head .hn-title { display: flex; align-items: center; white-space: nowrap; }
    .hn-head .fd-no { margin-top: 0; }
}

/* ---------- Hero：居中版式（同 fd-hero），统计行 3 列 ---------- */
.adv-hero { text-align: center; padding: 72px 0 56px; }
.adv-hero .hn-hero-badge { margin-inline: auto; }
.adv-hero .hn-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 860px;
    margin-inline: auto;
}

/* ---------- 段内小标签（"已上线能力" / "即将上线 · 规划中"） ---------- */
.adv-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 16px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--hn-line);
    background: var(--hn-card);
    color: var(--hn-muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
}
.adv-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hn-green);
    box-shadow: 0 0 8px rgba(52, 211, 153, .8);
    flex-shrink: 0;
}
.adv-tag--soon::before {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, .8);
}

/* ---------- 四卡摘要角标（卡标题右侧的短标语） ---------- */
.adv-sum {
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .3);
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    vertical-align: 2px;
    white-space: nowrap;
}

/* ---------- CTA 段：统计卡行在 flex column 容器里恢复三列 ---------- */
.hn-cta .fd-stats {
    width: 100%;
    max-width: 860px;
    margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .adv-hero .hn-hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .adv-hero { padding: 48px 0 40px; }
    .adv-hero .hn-hero-stats { grid-template-columns: 1fr; }
    .adv-sum { display: inline-block; margin: 8px 0 0; }
}
