@charset "UTF-8";
/* =========================================================================
   叁犀数智 · 设计系统 03 —— 组件层
   风格：商务 × 科技（浅色基底 + 蓝—青渐变点缀，禁用紫色）
   分层手段：浅底 + 圆角 + 极浅阴影 + 渐变饰线
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. 按钮
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
/* 主按钮：蓝→深蓝渐变。两端均为深蓝（白字 ≥ 5.8:1），
   不把浅青直接做端点——浅青端与白字对比不足。 */
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(24, 66, 181, .22), 0 6px 18px rgba(24, 66, 181, .26);
}
.btn-primary:active {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(24, 66, 181, .26);
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink-900);
  background: var(--bg-white);
}
.btn-ghost:active { transform: translateY(1px); }

.btn-tint {
  background: var(--brand-100);
  color: var(--brand-800);
}
.btn-tint:active { transform: translateY(1px); }

.btn-on-dark {
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}
.btn-on-dark:active { transform: translateY(1px); }

/* 仅在支持真实悬浮的设备上启用位移类悬浮效果，
   避免触屏点击后 :hover 状态被"粘住" */
@media (hover: hover) and (pointer: fine) {
  /* 悬浮：渐变向青端偏移 + 投影加青，仍是深蓝主导，白字对比 ≥ 5.5:1 */
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 62%, var(--secondary-dark) 150%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(24, 66, 181, .24), 0 10px 26px rgba(14, 165, 233, .30);
  }
  .btn-tint:hover { background: var(--primary-200); }
  .btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
    .tab:hover { color: var(--ink-900); background: var(--bg-steel); }
  .chip:hover { color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--line-strong); }
  .tags span:hover { color: var(--brand-800); box-shadow: inset 0 0 0 1px var(--brand-100); }
  .toc a:hover { color: var(--ink-900); background: var(--bg-mist); }
  .steps > li:hover { background: linear-gradient(135deg, var(--brand-50), rgba(14, 165, 233, .10)); }
  .btn-ghost:hover { border-color: var(--brand-600); color: var(--brand-600); }
  .card:hover, .case:hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-2px);
    border-color: var(--primary-200);
  }
  .card:hover::before, .case:hover::before { opacity: 1; }
  .hotline:hover {
    background: linear-gradient(100deg, var(--primary-600) 10%, var(--secondary) 90%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brand-600);
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }

/* -------------------------------------------------------------------------
   2. 卡片
   ------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

/* 卡片顶部渐变饰线 —— 蓝→青渐隐，静态低透明度，悬浮时点亮 */
.card::before,
.case::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary) 55%, transparent 108%);
  opacity: .45;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.card-no {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.card-title { margin-bottom: 10px; }
.card-text { font-size: 14px; color: var(--ink-500); }

.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 14px;
}
.card-tag--ok   { color: var(--state-ok);    background: #E7F6F0; }
.card-tag--warn { color: var(--state-warn);  background: #FBF1E2; }
.card-tag--brand { color: var(--brand-700);  background: var(--brand-100); }

/* 要点列表 */
.ticks { margin-top: 14px; }
.ticks li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 9px;
  line-height: 1.65;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--brand-600);
  border-radius: 50%;
}
.ticks--plain li::before { background: var(--line-strong); }

/* 关键词标签组 —— 简约风格下承载"能力"的主要形式 */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  display: inline-block;
  padding: 7px 14px;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--ink-700);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tags--on-white span { background: var(--bg-mist); box-shadow: none; }
.tags--brand span { background: var(--brand-100); color: var(--brand-700); box-shadow: none; }

/* -------------------------------------------------------------------------
   3. 指标块 —— 无框，靠大字号与间距
   ------------------------------------------------------------------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
/* 指标数值：蓝→青渐变大字（仅用于 28px+ 大字，浅端对大字对比 ≥ 3:1） */
.metric-value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  background: var(--grad-metric);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-value .u { font-size: .58em; margin-left: 1px; color: var(--brand-600); }
.metric-label {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--ink-400);
  line-height: 1.55;
}

@media (max-width: 991px) { .metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px)  { .metrics { grid-template-columns: 1fr; gap: 20px; } }

/* -------------------------------------------------------------------------
   4. 表格
   ------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}
.table { min-width: 600px; font-size: 14px; }
.table th {
  padding: 16px 22px;
  background: var(--bg-mist);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
}
.table th:first-child { border-top-left-radius: var(--radius); }
.table th:last-child  { border-top-right-radius: var(--radius); }
.table td {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  vertical-align: top;
  line-height: 1.65;
}
.table td:first-child { color: var(--ink-900); font-weight: 500; white-space: nowrap; }
.table .col-ai { background: var(--brand-50); }

/* -------------------------------------------------------------------------
   5. 标签页 —— 胶囊式
   ------------------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ink-500);
  background: var(--bg-mist);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tab[aria-selected="true"] {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 500;
}

.tab-panel { padding-top: 32px; }
.tab-panel[hidden] { display: none; }

/* 切换时面板淡入，避免"硬跳" */
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.tab-panel.is-in { animation: panelIn 340ms var(--ease-out) both; }

