/* ==========================================================================
   SmarterLab 硬件生态页 hardware.html 专用样式
   与站内主色保持一致：主蓝 #0d4fbb / 亮蓝 #1476ed / 深字 #0f172a
   所有规则限定在 .hw-page 内，避免影响全站既有页面
   ========================================================================== */

.hw-page {
  --hw-blue: #0d4fbb;
  --hw-blue-light: #1476ed;
  --hw-ink: #0f172a;
  --hw-ink-2: #334155;
  --hw-muted: #64748b;
  --hw-line: #e2e8f0;
  --hw-bg-soft: #f8fafc;
  --hw-ok: #0f766e;
  --hw-ok-bg: #ecfdf5;
  --hw-warn: #b45309;
  --hw-warn-bg: #fffbeb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--hw-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.hw-page * { box-sizing: border-box; }

.hw-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 首屏 ---------- */
.hw-hero {
  position: relative;
  padding: 80px 0 72px;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(20, 118, 237, 0.10), transparent 62%),
    radial-gradient(700px 380px at 8% 92%, rgba(13, 79, 187, 0.07), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 78%);
  overflow: hidden;
}

.hw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(680px 380px at 24% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(680px 380px at 24% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hw-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hw-blue);
  background: #eaf2ff;
  border: 1px solid #d5e4ff;
  border-radius: 999px;
}

.hw-eyebrow span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hw-blue-light);
  box-shadow: 0 0 0 3px rgba(20, 118, 237, 0.16);
}

.hw-page h1.hw-h1 {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--hw-ink);
}

.hw-h1 em {
  font-style: normal;
  color: var(--hw-blue);
}

.hw-lead {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--hw-ink-2);
  max-width: 540px;
}

.hw-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hw-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #0d4fbb, #1476ed);
  box-shadow: 0 10px 24px rgba(13, 79, 187, 0.22);
}

.hw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(13, 79, 187, 0.28);
}

.hw-btn-ghost {
  color: var(--hw-ink) !important;
  background: #fff;
  border: 1px solid var(--hw-line);
}

.hw-btn-ghost:hover { border-color: #b9cbe8; background: #f8fbff; }

.hw-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 26px;
  border-top: 1px dashed #dbe6f5;
}

.hw-hero-stats b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--hw-blue);
  letter-spacing: -0.5px;
}

.hw-hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--hw-muted);
  line-height: 1.5;
}

/* 首屏右侧：连接示意 */
.hw-hub {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px -24px rgba(15, 43, 70, 0.28);
}

.hw-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--hw-muted);
}

.hw-hub-top .hub-title { font-weight: 700; color: var(--hw-ink); }

.hw-hub-core {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d4fbb, #1a66d6);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(13, 79, 187, 0.6);
}

.hw-hub-core .core-name { font-size: 15px; font-weight: 700; }
.hw-hub-core .core-sub { font-size: 11.5px; opacity: 0.82; margin-top: 2px; }

.hw-hub-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hw-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hw-line);
  border-radius: 12px;
  background: #fbfdff;
  font-size: 12.5px;
  color: var(--hw-ink-2);
  font-weight: 600;
}

.hw-node svg { flex: 0 0 auto; }

.hw-node i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--hw-muted);
  margin-top: 2px;
}

/* ---------- 通用区块 ---------- */
.hw-sec { padding: 78px 0; }
.hw-sec.soft { background: var(--hw-bg-soft); border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }

.hw-sec-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }

.hw-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hw-blue-light);
}

.hw-page h2.hw-h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--hw-ink);
}

.hw-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--hw-muted);
}

.hw-sub a { color: var(--hw-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(13, 79, 187, 0.28); }
.hw-sub a:hover { border-bottom-color: var(--hw-blue); }
.hw-sub b { color: var(--hw-ink-2); font-weight: 700; }

/* ---------- 左右分栏 ---------- */
.hw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  scroll-margin-top: 90px;
}

