/* ============================================================
   /tools-hub 三工具总入口 — 浅色象牙金边（对齐工具箱定版 B）
   作用域：.th-page；令牌 th- 前缀，不污染主站。
   格局：顶部深藏青横幅 + 浅色主体；三产品纵向行式大卡 + 对照表 + 场景 + FAQ。
   ============================================================ */

body{background:#f6f8fb;}

.th-page{
  --th-ink:#2a3544; --th-ink-2:#2a3544; --th-ink-3:#64748b; --th-ink-4:#94a3b8;
  --th-gold:#c9a227; --th-gold-2:#8a6d1c; --th-gold-600:#b8901c; --th-gold-bright:#d4a853;
  --th-panel:#ffffff; --th-panel-2:#f1f5f9; --th-panel-3:#f8fafc; --th-bg:#f6f8fb;
  --th-line:#e2e8f0; --th-line-soft:#eef2f7;
  --th-navy-900:#0a1628; --th-navy-700:#14263f;
  --th-blue:#2563eb; --th-goldbg:#fbf3df;
  --th-up:#10b981; --th-warn:#dc2626;
  --th-r-card:14px; --th-r-el:10px; --th-r-pill:999px;
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,-apple-system,sans-serif;
  background:var(--th-bg); color:var(--th-ink-2);
  font-size:15px; line-height:1.72; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
.th-page a{color:inherit; text-decoration:none;}
.th-wrap{max-width:1180px; margin:0 auto; padding:0 28px;}

/* ===== Hero 横幅（深藏青，对齐论坛 hero 配色） ===== */
.th-hero{
  position:relative; overflow:hidden; color:#e8eef7;
  background:
    radial-gradient(at 88% 0%, rgba(212,168,83,.2), transparent 46%),
    radial-gradient(at 2% 96%, rgba(14,159,110,.08), transparent 42%),
    linear-gradient(115deg,#0a1628,#13243f 55%,#1a2f52);
  border-bottom:1px solid rgba(212,168,83,.16);
}
.th-hero .th-wrap{position:relative; z-index:1; padding-top:26px; padding-bottom:34px;}
.th-crumb{display:flex; align-items:center; gap:7px; font-size:12.5px; color:#8fa2bd; margin-bottom:16px;}
.th-crumb a{color:#b9c6d8;}
.th-crumb a:hover{color:#d4a853;}
.th-crumb i{font-style:normal; color:#8fa2bd;}
.th-crumb b{color:#d7e2f0; font-weight:500;}

.th-hero-main{display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:44px; align-items:center;}
.th-hero-lft{min-width:0;}
.th-lead{max-width:560px;}

/* 右侧收录统计面板 */
.th-hero-side{min-width:0;}
.th-trust-card{
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.13); border-radius:var(--th-r-card);
  padding:24px 26px; backdrop-filter:blur(4px);
}
.th-trust-head{margin-bottom:18px;}
.th-trust-kicker{display:block; font-size:10.5px; letter-spacing:2.4px; color:#d4a853; font-weight:700; margin-bottom:8px;}
.th-trust-head h3{font-family:"Noto Serif SC","Songti SC",serif; font-size:19px; font-weight:700; color:#fff; letter-spacing:.5px;}
.th-trust-list{display:flex; flex-direction:column; gap:16px;}
.th-trust-li{display:flex; gap:12px; align-items:flex-start;}
.th-trust-li i{flex:0 0 30px; height:30px; display:flex; align-items:center; justify-content:center; font-style:normal; font-size:15px; background:rgba(212,168,83,.12); border:1px solid rgba(212,168,83,.25); border-radius:9px;}
.th-trust-b{flex:1; min-width:0;}
.th-trust-b b{display:block; font-size:13.5px; font-weight:600; color:#fff; line-height:1.4;}
.th-trust-b span{display:block; font-size:12px; color:#9fb0c6; line-height:1.7; margin-top:3px;}
.th-trust-acts{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap;}
.th-kicker{display:flex; align-items:center; gap:9px; font-size:11.5px; font-weight:700;
  letter-spacing:2.5px; color:#d4a853; margin-bottom:14px;}
.th-kicker::before{content:""; width:26px; height:1px; background:#d4a853; opacity:.75;}
.th-hero h1{font-size:42px; line-height:1.24; font-weight:700; color:#fff; letter-spacing:.5px; margin-bottom:16px; white-space:nowrap;}
.th-hero h1 em{
  font-style:normal; color:#d4a853;
  font-family:"Noto Serif SC","Songti SC",serif; font-weight:700; position:relative;
}
.th-hero h1 em::after{
  content:""; position:absolute; left:0; right:0; bottom:4px; height:7px;
  background:rgba(212,168,83,.16); z-index:-1;
}
.th-lead{font-size:15px; line-height:1.95; color:#c6d3e4;}
.th-lead b{color:#fff; font-weight:600;}
.th-hero-cta{display:flex; align-items:center; gap:12px; margin-top:26px; flex-wrap:wrap;}

.th-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:13.5px; font-weight:700;
  padding:11px 22px; border-radius:var(--th-r-pill); letter-spacing:.5px;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), filter .18s, border-color .18s, background .18s, box-shadow .18s;}
.th-btn.th-btn-gold{color:#1a1206; background:linear-gradient(135deg,#d4a853,#c9a227);}
.th-btn-gold:hover{transform:translateY(-2px); filter:brightness(1.05); box-shadow:0 10px 24px rgba(212,168,83,.26);}
.th-btn-ghost{color:#dbe6f4; border:1px solid rgba(255,255,255,.2);}
.th-btn-ghost:hover{transform:translateY(-2px); border-color:rgba(212,168,83,.55); background:rgba(255,255,255,.055);}

/* ===== 工作台：左目录 + 右主区 ===== */
.th-wb{max-width:1180px; margin:0 auto; padding:26px 28px 8px;
  display:grid; grid-template-columns:250px minmax(0,1fr); gap:30px; align-items:start;}
.th-side{min-width:0; position:sticky; top:84px;}
.th-side-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  margin:16px 0 4px; padding-bottom:9px; border-bottom:1px solid var(--th-line);}
.th-side-head:first-child{margin-top:0;}
.th-side-head span{font-size:10.5px; letter-spacing:2.2px; color:var(--th-ink); font-weight:700;}
.th-side-head em{font-style:normal; font-size:11.5px; color:var(--th-ink-4); font-variant-numeric:tabular-nums;}
.th-keys{display:flex; flex-direction:column; gap:2px; margin:10px 0 18px;}
.th-keys:last-child{margin-bottom:0;}
.th-key{display:flex; align-items:flex-start; gap:11px; padding:10px 12px; border-radius:8px;
  border-left:2px solid transparent; background:transparent; transition:background .15s, border-color .15s;}
.th-key i{flex:0 0 22px; font-style:normal; font-size:15px; line-height:1.3;}
.th-key-b{flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px;}
.th-key b{font-size:14px; font-weight:600; color:var(--th-ink); line-height:1.35; letter-spacing:.1px;}
.th-key-brief{font-size:11.5px; color:var(--th-ink-3); line-height:1.5;}
.th-key:hover{background:var(--th-panel-2);}
.th-key:hover b{color:var(--th-ink);}
.th-main{min-width:0;}

/* 锚点滑落偏移（避开 sticky 头部） */
#tools, #paths, #faq, .th-tool[id]{scroll-margin-top:84px;}
html{scroll-behavior:smooth;}

/* ===== 通用节（右主区内，段间留白） ===== */
.th-wall{padding:0 0 40px;}
.th-main .th-sec{padding:0 0 40px;}
.th-sec--alt{background:var(--th-panel-3); border-top:1px solid var(--th-line); border-bottom:1px solid var(--th-line);}
.th-sec-h{margin-bottom:26px;}
.th-sec-h .th-num{font-size:11px; letter-spacing:2.6px; color:var(--th-ink); margin-bottom:10px; font-weight:700;}
.th-sec-h h2{font-family:"Noto Serif SC","Songti SC",serif; font-size:28px; font-weight:700; letter-spacing:.5px; line-height:1.4; color:var(--th-ink);}
.th-sec-h p{margin-top:10px; color:var(--th-ink-3); font-size:14.5px; max-width:720px;}

/* ===== 三产品：纵向行式大卡 ===== */
.th-prods{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px;}
.th-prod{
  display:grid; grid-template-columns:1fr; gap:16px; align-content:start;
  background:var(--th-panel); border:1px solid var(--th-line); border-left:4px solid var(--th-gold);
  border-radius:var(--th-r-card); padding:22px 22px 20px;
  box-shadow:0 1px 2px rgba(10,22,40,.06);
  transition:transform .22s, box-shadow .22s, border-color .22s;
}
.th-prod:hover{transform:translateY(-3px); box-shadow:0 18px 40px -24px rgba(10,22,40,.32);}
.th-prod--gold{border-left-color:var(--th-gold-600);}
.th-prod-no{display:flex; flex-direction:row; align-items:baseline; gap:12px;}
.th-prod-no b{font-family:"Noto Serif SC","Songti SC",serif; font-size:34px; font-weight:600; color:var(--th-gold); line-height:1; letter-spacing:.5px;}
.th-prod-no span{font-size:11px; letter-spacing:2px; color:var(--th-ink);}
.th-prod-main{min-width:0;}
.th-prod-head{display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.th-prod-head h3{font-size:19px; font-weight:700; line-height:1.5; color:var(--th-ink);}
.th-prod-price{font-size:13px; color:var(--th-ink-4); white-space:nowrap;}
.th-prod-price b{color:var(--th-ink); font-size:15px;}
.th-prod-price .th-free{color:var(--th-up); font-weight:700; font-size:15px;}
.th-q{border-left:2px solid var(--th-gold); padding-left:12px; margin:14px 0 16px;
  font-size:15px; color:var(--th-ink); font-weight:600; line-height:1.75;}
.th-prod dl{font-size:13.5px; line-height:1.8;}
.th-prod dl div{display:grid; grid-template-columns:52px 1fr; gap:10px; padding:6px 0; border-bottom:1px dashed var(--th-line-soft);}
.th-prod dl div:last-child{border-bottom:0;}
.th-prod dl dt{color:var(--th-ink); font-size:12.5px; padding-top:1px;}
.th-prod dl dd{color:var(--th-ink-3);}
.th-who{font-size:13px; color:var(--th-ink-4); line-height:1.75; margin-top:14px; padding-top:14px; border-top:1px solid var(--th-line-soft);}
.th-who b{color:var(--th-ink-2); font-weight:600;}
.th-prod-act{display:flex; align-items:center; margin-top:auto;}
.th-card-btn{
  display:block; width:100%; text-align:center; padding:11px 16px; border:1px solid var(--th-ink-3);
  border-radius:var(--th-r-el); font-size:13.5px; letter-spacing:.5px; color:var(--th-ink);
  transition:.2s;
}
.th-card-btn:hover{background:var(--th-ink); color:#fff;}
.th-card-btn--gold{border-color:var(--th-gold); color:var(--th-ink); background:rgba(201,162,39,.08);}
.th-card-btn--gold:hover{background:var(--th-gold); border-color:var(--th-gold); color:#1a1206;}

/* ===== 关键区别提示条 ===== */
.th-keyline{
  margin:26px 0 0; border:1px solid var(--th-line); border-left:3px solid var(--th-gold);
  background:var(--th-panel-2); border-radius:var(--th-r-card);
  padding:24px 28px; display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:center;
}
.th-keyline-tag{font-size:11px; letter-spacing:2.4px; color:var(--th-ink); white-space:nowrap;
  border-right:1px solid var(--th-line); padding-right:24px; font-weight:700;}
.th-keyline p{font-size:15px; line-height:1.9; color:var(--th-ink-2);}
.th-keyline p b{color:var(--th-warn);}

/* ===== 场景路径 ===== */
.th-paths{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
.th-path{
  border:1px solid var(--th-line); border-left:4px solid var(--th-gold);
  background:var(--th-panel); border-radius:var(--th-r-card); padding:20px 24px;
  box-shadow:0 1px 2px rgba(10,22,40,.05); transition:.22s;
}
.th-path:hover{transform:translateY(-3px); box-shadow:0 16px 36px -22px rgba(10,22,40,.3);}
.th-path-s{font-size:12px; letter-spacing:2px; color:var(--th-ink); margin-bottom:10px; font-weight:700;}
.th-path-h{font-size:16px; font-weight:700; margin-bottom:12px; line-height:1.6; color:var(--th-ink);}
.th-path-r{font-size:13.5px; color:var(--th-ink-3); line-height:1.85;}
.th-path-r b{color:var(--th-ink);}
.th-path-r i{font-style:normal; color:var(--th-ink-4); font-size:12.5px;}

/* ===== FAQ 手风琴 ===== */
.th-faq{border-top:1px solid var(--th-line);}
.th-faq-item{border-bottom:1px solid var(--th-line-soft);}
.th-faq-q{list-style:none; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:18px 4px; cursor:pointer; font-size:15.5px; font-weight:700; line-height:1.7; color:var(--th-ink);}
.th-faq-q::-webkit-details-marker{display:none;}
.th-faq-q:hover{color:var(--th-blue);}
.th-faq-q::before{content:"Q"; font-family:"Noto Serif SC",serif; color:var(--th-gold); font-size:13px; font-weight:600; margin-right:10px; letter-spacing:1px; flex:none;}
.th-faq-q > span:first-child{flex:1 1 auto;}
.th-faq-arrow{flex:none; width:9px; height:9px; border-right:1.5px solid var(--th-ink-3); border-bottom:1.5px solid var(--th-ink-3);
  transform:rotate(45deg); transition:transform .2s ease, border-color .2s ease; margin-right:4px;}
.th-faq-item[open] .th-faq-arrow{transform:rotate(-135deg); border-color:var(--th-gold);}
.th-faq-item[open] .th-faq-q{color:var(--th-ink);}
.th-faq-a{font-size:14px; color:var(--th-ink-3); line-height:1.95; padding:0 4px 18px 22px;}
.th-faq-a b{color:var(--th-ink-2);}

/* ===== 底部转化 ===== */
.th-pfoot{padding:56px 0 46px;}
.th-cta-card{
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212,168,83,.22), transparent 50%),
    linear-gradient(140deg,var(--th-navy-900),var(--th-navy-700));
  border:1px solid rgba(255,255,255,.10); border-radius:var(--th-r-card);
  box-shadow:inset 0 1px 0 rgba(217,184,102,.16), 0 20px 40px -26px rgba(10,22,40,.5);
  padding:44px 32px; text-align:center;
}
.th-cta-card h3{font-family:"Noto Serif SC",serif; font-size:23px; font-weight:700; letter-spacing:.5px; margin-bottom:14px; color:#fff;}
.th-cta-card p{color:#c6d3e4; font-size:14.5px; max-width:620px; margin:0 auto 28px; line-height:1.9;}
.th-acts{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.th-acts .th-btn-ghost{color:#dbe6f4; border-color:rgba(255,255,255,.2);}
.th-disc{margin-top:32px; padding-top:22px; border-top:1px solid var(--th-line);
  font-size:11.5px; color:var(--th-ink-4); line-height:1.9; max-width:820px; margin-left:auto; margin-right:auto; text-align:center;}

/* ===== 工具墙：分类 tab + 分组卡片 ===== */
.th-tabs{display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  background:var(--th-panel-2); border:1px solid var(--th-line); border-radius:var(--th-r-pill);
  padding:8px 10px; margin-bottom:24px;}
.th-tab{display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border:0; cursor:pointer;
  border-radius:var(--th-r-pill); background:transparent; font-size:13.5px; font-weight:600;
  color:var(--th-ink-3); white-space:nowrap; transition:background .15s, color .15s;}
.th-tab:hover{color:var(--th-ink); background:rgba(201,162,39,.10);}
.th-tab.on{background:var(--th-navy-900); color:#fff;}
.th-tool-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
.th-tool{display:flex; gap:14px; align-items:flex-start; background:var(--th-panel); border:1px solid var(--th-line);
  border-left:3px solid var(--th-gold); border-radius:var(--th-r-card); padding:16px 18px;
  box-shadow:0 1px 2px rgba(10,22,40,.05); transition:transform .22s, box-shadow .22s, border-color .22s;}
.th-tool:hover{transform:translateY(-3px); box-shadow:0 16px 36px -22px rgba(10,22,40,.3); border-left-color:var(--th-gold-600);}
.th-tool-ic{flex:none; width:42px; height:42px; border-radius:11px; background:var(--th-goldbg);
  border:1px solid rgba(201,162,39,.22); display:flex; align-items:center; justify-content:center; font-size:20px;}
.th-tool-body{flex:1; min-width:0; display:flex; flex-direction:column; gap:0;}
.th-tool h4{font-size:15.5px; font-weight:700; color:var(--th-ink); line-height:1.4;}
.th-tool-tags{display:flex; gap:6px; flex-wrap:wrap; margin-top:8px;}
.th-tool-tags em{font-style:normal; font-size:10.5px; color:var(--th-ink); background:var(--th-goldbg);
  border:1px solid rgba(201,162,39,.28); border-radius:6px; padding:2px 8px; line-height:1.5;}
.th-tool p{font-size:13px; color:var(--th-ink-3); line-height:1.75; margin-top:8px;}

/* ===== 响应式 ===== */
@media(max-width:980px){
  .th-hero-main{grid-template-columns:1fr; gap:26px;}
  .th-wb{grid-template-columns:1fr; gap:18px; padding:18px 22px 8px;}
  .th-side{position:static;}
  .th-keys{flex-direction:row; flex-wrap:wrap; gap:6px; margin:10px 0 12px;}
  .th-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .th-prods{grid-template-columns:repeat(2,minmax(0,1fr));}
  .th-prod{grid-template-columns:1fr; gap:16px;}
  .th-prod-no{flex-direction:row; align-items:baseline; gap:12px;}
  .th-prod-act{justify-content:flex-start;}
  .th-card-btn{max-width:260px;}
}
@media(max-width:760px){
  .th-main .th-sec, .th-wall{padding:0 0 30px;}
  .th-sec-h h2{font-size:22px;}
  .th-hero h1{font-size:29px;}
  .th-lead{font-size:14.5px;}
  .th-paths{grid-template-columns:1fr;}
  .th-prods{grid-template-columns:1fr;}
  .th-keyline{grid-template-columns:1fr; gap:14px;}
  .th-keyline-tag{border-right:0; border-bottom:1px solid var(--th-line); padding:0 0 10px;}
  .th-prod{padding:22px 20px;}
  .th-card-btn{max-width:none;}
  .th-tool-grid{grid-template-columns:1fr;}
  .th-tabs{flex-wrap:nowrap; overflow-x:auto; border-radius:14px;}
  .th-tab{padding:7px 13px; font-size:13px;}
}
