/* ============================================================
   超级大脑 · 智能体平台（agent 系列页面样式）
   配色：霓虹青 #00f0ff 体系 / 深蓝黑背景 / 14px 系统字体
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
    --primary: #00f0ff;
    --primary-foreground: #08101b;
    --agent-teal: #00d4b4;
    --agent-blue: #128bed;
    --agent-blue-light: #6ab4ff;
    --agent-purple: #9b6dff;
    --agent-green: #0f6;
    --agent-red: #ff3b30;
    --agent-yellow: #facc15;
    --amber: #F59E0B;

    --bg: #0b0f19;
    --bg-2: #0d1117;
    --bg-3: #06090e;
    --bg-4: #060A14;
    --bg-5: #0B0F19;
    --bg-panel: rgba(11, 15, 25, 0.5);
    --bg-panel-2: rgba(11, 15, 25, 0.8);
    --card: #151c2c;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text-strong: #f8fafc;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-soft: #64748b;

    --shadow-panel: 0 24px 60px rgba(0, 0, 0, 0.32);
    --shadow-glow: 0 0 24px rgba(0, 240, 255, 0.18);
    --shadow-glow-strong: 0 0 30px rgba(0, 240, 255, 0.35);

    --font-sans: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: rgba(0, 240, 255, 0.3); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--text-strong); }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.back-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 12px;
    background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; box-shadow: var(--shadow-glow);
    z-index: 50; opacity: 0; pointer-events: none; transition: all .25s;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 通用 section（分区背景） ---------- */
.ag-section { padding: 3rem 0 4rem; position: relative; }
.ag-sec-bg-1 { background: var(--bg-2); }
.ag-sec-bg-2 { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ag-sec-bg-3 { background: var(--bg-3); border-top: 1px solid var(--border); }
.ag-sec-bg-4 { background: var(--bg-panel-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ag-sec-bg-5 { background: var(--bg-4); }
.ag-sec-bg-6 { background: var(--bg-5); border-top: 1px solid var(--border); }

.ag-section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.ag-eyebrow {
    display: inline-block; border-radius: 999px; border: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.1); padding: .25rem .9rem; margin-bottom: 1rem;
    font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--primary);
}
.ag-h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--text-strong); line-height: 1.3; margin: 0 0 .8rem; }
.ag-h2 .hl { color: var(--primary); }
.ag-sub { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ---------- 按钮（rounded-lg / 主色霓虹青） ---------- */
.ag-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 10.5px 28px; border-radius: 8px; font-size: 15px; font-weight: 700;
    letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: all .2s;
}
.ag-btn:hover { transform: translateY(-2px); }
.ag-btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.ag-btn--primary:hover { box-shadow: var(--shadow-glow-strong); }
.ag-btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text-strong); border-color: var(--border-strong); }
.ag-btn--ghost:hover { border-color: rgba(0, 240, 255, 0.5); color: var(--primary); background: rgba(0, 240, 255, 0.06); }
.ag-btn--sm { padding: 8px 20px; font-size: 13.5px; }
.ag-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 文字链接（teal 色，hover 霓虹青） */
.ag-link { color: var(--agent-teal); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: color .2s; }
.ag-link:hover { color: var(--primary); }

/* ---------- 图标容器（emoji，h-12 w-12 rounded-2xl） ---------- */
.ag-icon {
    width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; line-height: 1;
}

/* ---------- 通用卡片 ---------- */
.ag-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 24px;
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .25s;
}
.ag-card:hover { transform: translateY(-4px); border-color: rgba(0, 240, 255, 0.35); box-shadow: var(--shadow-panel); }

