/* 王火火品牌数字科技 · AI+咨询门户首页
   配色：清爽科技感浅底 + 品牌红 #DC2626 点睛 + 科技青 #0891b2 辅助
   深色 #0f172a 只用于标题文字与页脚，不做大面积背景。 */
:root {
  --red: #DC2626;
  --red-deep: #991b1b;
  --red-soft: #fef2f2;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --tech: #0891b2;
  --tech-soft: #ecfeff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--body); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--red);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 600;
}
.logo-flame { height: 28px; width: auto; display: block; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.brand-name b { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
.brand-sub { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--body); transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important; padding: 8px 18px;
  border-radius: 9px; font-weight: 500;
}
.nav-cta:hover { background: var(--red-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(220,38,38,.06), transparent 60%),
    radial-gradient(500px 260px at 8% 0%, rgba(8,145,178,.05), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 84px 24px 88px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-block; font-size: 13px; color: var(--tech);
  background: var(--tech-soft); border: 1px solid #cffafe;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px; line-height: 1.18; font-weight: 700; color: var(--ink);
  letter-spacing: -0.5px;
}
.hero h1 .em { color: var(--red); }
.hero-sub {
  font-size: 17px; color: var(--body); margin: 22px 0 30px; max-width: 30em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px;
  font-size: 16px; font-weight: 500; transition: all .15s; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(220,38,38,.22); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Hero 右侧科技感卡片 */
.hero-visual { display: flex; justify-content: center; }
.diag-card {
  width: 100%; max-width: 340px; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: 0 20px 44px rgba(15,23,42,.08);
}
.diag-card .dc-head {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--muted); margin-bottom: 18px;
}
.dc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tech); }
.dc-row { margin-bottom: 16px; }
.dc-row .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.dc-row .lbl b { color: var(--tech); font-weight: 600; }
.dc-track { height: 7px; background: var(--red-soft); border-radius: 999px; overflow: hidden; }
.dc-fill { height: 100%; border-radius: 999px; }
.dc-fill.r { background: linear-gradient(90deg, #f87171, var(--red)); }
.dc-fill.t { background: linear-gradient(90deg, #22d3ee, var(--tech)); }
.dc-fill.i { background: linear-gradient(90deg, #94a3b8, var(--ink)); }
.dc-foot {
  margin-top: 6px; font-size: 12px; color: var(--muted);
  border-top: 1px dashed var(--line); padding-top: 14px;
}
.dc-foot b { color: var(--red); }

/* ---------- 通用版块 ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 76px 24px; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.label {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--red);
  letter-spacing: 1px; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.section-head .sub { font-size: 16px; color: var(--muted); margin-top: 12px; }

/* ---------- 智能体矩阵 ---------- */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agent-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; position: relative; transition: all .18s; display: block;
}
.agent-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); border-color: #cbd5e1; }
.agent-card.live:hover { border-color: var(--red); }
.agent-icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--red-soft);
  color: var(--red); font-size: 22px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.agent-card.more .agent-icon { background: var(--tech-soft); color: var(--tech); }
.agent-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.agent-desc { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.55; min-height: 40px; }
.agent-tag {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500;
  padding: 3px 11px; border-radius: 999px;
  background: var(--red-soft); color: var(--red);
}
.agent-tag.soon { background: #f1f5f9; color: var(--muted); }
.agent-card.more {
  border-style: dashed; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: var(--muted);
}
.agent-card.more .agent-plus { font-size: 26px; color: var(--tech); }
.agent-card.more .agent-name { font-size: 15px; margin-top: 6px; }
.agent-card.more:hover { transform: none; box-shadow: none; }

/* ---------- 服务分层 ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all .18s;
}
.tier:hover { box-shadow: 0 12px 28px rgba(15,23,42,.07); transform: translateY(-3px); }
.tier.featured { border: 1.5px solid var(--red); box-shadow: 0 12px 30px rgba(220,38,38,.1); }
.tier-no { font-size: 13px; font-weight: 600; color: var(--tech); letter-spacing: 1px; margin-bottom: 14px; }
.tier.featured .tier-no { color: var(--red); }
.tier h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.tier p { font-size: 14px; color: var(--body); min-height: 66px; }
.tier-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--red); }
.tier-link:hover { color: var(--red-deep); }

/* ---------- 企业介绍 ---------- */
.section-soft { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.section-soft > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.about-item h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.about-item h3::before { content: "·"; color: var(--red); font-weight: 700; margin-right: 8px; }
.about-item p { font-size: 14px; color: var(--muted); }

/* ---------- 信任背书（占位） ---------- */
#cases .section-head { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #cbd5e1; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; }
.footer h2 { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.footer p { font-size: 16px; margin: 14px 0 26px; }
.footer .hero-actions { justify-content: center; }
.footer-meta {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #1e293b;
  font-size: 13px; color: #64748b;
}

/* ---------- 文章洞察 ---------- */
.insight-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.insight-card {
  display:block; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:22px; text-decoration:none;
  color:var(--ink); transition:border-color .2s, transform .2s;
}
.insight-card:hover { border-color:var(--red); transform:translateY(-2px); }
.ic-cat { display:inline-block; font-size:12px; color:var(--red); background:var(--red-soft); padding:2px 10px; border-radius:20px; margin-bottom:12px; }
.insight-card h3 { font-size:17px; font-weight:600; line-height:1.5; margin-bottom:8px; }
.insight-card p { font-size:14px; color:var(--body); line-height:1.7; margin-bottom:12px; }
.ic-date { font-size:12px; color:var(--muted); }
.insight-more { text-align:center; margin-top:28px; }
.insight-more a { color:var(--red); text-decoration:none; font-size:15px; font-weight:500; }
.insight-more a:hover { text-decoration:underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 60px 24px; }
  .hero h1 { font-size: 36px; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid, .about-grid, .insight-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- 2026-09-07 统一页脚 + 新版主页区块 ---------- */
.site-footer {
  margin-top: 64px; border-top: 1px solid var(--line);
  background: var(--ink); color: #cbd5e1;
}
/* 2026-09-17：改左右分栏 —— 左＝品牌/导航/备案号，右＝客服微信二维码 */
.site-footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 36px 24px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px 40px; text-align: left;
}
.sf-col { display: grid; gap: 9px; min-width: 0; }
.sf-brand { font-size: 15px; font-weight: 600; color: #fff; }
.sf-brand .brand-mark { width: 26px; height: 26px; font-size: 14px; display: inline-flex; vertical-align: -6px; margin-right: 6px; }
.sf-tag { font-size: 13px; color: #94a3b8; }
.sf-links { display: flex; gap: 22px; flex-wrap: wrap; }
.sf-links a { font-size: 13px; color: #cbd5e1; }
.sf-links a:hover { color: #fff; }
/* 客服微信二维码（2026-09-17 起：全站统一只放页脚；贴右侧，与左侧信息分列两边） */
.sf-qr { display: flex; align-items: center; gap: 16px; }
.sf-qr img { width: 132px; height: 132px; border-radius: 12px; display: block; background: #fff; }
.sf-qr-text { font-size: 13px; line-height: 1.9; color: #cbd5e1; text-align: right; }
/* 窄屏：上下堆叠并居中 */
@media (max-width: 720px) {
  .site-footer-inner { justify-content: center; text-align: center; }
  .sf-col { justify-items: center; }
  .sf-links { justify-content: center; }
  .sf-qr { flex-direction: column; align-items: center; }
  .sf-qr-text { text-align: center; }
}
.sf-icp { font-size: 12px; color: #64748b; }
.sf-icp a { color: #94a3b8; text-decoration: none; }
.sf-icp a:hover { color: #fff; text-decoration: underline; }
.nav-links a.on { color: var(--red); font-weight: 600; }

/* 能力标签组 */
.cap-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cap-tags span {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  background: var(--white); border: 1px solid var(--line); color: var(--body);
}
.cap-tags span.gold { border-color: #c9a227; color: #8a6d1c; background: #fdf8e7; }

/* 方法论主线（链路） */
.chain { display: flex; align-items: stretch; gap: 0; margin-top: 24px; flex-wrap: wrap; }
.chain .cnode {
  flex: 1; min-width: 150px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 16px; position: relative;
}
.chain .cnode + .cnode { margin-left: 26px; }
.chain .cnode + .cnode::before {
  content: "→"; position: absolute; left: -21px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 17px; font-weight: 600;
}
.chain .cnode .ct { font-size: 15px; font-weight: 600; color: var(--ink); }
.chain .cnode .cd { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* 对比优势表 */
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.cmp-table th, .cmp-table td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 1.65; vertical-align: top;
}
.cmp-table th { font-size: 13px; color: var(--muted); font-weight: 500; }
.cmp-table td.who { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp-table td.them { color: var(--muted); }
.cmp-table td.us { color: var(--ink); }
.cmp-table td.us b { color: var(--red); font-weight: 600; }
.cmp-table tr:last-child td { border-bottom: none; }

/* 产品矩阵卡 */
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.pm-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 8px;
}
.pm-card.main { border-color: var(--red); box-shadow: 0 2px 14px rgba(220,38,38,.08); }
.pm-card .pt { font-size: 16px; font-weight: 600; color: var(--ink); }
.pm-card .pd { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.pm-card .tag { font-size: 12px; color: var(--tech); }
.pm-card.soon { opacity: .55; }
.pm-card.soon .tag { color: var(--muted); }
.pm-card a.pgo { color: var(--red); font-size: 14px; font-weight: 500; }

/* 产品页深介绍卡 */
.pd-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.price-box {
  background: var(--white); border: 1.5px solid var(--red); border-radius: var(--radius);
  padding: 28px 26px; text-align: center;
}
.price-box .pv { font-size: 44px; font-weight: 700; color: var(--red); }
.price-box .pv small { font-size: 16px; font-weight: 500; }
.price-box .pu { font-size: 13px; color: var(--muted); margin-top: 4px; }
.price-box .pincl { text-align: left; margin: 18px 0; font-size: 14px; line-height: 2; color: var(--body); }
.qr-box { margin-top: 14px; padding-top: 18px; border-top: 1px dashed var(--line); }
.qr-box img { width: 150px; height: 150px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.qr-box .qh { font-size: 13px; color: var(--muted); margin-top: 8px; }
.feat-list { display: grid; gap: 12px; margin-top: 20px; }
.feat-list .fl { display: flex; gap: 10px; font-size: 14px; color: var(--body); line-height: 1.7; }
.feat-list .fl::before { content: "✓"; color: var(--red); font-weight: 700; }

/* 合伙人档位表 */
.tier-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.tier-table th, .tier-table td {
  padding: 15px 16px; border-bottom: 1px solid var(--line);
  font-size: 14px; text-align: left; line-height: 1.6; vertical-align: top;
}
.tier-table th { font-size: 13px; color: var(--muted); font-weight: 500; }
.tier-table td.lv { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tier-table td.commission { font-weight: 700; color: var(--red); font-size: 16px; }
.tier-table tr.hi td { background: #fdf8e7; }

@media (max-width: 900px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pd-hero { grid-template-columns: 1fr; }
  .chain .cnode + .cnode { margin-left: 0; margin-top: 20px; }
  .chain .cnode + .cnode::before { content: "↓"; left: 50%; top: -19px; transform: translateX(-50%); }
}

/* ---------- 新版主页 sec 区块 ---------- */
.sec { padding: 76px 24px; }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-inner h2 { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 8px; }
.sec-lead { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 46em; margin-top: 10px; }
.btn-primary, .btn-ghost {
  display: inline-block; padding: 12px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 500; transition: all .15s; cursor: pointer; text-decoration: none;
}
.hero .hero-inner { max-width: 1100px; margin: 0 auto; padding: 84px 24px 72px; }
.hero .hero-text { max-width: 46em; }