.hw-split + .hw-split { margin-top: 76px; }
.hw-split.reverse .hw-visual { order: 2; }

.hw-visual {
  position: relative;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, #eef5ff 0%, #ffffff 62%);
  border: 1px solid #e3ecf9;
  box-shadow: 0 18px 44px -30px rgba(15, 43, 70, 0.45);
}

.hw-visual svg { display: block; width: 100%; height: auto; }

.hw-visual .vis-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hw-blue);
  background: #fff;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  padding: 4px 11px;
}

.hw-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.hw-sec-tag.done { color: var(--hw-ok); background: var(--hw-ok-bg); border: 1px solid #c7f0e3; }
.hw-sec-tag.live { color: #1d4ed8; background: #eff6ff; border: 1px solid #cfe0ff; }
.hw-sec-tag.optional { color: var(--hw-warn); background: var(--hw-warn-bg); border: 1px solid #fde8bd; }

.hw-page h3.hw-h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.42;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--hw-ink-2);
}

.hw-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.hw-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--hw-ink-2);
}

.hw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e8f1ff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230d4fbb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px 9px no-repeat;
}

.hw-list li b { color: var(--hw-ink); font-weight: 700; }

.hw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hw-chip {
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: #33507a;
  background: #f2f7ff;
  border: 1px solid #dfeafb;
  border-radius: 7px;
}

.hw-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
}

.hw-links a { color: var(--hw-blue); font-weight: 600; text-decoration: none; }
.hw-links a:hover { text-decoration: underline; }

/* ---------- OS 底座架构图 ---------- */
.hw-arch {
  max-width: 880px;
  margin: 0 auto 44px;
  padding: 30px 28px 26px;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 20px;
  box-shadow: 0 20px 50px -32px rgba(15, 43, 70, 0.5);
  text-align: center;
}

.hw-arch-brand b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--hw-ink);
}

.hw-arch-brand span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--hw-muted);
}

.hw-arch-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.hw-arch-mod {
  padding: 14px 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
}

.hw-arch-mod b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--hw-blue);
}

.hw-arch-mod span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--hw-muted);
}

.hw-arch-band {
  margin-top: 16px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #eaf2ff, #f4f9ff);
  border: 1px solid #d5e4ff;
  border-radius: 14px;
}

.hw-arch-band b {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--hw-blue);
}

.hw-arch-band p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #33507a;
}

.hw-arch-foot {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--hw-line);
}

.hw-arch-foot b {
  display: block;
  font-size: 14px;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-arch-foot p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--hw-muted);
}

/* ---------- 生态三原则 ---------- */
.hw-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
}

.hw-principle {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-left: 4px solid var(--hw-blue);
  border-radius: 12px;
  box-shadow: 0 6px 18px -14px rgba(15, 43, 70, 0.4);
}

.hw-principle h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-principle p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--hw-ink-2);
}

.hw-principle p b { color: var(--hw-ink); }

/* ---------- 替换符（保留备用） ---------- */
.hw-token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hw-token-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px -14px rgba(15, 43, 70, 0.4);
}

.hw-token-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-token-card p {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--hw-muted);
}

.hw-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hw-token {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 9px;
  font-size: 11.5px;
  line-height: 1.3;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  border-radius: 6px;
}

.hw-token code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  color: var(--hw-blue);
  background: transparent;
  padding: 0;
  border: 0;
}

.hw-token-note {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.75;
  color: #475569;
  background: #fffdf5;
  border: 1px solid #f6e8c8;
  border-radius: 10px;
}

/* ---------- 状态矩阵 ---------- */
.hw-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 14px;
}

table.hw-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

table.hw-table th,
table.hw-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

table.hw-table th {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hw-muted);
  background: #f8fafc;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

