/* =========================================================
   安牌官网 v2 — index2.css
   设计语言：Bento Grid + Glassmorphism + Gradient Mesh
   作用域：所有选择器以 .ap2- 前缀隔离，避免与 main.css 冲突
   ========================================================= */

:root {
    --ap2-brand: #2b6cff;
    --ap2-brand-deep: #1956e0;
    --ap2-cyan: #06b6d4;
    --ap2-purple: #8b5cf6;
    --ap2-ink: #0f172a;
    --ap2-ink-2: #1e293b;
    --ap2-muted: #5b6478;
    --ap2-line: rgba(15, 23, 42, .08);
    --ap2-surface: #f7f9fc;
    --ap2-surface-2: #ffffff;
    --ap2-navy: #0a1330;
    --ap2-navy-2: #0b1437;
    --ap2-radius: 20px;
    --ap2-radius-sm: 14px;
    --ap2-shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
    --ap2-shadow: 0 18px 50px -18px rgba(15, 23, 42, .18);
    --ap2-shadow-lg: 0 30px 80px -24px rgba(25, 86, 224, .28);
    --ap2-grad-brand: linear-gradient(135deg, #2b6cff 0%, #06b6d4 100%);
    --ap2-grad-purple: linear-gradient(135deg, #8b5cf6 0%, #2b6cff 100%);
    --ap2-grad-mesh: radial-gradient(60% 60% at 15% 10%, rgba(43, 108, 255, .35) 0%, transparent 60%),
        radial-gradient(50% 50% at 90% 20%, rgba(139, 92, 246, .30) 0%, transparent 60%),
        radial-gradient(55% 55% at 70% 90%, rgba(6, 182, 212, .28) 0%, transparent 60%);
    --ap2-ease: cubic-bezier(.22, .61, .36, 1);
    --ap2-container: 1200px;
}

/* ---------- 基础重置（仅作用于 ap2 区块） ---------- */
.ap2 * { box-sizing: border-box; }
.ap2 { color: var(--ap2-ink); line-height: 1.6; }
.ap2 section { position: relative; }
.ap2-container { width: var(--ap2-container); max-width: calc(100% - 48px); margin: 0 auto; }
.ap2-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 999px;
    background: rgba(43, 108, 255, .08); color: var(--ap2-brand-deep);
    font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.ap2-eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ap2-grad-brand); box-shadow: 0 0 0 4px rgba(43, 108, 255, .15);
}
.ap2-title {
    font-size: 40px; line-height: 1.25; font-weight: 800; color: var(--ap2-ink);
    letter-spacing: -.01em; margin: 18px 0 14px;
}
.ap2-subtitle { font-size: 16px; color: var(--ap2-muted); max-width: 720px; }
.ap2-head { text-align: center; margin: 0 auto; max-width: 760px; }
.ap2-head .ap2-subtitle { margin: 0 auto; }
.ap2-grad-text {
    background: var(--ap2-grad-brand); -webkit-background-clip: text;
    background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 按钮 ---------- */
.ap2-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
    font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: transform .25s var(--ap2-ease), box-shadow .25s var(--ap2-ease), background .25s;
    white-space: nowrap;
}
.ap2-btn-primary { color: #fff; background: var(--ap2-grad-brand); box-shadow: 0 12px 30px -10px rgba(43, 108, 255, .6); }
.ap2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(43, 108, 255, .7); }
.ap2-btn-ghost { color: var(--ap2-ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--ap2-line); backdrop-filter: blur(8px); }
.ap2-btn-ghost:hover { transform: translateY(-2px); border-color: rgba(43, 108, 255, .4); color: var(--ap2-brand-deep); }
.ap2-btn svg { width: 16px; height: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.ap2-hero {
    position: relative; overflow: hidden;
    padding: 96px 0 120px;
    background: linear-gradient(180deg, #0a1330 0%, #0b1437 60%, #0e1a45 100%);
    color: #fff;
}
.ap2-hero::before {
    content: ""; position: absolute; inset: 0;
    background: var(--ap2-grad-mesh); opacity: .9; pointer-events: none;
}
.ap2-hero::after {
    /* 网格底纹 */
    content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.ap2-hero .ap2-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.ap2-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    color: #c7d2fe; font-size: 13px; font-weight: 600; letter-spacing: .04em;
    backdrop-filter: blur(8px);
}
.ap2-hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.ap2-hero h1 {
    font-size: 56px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
    margin: 22px 0 18px;
}
.ap2-hero h1 .line { display: block; }
.ap2-hero-lead { font-size: 17px; color: rgba(226, 232, 240, .82); max-width: 540px; margin-bottom: 30px; }
.ap2-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ap2-hero-actions .ap2-btn-primary { box-shadow: 0 16px 40px -12px rgba(43, 108, 255, .8); }
.ap2-hero-actions .ap2-btn-ghost { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.ap2-hero-actions .ap2-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* 搜索卡片 */
.ap2-search {
    margin-top: 38px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px; padding: 12px; backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
    max-width: 620px;
}
.ap2-search-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.ap2-search-tab {
    padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: rgba(226, 232, 240, .7); cursor: pointer; transition: all .25s var(--ap2-ease);
}
.ap2-search-tab:hover { color: #fff; }
.ap2-search-tab.active { background: rgba(255, 255, 255, .14); color: #fff; }
.ap2-search-row { display: flex; gap: 10px; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 6px 6px 6px 18px; align-items: center; }
.ap2-search-row input {
    flex: 1; height: 46px; background: transparent; border: 0; outline: 0;
    color: #fff; font-size: 15px;
}
.ap2-search-row input::placeholder { color: rgba(203, 213, 225, .55); }
.ap2-search-btn {
    height: 46px; padding: 0 26px; border: 0; border-radius: 12px; cursor: pointer;
    color: #fff; font-size: 15px; font-weight: 600; background: var(--ap2-grad-brand);
    display: inline-flex; align-items: center; gap: 8px; transition: transform .25s, box-shadow .25s;
}
.ap2-search-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(43, 108, 255, .8); }
.ap2-search-hot { margin-top: 12px; font-size: 13px; color: rgba(203, 213, 225, .6); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ap2-search-hot a { color: rgba(203, 213, 225, .85); }
.ap2-search-hot a:hover { color: #fff; }

/* Hero 右侧：实时数据面板（单卡，避免多绝对定位卡错位） */
.ap2-hero-visual { position: relative; min-height: 440px; display: flex; align-items: center; }
.ap2-hero-panel {
    width: 100%;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px; padding: 26px; backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
    animation: ap2-float 7s ease-in-out infinite;
}
.ap2-hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ap2-hero-panel-head .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c7d2fe; }
.ap2-hero-panel-head .tag i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.ap2-hero-panel-head .badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #34d399; padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .3); }
.ap2-hero-panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.ap2-hero-panel-stat { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ap2-hero-panel-stat .label { font-size: 12px; color: rgba(203, 213, 225, .7); margin-bottom: 6px; }
.ap2-hero-panel-stat .num { font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.ap2-hero-panel-stat .delta { font-size: 11px; color: #34d399; margin-top: 4px; }
.ap2-hero-panel-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 14px; font-size: 13px; color: #c7d2fe; }
.ap2-hero-panel-bar .rings { display: flex; gap: 6px; }
.ap2-hero-panel-bar .rings span { width: 26px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.ap2-hero-panel-bar .rings span:nth-child(1) { background: var(--ap2-grad-brand); }
.ap2-hero-panel-bar .rings span:nth-child(2) { background: rgba(43, 108, 255, .6); }
.ap2-hero-panel-bar .rings span:nth-child(3) { background: rgba(139, 92, 246, .5); }
.ap2-hero-panel-bar .rings span:nth-child(4) { background: rgba(255, 255, 255, .18); }
.ap2-hero-panel-list { display: flex; gap: 8px; flex-wrap: wrap; }
.ap2-hero-panel-list div { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(226, 232, 240, .8); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.ap2-hero-panel-list div i { width: 5px; height: 5px; border-radius: 50%; background: var(--ap2-grad-brand); }
@keyframes ap2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ap2-hero-marquee { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }
.ap2-hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 28px 0 0; margin-top: 64px;
}
.ap2-hero-stat { padding: 0 8px; border-right: 1px solid rgba(255, 255, 255, .1); }
.ap2-hero-stat:last-child { border-right: 0; }
.ap2-hero-stat .v { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.ap2-hero-stat .v small { font-size: 14px; font-weight: 600; color: rgba(203, 213, 225, .7); margin-left: 2px; }
.ap2-hero-stat .k { font-size: 13px; color: rgba(203, 213, 225, .7); margin-top: 4px; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.ap2-trust { background: var(--ap2-surface-2); border-bottom: 1px solid var(--ap2-line); }
.ap2-trust .ap2-container { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; flex-wrap: wrap; gap: 18px; }
.ap2-trust-item { display: flex; align-items: center; gap: 12px; color: var(--ap2-ink-2); }
.ap2-trust-item .ic {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(43, 108, 255, .08); color: var(--ap2-brand-deep);
}
.ap2-trust-item .ic svg { width: 22px; height: 22px; }
.ap2-trust-item b { font-size: 15px; font-weight: 700; display: block; }
.ap2-trust-item span { font-size: 13px; color: var(--ap2-muted); }

/* =========================================================
   PRODUCTS (Bento)
   ========================================================= */
.ap2-products { padding: 110px 0 90px; background: var(--ap2-surface); }
.ap2-bento {
    margin-top: 56px;
    display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px;
    gap: 22px;
}
.ap2-bento-card {
    position: relative; overflow: hidden;
    border-radius: var(--ap2-radius); padding: 30px;
    background: var(--ap2-surface-2); border: 1px solid var(--ap2-line);
    box-shadow: var(--ap2-shadow-sm);
    transition: transform .35s var(--ap2-ease), box-shadow .35s var(--ap2-ease), border-color .35s;
    display: flex; flex-direction: column;
}
.ap2-bento-card:hover { transform: translateY(-6px); box-shadow: var(--ap2-shadow); border-color: rgba(43, 108, 255, .25); }
.ap2-bento-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; background: var(--ap2-grad-brand); box-shadow: 0 12px 26px -12px rgba(43, 108, 255, .8); }
.ap2-bento-card .ic svg { width: 26px; height: 26px; }
.ap2-bento-card h3 { font-size: 22px; font-weight: 800; color: var(--ap2-ink); margin-bottom: 6px; letter-spacing: -.01em; }
.ap2-bento-card .tagline { font-size: 13px; color: var(--ap2-brand-deep); font-weight: 600; margin-bottom: 12px; }
.ap2-bento-card p { font-size: 14px; color: var(--ap2-muted); flex: 1; }
.ap2-bento-card .lnk { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ap2-brand-deep); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.ap2-bento-card .lnk:hover { gap: 10px; }
.ap2-bento-card .lnk svg { width: 16px; height: 16px; }

/* 大卡：安牌宝机构版 */
.ap2-bento-card.featured { grid-column: span 4; grid-row: span 2; padding: 38px; background: linear-gradient(135deg, #0a1330 0%, #15246b 100%); color: #fff; border: 0; }
.ap2-bento-card.featured::before { content: ""; position: absolute; inset: 0; background: var(--ap2-grad-mesh); opacity: .8; pointer-events: none; }
.ap2-bento-card.featured > * { position: relative; z-index: 1; }
.ap2-bento-card.featured .ic { background: rgba(255, 255, 255, .16); box-shadow: none; }
.ap2-bento-card.featured h3 { color: #fff; font-size: 30px; }
.ap2-bento-card.featured .tagline { color: #c7d2fe; }
.ap2-bento-card.featured p { color: rgba(226, 232, 240, .82); font-size: 15px; max-width: 460px; }
.ap2-bento-card.featured .lnk { color: #fff; }
.ap2-bento-card.featured .pill-row { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.ap2-bento-card.featured .pill { padding: 6px 12px; border-radius: 999px; font-size: 12px; color: #e0e7ff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }

/* 普通卡：跨 2 列 — icon 右上角悬浮，腾出垂直空间 */
.ap2-bento-card.span2 { grid-column: span 2; padding: 26px 28px; }
.ap2-bento-card.span2 .ic {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0;
}
.ap2-bento-card.span2 .ic svg { width: 22px; height: 22px; }
.ap2-bento-card.span2 h3 { font-size: 20px; margin-bottom: 4px; padding-right: 54px; }
.ap2-bento-card.span2 .tagline { font-size: 12px; margin-bottom: 10px; }
.ap2-bento-card.span2 p { font-size: 13px; line-height: 1.65; }
.ap2-bento-card.span2 .lnk { margin-top: 14px; font-size: 13px; }
/* 底部行跨 3 列，与 featured(4)+span2(2) 拼成完整 6 列网格，避免空隙 */
.ap2-bento-card.span3 { grid-column: span 3; flex-direction: row; align-items: center; gap: 24px; }
.ap2-bento-card.span3 .ap2-bento-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ap2-bento-card.span3 .ap2-bento-body .ic { margin-bottom: 14px; }
.ap2-bento-card.span3 .mini-code { flex-shrink: 0; margin-top: 0; width: 104px; height: 104px; border-radius: 14px; box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .18); }
.ap2-bento-card.purple .ic { background: var(--ap2-grad-purple); box-shadow: 0 12px 26px -12px rgba(139, 92, 246, .8); }
.ap2-bento-card.cyan .ic { background: linear-gradient(135deg, #06b6d4 0%, #2b6cff 100%); box-shadow: 0 12px 26px -12px rgba(6, 182, 212, .8); }
.ap2-bento-card.green .ic { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); box-shadow: 0 12px 26px -12px rgba(16, 185, 129, .8); }
.ap2-bento-card.amber .ic { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); box-shadow: 0 12px 26px -12px rgba(245, 158, 11, .8); }

.ap2-bento-card .mini-code { margin-top: 14px; width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 6px; }
.ap2-bento-card .mini-code img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   CAPABILITIES
   ========================================================= */
.ap2-cap { padding: 100px 0; background: var(--ap2-surface-2); }
.ap2-cap-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ap2-cap-card {
    position: relative; padding: 32px 26px; border-radius: var(--ap2-radius);
    background: var(--ap2-surface); border: 1px solid transparent;
    transition: transform .35s var(--ap2-ease), border-color .35s;
    background-clip: padding-box;
}
.ap2-cap-card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--ap2-radius); padding: 1px;
    background: linear-gradient(135deg, rgba(43, 108, 255, .5), rgba(139, 92, 246, .3), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
    opacity: .5; transition: opacity .35s;
}
.ap2-cap-card:hover { transform: translateY(-6px); }
.ap2-cap-card:hover::before { opacity: 1; }
.ap2-cap-card .num { font-size: 13px; font-weight: 700; color: var(--ap2-brand-deep); letter-spacing: .12em; }
.ap2-cap-card h4 { font-size: 19px; font-weight: 800; margin: 12px 0 12px; color: var(--ap2-ink); }
.ap2-cap-card p { font-size: 14px; color: var(--ap2-muted); }
.ap2-cap-card .bar { margin-top: 18px; height: 4px; border-radius: 4px; background: var(--ap2-grad-brand); width: 40px; transition: width .4s var(--ap2-ease); }
.ap2-cap-card:hover .bar { width: 80px; }

/* =========================================================
   HUNT (定向猎标)
   ========================================================= */
.ap2-hunt { padding: 100px 0 110px; background: linear-gradient(180deg, #0a1330 0%, #0b1437 100%); color: #fff; overflow: hidden; }
.ap2-hunt::before { content: ""; position: absolute; inset: 0; background: var(--ap2-grad-mesh); opacity: .7; pointer-events: none; }
.ap2-hunt .ap2-container { position: relative; z-index: 1; }
.ap2-hunt .ap2-title { color: #fff; }
.ap2-hunt .ap2-subtitle { color: rgba(226, 232, 240, .8); }
.ap2-hunt-head { text-align: center; max-width: 760px; margin: 0 auto; }
.ap2-hunt-head .ap2-eyebrow { background: rgba(255, 255, 255, .08); color: #c7d2fe; border: 1px solid rgba(255, 255, 255, .14); }

.ap2-hunt-features { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ap2-hunt-feat {
    padding: 28px; border-radius: var(--ap2-radius);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px); transition: transform .35s var(--ap2-ease), background .35s;
}
.ap2-hunt-feat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.ap2-hunt-feat .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(43, 108, 255, .18); color: #93c5fd; margin-bottom: 18px; }
.ap2-hunt-feat .ic i { font-size: 24px; }
.ap2-hunt-feat h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.ap2-hunt-feat p { font-size: 13px; color: rgba(203, 213, 225, .75); line-height: 1.7; }

/* 服务流程 stepper */
.ap2-hunt-flow { margin-top: 70px; }
.ap2-hunt-flow h3 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 44px; }
.ap2-hunt-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.ap2-hunt-steps::before {
    content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, rgba(43, 108, 255, .2), rgba(43, 108, 255, .7), rgba(139, 92, 246, .2));
}
.ap2-hunt-step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.ap2-hunt-step .dot {
    width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
    display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #2b6cff 0%, #15246b 100%);
    box-shadow: 0 0 0 6px rgba(43, 108, 255, .15), 0 14px 30px -12px rgba(43, 108, 255, .7);
    border: 2px solid rgba(255, 255, 255, .2);
}
.ap2-hunt-step h5 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.ap2-hunt-step p { font-size: 12.5px; color: rgba(203, 213, 225, .7); }

/* =========================================================
   CLIENTS
   ========================================================= */
.ap2-clients { padding: 100px 0; background: var(--ap2-surface); }
.ap2-clients-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ap2-clients-item {
    height: 110px; border-radius: var(--ap2-radius-sm); background: var(--ap2-surface-2);
    border: 1px solid var(--ap2-line); display: grid; place-items: center; padding: 16px;
    transition: transform .3s var(--ap2-ease), box-shadow .3s, border-color .3s;
}
.ap2-clients-item:hover { transform: translateY(-4px); box-shadow: var(--ap2-shadow); }
.ap2-clients-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.ap2-clients-item:hover img { filter: grayscale(0); opacity: 1; }

/* =========================================================
   CTA
   ========================================================= */
.ap2-cta { padding: 80px 0; }
.ap2-cta-inner {
    position: relative; overflow: hidden;
    border-radius: 28px; padding: 60px 64px;
    background: linear-gradient(135deg, #15246b 0%, #2b6cff 60%, #06b6d4 100%);
    color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px;
    box-shadow: var(--ap2-shadow-lg);
}
.ap2-cta-inner::before { content: ""; position: absolute; inset: 0; background: var(--ap2-grad-mesh); opacity: .6; pointer-events: none; }
.ap2-cta-inner > * { position: relative; z-index: 1; }
.ap2-cta-inner h3 { font-size: 32px; font-weight: 800; letter-spacing: -.01em; }
.ap2-cta-inner p { font-size: 16px; color: rgba(255, 255, 255, .85); margin-top: 10px; }
.ap2-cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
.ap2-cta-actions .ap2-btn-primary { background: #fff; color: var(--ap2-brand-deep); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .35); }
.ap2-cta-actions .ap2-btn-ghost { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.ap2-cta-actions .ap2-btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* =========================================================
   滚动出现动画
   ========================================================= */
.ap2-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ap2-ease), transform .8s var(--ap2-ease); }
.ap2-reveal.in { opacity: 1; transform: none; }
.ap2-reveal.d1 { transition-delay: .08s; }
.ap2-reveal.d2 { transition-delay: .16s; }
.ap2-reveal.d3 { transition-delay: .24s; }
.ap2-reveal.d4 { transition-delay: .32s; }

/* 悬浮按钮收缩球 — 桌面端隐藏 toggle */
.index_float_toggle { display: none; }

/* =========================================================
   响应式
   ========================================================= */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
    .ap2-hero .ap2-container { grid-template-columns: 1fr; gap: 36px; }
    .ap2-hero-visual { display: none; }
    .ap2-hero h1 { font-size: 44px; }
    .ap2-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .ap2-bento-card.featured, .ap2-bento-card.span2, .ap2-bento-card.span3 { grid-column: span 2; grid-row: auto; }
    .ap2-bento-card.span3 { flex-direction: column; gap: 16px; }
    .ap2-bento-card.span3 .mini-code { margin-top: 0; }
    .ap2-cap-grid { grid-template-columns: repeat(2, 1fr); }
    .ap2-hunt-features { grid-template-columns: repeat(2, 1fr); }
    .ap2-hunt-steps { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
    .ap2-hunt-steps::before { display: none; }
    .ap2-clients-grid { grid-template-columns: repeat(4, 1fr); }
    .ap2-cta-inner { flex-direction: column; text-align: center; padding: 44px 28px; }
    .ap2-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
    .ap2-hero-stat { border-right: 0; }
}

/* ---- Mobile (≤640px) ---- */
@media (max-width: 640px) {
    /* 基础 */
    .ap2-container { max-width: calc(100% - 32px); }
    .ap2-btn { height: 44px; padding: 0 22px; font-size: 14px; }
    .ap2-title { font-size: 26px; margin: 14px 0 10px; }
    .ap2-subtitle { font-size: 14px; }
    .ap2-eyebrow { font-size: 12px; padding: 6px 14px; }

    /* Hero */
    .ap2-hero { padding: 44px 0 48px; }
    .ap2-hero h1 { font-size: 30px; margin: 18px 0 14px; }
    .ap2-hero-lead { font-size: 15px; margin-bottom: 24px; }
    .ap2-hero-eyebrow { font-size: 12px; padding: 6px 14px; }
    .ap2-search { padding: 10px; border-radius: 18px; margin-top: 28px; }
    .ap2-search-tabs { gap: 2px; margin-bottom: 8px; }
    .ap2-search-tab { padding: 6px 12px; font-size: 12px; }
    .ap2-search-row { padding: 5px 5px 5px 14px; border-radius: 12px; }
    .ap2-search-row input { height: 42px; font-size: 14px; }
    .ap2-search-btn { height: 42px; padding: 0 18px; font-size: 14px; }
    .ap2-search-btn svg { width: 16px; height: 16px; }
    .ap2-search-hot { font-size: 12px; gap: 10px; margin-top: 10px; }
    .ap2-hero-actions { gap: 10px; }
    .ap2-hero-actions .ap2-btn { flex: 1; justify-content: center; }
    .ap2-hero-stats { margin-top: 36px; padding-top: 24px; gap: 24px 0; }
    .ap2-hero-stat .v { font-size: 24px; }
    .ap2-hero-stat .v small { font-size: 13px; }
    .ap2-hero-stat .k { font-size: 12px; }

    /* Trust */
    .ap2-trust .ap2-container { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 24px; }
    .ap2-trust-item .ic { width: 38px; height: 38px; border-radius: 10px; }
    .ap2-trust-item .ic svg { width: 20px; height: 20px; }
    .ap2-trust-item b { font-size: 14px; }
    .ap2-trust-item span { font-size: 12px; }

    /* Products (Bento) */
    .ap2-products { padding: 56px 0 48px; }
    .ap2-bento { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .ap2-bento-card { padding: 24px; }
    .ap2-bento-card.featured, .ap2-bento-card.span2, .ap2-bento-card.span3 { grid-column: span 1; }
    .ap2-bento-card.featured { padding: 28px; }
    .ap2-bento-card.featured h3 { font-size: 24px; }
    .ap2-bento-card.featured p { font-size: 14px; }
    .ap2-bento-card.featured .pill-row { margin-top: 16px; }
    .ap2-bento-card.span2 .ic { width: 40px; height: 40px; top: 20px; right: 20px; border-radius: 11px; }
    .ap2-bento-card.span2 .ic svg { width: 20px; height: 20px; }
    .ap2-bento-card.span2 h3 { font-size: 18px; padding-right: 48px; }
    .ap2-bento-card.span3 { align-items: flex-start; }
    .ap2-bento-card.span3 .mini-code { width: 88px; height: 88px; }

    /* Capabilities */
    .ap2-cap { padding: 56px 0; }
    .ap2-cap-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .ap2-cap-card { padding: 24px 22px; }
    .ap2-cap-card h4 { font-size: 17px; }

    /* Hunt */
    .ap2-hunt { padding: 56px 0 64px; }
    .ap2-hunt-features { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .ap2-hunt-feat { padding: 22px; }
    .ap2-hunt-flow { margin-top: 44px; }
    .ap2-hunt-flow h3 { font-size: 22px; margin-bottom: 28px; }
    .ap2-hunt-steps { grid-template-columns: 1fr; gap: 0; }
    .ap2-hunt-steps::before {
        display: block; top: 44px; left: 27px; right: auto; bottom: 44px;
        width: 2px; height: auto;
        background: linear-gradient(180deg, rgba(43, 108, 255, .5), rgba(139, 92, 246, .2));
    }
    .ap2-hunt-step { display: flex; align-items: flex-start; gap: 16px; text-align: left; padding: 16px 0; }
    .ap2-hunt-step .dot { width: 48px; height: 48px; font-size: 16px; margin: 0; flex-shrink: 0; }
    .ap2-hunt-step h5 { margin-bottom: 4px; }

    /* Clients */
    .ap2-clients { padding: 56px 0; }
    .ap2-clients-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
    .ap2-clients-item { height: 88px; padding: 12px; }

    /* CTA */
    .ap2-cta { padding: 48px 0; }
    .ap2-cta-inner { padding: 36px 24px; }
    .ap2-cta-inner h3 { font-size: 22px; }
    .ap2-cta-inner p { font-size: 14px; }
    .ap2-cta-actions { width: 100%; flex-direction: column; gap: 10px; padding-right: 52px; }
    .ap2-cta-actions .ap2-btn { width: 100%; justify-content: center; }
}

/* ---- Small Mobile (≤375px) ---- */
@media (max-width: 375px) {
    .ap2-container { max-width: calc(100% - 24px); }
    .ap2-hero { padding: 40px 0 48px; }
    .ap2-hero h1 { font-size: 26px; }
    .ap2-hero-lead { font-size: 14px; }
    .ap2-title { font-size: 22px; }
    .ap2-bento-card { padding: 20px; }
    .ap2-bento-card.featured { padding: 22px; }
    .ap2-bento-card.featured h3 { font-size: 22px; }
    .ap2-bento-card.span2 h3 { font-size: 17px; padding-right: 44px; }
    .ap2-bento-card.span2 .ic { width: 36px; height: 36px; top: 18px; right: 18px; }
    .ap2-bento-card.span3 .mini-code { width: 80px; height: 80px; }
    .ap2-hero-stats { gap: 16px 0; }
    .ap2-hero-stat .v { font-size: 22px; }
    .ap2-cta-inner { padding: 28px 20px; }
    .ap2-cta-inner h3 { font-size: 20px; }
    .ap2-search-tab { padding: 6px 10px; font-size: 11px; }
    .ap2-hunt-step .dot { width: 44px; height: 44px; font-size: 15px; }
    .ap2-hunt-steps::before { left: 25px; }
}

/* =========================================================
   共享页头/页脚/悬浮按钮 手机端适配
   仅 index2 页面加载，不影响其他页面
   ========================================================= */

/* ---- Mobile (≤640px) ---- */
@media (max-width: 640px) {
    /* ===== Header ===== */
    .index_header {
        height: auto; overflow: visible; padding: 0;
        background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.06);
    }
    .index_header .container {
        width: 100%; padding: 0 16px; box-sizing: border-box;
        display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    }
    .index_header_logo { float: none; width: auto; height: auto; margin: 0; padding: 10px 0; }
    .index_header_logo img { width: 116px !important; height: 38px !important; }
    .index_header_login { float: none; width: auto; height: auto; margin-top: 0; display: flex; gap: 8px; }
    .index_header_login a {
        font-size: 13px !important; line-height: 30px !important; border-radius: 8px;
        float: none !important; display: inline-flex; align-items: center; justify-content: center;
    }
    .index_header_login a:first-child { width: 48px; height: 30px; background: #f0f2f5; color: #494b64; }
    .index_header_login a:last-child { width: 52px; height: 30px; background: #2b6cff; color: #fff; margin-left: 0; }
    .index_header_login a:active { opacity: .8; }
    .index_header nav { float: none; height: auto; width: 100%; order: 3; border-top: 1px solid #f0f2f5; }
    .index_header nav ul { overflow: visible; display: flex; justify-content: space-around; padding: 4px 0; }
    .index_header nav ul li { float: none; }
    .index_header nav ul li a {
        line-height: 32px; margin-right: 0; font-size: 14px; color: #494b64;
        padding: 2px 14px; border-radius: 8px;
    }
    .index_header nav ul li a:active { background: #f0f2f5; color: #2b6cff; }

    /* ===== Footer ===== */
    .index_footer { min-height: auto; padding-bottom: 20px; }
    .index_footer .container { width: 100%; padding: 0 16px; box-sizing: border-box; }
    .index_footer_box { display: flex; flex-direction: column; gap: 0; padding-top: 28px; }
    .index_footer_list {
        float: none; margin-top: 0; display: grid; grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px; overflow: visible; padding-bottom: 24px;
    }
    .index_footer_list_item { float: none; padding-right: 0; }
    .index_footer_list_item span { font-size: 14px; padding-bottom: 10px; color: #fff; }
    .index_footer_list_item ul li a { font-size: 13px; line-height: 28px; color: #989898; }
    .index_footer_concat {
        float: none; width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
    }
    .index_footer_concat b { margin: 0 0 8px 0; }
    .index_footer_concat b span { font-size: 20px; color: #fff; }
    .index_footer_concat p { font-size: 13px; line-height: 22px; color: #989898; }
    .index_footer_erweima {
        float: none; margin-top: 0; display: flex; gap: 24px; justify-content: center;
        padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08);
    }
    .index_footer_erweima div { float: none; width: auto; text-align: center; }
    .index_footer_erweima div:last-child { margin-left: 0; }
    .index_footer_erweima div img { width: 88px; height: 88px; margin: 0 auto; border-radius: 8px; }
    .index_footer_erweima div span { font-size: 12px; color: #989898; padding-top: 8px; }
    .index_footer_link {
        margin-top: 0; overflow: visible; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px;
    }
    .index_footer_link span { font-size: 13px; float: none; display: block; margin-bottom: 8px; color: #fff; }
    .index_footer_link ul { width: auto !important; float: none !important; overflow: visible !important; margin-left: 0 !important; }
    .index_footer_link ul li { float: none !important; display: inline-block; }
    .index_footer_link ul li a { font-size: 12px; padding-right: 14px; line-height: 24px; color: #989898; }
    .index_footer_s {
        width: 100% !important; height: auto !important; display: block !important;
        background: none !important; margin: 0 !important; text-align: center;
        border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px;
    }
    .index_footer_copyright { float: none !important; padding-top: 0 !important; font-size: 12px; text-align: center; color: #989898; }
    .index_footer_s > div { float: none !important; padding-top: 8px !important; }

    /* 悬浮咨询按钮 — 收缩球 */
    .index_float {
        width: 52px; height: 52px; right: 16px; bottom: 20px;
        border-radius: 26px; overflow: visible;
        background: linear-gradient(135deg, #2b6cff, #8b5cf6);
        box-shadow: 0 6px 20px rgba(43, 108, 255, 0.35);
        transition: height .3s var(--ap2-ease), border-radius .3s var(--ap2-ease), padding .3s var(--ap2-ease);
    }
    .index_float_toggle {
        display: flex !important;
        align-items: center; justify-content: center;
        width: 52px; height: 52px; cursor: pointer;
        border-radius: 50%; position: relative; z-index: 2;
    }
    .if-toggle-icon { width: 22px; height: 22px; position: relative; transition: transform .3s var(--ap2-ease); }
    .if-toggle-icon::before, .if-toggle-icon::after {
        content: ""; position: absolute; background: #fff; border-radius: 2px; top: 50%; left: 50%;
    }
    .if-toggle-icon::before { width: 22px; height: 3px; margin: -1.5px 0 0 -11px; }
    .if-toggle-icon::after { width: 3px; height: 22px; margin: -11px 0 0 -1.5px; }
    .index_float.open .if-toggle-icon { transform: rotate(45deg); }
    .index_float.open { height: auto; border-radius: 20px; padding: 6px 4px; }
    .index_float_item {
        display: none; width: 44px; height: 44px; margin: 3px auto;
        border-radius: 50%; border: none; background: rgba(255,255,255,.15);
    }
    .index_float.open .index_float_item { display: flex; align-items: center; justify-content: center; }
    .index_float_item_ftxt { display: none; }
    .index_float_item_ficon { margin: 0 auto !important; }
    .index_float_qq, .index_float_phone, .index_float_weixin, .index_float_gzh {
        position: fixed !important; right: 80px !important; left: auto !important;
        top: 50% !important; transform: translateY(-50%); z-index: 100;
    }
    .index_float_item:hover ul, .index_float_item:hover > div { display: none !important; }
    .index_float_item.popup-open .index_float_qq,
    .index_float_item.popup-open .index_float_phone,
    .index_float_item.popup-open .index_float_weixin,
    .index_float_item.popup-open .index_float_gzh { display: block !important; }
    body.float-menu-open::before {
        content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 9;
    }
}

/* ---- Small Mobile (≤375px) ---- */
@media (max-width: 375px) {
    .index_header_logo img { width: 100px !important; height: 34px !important; }
    .index_header_login a:first-child { width: 42px; }
    .index_header_login a:last-child { width: 46px; }
    .index_header nav ul li a { font-size: 13px; padding: 2px 10px; }
    .index_footer_list { grid-template-columns: 1fr; gap: 16px; }
    .index_footer_erweima div img { width: 76px; height: 76px; }
}
