/* global.css - zoom-tools 站点样式 */
/* ── 基础重置 ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans SC",sans-serif;font-size:16px;line-height:1.7;color:#334155;background:#f8fafc}
a{color:#2563eb;text-decoration:none}
a:hover{color:#1d4ed8}
img{max-width:100%;height:auto}
.container{max-width:1000px;margin:0 auto;padding:0 20px}
.section{padding:40px 0}
.breadcrumb + .section{padding-top:0}

/* ── 面包屑 ── */
.breadcrumb{padding:16px 0;font-size:13px;color:#94a3b8}
.breadcrumb a{color:#64748b;text-decoration:none}
.breadcrumb a:hover{color:#2563eb}
.breadcrumb span{margin:0 6px;color:#cbd5e1}

/* ── 更新日期条 ── */
.meta-bar{max-width:1000px;margin:0 auto;padding:8px 20px;font-size:12px;color:#94a3b8;display:flex;align-items:center;gap:6px}
.meta-bar-icon{font-size:12px;filter:grayscale(1);opacity:0.6}
.meta-bar + .hero{padding-top:32px}

/* ── 层1 文末自然引导段落（SOP §5.D）── */
.cta-paragraph{margin:24px 0;padding:16px 20px;background:#f8fafc;border-left:3px solid #2563eb;border-radius:0 8px 8px 0;font-size:14px;color:#475569;line-height:1.8}
.cta-paragraph a{color:#2563eb;font-weight:500}

/* ── 金山毒霸主导航 ── */
.ks-header{background:#fff;border-bottom:1px solid #EFF4F8;position:sticky;top:0;z-index:200;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.ks-header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;height:56px;padding:0 20px}
.ks-logo{display:flex;align-items:center;margin-right:8px;flex-shrink:0}
.ks-logo img{height:36px}
.ks-logo-txt{font-size:18px;font-weight:700;color:#20B7F8;text-decoration:none}
.ks-nav{display:flex;align-items:center;flex:1}
.ks-nav-item{position:relative;height:56px;display:flex;align-items:center}
.ks-nav-item>a,.ks-nav-item>span{display:flex;align-items:center;gap:4px;padding:0 14px;height:56px;font-size:14px;color:#111;text-decoration:none;white-space:nowrap;cursor:pointer;border-radius:8px;transition:background .15s,color .15s}
.ks-nav-item:hover>a,.ks-nav-item:hover>span{background:rgba(183,233,255,.25);color:#20B7F8}
.ks-arrow{width:8px;height:6px;flex-shrink:0}
.ks-drop{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:12px;z-index:300}
.ks-nav-item:hover .ks-drop{display:block}
.ks-drop-inner{display:flex;padding:28px 24px;border-radius:8px;background:linear-gradient(180deg,#edfbff 0,#fff 100%);box-shadow:0 16px 40px rgba(0,0,0,.1);white-space:nowrap}
.ks-drop-col{padding:0 16px;min-width:112px;font-size:14px;display:flex;flex-direction:column}
.ks-drop-col:first-child{padding-left:0}
.ks-drop-col:last-child{padding-right:0}
.ks-drop-col+.ks-drop-col{border-left:1px solid #EFF4F8}
.ks-drop-col-title{font-weight:900;color:#111;margin-bottom:8px}
.ks-drop-col a{display:block;margin-top:14px;color:#111;text-decoration:none;font-size:14px}
.ks-drop-col a:hover{color:#20B7F8}
.ks-nav-special{margin-left:4px}

/* ── 子站二级导航 ── */
.ks-subnav{background:#fff;border-bottom:2px solid #2563eb;position:sticky;top:56px;z-index:190}
.ks-subnav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;height:44px;padding:0 20px;gap:4px;overflow-x:auto}
.ks-subnav-inner a{padding:0 14px;height:44px;line-height:44px;font-size:14px;font-weight:500;color:#374151;text-decoration:none;border-radius:4px 4px 0 0;transition:background .15s,color .15s;white-space:nowrap}
.ks-subnav-inner a:hover{color:#2563eb;background:#EFF6FF}
.ks-subnav-inner a.active{background:#2563eb;color:#fff}

/* ── Hero 区域 ── */
.hero{background:linear-gradient(180deg,#eff6ff 0,#fff 100%);padding:48px 0 32px;text-align:center;border-bottom:2px solid #EFF4F8}
.hero h1{font-size:28px;font-weight:800;color:#0f172a;margin:0 0 12px;line-height:1.3}
.hero p{font-size:15px;color:#64748b;max-width:600px;margin:0 auto 20px;line-height:1.6}

/* ── 主CTA按钮 ── */
.cta-btn{display:inline-block;padding:14px 36px;background:#2563eb;color:#fff !important;font-size:17px;font-weight:600;border-radius:8px;text-decoration:none;min-height:48px;transition:background .15s}
.cta-btn:hover{background:#1d4ed8}
.cta-dl-meta{font-size:13px;color:#94a3b8;margin-top:8px}

/* ── H2/H3 ── */
h2{font-size:22px;font-weight:700;color:#0f172a;margin:32px 0 12px;padding-bottom:8px;border-bottom:2px solid #EFF4F8}
h3{font-size:17px;font-weight:600;color:#1e293b;margin:20px 0 8px}
p{margin:0 0 14px;font-size:15px;line-height:1.75;color:#475569}

/* ── Hub卡片网格 ── */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:24px 0}
.hub-card{background:#fff;border:1px solid #EFF4F8;border-radius:8px;padding:24px;transition:box-shadow .15s,border-color .15s}
.hub-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);border-color:#cbd5e1}
.hub-card h3{margin:0 0 8px;font-size:16px}
.hub-card h3 a{color:#0f172a;text-decoration:none}
.hub-card h3 a:hover{color:#2563eb}
.hub-card p{margin:0;font-size:14px;color:#64748b;line-height:1.6}

/* ── 实体卡片 ── */
.entity-card{background:#fff;border:1px solid #EFF4F8;border-radius:8px;padding:24px;margin:20px 0}
.entity-card table{width:100%;border-collapse:collapse}
.entity-card td{padding:8px 12px;font-size:14px;border-bottom:1px solid #f1f5f9}
.entity-card td:first-child{font-weight:600;color:#0f172a;white-space:nowrap;width:140px}
.entity-card td:last-child{color:#475569}

/* ── 对比表格 ── */
.compare-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e2e8f0}
.compare-table th{background:#f1f5f9;padding:12px 14px;text-align:center;font-weight:600;color:#0f172a;border-bottom:2px solid #e2e8f0}
.compare-table th:first-child{text-align:left}
.compare-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;text-align:center;color:#475569}
.compare-table td:first-child{text-align:left;font-weight:500;color:#334155}
.compare-table tr:last-child td{border-bottom:none}

/* ── 步骤列表 ── */
.steps{list-style:none;padding:0;margin:20px 0;counter-reset:step}
.steps li{counter-increment:step;padding:16px 16px 16px 60px;background:#fff;border:1px solid #EFF4F8;border-radius:8px;margin-bottom:12px;position:relative;font-size:14px;line-height:1.7;color:#475569}
.steps li::before{content:counter(step);position:absolute;left:16px;top:16px;width:32px;height:32px;border-radius:50%;background:#2563eb;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center}

/* ── 注意卡片 ── */
.notice{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:16px 20px;margin:20px 0;font-size:14px;color:#92400e;line-height:1.7}

/* ── FAQ ── */
.faq-section{background:#fff;border-top:2px solid #EFF4F8;padding:40px 0}
.faq-item{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}
.faq-item:last-child{border-bottom:none;margin-bottom:0}
.faq-q{font-size:16px;font-weight:600;color:#0f172a;margin-bottom:8px;display:flex;align-items:flex-start;gap:8px}
.faq-q::before{content:'Q';flex-shrink:0;width:24px;height:24px;border-radius:4px;background:#2563eb;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.faq-a{font-size:14px;color:#475569;line-height:1.7;padding-left:32px}

/* ── 底部CTA ── */
.cta-section{background:linear-gradient(180deg,#eff6ff 0,#fff 100%);padding:48px 20px;text-align:center;border-radius:12px;margin:32px 0}
.cta-section h2{font-size:22px;border:none;margin:0 0 16px;padding:0}
.cta-section p{max-width:500px;margin:0 auto 20px;font-size:14px;color:#64748b}

/* ── Footer ── */
.footer{background:#fff;padding:48px 20px 0;border-top:1px solid #EFF4F8}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:24px;max-width:1000px;margin:0 auto}
.footer-col h4{font-size:15px;font-weight:700;margin-bottom:12px;color:#0f172a}
.footer-col ul{list-style:none;padding:0}
.footer-col ul li{margin-bottom:8px}
.footer-col ul li a{font-size:14px;color:#64748b;text-decoration:none}
.footer-col ul li a:hover{color:#2563eb}

/* ── 响应式 ── */
@media(max-width:768px){
  .ks-nav{display:none}
  .hero h1{font-size:22px}
  .hero{padding:32px 0 24px}
  .hub-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  h2{font-size:19px}
  .cta-btn{width:100%;text-align:center}
}


.duba-trust-panel { margin-top: 0; }

/* 主行动按钮 */
.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: #2563eb; color: #fff;
  font-size: 17px; font-weight: 600;
  border-radius: 8px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: background .15s, transform .15s, box-shadow .15s;
  min-height: 48px; box-sizing: border-box;
  white-space: nowrap;
}
.cta-primary svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-primary:hover {
  background: #1d4ed8; color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: #fff; color: #2563eb;
  font-size: 16px; font-weight: 500;
  border: 1.5px solid #cbd5e1; border-radius: 8px;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  min-height: 48px; box-sizing: border-box;
  white-space: nowrap;
}
.cta-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-secondary:hover { border-color: #2563eb; color: #1d4ed8; }

/* Trust Badge 行 */
.trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.trust-badge svg { width: 16px; height: 16px; flex-shrink: 0; color: #16a34a; }

/* 实体数据卡片 */
.entity-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px 28px; margin: 32px 0; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.entity-card h2 { margin: 0 0 16px; font-size: 18px; color: #0f172a; }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.entity-grid > div { border-left: 3px solid #2563eb; padding-left: 12px; }
.entity-grid .entity-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.entity-grid .entity-value { font-size: 16px; font-weight: 600; color: #0f172a; }

/* Hub 卡片网格 */
.hub-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0 40px; }
.hub-card-v2 {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px; text-decoration: none; color: inherit; display: block;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hub-card-v2:hover {
  border-color: #2563eb; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px); color: inherit;
}
.hub-card-v2 .card-icon {
  width: 44px; height: 44px; background: #eff6ff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #2563eb;
}
.hub-card-v2 .card-icon svg { width: 22px; height: 22px; }
.hub-card-v2 h3 { margin: 0 0 8px; font-size: 17px; color: #0f172a; }
.hub-card-v2 p { margin: 0 0 12px; font-size: 14px; color: #64748b; line-height: 1.6; }
.hub-card-v2 .card-arrow { font-size: 13px; color: #2563eb; font-weight: 500; }

/* zoom-tools compact download panel overrides */
.duba-trust-panel{max-width:520px;padding:14px 18px;margin:0 auto 20px}
.trust-panel-brand-row{font-size:12px;margin-bottom:8px}
.trust-panel-btn{font-size:15px;padding:12px 18px}
.trust-panel-btn svg{width:16px;height:16px;margin-right:6px}
.trust-panel-badges{font-size:11px;gap:10px}