table.hw-table td:first-child { font-weight: 650; color: var(--hw-ink); }
table.hw-table tbody tr:last-child td { border-bottom: 0; }
table.hw-table tbody tr:hover { background: #fcfdff; }

.hw-state {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

.hw-state.ok { color: var(--hw-ok); background: var(--hw-ok-bg); }
.hw-state.blue { color: #1d4ed8; background: #eff6ff; }
.hw-state.gray { color: #b45309; background: var(--hw-warn-bg); }

/* ---------- 生态闭环 ---------- */
.hw-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}

.hw-flow-step {
  position: relative;
  padding: 22px 14px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.hw-flow-step:hover {
  border-color: #c3d7f5;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -20px rgba(15, 43, 70, 0.5);
}

.hw-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #a9c3ea;
  border-right: 2px solid #a9c3ea;
  transform: translateY(-50%) rotate(45deg);
}

.hw-flow-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: #eff6ff;
  border: 1px solid #dce9fb;
  border-radius: 12px;
}

.hw-flow-step b {
  display: block;
  font-size: 14px;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-flow-step > span:last-child {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--hw-muted);
}

.hw-flow-note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--hw-ink-2);
}

/* ---------- 硬件分组卡片 ---------- */
.hw-group { margin-top: 46px; }
.hw-group:first-of-type { margin-top: 34px; }
.hw-group-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hw-group-head p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
  max-width: 880px;
}
.hw-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.hw-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.hw-card:hover {
  border-color: #0d4fbb;
  box-shadow: 0 10px 28px rgba(13, 79, 187, 0.12);
  transform: translateY(-3px);
}
.hw-card .ph {
  height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
  position: relative;
}

.hw-badge-pilot {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eef4ff;
  border: 1px solid #c7dbfb;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.hw-card .ph img { max-width: 84%; max-height: 86%; object-fit: contain; }
.hw-card .tx { padding: 14px 18px 16px; }
.hw-card .tx b {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hw-card .tx b svg { color: #94a3b8; flex: none; transition: color 0.18s ease, transform 0.18s ease; }
.hw-card:hover .tx b svg { color: #0d4fbb; transform: translateX(3px); }
.hw-card .tx span {
  display: block;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 6px;
}

/* ---------- 既有设备 ---------- */
.hw-device-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hw-device {
  display: block;
  padding: 16px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hw-device:hover {
  border-color: #c3d7f5;
  box-shadow: 0 12px 28px -18px rgba(15, 43, 70, 0.5);
  transform: translateY(-2px);
}

.hw-device .ph {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.hw-device img {
  max-height: 78px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.15);
}

.hw-device span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hw-ink-2);
  line-height: 1.4;
}

/* ---------- 落地步骤 ---------- */
.hw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.hw-step {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 14px;
}

.hw-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0d4fbb, #1476ed);
  border-radius: 9px;
}

.hw-step h4 { margin: 0 0 8px; font-size: 15px; font-weight: 750; color: var(--hw-ink); }
.hw-step p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--hw-muted); }

/* ---------- FAQ ---------- */
.hw-faq { max-width: 860px; margin: 0 auto; }

.hw-faq details {
  border: 1px solid var(--hw-line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.hw-faq details[open] { border-color: #cddef7; box-shadow: 0 10px 26px -22px rgba(15, 43, 70, 0.6); }

.hw-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 650;
  color: var(--hw-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hw-faq summary::-webkit-details-marker { display: none; }

.hw-faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--hw-blue);
  transition: transform 0.2s ease;
}

.hw-faq details[open] summary::after { content: "−"; }

.hw-faq .a {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--hw-ink-2);
}

/* ---------- 底部 CTA ---------- */
.hw-cta-band {
  padding: 0 0 84px;
}

.hw-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px 46px;
  border-radius: 22px;
  background:
    radial-gradient(600px 240px at 92% 0%, rgba(88, 166, 255, 0.34), transparent 60%),
    linear-gradient(120deg, #0b3f96, #1258c9 58%, #1476ed);
  color: #fff;
  overflow: hidden;
}

.hw-cta-inner h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
}