/* 等宽代码块 */
.ag-code {
    background: #0a1220; border: 1px solid var(--border); border-radius: 12px;
    padding: 1rem 1.2rem; font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
    color: var(--text-muted); overflow-x: auto; margin: 0;
}
.ag-code .c-ok { color: var(--agent-green); }
.ag-code .c-key { color: var(--primary); }
.ag-code .c-dim { color: var(--text-soft); }
.ag-code .c-str { color: #a5d8ff; }

/* ============================================================
   独立导航（顶栏：64px 毛玻璃 + 霓虹青高亮）
   ============================================================ */
.ag-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
    background: rgba(11, 15, 25, 0.72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.ag-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.ag-header__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-width: 0; }
.ag-header__logo img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.ag-header__logo-text { display: flex; flex-direction: column; line-height: 1.2; color: var(--text-strong); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.ag-header__logo-text small { font-size: .62rem; color: var(--text-muted); font-weight: 500; letter-spacing: .05em; }
.ag-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: 1rem; }
.ag-nav__link { font-size: 14px; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color .2s; position: relative; padding: .3rem 0; white-space: nowrap; }
.ag-nav__link:hover { color: var(--text-strong); }
.ag-nav__link.active { color: var(--primary); }
.ag-nav__link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--primary); border-radius: 2px; }
.ag-header__actions { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.ag-header__back { font-size: 13.5px; color: var(--text-soft); text-decoration: none; transition: color .2s; white-space: nowrap; }
.ag-header__back:hover { color: var(--text-strong); }
.ag-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.ag-nav-toggle span { width: 22px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: all .3s; }
.ag-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ag-nav-toggle.open span:nth-child(2) { opacity: 0; }
.ag-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
    .ag-nav {
        position: fixed; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--border);
        padding: .25rem 1.5rem .75rem; display: none; margin-left: 0;
    }
    .ag-nav.open { display: flex; }
    .ag-nav__link { padding: .85rem 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .ag-nav__link:last-child { border-bottom: none; }
    .ag-nav__link.active::after { display: none; }
    .ag-header__back { display: none; }
    .ag-nav-toggle { display: flex; }
}

/* ============================================================
   首页 · Hero
   ============================================================ */
.ag-hero {
    position: relative; padding: 9.5rem 1rem 4.5rem; text-align: center; overflow: hidden;
}
.ag-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(700px 350px at 50% -5%, rgba(0, 240, 255, 0.16), transparent 70%),
        radial-gradient(900px 500px at 50% 130%, rgba(0, 240, 255, 0.06), transparent 70%);
}
.ag-hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: .4;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
}
.ag-hero .container { position: relative; z-index: 2; }
.ag-hero h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.15; margin: 0 0 1.4rem; }
.ag-hero h1 .hl { color: var(--primary); }
.ag-hero p.lead { font-size: 15px; color: var(--text-muted); max-width: 640px; margin: 0 auto 2.2rem; line-height: 1.8; }
.ag-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.ag-hero__platforms { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.ag-platform-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 999px; padding: .4rem 1rem; }
.ag-platform-tag svg { width: 15px; height: 15px; stroke: var(--primary); fill: none; stroke-width: 1.7; }

/* ============================================================
   首页 · 业务场景卡片（2 列）
   ============================================================ */
