/* =========================================================
   三数联科技 · 产品页样式
   依赖：style.css（变量与通用组件） + industry.css（内页公共组件：
   面包屑 / hero / 标签 / 流程步骤 / 场景卡 / 合规块 / 内链 / hub 卡）
   本文件只补产品页专有部分
   ========================================================= */

/* ---------- 首屏参数条 ---------- */
.pro-facts{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:30px;
}
.pro-fact{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:16px 18px; min-width:0;
}
.pro-fact b{
  display:block; font-size:19px; line-height:1.3; color:var(--ink);
  letter-spacing:-.02em; margin-bottom:4px;
}
.pro-fact span{font-size:13px; color:var(--ink-4); line-height:1.6}

/* ---------- 能力矩阵 ---------- */
.pro-feat{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.pro-feat__item{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:24px 22px; transition:.2s; min-width:0;
}
.pro-feat__item:hover{border-color:var(--red); box-shadow:0 8px 24px rgba(230,0,18,.06); transform:translateY(-3px)}
.pro-feat__no{
  display:inline-grid; place-items:center; width:32px; height:32px; border-radius:9px;
  background:var(--red-soft); color:var(--red); font-weight:900; font-size:14px; margin-bottom:14px;
}
.pro-feat__item h3{font-size:17px; margin:0 0 8px; color:var(--ink)}
.pro-feat__item p{font-size:14.5px; color:var(--ink-3); margin:0; line-height:1.75}
.pro-feat__item ul{margin-top:10px}
.pro-feat__item li{
  position:relative; padding-left:16px; font-size:14px; color:var(--ink-3); margin-bottom:6px; line-height:1.7;
}
.pro-feat__item li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background:var(--red);
}

/* ---------- 计费结构（不给具体数字，只给结构） ---------- */
.pro-price{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.pro-price__card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; display:flex; flex-direction:column; min-width:0; transition:.2s;
}
.pro-price__card:hover{border-color:var(--red); box-shadow:var(--shadow)}
.pro-price__card.is-hot{border-color:var(--red); box-shadow:0 10px 30px rgba(230,0,18,.09)}
.pro-price__tag{
  align-self:flex-start; font-size:12.5px; font-weight:800; color:var(--red);
  background:var(--red-soft); border-radius:999px; padding:4px 12px; margin-bottom:14px;
}
.pro-price__card h3{font-size:19px; margin:0 0 6px; color:var(--ink)}
.pro-price__card .unit{font-size:13.5px; color:var(--ink-4); margin:0 0 16px}
.pro-price__card ul{flex:1; margin-bottom:18px}
.pro-price__card li{
  display:flex; gap:9px; align-items:flex-start; font-size:14.5px; color:var(--ink-2);
  margin-bottom:9px; line-height:1.7;
}
.pro-price__card li svg{flex:0 0 17px; width:17px; height:17px; color:var(--red); margin-top:4px}
.pro-price__card .note{
  font-size:13px; color:var(--ink-4); border-top:1px dashed var(--line); padding-top:14px; margin:0;
}
.pro-price-callout{
  margin-top:22px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--red);
  border-radius:var(--radius-sm); padding:18px 20px; font-size:14.5px; color:var(--ink-3); line-height:1.8;
}
.pro-price-callout strong{color:var(--ink)}

/* ---------- 横向对比表 ---------- */
.pro-compare{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden;
}
.pro-compare table{width:100%; border-collapse:collapse; table-layout:fixed}
.pro-compare th,.pro-compare td{
  padding:15px 16px; font-size:14.5px; text-align:left; vertical-align:top;
  border-bottom:1px solid var(--line); line-height:1.7; word-break:break-word;
}
.pro-compare thead th{
  background:var(--bg-2); font-size:14px; color:var(--ink); font-weight:800; white-space:nowrap;
}
.pro-compare tbody tr:last-child td{border-bottom:0}
.pro-compare td:first-child{
  color:var(--ink-3); font-weight:600; background:#FCFCFD; width:26%;
}
.pro-compare col.is-focus{background:rgba(230,0,18,.035)}
.pro-compare thead th.is-focus{color:var(--red)}

/* ---------- 参数/模块表 ---------- */
.pro-table{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
}
.pro-table table{width:100%; border-collapse:collapse; table-layout:fixed}
.pro-table th,.pro-table td{
  padding:14px 18px; font-size:14.5px; text-align:left; border-bottom:1px solid var(--line);
  line-height:1.7; word-break:break-word; vertical-align:top;
}
.pro-table th{
  background:var(--bg-2); font-weight:800; color:var(--ink); font-size:14px; white-space:nowrap; width:22%;
}
.pro-table tr:last-child th,.pro-table tr:last-child td{border-bottom:0}
.pro-table td{color:var(--ink-3)}

/* ---------- 提示块 ---------- */
.pro-note{
  display:flex; gap:12px; align-items:flex-start;
  background:var(--red-soft); border-radius:var(--radius-sm); padding:16px 18px;
  font-size:14.5px; color:var(--ink-2); line-height:1.8; margin-top:20px;
}
.pro-note svg{flex:0 0 20px; width:20px; height:20px; color:var(--red); margin-top:3px}
.pro-note strong{color:var(--ink)}

/* ---------- 深色能力块（复用 compliance 视觉，内容换成技术底座） ---------- */
.pro-dark-list{display:grid; gap:13px; margin:0; padding:0; list-style:none}
.pro-dark-list li{display:flex; gap:12px; align-items:flex-start; font-size:15px; color:#C7CCD6; line-height:1.7}
.pro-dark-list li svg{flex:0 0 20px; width:20px; height:20px; color:#FF6A5E; margin-top:3px}

/* ---------- 响应式 ---------- */
@media (max-width:1100px){
  .pro-facts{grid-template-columns:repeat(2,1fr)}
  .pro-feat{grid-template-columns:repeat(2,1fr)}
  .pro-price{grid-template-columns:1fr}
}
@media (max-width:900px){
  .pro-compare table,.pro-table table{font-size:14px}
  .pro-compare th,.pro-compare td,.pro-table th,.pro-table td{padding:12px 13px}
}
@media (max-width:640px){
  .pro-facts{grid-template-columns:1fr; gap:10px}
  .pro-feat{grid-template-columns:1fr}
  .pro-fact{padding:14px 16px}
  .pro-fact b{font-size:17px}
  .pro-feat__item{padding:20px 18px}
  .pro-price__card{padding:22px 20px}
  /* 窄屏下对比表改为卡片式纵向堆叠，避免横向溢出 */
  .pro-compare{border:0; background:transparent; border-radius:0}
  .pro-compare table,.pro-compare tbody,.pro-compare tr,.pro-compare td{display:block; width:100%}
  .pro-compare colgroup,.pro-compare thead{display:none}
  .pro-compare tr{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
    padding:6px 4px; margin-bottom:12px;
  }
  .pro-compare td{
    border-bottom:0; padding:9px 14px; background:transparent !important; width:auto;
  }
  .pro-compare td:first-child{
    font-size:15px; color:var(--ink); font-weight:800; background:var(--bg-2) !important;
    border-radius:8px; margin:0 10px 6px; padding:9px 12px;
  }
  .pro-compare td::before{
    content:attr(data-label) "："; color:var(--ink-4); font-size:13px; display:block; margin-bottom:2px;
  }
  .pro-table table,.pro-table tbody,.pro-table tr,.pro-table th,.pro-table td{display:block; width:100%}
  .pro-table th{
    width:auto; border-bottom:0; padding:13px 16px 4px;
  }
  .pro-table td{padding:4px 16px 14px}
}