.hw-cta-inner p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.hw-cta-inner p b { color: #fff; }

.hw-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

.hw-cta-actions a.hw-btn-primary {
  background: #fff;
  color: #0d4fbb !important;
  box-shadow: 0 10px 24px rgba(6, 32, 76, 0.25);
}

.hw-cta-actions a.hw-btn-line {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hw-cta-actions a.hw-btn-line:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- 分组筛选条 ---------- */
.hw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px auto 8px;
  max-width: 880px;
}

.hw-tab {
  appearance: none;
  border: 1px solid var(--hw-line);
  background: #fff;
  color: var(--hw-ink-2);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.hw-tab:hover { border-color: #b9cbe8; color: var(--hw-blue); }

.hw-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #0d4fbb, #1476ed);
  border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(13, 79, 187, 0.5);
}

/* ---------- 选型原则小注 ---------- */
.hw-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 860px;
  margin: 26px auto 0;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  background: #fffdf5;
  border: 1px solid #f6e8c8;
  border-radius: 10px;
}

.hw-note svg { flex: 0 0 auto; margin-top: 4px; color: #b45309; }
.hw-note a { color: var(--hw-blue); font-weight: 600; white-space: nowrap; }

/* ---------- 自研硬件说明 ---------- */
.hw-principle-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 1060px;
  margin: 16px auto 0;
  padding: 16px 20px;
  border: 1px dashed #b9cbe8;
  border-radius: 12px;
  background: #f7fbff;
  font-size: 13px;
  line-height: 1.82;
  color: var(--hw-ink-2);
}

.hw-principle-note svg { flex: 0 0 auto; margin-top: 3px; color: var(--hw-blue); }
.hw-principle-note p { margin: 0; }
.hw-principle-note b { color: var(--hw-ink); }

/* ---------- 架构图注释 ---------- */
.hw-arch-note {
  max-width: 860px;
  margin: 14px auto 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--hw-muted);
  text-align: center;
}

/* ---------- 典型应用场景 ---------- */
.hw-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
}

.hw-scenario {
  display: block;
  padding: 24px 22px;
  border: 1px solid var(--hw-line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.hw-scenario:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: #b9cbe8;
}

.hw-sc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--hw-blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.hw-scenario h3 { margin: 0 0 8px; font-size: 17px; font-weight: 750; color: var(--hw-ink); }
.hw-scenario p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--hw-muted); }

.hw-sc-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--hw-ink-2);
}

.hw-sc-flow span { background: #f1f5f9; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.hw-sc-flow i { font-style: normal; color: #9aa8b8; }

/* 场景卡内的强制管控强调句 */
.hw-scenario p.hw-sc-strong {
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.68;
  color: #0d4fbb;
  background: #eef4ff;
  border-left: 3px solid #0d4fbb;
  border-radius: 0 8px 8px 0;
}

/* 规模参考条 */
.hw-proof {
  max-width: 1060px;
  margin: 22px auto 0;
  padding: 24px 26px;
  border: 1px solid #cfdcf0;
  border-left: 4px solid var(--hw-blue);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(100deg, #f3f8ff 0%, #ffffff 64%);
}

.hw-proof-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dbe7f7;
}

.hw-proof-head h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.hw-proof-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0ebff;
  color: var(--hw-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hw-proof-lead p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--hw-ink-2);
}

.hw-proof-lead b { color: var(--hw-ink); font-weight: 750; }

.hw-proof-lead p.hw-proof-src {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid #cfe0ff;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hw-muted);
}

.hw-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hw-proof-stats div {
  padding: 12px 6px;
  border: 1px solid #e6eef9;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.hw-proof-stats b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--hw-blue);
  letter-spacing: -0.3px;
}

.hw-proof-stats span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--hw-muted);
}

/* 分组内的服务模式说明 */
.hw-group-note {
  margin: 16px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--hw-ok);
  border-radius: 0 10px 10px 0;
  background: #f4fbf9;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hw-ink-2);
}

.hw-group-note b {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border-radius: 5px;
  background: #d9f2ec;
  color: var(--hw-ok);
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: 1px;
}