.ag-scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ag-scene-card { display: flex; flex-direction: column; padding: 1.8rem; }
.ag-scene-card__top { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.ag-scene-card__title { flex: 1; }
.ag-scene-card__tag { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: .25rem; }
.ag-scene-card h3 { font-size: 1.8rem; font-weight: 700; line-height: 1.25; color: #f1f5f9; margin: 0; }
.ag-scene-card p { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin: 0 0 1.25rem; flex: 1; }
.ag-scene-card__link { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; border-radius: 8px; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--primary-foreground); background: var(--primary); text-decoration: none; transition: all .2s; }
.ag-scene-card__link:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.ag-scene-card__link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-scene-foot { text-align: center; margin-top: 2rem; font-size: 14px; color: var(--text-muted); padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.ag-scene-foot a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ============================================================
   首页 · 对比区（✗ / ✓）
   ============================================================ */
.ag-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ag-compare-col { border-radius: 20px; padding: 2rem; }
.ag-compare-col--bad { background: rgba(255, 93, 115, 0.04); border: 1px solid rgba(255, 93, 115, 0.2); }
.ag-compare-col--good { background: rgba(0, 240, 255, 0.04); border: 1px solid rgba(0, 240, 255, 0.2); }
.ag-compare-col h3 { font-size: 1.1rem; margin: 0 0 1.4rem; color: var(--text-strong); }
.ag-compare-col--bad h3 .mark { color: var(--agent-red); }
.ag-compare-col--good h3 .mark { color: var(--primary); }
.ag-compare-list { list-style: none; margin: 0; padding: 0; }
.ag-compare-list li { display: flex; gap: .7rem; font-size: 14px; line-height: 1.65; padding: .65rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.06); }
.ag-compare-list li:last-child { border-bottom: none; }
.ag-compare-list .mark { flex-shrink: 0; font-weight: 700; width: 1.1rem; }
.ag-compare-col--bad .ag-compare-list .mark { color: var(--agent-red); }
.ag-compare-col--good .ag-compare-list .mark { color: var(--primary); }
.ag-compare-list li b { color: var(--text-strong); }
.ag-compare-list li span { color: var(--text-muted); }
.ag-mechanism { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.ag-mechanism__item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; }
.ag-mechanism__item b { display: block; color: var(--text-strong); font-size: 15px; margin-bottom: .25rem; }
.ag-mechanism__item span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   首页 · 数据脱水
   ============================================================ */
.ag-dehydrate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ag-dehydrate-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem; }
.ag-dehydrate-card h3 { font-size: 15px; color: var(--text-strong); margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.ag-dehydrate-card h3 .tag { font-size: 12px; font-weight: 700; padding: .15rem .55rem; border-radius: 6px; }
.ag-dehydrate-card--bad h3 .tag { background: rgba(255, 93, 115, 0.16); color: var(--agent-red); }
.ag-dehydrate-card--good h3 .tag { background: rgba(0, 240, 255, 0.16); color: var(--primary); }
.ag-dehydrate-note { margin-top: 1rem; font-size: 13px; color: var(--text-muted); display: flex; gap: .4rem; }
.ag-dehydrate-note .arr { color: var(--primary); font-weight: 700; }
.ag-feature-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.ag-feature-3 .item { text-align: center; padding: 1.4rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.ag-feature-3 .item b { display: block; color: var(--text-strong); margin-bottom: .4rem; font-size: 15px; }
.ag-feature-3 .item span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   首页 · 数据基座数字墙（31.5px 霓虹青数字）
   ============================================================ */
.ag-stats { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; justify-content: center; padding-top: .5rem; }
.ag-stat { display: flex; flex-direction: column; gap: .2rem; text-align: center; }
.ag-stat__num { font-size: 31.5px; font-weight: 700; color: var(--primary); letter-spacing: -.02em; line-height: 1.1; }
.ag-stat__num small { font-size: 18px; font-weight: 600; }
.ag-stat__label { font-size: 14px; color: var(--text); }

/* ============================================================
   首页 · 能力矩阵
   ============================================================ */
.ag-cap-head { text-align: center; margin-bottom: 2rem; font-size: 14px; color: var(--text-muted); }
.ag-cap-head b { color: var(--primary); }
.ag-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ag-cap-card { padding: 1.6rem; }
.ag-cap-card h3 { font-size: 1.15rem; color: var(--text-strong); margin: .9rem 0 .3rem; }
.ag-cap-card .tools { font-size: 13px; color: var(--agent-teal); font-weight: 600; }
.ag-cap-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: .5rem 0 1.2rem; }
.ag-cap-card .copy { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; transition: all .2s; }
.ag-cap-card .copy:hover { border-color: var(--primary); color: var(--primary); }
.ag-cap-card .copy svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.ag-cap-foot { text-align: center; margin-top: 2rem; }

/* ============================================================
   首页 · 平台生态（24px 圆角卡片）
   ============================================================ */
.ag-eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ag-eco-card { padding: 1.6rem; text-align: left; }
.ag-eco-card .ag-icon { margin-bottom: 1rem; }
.ag-eco-card h3 { font-size: 1.05rem; color: var(--text-strong); margin: 0 0 .4rem; }
.ag-eco-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0 0 1rem; }
.ag-eco-card a { font-size: 13.5px; color: var(--agent-teal); text-decoration: none; font-weight:500; }
.ag-eco-card a:hover { color: var(--primary); }

