/* ============================================================
   Xinrui Electronics — 新增组件样式（追加到主样式表）
   数据带 / 客户类型 / 流程步骤 / 数据表 / 清单 / FAQ / 提示条
   ============================================================ */

/* ---------- 数据带 ---------- */
.stats-band { background: var(--navy); padding: 38px 0; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item b {
  display: block; font-size: 32px; color: #fff; font-weight: 750;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 5px;
}
.stat-item span { font-size: 13px; color: #93aebf; letter-spacing: .2px; }

/* ---------- 客户类型 ---------- */
.serve-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.serve-item {
  display: flex; gap: 16px; padding: 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.serve-item .ico {
  flex: none; width: 40px; height: 40px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.serve-item b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; font-weight: 650; }
.serve-item p { margin: 0; font-size: 14px; color: var(--body); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 20px 0 0; }
.step:last-child { padding-right: 0; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.step b { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 7px; font-weight: 650; }
.step p { margin: 0; font-size: 14px; color: var(--body); }
.step .time {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 650;
  color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 5px;
}

/* ---------- 数据表 ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.data-table thead th { background: var(--bg-soft); color: var(--navy); font-weight: 650; text-align: left; padding: 13px 18px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.data-table tbody td { padding: 13px 18px; border-bottom: 1px solid #eef2f6; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f9fbfc; }
.data-table .num { font-variant-numeric: tabular-nums; }

/* ---------- 清单 ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex; gap: 11px; padding: 10px 0; font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li svg { flex: none; color: var(--ok); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  padding: 18px 22px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--navy); list-style: none; display: flex; align-items: center; gap: 12px;
  transition: background .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: none; width: 22px; height: 22px; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
  display: grid; place-items: center; font-size: 15px; line-height: 1;
}
.faq details[open] summary::before { content: "\2212"; }
.faq summary:hover { background: var(--bg-soft); }
.faq .ans { padding: 0 22px 20px 56px; font-size: 14.5px; color: var(--body); }
.faq .ans p { margin: 0 0 10px; }
.faq .ans p:last-child { margin: 0; }

/* ---------- 提示条 ---------- */
.callout {
  border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { flex: none; margin-top: 2px; }
.callout.warn { background: var(--warn-bg); border: 1px solid #ffe1a8; color: #7a5c15; }
.callout.info { background: #eef6ff; border: 1px solid #cfe4ff; color: #1a4d7a; }
.callout.ok { background: #eafaf0; border: 1px solid #c3efd6; color: #14603a; }
.callout b { display: block; margin-bottom: 4px; }

/* ---------- 新增响应式 ---------- */
@media (max-width: 980px) {
  .stats-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .serve-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-band .wrap { grid-template-columns: 1fr; gap: 26px; }
  .stat-item b { font-size: 27px; }
  .steps { grid-template-columns: 1fr; }
  .data-table { font-size: 13px; }
  .data-table thead th, .data-table tbody td { padding: 10px 12px; }
  .faq summary { padding: 15px 16px; font-size: 14px; }
  .faq .ans { padding: 0 16px 18px 46px; font-size: 13.5px; }
}
