/* ============================================================
   meefo.cn 全站共享样式（P2 起所有页面引用本站点样式）
   深色 AI 科技风 —— 与 index-v2.html 首页视觉令牌完全一致
   零 CDN 依赖，纯本地文件
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #060a18;
    color: #cbd5e1;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== 渐变背景（深色 AI 科技风） ===== */
.gradient-bg { background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 40%, #1e1b4b 100%); position: relative; overflow: hidden; }
.gradient-bg::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(56,189,248,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,92,246,.12) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(6,182,212,.10) 0%, transparent 45%);
}
.gradient-bg::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(56,189,248,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,189,248,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; }
.glass {
    background: rgba(255,255,255,.04);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.08);
}
.card-hover { transition: all .3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.35); border-color: rgba(56,189,248,.35); }
.text-grad {
    background: linear-gradient(90deg, #22d3ee, #818cf8, #e879f9);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== 导航 ===== */
.nav {
    position: sticky; top: 0; z-index: 50; width: 100%;
    background: rgba(6,10,24,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-inner { display: flex; height: 64px; align-items: center; justify-content: space-between; }
.nav-links { display: none; align-items: center; font-size: 14px; }
.nav-links > a, .nav-links .dd-btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 8px; color: #cbd5e1; transition: color .2s; cursor: pointer; }
.nav-links > a:hover, .nav-links .dd-btn:hover { color: #22d3ee; }
.nav-links .active { color: #22d3ee; font-weight: 500; }
.nav-cta {
    margin-left: 12px; padding: 10px 20px; border-radius: 8px; color: #fff; font-weight: 600;
    background: linear-gradient(90deg, #0891b2, #2563eb); transition: filter .2s; box-shadow: 0 10px 20px rgba(6,182,212,.2);
}
.nav-cta:hover { filter: brightness(1.15); color: #fff; }
.dd { position: relative; }
.dd-menu {
    display: none; position: absolute; top: 100%; left: 0; width: 208px;
    background: #0d1428; border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.45); padding: 4px; z-index: 60;
}
.dd-menu a { display: block; padding: 10px 14px; border-radius: 6px; color: #cbd5e1; font-size: 14px; }
.dd-menu a:hover { background: rgba(34,211,238,.1); color: #22d3ee; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.nav-burger { display: block; padding: 8px; color: #cbd5e1; background: none; border: none; cursor: pointer; }
.nav-burger svg { width: 24px; height: 24px; }
#mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.08); background: #060a18; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: block; padding: 12px 4px; color: #cbd5e1; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
#mobile-menu a.active { color: #22d3ee; }
#mobile-menu a.sub { padding-left: 20px; color: #94a3b8; font-size: 13px; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.sec-head { text-align: center; margin-bottom: 16px; }
.sec-badge {
    display: inline-block; padding: 4px 14px; margin-bottom: 16px; border-radius: 999px;
    font-size: 13px; font-weight: 500; background: rgba(139,92,246,.1); color: #c4b5fd; border: 1px solid rgba(139,92,246,.3);
}
.sec-badge.cyan { background: rgba(34,211,238,.1); color: #67e8f9; border-color: rgba(34,211,238,.3); }
.sec-badge.green { background: rgba(16,185,129,.1); color: #6ee7b7; border-color: rgba(16,185,129,.3); }
.sec-title { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.3; }
.sec-sub { color: #94a3b8; max-width: 640px; margin: 0 auto 48px; font-size: 15px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* Agent 卡 */
.agent-card { border-radius: 14px; padding: 24px; }
.agent-ico {
    width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; flex-shrink: 0;
}
.agent-ico svg { width: 22px; height: 22px; }
.agent-card h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.agent-card p { color: #94a3b8; font-size: 13px; margin-bottom: 12px; }
.agent-tag { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.group-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-bottom: 16px; text-transform: uppercase; }
.group-label svg { width: 14px; height: 14px; }
.group-gap { margin-bottom: 40px; }

/* 实例产品卡 */
.prod-card {
    background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 32px;
    display: flex; flex-direction: column;
}
.prod-logo {
    width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.prod-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.prod-head h3 { color: #fff; font-size: 20px; font-weight: 700; }
.prod-head .tagline { font-size: 12px; font-weight: 500; }
.prod-card p.desc { color: #cbd5e1; font-size: 14px; margin-bottom: 20px; flex: 1; }
.chip { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; margin: 0 6px 6px 0; }
.prod-link { color: #6ee7b7; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.prod-link:hover { color: #a7f3d0; }
.prod-link svg { width: 14px; height: 14px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 10px; font-size: 17px; font-weight: 600; transition: filter .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(90deg, #0891b2, #2563eb); color: #fff; box-shadow: 0 12px 24px rgba(6,182,212,.25); }
.btn-primary:hover { filter: brightness(1.15); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }

/* ===== 内页 Hero（P2 新增） ===== */
.page-hero { padding: 64px 0 56px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.05); }
.page-hero .hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.page-hero .lead { font-size: 18px; color: #cbd5e1; font-weight: 500; margin-bottom: 10px; }
.page-hero .sub { color: #94a3b8; font-size: 15px; max-width: 700px; margin: 0 auto; }
.page-hero .hero-actions { margin-top: 32px; }
@media (min-width: 1024px) {
    .page-hero { padding: 88px 0 76px; }
    .page-hero h1 { font-size: 46px; }
}

/* ===== 矩阵表格（P2 新增） ===== */
.tbl-wrap {
    overflow-x: auto; border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
}
table.matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 780px; }
table.matrix th {
    text-align: left; padding: 14px 18px; color: #94a3b8; font-size: 13px; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04);
    white-space: nowrap;
}
table.matrix td { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.05); color: #cbd5e1; vertical-align: top; }
table.matrix tr:last-child td { border-bottom: none; }
table.matrix tr:hover td { background: rgba(34,211,238,.03); }
table.matrix td strong { color: #fff; }
table.matrix .prod { color: #67e8f9; font-weight: 500; white-space: nowrap; }
table.matrix .agent-name { color: #fff; font-weight: 600; white-space: nowrap; }

/* ===== 步骤条（P2 新增） ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-card { border-radius: 16px; padding: 26px 24px; position: relative; }
.step-no { font-size: 13px; font-weight: 700; color: #22d3ee; letter-spacing: .12em; margin-bottom: 10px; display: block; }
.step-card h4 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-card p { color: #94a3b8; font-size: 13px; }
.step-card .step-ico {
    width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.step-card .step-ico svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===== 代码块（P2 新增） ===== */
.code-box {
    border-radius: 12px; background: #0a0f1e; border: 1px solid rgba(255,255,255,.08);
    padding: 16px 20px; overflow-x: auto; text-align: left;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
    font-size: 13px; color: #a5f3fc; line-height: 1.7;
}
.code-box .cm { color: #64748b; }
.code-box .kw { color: #c084fc; }
.code-box .fn { color: #67e8f9; }
.code-box .str { color: #6ee7b7; }

/* ===== 双列特性（P2 新增，实例页用） ===== */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.feat-text h3 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.feat-text p { color: #94a3b8; font-size: 15px; margin-bottom: 14px; }
.feat-text ul { list-style: none; }
.feat-text ul li { color: #cbd5e1; font-size: 14px; padding: 6px 0 6px 26px; position: relative; }
.feat-text ul li::before {
    content: ''; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 4px;
    background: rgba(34,211,238,.15); border: 1px solid rgba(34,211,238,.4);
}
.feat-text ul li svg { position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; color: #22d3ee; }
.feat-shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 48px rgba(0,0,0,.4); background: #0a0f1e; }
.feat-shot img { display: block; width: 100%; }
.feat-shot .shot-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 280px; color: #475569; font-size: 13px;
    border: 1px dashed rgba(255,255,255,.15); border-radius: 16px; margin: 0;
}
@media (min-width: 1024px) {
    .feat-grid { grid-template-columns: 1.1fr 1fr; }
    .feat-grid.reverse .feat-text { order: 2; }
    .feat-grid.reverse .feat-shot { order: 1; }
}

/* ===== 信息小条 ===== */
.info-strip {
    display: flex; flex-direction: column; gap: 8px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
    padding: 16px 20px; font-size: 14px;
}
.info-strip b { color: #fff; font-weight: 600; }
.info-strip .k { color: #64748b; font-size: 12px; display: block; margin-bottom: 2px; }
@media (min-width: 640px) {
    .info-strip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Hero（首页用，保留） */
.hero { padding: 88px 0 104px; color: #fff; }
.hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 24px;
    border-radius: 999px; font-size: 14px; font-weight: 500;
    background: rgba(34,211,238,.1); color: #67e8f9; border: 1px solid rgba(34,211,238,.3);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 24px; line-height: 1.3; }
.hero .lead { font-size: 20px; color: #cbd5e1; font-weight: 500; margin-bottom: 12px; }
.hero .sub { font-size: 17px; color: #94a3b8; max-width: 720px; margin: 0 auto 40px; }
.hero .sub .hl { color: #67e8f9; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; justify-content: center; margin-bottom: 64px; }
.base-bar {
    max-width: 720px; margin: 0 auto; border-radius: 16px; padding: 16px 20px;
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.base-bar .cube { color: #a78bfa; flex-shrink: 0; }
.base-bar .name { color: #fff; font-weight: 600; }
.base-bar .caps { color: #94a3b8; font-size: 13px; }
.base-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 720px; margin: 0 auto; font-size: 12px; }
.base-item { border-radius: 10px; padding: 10px 8px; text-align: center; color: #cbd5e1; display: flex; align-items: center; justify-content: center; gap: 6px; }
.base-item svg { width: 12px; height: 12px; flex-shrink: 0; }

/* 背书条 */
.trust { background: #070d1f; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.trust .grid-3 { max-width: 880px; margin: 0 auto; }
.trust-item { border-radius: 12px; padding: 24px; text-align: center; }
.trust-item svg { width: 22px; height: 22px; margin-bottom: 12px; }
.trust-item .t { color: #fff; font-weight: 600; margin-bottom: 4px; }
.trust-item .d { color: #94a3b8; font-size: 13px; }
.trust-cap { text-align: center; color: #64748b; font-size: 13px; letter-spacing: .2em; margin-bottom: 28px; text-transform: uppercase; }

/* CTA */
.cta .hero-inner { max-width: 760px; }
.cta-note { color: #64748b; font-size: 13px; margin-top: 24px; }

/* Footer */
footer { background: #04060f; color: #94a3b8; padding: 48px 0 0; border-top: 1px solid rgba(255,255,255,.05); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
.foot-brand p { font-size: 14px; margin-bottom: 6px; }
.foot-brand .s { color: #64748b; font-size: 13px; }
footer h3 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; font-size: 14px; }
footer ul a:hover { color: #22d3ee; }
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,.05); padding: 24px 0;
    display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between;
    font-size: 12px; color: #475569;
}
.foot-bottom a:hover { color: #94a3b8; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hide-sm { display: none; }
.center { text-align: center; }
.mt-8 { margin-top: 32px; }

/* ===== 响应式 ===== */
@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: row; }
    .base-grid { grid-template-columns: repeat(5, 1fr); }
    .hide-sm { display: block; }
    .section { padding: 88px 0; }
    .hero h1 { font-size: 44px; }
}
@media (min-width: 1024px) {
    .nav-links { display: flex; }
    .nav-burger { display: none; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 54px; }
    .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
    .foot-bottom { flex-direction: row; }
    .prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .sec-title { font-size: 38px; }
}

/* ===== meefoClaw 专区 ===== */
.claw-box {
    max-width: 1080px; margin: 0 auto; border-radius: 24px; padding: 40px 28px;
    display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.claw-info { flex: 1; text-align: center; }
.claw-info h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.claw-info .p1 { color: #a5f3fc; font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.claw-info .p2 { color: #94a3b8; font-size: 15px; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.claw-actions { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.claw-img { width: 100%; flex-shrink: 0; }
.claw-img img { border-radius: 16px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 48px rgba(0,0,0,.4); width: 100%; }
@media (min-width: 1024px) {
    .claw-box { flex-direction: row; padding: 56px; }
    .claw-info { text-align: left; }
    .claw-info .p2 { margin-left: 0; margin-right: 0; }
    .claw-actions { flex-direction: row; justify-content: flex-start; }
    .claw-img { width: 384px; }
}

/* ===== 图标色彩 ===== */
.c-cyan { color: #22d3ee; } .bg-cyan { background: rgba(34,211,238,.15); }
.c-purple { color: #c084fc; } .bg-purple { background: rgba(168,85,247,.15); }
.c-sky { color: #38bdf8; } .bg-sky { background: rgba(56,189,248,.15); }
.c-emerald { color: #34d399; } .bg-emerald { background: rgba(16,185,129,.15); }
.c-teal { color: #2dd4bf; } .bg-teal { background: rgba(20,184,166,.15); }
.c-indigo { color: #818cf8; } .bg-indigo { background: rgba(99,102,241,.15); }
.c-amber { color: #fbbf24; } .bg-amber { background: rgba(245,158,11,.15); }
.c-orange { color: #fb923c; } .bg-orange { background: rgba(249,115,22,.15); }
.c-pink { color: #f472b6; } .bg-pink { background: rgba(236,72,153,.15); }
.c-rose { color: #fb7185; } .bg-rose { background: rgba(244,63,94,.15); }
.c-fuchsia { color: #e879f9; } .bg-fuchsia { background: rgba(217,70,239,.15); }
.c-violet { color: #a78bfa; }
.tag-cyan { background: rgba(34,211,238,.1); color: #67e8f9; }
.tag-purple { background: rgba(168,85,247,.1); color: #d8b4fe; }
.tag-sky { background: rgba(56,189,248,.1); color: #7dd3fc; }
.tag-emerald { background: rgba(16,185,129,.1); color: #6ee7b7; }
.tag-teal { background: rgba(20,184,166,.1); color: #5eead4; }
.tag-indigo { background: rgba(99,102,241,.1); color: #a5b4fc; }
.tag-amber { background: rgba(245,158,11,.1); color: #fcd34d; }
.tag-orange { background: rgba(249,115,22,.1); color: #fdba74; }
.tag-pink { background: rgba(236,72,153,.1); color: #f9a8d4; }
.tag-rose { background: rgba(244,63,94,.1); color: #fda4af; }
.tag-fuchsia { background: rgba(217,70,239,.1); color: #f0abfc; }
.logo-mf { background: linear-gradient(135deg, #10b981, #0d9488); }
.logo-vb { background: linear-gradient(135deg, #a855f7, #4f46e5); }
.logo-ai { background: linear-gradient(135deg, #f59e0b, #ea580c); }