/* ============================================================
   首页 · 三步上手
   ============================================================ */
.ag-steps-tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.ag-tab { padding: .5rem 1.4rem; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text-muted); transition: all .2s; }
.ag-tab.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.ag-steps-panel { display: none; }
.ag-steps-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ag-step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.7rem 1.5rem; }
.ag-step__num { font-size: 2rem; font-weight: 800; color: rgba(0, 240, 255, 0.35); line-height: 1; margin-bottom: .9rem; }
.ag-step h3 { font-size: 15px; color: var(--text-strong); margin: 0 0 .4rem; }
.ag-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.ag-step .ag-code { margin-top: .9rem; font-size: 12px; }

/* ============================================================
   首页 · 验证案例
   ============================================================ */
.ag-case { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 2.2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.ag-case h3 { font-size: 1.25rem; color: var(--text-strong); margin: 0 0 .7rem; }
.ag-case p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin: 0; max-width: 640px; }
.ag-case__badge { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; color: var(--primary); background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.3); border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #06090e; color: var(--text-muted); padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand-logo { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.footer-brand-text { font-size: 1rem; font-weight: 700; color: var(--text-strong); }
.footer-brand-text small { display: block; font-size: .55rem; font-weight: 500; color: var(--text-soft); letter-spacing: .06em; }
.footer-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom-left { font-size: 12px; color: var(--text-soft); }
.footer-bottom-right { display: flex; gap: 1rem; font-size: 12px; }
.footer-bottom-right a { color: var(--text-soft); text-decoration: none; }
.footer-bottom-right a:hover { color: var(--primary); }
.footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.footer-contact-item { display: flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--text-muted); }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.footer-contact-item a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-contact-item a:hover { color: var(--primary); }

@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-brand-col { grid-column: 1 / -1; }
}

/* ============================================================
   子页 · SKILL 广场
   ============================================================ */
.ag-skill-group { margin-bottom: 2.5rem; }
.ag-skill-group__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.ag-skill-group__head h2 { font-size: 1.3rem; color: var(--text-strong); margin: 0; }
.ag-skill-group__head .count { font-size: 13px; color: var(--primary); background: rgba(0, 240, 255, 0.1); border-radius: 999px; padding: .2rem .7rem; }
.ag-skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ag-skill-card { padding: 1.5rem; }
.ag-skill-card h3 { font-size: 1.05rem; color: var(--text-strong); margin: .9rem 0 .4rem; }
.ag-skill-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0 0 1.1rem; }
.ag-skill-card__prompt { font-family: var(--font-mono); font-size: 12px; color: var(--text-soft); background: rgba(255,255,255,0.04); border-radius: 8px; padding: .5rem .7rem; }

/* ============================================================
   子页 · 能力中心（Tab 筛选 + 工具卡片）
   ============================================================ */
.ag-breadcrumb { font-size: 13px; color: var(--text-soft); margin-bottom: .6rem; }
.ag-breadcrumb a { color: var(--agent-teal); text-decoration: none; }
.ag-breadcrumb a:hover { color: var(--primary); }