/* 自研硬件的机制级管控强调块 */.hw-force {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid #c7dbfb;
  border-left: 5px solid var(--hw-blue);
  border-radius: 16px;
  background: linear-gradient(100deg, #eef5ff 0%, #ffffff 68%);
}

.hw-force-mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--hw-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 79, 187, 0.22);
}

.hw-force-body { min-width: 0; }

.hw-force-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--hw-blue);
}

.hw-force-line {
  margin: 0 0 9px;
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 500;
  color: var(--hw-ink);
}

.hw-force-line b { color: var(--hw-blue); font-weight: 800; }

.hw-force-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.82;
  color: var(--hw-ink-2);
}

/* ---------- 计费方式 ---------- */
.hw-billing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.hw-bill {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--hw-line);
  border-radius: 16px;
  background: #fff;
}

.hw-bill.featured {
  border-color: #b9cbe8;
  background: linear-gradient(160deg, #f3f8ff 0%, #ffffff 62%);
  box-shadow: 0 12px 30px rgba(13, 79, 187, 0.08);
}

.hw-bill small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hw-blue-light);
}

.hw-bill h3 {
  margin: 8px 0 10px;
  font-size: 17px;
  font-weight: 750;
  color: var(--hw-ink);
}

.hw-bill p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--hw-ink-2);
}

.hw-bill-fit {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: var(--hw-blue);
}

/* ---------- 从一项需求开始 ---------- */
.hw-plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1060px;
  margin: 0 auto;
}

.hw-plan {
  display: block;
  padding: 20px 18px;
  border: 1px solid var(--hw-line);
  border-radius: 15px;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.hw-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: #b9cbe8;
}

.hw-plan small { font-size: 10.5px; color: var(--hw-blue); font-weight: 800; letter-spacing: 0.08em; }
.hw-plan h3 { margin: 8px 0 7px; font-size: 15px; font-weight: 750; color: var(--hw-ink); }
.hw-plan p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--hw-muted); }

.hw-faq .a a { color: var(--hw-blue); font-weight: 600; }

/* ---------- 设备兼容性清单 ---------- */
.hw-compat-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  max-width: 1060px;
  margin: 0 auto 20px;
  font-size: 13px;
  color: var(--hw-muted);
}

.hw-compat-meta b { font-size: 16px; color: var(--hw-blue); margin-right: 4px; }

.hw-compat-meta span {
  display: inline-flex;
  align-items: baseline;
  padding: 7px 14px;
  border: 1px solid var(--hw-line);
  border-radius: 999px;
  background: #fff;
}

#compat .hw-table-wrap { max-width: 1100px; margin: 0 auto; }

.hw-scroll-hint {
  display: none;
  align-items: flex-start;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto 10px;
  padding: 10px 14px;
  border: 1px dashed #c7dbfb;
  border-radius: 10px;
  background: #f7fbff;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--hw-ink-2);
}

.hw-scroll-hint svg { flex: 0 0 auto; margin-top: 2px; color: var(--hw-blue); }
.hw-scroll-hint b { color: var(--hw-blue); }

#compat table.hw-table th:first-child,
#compat table.hw-table td:first-child { white-space: nowrap; }

#compat table.hw-table th:nth-child(3) { min-width: 250px; }

/* 移动端：表格横向滚动 + 首列固定 */
@media (max-width: 900px) {
  .hw-scroll-hint { display: flex; }
  #compat table.hw-table th:first-child,
  #compat table.hw-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 8px 0 10px -8px rgba(15, 23, 42, 0.18);
  }
  #compat table.hw-table th:first-child { background: #f8fafc; }
  #compat table.hw-table tbody tr:hover td:first-child { background: #fcfdff; }
  #compat table.hw-table td:first-child { white-space: nowrap; }
}
#compat table.hw-table td:nth-child(2) { white-space: nowrap; }
#compat table.hw-table td:nth-child(3) { color: var(--hw-ink-2); line-height: 1.65; }
#compat table.hw-table td:nth-child(4) { white-space: nowrap; color: var(--hw-ink-2); }
#compat table.hw-table td:nth-child(5) { white-space: nowrap; }
#compat table.hw-table td:nth-child(6) { font-size: 13px; color: var(--hw-muted); }