/* -------------------------------------------------------------------------
   6. 编号流程
   ------------------------------------------------------------------------- */
.steps { display: grid; gap: 16px; }
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--6 { grid-template-columns: repeat(6, 1fr); }
.steps > li {
  background: var(--bg-mist);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background var(--dur) var(--ease);
}

.step-no {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-600);
  margin-bottom: 12px;
}
.step-title { font-size: 15.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.step-text { font-size: 13px; color: var(--ink-500); line-height: 1.6; }

@media (max-width: 991px) {
  .steps--6 { grid-template-columns: repeat(3, 1fr); }
  .steps--5 { grid-template-columns: repeat(3, 1fr); }
  .steps--4, .steps--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps--6, .steps--5, .steps--4, .steps--3, .steps--2 { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   7. 说明块 —— 左侧渐变竖条承担强调
   ------------------------------------------------------------------------- */
.callout {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-50), rgba(14, 165, 233, .10));
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--ink-500);
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-600), var(--secondary));
}
.callout strong { color: var(--ink-900); }
.callout--warn { background: #FDF6EA; }
.callout--warn::before { background: linear-gradient(180deg, var(--warning), #F2B45C); }
.callout--ok   { background: #EDF8F3; }
.callout--ok::before { background: linear-gradient(180deg, var(--success), #34C08D); }

.kicker {
  margin-top: 44px;
  font-size: 17px;
  color: var(--ink-700);
  text-align: center;
  letter-spacing: .01em;
}
.kicker strong { color: var(--ink-900); }

.footnote {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-400);
  line-height: 1.7;
}

/* -------------------------------------------------------------------------
   8. 分类筛选条
   ------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  color: var(--ink-500);
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.chip.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 2px 8px rgba(24, 66, 181, .25);
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500); }
.chip.is-active .dot { background: rgba(255, 255, 255, .75); }

/* -------------------------------------------------------------------------
   9. 效率倍数标记
   ------------------------------------------------------------------------- */
.x-badge {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-600);
  flex: none;
}
.cell-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.cell-head .no {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-400);
}

/* -------------------------------------------------------------------------
   10. 案例块
   ------------------------------------------------------------------------- */
.case {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.case-head {
  padding: 26px 30px 22px;
}
.case-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.case-head h3 { margin-bottom: 6px; }
.case-head .sub { font-size: 14px; color: var(--ink-400); }
.case-body { padding: 0 30px 30px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case-grid > div {
  background: var(--bg-mist);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.case-grid dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 9px;
}
.case-grid dd { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

@media (max-width: 767px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-head, .case-body { padding-left: 20px; padding-right: 20px; }
}

/* -------------------------------------------------------------------------
   11. 页内锚点目录
   ------------------------------------------------------------------------- */
.toc {
  position: sticky;
  top: 104px;
  align-self: start;
}
.toc-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-400);
  margin-bottom: 14px;
  padding-left: 12px;
}
.toc a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-400);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.toc a.is-active { color: var(--brand-700); background: var(--brand-100); font-weight: 500; }

@media (max-width: 991px) {
  .toc { position: static; margin-bottom: 32px; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a {
    background: var(--bg-mist);
    border-radius: var(--radius-pill);
    padding: 8px 15px;
    font-size: 13.5px;
  }
  .toc a.is-active { background: var(--brand-100); }
  .toc-title { padding-left: 0; }
}

/* -------------------------------------------------------------------------
   12. 咨询热线 —— 站内联系方式的主入口
   ------------------------------------------------------------------------- */
.hotline {
  display: inline-block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  background: var(--grad-metric);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------
   13. 表单
   ------------------------------------------------------------------------- */
/* 站点当前不含表单（无后台支撑，联系方式改为电话与邮件咨询），
   以下表单样式保留备用，若后续接入表单服务可直接复用。 */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-700); }
.field .req { color: var(--state-alert); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { resize: vertical; min-height: 124px; line-height: 1.7; }
.field select { appearance: none; cursor: pointer; }
.field .err { font-size: 12.5px; color: var(--state-alert); display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--state-alert); }
.field.has-error .err { display: block; }

.form-note { margin-top: 20px; font-size: 12.5px; color: var(--ink-400); line-height: 1.7; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; gap: 16px; } }

.count { font-variant-numeric: tabular-nums; }


/* -------------------------------------------------------------------------
   14. 卡片统一描边
   统一色板中 --card (#fbfcfd) 与 --background (#f8fafc) 色差仅 1.04:1，
   不足以靠色调分层；按色板设计意图，改用 --border 描边承载卡片边界。
   ------------------------------------------------------------------------- */
.card,
.cell,
.figure-block,
.mx,
.duo-col,
.industry-nav,
.industry-body,
.case,
.table-wrap {
  border: 1px solid var(--border);
}