.ag-tool-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.ag-tool-tab { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text-muted); transition: all .2s; }
.ag-tool-tab:hover { border-color: rgba(0,240,255,0.4); color: var(--text-strong); }
.ag-tool-tab.active { background: rgba(0,240,255,0.1); color: var(--primary); border-color: rgba(0,240,255,0.35); }
.ag-tool-tab .cnt { font-size: 11px; opacity: .7; margin-left: .2rem; }

.ag-tool-meta { display: flex; justify-content: flex-end; font-size: 12.5px; color: var(--text-soft); margin-bottom: 1rem; }
.ag-tool-meta a { color: var(--agent-teal); text-decoration: none; }
.ag-tool-meta a:hover { color: var(--primary); }

.ag-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ag-tool-card {
    display: flex; flex-direction: column; gap: 10px;
    border-radius: 12px; background: var(--card); padding: 18px;
    border: 1px solid var(--border); border-left: 3px solid rgba(0, 212, 180, 0.4);
    transition: all .2s; cursor: pointer;
}
.ag-tool-card:hover { transform: translateY(-1px); border-color: rgba(0, 212, 180, 0.3); border-left-color: rgba(0, 212, 180, 0.65); }
.ag-tool-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ag-tool-card__name { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.ag-tool-card:hover .ag-tool-card__name { color: var(--agent-teal); }
.ag-tool-card__actions { display: flex; gap: .4rem; flex-shrink: 0; }
.ag-tool-card__btn { display: inline-flex; height: 28px; align-items: center; gap: .25rem; border-radius: 6px; border: 1px solid rgba(0,212,180,0.3); background: rgba(0,212,180,0.1); padding: 0 .6rem; font-size: 11px; font-weight: 600; color: var(--agent-teal); cursor: pointer; transition: all .2s; white-space: nowrap; }
.ag-tool-card__btn:hover { border-color: rgba(0,212,180,0.5); background: rgba(0,212,180,0.16); transform: translateY(-1px); }
.ag-tool-card__btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-tool-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.ag-tool-card__code { font-family: var(--font-mono); font-size: 12px; color: var(--text-soft); background: rgba(255,255,255,0.04); border-radius: 6px; padding: .4rem .6rem; overflow-x: auto; }

/* ============================================================
   子页 · 接入指南
   ============================================================ */
.ag-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.ag-guide-step { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem; }
.ag-guide-step .ag-step__num { font-size: 1.8rem; }
.ag-guide-step h3 { font-size: 15px; color: var(--text-strong); margin: 0 0 .5rem; }
.ag-guide-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0 0 1rem; }
.ag-guide-step .ag-code { font-size: 12px; }
.ag-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1023px) {
    .ag-scene-grid { grid-template-columns: 1fr; }
    .ag-cap-grid { grid-template-columns: repeat(2, 1fr); }
    .ag-eco-grid { grid-template-columns: repeat(2, 1fr); }
    .ag-skill-grid { grid-template-columns: repeat(2, 1fr); }
    .ag-platform-grid { grid-template-columns: repeat(2, 1fr); }
    .ag-tool-grid { grid-template-columns: repeat(2, 1fr); }
    .ag-case { grid-template-columns: 1fr; }
    .ag-dehydrate-grid { grid-template-columns: 1fr; }
    .ag-compare-grid { grid-template-columns: 1fr; }
    .ag-mechanism { grid-template-columns: 1fr; }
    .ag-feature-3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ag-cap-grid { grid-template-columns: 1fr; }
    .ag-eco-grid { grid-template-columns: 1fr; }
    .ag-skill-grid { grid-template-columns: 1fr; }
    .ag-platform-grid { grid-template-columns: 1fr; }
    .ag-tool-grid { grid-template-columns: 1fr; }
    .ag-steps-panel.active { grid-template-columns: 1fr; }
    .ag-guide-grid { grid-template-columns: 1fr; }
    .ag-stats { gap: 1.8rem 2.2rem; }
    .ag-stat__num { font-size: 1.8rem; }
    .ag-scene-card h3 { font-size: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