.hw-brand-name { font-weight: 750; color: var(--hw-ink); }

#compat .hw-note { max-width: 1100px; margin: 18px auto 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hw-hero-grid { gap: 36px; }
  .hw-page h1.hw-h1 { font-size: 40px; }
  .hw-device-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hw-hero { padding: 64px 0 56px; }
  .hw-hero-grid { grid-template-columns: 1fr; }
  .hw-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hw-split { grid-template-columns: 1fr; gap: 30px; }
  .hw-split.reverse .hw-visual { order: 0; }
  .hw-split + .hw-split { margin-top: 56px; }
  .hw-steps { grid-template-columns: 1fr 1fr; }
  .hw-device-grid { grid-template-columns: repeat(3, 1fr); }
  .hw-arch-line { grid-template-columns: 1fr; }
  .hw-principles { grid-template-columns: 1fr; }
  .hw-flow { grid-template-columns: repeat(3, 1fr); }
  .hw-flow-step:not(:last-child)::after { display: none; }
  .hw-scenarios { grid-template-columns: 1fr; }
  .hw-proof { padding: 22px 20px; }
  .hw-proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .hw-billing { grid-template-columns: 1fr; gap: 14px; }
  .hw-plans { grid-template-columns: repeat(2, 1fr); }
  .hw-cta-inner { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .hw-sec { padding: 58px 0; }
  .hw-page h2.hw-h2 { font-size: 26px; }
  .hw-page h1.hw-h1 { font-size: 32px; letter-spacing: -0.6px; }
}

@media (max-width: 560px) {
  .hw-wrap { padding: 0 16px; }
  .hw-steps { grid-template-columns: 1fr; }
  .hw-device-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-flow { grid-template-columns: repeat(2, 1fr); }
  .hw-plans { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hw-plan { padding: 14px 12px; }
  .hw-plan h3 { font-size: 14px; }
  .hw-plan p { font-size: 12px; }
  .hw-hero-stats b { font-size: 20px; }
  .hw-lead { font-size: 15.5px; }
  .hw-hero { padding: 48px 0 40px; }
  /* 筛选条：单行横向滑动，不挤压换行 */
  .hw-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .hw-tab { flex: 0 0 auto; padding: 8px 14px; font-size: 13px; }
  /* 卡片单列，图片与文字不挤压 */
  .hw-card-row { grid-template-columns: 1fr; gap: 14px; }
  .hw-card .ph { height: 140px; }
  .hw-group-head h3 { font-size: 18px; }
  .hw-group-head p { font-size: 13.5px; }
  .hw-note { font-size: 13px; padding: 14px 16px; }
  .hw-proof { padding: 18px 16px; }
  .hw-proof-head h3 { font-size: 16.5px; }
  .hw-bill { padding: 18px 16px; }
  .hw-bill h3 { font-size: 16px; }
  .hw-proof-lead p { font-size: 13.5px; line-height: 1.8; }
  .hw-proof-stats { gap: 8px; }
  .hw-proof-stats b { font-size: 17px; }
  .hw-proof-stats span { font-size: 11px; }
  .hw-principle-note, .hw-group-note { font-size: 12.5px; padding: 13px 15px; }
  .hw-force { gap: 13px; padding: 16px 16px; }
  .hw-force-mark { width: 34px; height: 34px; border-radius: 10px; }
  .hw-force-mark svg { width: 17px; height: 17px; }
  .hw-force-line { font-size: 14.5px; line-height: 1.72; }
  .hw-force-sub { font-size: 12.5px; line-height: 1.78; }
  .hw-hub { padding: 18px; }
}
