/* 万相云算力 · 政务版首页
   配色沿用 TDesign 品牌蓝（#0052D9），接组件库时不用改主题。 */

@font-face {
  font-family: "WX Serif";
  src: url("fonts/noto-serif-sc-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "WX Serif";
  src: url("fonts/noto-serif-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;

  --brand: #0052D9;
  --brand-hover: #366EF4;
  --brand-active: #003CAB;
  --brand-1: #F2F3FF;
  --brand-2: #D9E1FF;
  --brand-3: #B5C7FF;
  --navy: #0B2A5B;
  --navy-2: #143A78;
  --navy-3: #08224A;
  --red: #C8161D;
  --ok: #00A870;
  --warn: #E37318;

  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --ink: #1D2433;
  --ink-2: #414B61;
  --ink-3: #5A6478;
  --ink-4: #7D879A;
  --line: #E3E8F0;
  --line-2: #D3DBE7;

  --f-serif: "WX Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --f-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --f-num: "DIN Alternate", "Bahnschrift", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --shadow: 0 12px 32px -18px rgba(11, 42, 91, 0.28);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, pre { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { text-wrap: pretty; }
.nw { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff;
}
.skip-link:focus { top: 8px; }

/* 长辈版：整体放大字号，次要文字加深 */
html.is-elder { font-size: 112.5%; }
html.is-elder body { --ink-3: #454F64; --ink-4: #5A6478; line-height: 1.85; }

/* ---------- 按钮与链接 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 2.25rem; padding: 0 1rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .ico { width: 1rem; height: 1rem; }
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #1766FF 0%, #0052D9 100%); color: #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 82, 217, 0.7);
}
.btn-primary:hover { background: linear-gradient(90deg, #3A7DFF 0%, #1766FF 100%); }
.btn-primary:active { background: var(--brand-active); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 125%; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { min-height: 2.75rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.more-link {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--brand); font-size: 0.875rem; white-space: nowrap;
}
.more-link .ico { width: 1rem; height: 1rem; }
.more-link:hover { color: var(--brand-hover); }

/* ---------- 顶部工具条 ---------- */
.util { background: var(--navy); color: #C9D6EE; font-size: 0.8125rem; }
.util-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 2.125rem; }
.util-r { display: flex; align-items: center; margin-left: auto; }
.util-r li + li { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.util-r a, .util-r button { display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; color: #C9D6EE; line-height: 1; }
.util-r li:last-child > * { padding-right: 0; }
.util-r .ico { width: 0.9375rem; height: 0.9375rem; }
.util-r a:hover, .util-r button:hover, .elder-btn[aria-pressed="true"] { color: #fff; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(11, 42, 91, 0.3); }
.header-in { display: flex; align-items: center; gap: 44px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text b { font-size: 1.1875rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.brand-text small { margin-top: 3px; font-size: 0.6875rem; color: var(--ink-3); letter-spacing: 0.14em; }

.main-nav { flex: 1; align-self: stretch; }
.main-nav ul { display: flex; height: 100%; }
.main-nav a {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 15px; font-size: 0.9375rem; color: var(--ink);
  transition: color .15s;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 500; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px;
  height: 3px; background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.text-link { padding: 0 6px; font-size: 0.875rem; color: var(--ink-2); }
.text-link:hover { color: var(--brand); }

.menu-btn { display: none; place-items: center; width: 40px; height: 40px; margin-right: -8px; color: var(--ink); }
.menu-btn .ico { width: 24px; height: 24px; }
.menu-btn .ico-close, .menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 20px; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-nav a[aria-current="page"]:not(.btn) { color: var(--brand); font-weight: 500; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 60% at 80% 44%, rgba(0, 82, 217, 0.16) 0%, rgba(0, 82, 217, 0) 70%),
    radial-gradient(38% 46% at 6% 0%, rgba(91, 140, 255, 0.2) 0%, rgba(91, 140, 255, 0) 70%),
    linear-gradient(180deg, #D6E5FF 0%, #E6F0FF 50%, #F5F9FF 100%);
}
.hero::after {
  content: ""; position: absolute; top: -12%; right: 4%; width: 46rem; height: 46rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 108, 240, 0.2) 0%, rgba(47, 108, 240, 0) 62%);
  animation: aurora 16s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes aurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, 6%) scale(1.08); }
  100% { transform: translate(5%, -4%) scale(0.96); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 82, 217, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 217, 0.075) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 80% 38%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 72% at 80% 38%, #000 18%, transparent 72%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 35rem);
  gap: 64px; align-items: center;
  padding-block: 4.25rem 6rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.875rem; color: var(--ink-3); letter-spacing: 0.06em; }
.eyebrow i { width: 8px; height: 8px; background: var(--red); }
.hero h1 {
  margin-top: 1.125rem;
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(2.25rem, 1.15rem + 2.9vw, 3.3rem);
  line-height: 1.28; letter-spacing: 0.02em; color: var(--navy);
}
.hero-lead { margin-top: 1.25rem; max-width: 33em; font-size: 1.0625rem; line-height: 1.85; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { position: relative; z-index: 1; }
/* 算力平台插画：按面板底边中点对齐，数值由 tools/illustrations.mjs 算出 */
.hero-art {
  position: absolute; left: 50%; bottom: 0; z-index: 0;
  width: 154.21%; max-width: none; height: auto;
  transform: translate(-49.4%, 19.37%);
  pointer-events: none; user-select: none;
}

.kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.kpis > div { padding: 14px 18px 15px; }
.kpis > div + div { border-left: 1px solid var(--line); }
.kpis dt { font-size: 0.8125rem; color: var(--ink-3); white-space: nowrap; }
.kpis dd { display: flex; align-items: baseline; gap: 3px; margin-top: 4px; color: var(--navy); white-space: nowrap; }
.kpis b { font-family: var(--f-num); font-size: 1.625rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis dd span { font-size: 0.8125rem; color: var(--ink-3); }

/* 模型运行监测面板：全页唯一的深色块 */
.monitor {
  position: relative; z-index: 1;
  background: var(--navy); color: #E4ECFA;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11, 42, 91, 0.6);
}
.monitor::after {
  content: ""; position: absolute; left: 0; right: 0; top: -90px; height: 90px;
  background: linear-gradient(180deg, rgba(91, 140, 255, 0) 0%, rgba(91, 140, 255, 0.14) 50%, rgba(91, 140, 255, 0) 100%);
  animation: scan 7s ease-in-out infinite; pointer-events: none;
}
@keyframes scan { 0% { top: -90px; } 60%, 100% { top: 100%; } }
.monitor .tick { animation: tick 0.9s ease; }
@keyframes tick { 0% { color: #7FE0B8; text-shadow: 0 0 8px rgba(127, 224, 184, 0.6); } 100% { color: inherit; text-shadow: none; } }
.monitor-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.monitor-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 500; color: #fff; }
.monitor-head p { font-family: var(--f-mono); font-size: 0.75rem; color: #9FB3D6; white-space: nowrap; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--ok); animation: live 2.4s ease-out infinite;
}
@keyframes live { from { transform: scale(0.55); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }

.monitor-table { width: 100%; border-collapse: collapse; font-size: 0.84375rem; }
.monitor-table th, .monitor-table td { padding: 11px 10px; text-align: left; white-space: nowrap; }
.monitor-table th:first-child, .monitor-table td:first-child { padding-left: 20px; }
.monitor-table th:last-child, .monitor-table td:last-child { padding-right: 20px; }
.monitor-table thead th { padding-block: 10px 8px; font-size: 0.75rem; font-weight: 400; color: #9FB3D6; }
.monitor-table tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.monitor-table tbody th { font-weight: 500; color: #fff; }
.monitor-table .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.monitor-table td.num { color: #E4ECFA; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78125rem; line-height: 1.2; vertical-align: middle; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-ok { color: #7FE0B8; }
.st-warn, .st-maint { color: #FFC08A; }
.bars { display: flex; gap: 2px; height: 14px; }
.bars i { width: 3px; border-radius: 1px; background: rgba(0, 168, 112, 0.8); }
.bars i.w { background: var(--warn); }
.bars i.m { background: #7288B0; }
.monitor-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 20px; background: var(--navy-2);
  font-size: 0.8125rem; color: #C9D6EE;
}
.monitor-foot b { font-family: var(--f-mono); font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* 公告条 */
.notice-bar { position: relative; z-index: 2; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-in { display: flex; align-items: center; gap: 14px; min-height: 3.25rem; }
.tag-red {
  flex: none; padding: 5px 8px; border-radius: 2px;
  background: var(--red); color: #fff;
  font-size: 0.75rem; line-height: 1; letter-spacing: 0.08em;
}
.ticker { position: relative; flex: 1; min-width: 0; height: 1.75rem; overflow: hidden; }
.ticker li {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; visibility: hidden; transform: translateY(100%);
  transition: transform .5s ease, opacity .5s ease, visibility .5s;
}
.ticker li.is-active { opacity: 1; visibility: visible; transform: none; }
.ticker li.is-leaving { transform: translateY(-100%); }
.ticker a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9375rem; }
.ticker a:hover { color: var(--brand); }
.ticker time { flex: none; font-family: var(--f-num); font-size: 0.8125rem; color: var(--ink-4); }

/* ---------- 通用区块 ---------- */
.section { padding-block: 5.5rem; }
.section-alt { background: linear-gradient(180deg, #EDF3FF 0%, #F6F9FF 100%); }
.sec-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.sec-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.4; letter-spacing: 0.02em; color: var(--navy);
  text-wrap: balance;
}
.sec-head p { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-3); }
.sec-head-left { margin: 0; text-align: left; }
.sec-head .sec-title::after {
  content: ""; display: block; width: 40px; height: 4px; margin: 14px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #5B8CFF);
  transition: width 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sec-head-left .sec-title::after { margin-left: 0; }

/* ---------- 平台能力 ---------- */
.arch { padding: 28px 32px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.arch-labels, .arch-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1.4fr) 76px minmax(0, 1fr);
}
.arch-labels span { padding-bottom: 14px; font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0.1em; text-align: center; }
.arch-labels span:nth-child(2) { grid-column: 3; }
.arch-labels span:nth-child(3) { grid-column: 5; }
.arch-col { display: flex; flex-direction: column; }
.arch-col li { flex: 1; display: flex; align-items: center; padding-block: 5px; }
.node {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 2.75rem; padding: 0 14px;
  background: #FAFBFD; border: 1px solid var(--line-2); border-radius: 6px;
  font-size: 0.9375rem; color: var(--ink);
}
.node .ico { width: 18px; height: 18px; color: var(--brand); }
.node-more { border-style: dashed; background: #fff; color: var(--ink-3); }
.arch-apps .node::after, .arch-models .node::before {
  content: ""; position: absolute; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: #fff; border: 1.5px solid #8FAAE0;
}
.arch-apps .node::after { right: -4.5px; }
.arch-models .node::before { left: -4.5px; }
.arch-link { width: 100%; height: 100%; overflow: visible; }
.arch-link path {
  fill: none; stroke: #9CB5E6; stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 5 5; animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -20; } }
.gateway {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 22px; text-align: center;
  background: linear-gradient(180deg, #F5F8FF 0%, #EAF1FC 100%);
  border: 1.5px solid var(--brand); border-radius: var(--radius);
}
.gw-proto {
  align-self: center; padding: 2px 9px;
  background: #fff; border: 1px solid var(--brand-2); border-radius: 3px;
  font-family: var(--f-mono); font-size: 0.75rem; color: var(--brand);
}
.gw-title { font-size: 1.125rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; }
.gw-funcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gw-funcs li {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 6px; background: #fff; border: 1px solid #D3DEF6; border-radius: var(--radius-sm);
  font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap;
}
.gw-funcs .ico { width: 16px; height: 16px; color: var(--brand); }
.gw-url { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3); }

.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.cap-card {
  display: flex; flex-direction: column;
  padding: 28px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
}
.cap-card:hover { border-color: var(--brand-3); box-shadow: var(--shadow); transform: translateY(-4px); }
.cap-art { display: block; width: 84px; height: auto; margin: -12px 0 -6px -10px; }
.cap-card h3 { margin-top: 10px; font-size: 1.125rem; font-weight: 600; }
.cap-card p { flex: 1; margin-top: 8px; font-size: 0.875rem; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li {
  padding: 5px 8px; border-radius: 3px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-size: 0.75rem; line-height: 1; color: var(--ink-2);
}

/* ---------- 模型服务 ---------- */
.models { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 100%; padding: 18px 12px 22px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
}
.svc img { width: 76px; height: auto; margin: -4px 0 4px; transition: transform .3s ease; }
.svc:hover img { transform: translateY(-3px); }
.svc b { font-size: 1rem; font-weight: 600; transition: color .2s; }
.svc span { font-size: 0.8125rem; color: var(--ink-3); }
.svc:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.svc:hover b { color: var(--brand); }

.hot { display: flex; flex-direction: column; padding: 20px 24px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.hot-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hot-head h3, .support-title { display: flex; align-items: center; gap: 9px; font-size: 1.0625rem; font-weight: 600; }
.hot-head h3::before, .support-title::before { content: ""; width: 3px; height: 1em; background: var(--brand); }
.hot-list { flex: 1; display: flex; flex-direction: column; }
.hot-list li {
  flex: 1; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  min-height: 2.6rem; border-bottom: 1px dashed var(--line);
}
.hot-list li:last-child { border-bottom: 0; }
.rank { font-family: var(--f-num); font-size: 0.9375rem; font-weight: 700; color: var(--ink-4); }
.rank.top { color: var(--red); }
.hot-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.hot-name b { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.hot-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; color: var(--ink-4); }
.caps { font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; }

/* ---------- 安全合规 ---------- */
.security { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.security .sec-head p { margin-top: 1rem; max-width: 26em; }
.security .more-link { margin-top: 1.5rem; font-size: 0.9375rem; }
.guard-art { display: block; width: min(100%, 400px); height: auto; margin-top: 20px; }
.guard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guard-grid li { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guard-grid .ico { width: 28px; height: 28px; color: var(--brand); stroke-width: 1.4; }
.guard-grid h3 { margin-top: 14px; font-size: 1.0625rem; font-weight: 600; }
.guard-grid p { margin-top: 6px; font-size: 0.875rem; color: var(--ink-3); }
.certs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 3rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.certs li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.certs li + li { border-left: 1px solid var(--line); }
.certs .ico { width: 30px; height: 30px; color: var(--navy); stroke-width: 1.3; }
.certs b { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.45; }
.certs span { font-size: 0.75rem; color: var(--ink-3); }

/* ---------- 标签页（通用） ---------- */
.tablist { display: flex; }
[role="tab"] { transition: color .15s, border-color .15s; }

/* ---------- 解决方案 ---------- */
.sol-tabs .tablist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.sol-tabs [role="tab"] {
  position: relative; display: grid; justify-items: center; gap: 2px;
  padding: 14px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink-2);
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.sol-tabs [role="tab"] img { width: 100%; max-width: 150px; height: auto; transition: transform .3s ease; }
.sol-tabs [role="tab"]:hover { color: var(--brand); border-color: var(--brand-3); }
.sol-tabs [role="tab"]:hover img { transform: translateY(-3px); }
.sol-tabs [role="tab"][aria-selected="true"] { color: var(--brand); font-weight: 600; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.sol-tabs [role="tab"][aria-selected="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px;
  background: #fff; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}
.sol-panel {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px;
  padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.sol-main { display: flex; flex-direction: column; }
.sol-main h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.sol-main > p { margin-top: 12px; color: var(--ink-2); line-height: 1.85; }
/* 宽屏上只在标点处换行，避免把词拆开；窄屏行短，按常规断行 */
@media (min-width: 861px) { .sol-main > p { word-break: keep-all; overflow-wrap: anywhere; } }
.sol-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 24px; }
.sol-scenes li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.sol-scenes .ico { width: 18px; height: 18px; color: var(--brand); }
.sol-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.sol-fit > span { font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0.08em; }
.sol-fit .chips { margin-top: 0; }
.sol-actions { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 32px; }
.sol-side { padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.side-label { font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0.08em; }
.combo { display: grid; gap: 10px; margin: 12px 0 22px; }
.combo li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.combo .ico { width: 22px; height: 22px; color: var(--brand); }
.combo b { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.combo span { font-size: 0.8125rem; color: var(--ink-3); }
.side-modes { margin-top: 6px; font-size: 0.9375rem; }

/* ---------- 开发者接入 ---------- */
.dev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.steps { margin-top: 2.25rem; }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 4px;
  width: 1px; background: var(--line-2);
}
.step-no {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-1); border: 1px solid var(--brand-3); color: var(--brand);
  font-family: var(--f-num); font-size: 1rem; font-weight: 700;
}
.steps h3 { padding-top: 9px; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.steps p { margin-top: 2px; font-size: 0.875rem; color: var(--ink-3); }
.dev-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 4px; padding-left: 60px; }
.dev-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; color: var(--brand); }
.dev-links a:hover { color: var(--brand-hover); }
.dev-links .ico { width: 18px; height: 18px; }

.code-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 8px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.code-head [role="tab"] {
  margin-bottom: -1px; padding: 12px 14px;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem; color: var(--ink-3);
}
.code-head [role="tab"]:hover { color: var(--brand); }
.code-head [role="tab"][aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 500; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 0.8125rem; color: var(--ink-3); }
.copy-btn:hover { background: #fff; color: var(--brand); }
.copy-btn .ico { width: 15px; height: 15px; }
.code-card pre {
  min-height: 25.5rem; padding: 22px 24px; overflow-x: auto;
  background: #FCFDFE; color: #24324D;
  font-family: var(--f-mono); font-size: 0.8125rem; line-height: 1.85; tab-size: 2;
}
.t-k { color: #0052D9; }
.t-s { color: #0A7B55; }
.t-f { color: #9A4A00; }
.t-n { color: #C2410C; }
.code-foot { display: flex; align-items: center; gap: 14px; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); }
.code-foot code { font-family: var(--f-mono); color: var(--ink); }

/* ---------- 计费方式 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 28px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.plan { transition: box-shadow .25s, transform .25s ease; }
.plan:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.plan-featured, .plan-featured:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan-badge {
  position: absolute; top: -1px; right: 24px;
  padding: 4px 10px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--brand); color: #fff; font-size: 0.75rem;
}
.plan h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.plan-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-head img { flex: none; width: 68px; height: auto; margin: -14px -6px -10px -12px; }
.plan-for { margin-top: 2px; font-size: 0.875rem; color: var(--ink-3); }
.ticks { flex: 1; display: grid; align-content: start; gap: 12px; margin: 22px 0 28px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.9375rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 16px; height: 16px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- 通知公告 ---------- */
.news-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: stretch; }
.news { padding: 0 28px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.news-head { display: flex; align-items: stretch; gap: 28px; border-bottom: 1px solid var(--line); }
.news-title.sec-title { padding: 16px 0; font-size: 1.375rem; }
.news-head .tablist { flex: 1; gap: 4px; }
.news-head [role="tab"] {
  margin-bottom: -1px; padding: 0 14px;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem; color: var(--ink-2);
}
.news-head [role="tab"]:hover { color: var(--brand); }
.news-head [role="tab"][aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 500; }
.news-head .more-link { align-self: center; }
.news-top { display: flex; gap: 18px; padding: 22px 0 20px; border-bottom: 1px dashed var(--line); }
.date-block {
  flex: none; display: grid; place-content: center; justify-items: center;
  width: 4.25rem; height: 4.25rem; border-radius: var(--radius-sm);
  background: var(--brand-1); color: var(--brand);
}
.date-block b { font-family: var(--f-num); font-size: 1.625rem; line-height: 1; }
.date-block span { margin-top: 5px; font-family: var(--f-num); font-size: 0.75rem; line-height: 1; }
.news-top-body { min-width: 0; }
.news-top-body b { display: block; font-size: 1.0625rem; font-weight: 600; text-wrap: pretty; transition: color .15s; }
.news-top-body span {
  display: -webkit-box; margin-top: 4px; overflow: hidden;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-size: 0.875rem; color: var(--ink-3);
}
.news-top:hover b { color: var(--brand); }
.news-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { position: relative; min-width: 0; padding-left: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9375rem; }
.news-list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--brand-3); }
.news-list a:hover { color: var(--brand); }
.news-list time { flex: none; font-family: var(--f-num); font-size: 0.8125rem; color: var(--ink-4); }

.support { display: flex; flex-direction: column; padding: 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.support-list { flex: 1; margin: 12px 0 20px; }
.support-list li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.sup-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brand); }
.sup-ico .ico { width: 19px; height: 19px; }
.support-list small { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5; }
.support-list b { display: block; font-size: 1rem; font-weight: 500; line-height: 1.5; word-break: break-all; }

/* ---------- 行动号召 ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, #0A3FB5 0%, #0052D9 48%, #2E7BFF 100%); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.cta-band::after {
  content: ""; position: absolute; top: -18rem; right: -6rem; width: 36rem; height: 36rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
  animation: aurora 14s ease-in-out infinite alternate; pointer-events: none;
}
.cta-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 2.25rem; }
.cta-title { font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); line-height: 1.4; color: #fff; letter-spacing: 0.02em; }
.cta-in p { margin-top: 8px; color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -12px rgba(4, 22, 64, 0.6); }
.cta-band .btn-primary:hover { background: #EAF1FF; }
.cta-band .btn-primary::after { background: linear-gradient(100deg, rgba(0, 82, 217, 0) 0%, rgba(0, 82, 217, 0.14) 50%, rgba(0, 82, 217, 0) 100%); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-art { flex: none; width: 330px; height: auto; margin-block: -6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #AFC0DD; font-size: 0.875rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; gap: 56px; padding-block: 56px 48px; }
.brand-light { --mark-bg: #FFFFFF; --mark-fg: #0B2A5B; --mark-face: rgba(11, 42, 91, 0.14); }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text small { color: #8FA3C7; }
.foot-brand > p { max-width: 24em; margin-top: 18px; line-height: 1.8; }
.foot-contact { display: grid; gap: 8px; margin-top: 18px; }
.foot-contact li { display: flex; align-items: center; gap: 8px; }
.foot-contact .ico { width: 16px; height: 16px; color: #8FA3C7; }
.foot-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-nav h2 { margin-bottom: 14px; font-size: 0.9375rem; font-weight: 500; color: #fff; }
.foot-nav ul { display: grid; gap: 10px; }
.foot-nav a:hover, .foot-records a:hover { color: #fff; }
.foot-qr { text-align: center; }
.qr-box { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 6px; background: #fff; color: var(--ink-4); font-size: 0.75rem; }
.foot-qr p { margin-top: 10px; font-size: 0.8125rem; }
.foot-bottom { background: var(--navy-3); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: 0.8125rem; color: #8FA3C7; }
.foot-records { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------- 右侧快捷入口 ---------- */
.side-float {
  position: fixed; right: 20px; bottom: 96px; z-index: 40;
  display: grid; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.sf-item { display: grid; justify-items: center; gap: 2px; width: 60px; padding: 10px 0 9px; font-size: 0.6875rem; color: var(--ink-3); transition: color .15s; }
.sf-item + .sf-item { border-top: 1px solid var(--line); }
.sf-item .ico { width: 20px; height: 20px; color: var(--ink-2); transition: color .15s; }
.sf-item:hover, .sf-item:hover .ico { color: var(--brand); }
.sf-top { display: none; }
.sf-top.is-visible { display: grid; }

/* ---------- 占位检查模式（地址后加 ?check） ---------- */
.ph-check [data-ph] { outline: 2px dashed var(--warn) !important; outline-offset: 3px; }
.ph-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 200;
  display: grid; gap: 2px; max-width: 22rem; padding: 12px 16px;
  background: #FFF4EB; border: 1px solid #F5C9A4; border-radius: 6px; box-shadow: var(--shadow);
  font-size: 0.8125rem; color: #7A3A00;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1399px) {
  .side-float { display: none; }
}
@media (max-width: 1200px) {
  .header-in { gap: 28px; }
  .main-nav a { padding: 0 11px; }
  .main-nav a[aria-current="page"]::after { left: 11px; right: 11px; }
  .text-link { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); gap: 44px; }
  .kpis > div { padding-inline: 14px; }
  .kpis b { font-size: 1.5rem; }
}
@media (max-width: 1080px) {
  .main-nav, .header-actions { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 3.5rem 5rem; }
  .hero-visual { width: 100%; max-width: 40rem; margin-inline: auto; }
  .hero-art { width: 140%; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models { grid-template-columns: minmax(0, 1fr); }
  .security { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .security .sec-head p { max-width: 40em; }
  .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .certs li + li { border-left: 0; }
  .certs li { border-bottom: 1px solid var(--line); }
  .certs li:nth-child(3n + 2), .certs li:nth-child(3n + 3) { border-left: 1px solid var(--line); }
  .certs li:nth-last-child(-n + 2):nth-child(n + 4) { border-bottom: 0; }
  .dev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .news-wrap { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr) auto; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 860px) {
  .hero-art { width: 120%; }
  .sol-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .sol-tabs .tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 32rem; margin-inline: auto; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding-block: 4rem; }
  .sec-head { margin-bottom: 2.25rem; }
  .util-l { display: none; }

  .hero-art { width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis > div:nth-child(3) { border-left: 0; }
  .kpis > div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .arch { padding: 20px 16px; }
  .arch-labels, .arch-link { display: none; }
  .arch-body { grid-template-columns: minmax(0, 1fr); }
  .arch-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .arch-col::before { content: attr(data-label); grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0.1em; }
  .arch-col li { padding: 0; }
  .arch-models li:last-child { grid-column: 1 / -1; }
  .arch-apps .node::after, .arch-models .node::before { display: none; }
  .gateway { margin-block: 36px; }
  .gateway::before, .gateway::after {
    content: ""; position: absolute; left: 50%; width: 0; height: 26px; margin-left: -0.75px;
    border-left: 1.5px dashed #9CB5E6;
  }
  .gateway::before { top: -31px; }
  .gateway::after { bottom: -31px; }

  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc { padding: 20px 10px; }
  .guard-grid li { padding: 22px 20px 24px; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certs li:nth-child(n) { border-left: 0; border-bottom: 1px solid var(--line); }
  .certs li:nth-child(2n) { border-left: 1px solid var(--line); }
  .certs li:last-child { grid-column: 1 / -1; border-bottom: 0; border-left: 0; }
  .sol-scenes { grid-template-columns: minmax(0, 1fr); }

  .news { padding: 0 20px 6px; }
  .news-head { flex-wrap: wrap; gap: 0 16px; }
  .news-title.sec-title { padding-bottom: 6px; }
  .news-head .more-link { margin-left: auto; }
  .news-head .tablist { order: 3; flex-basis: 100%; }
  .news-head [role="tab"] { padding: 10px 12px 12px; }
  .news-head [role="tab"]:first-child { padding-left: 0; }

  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta-art { width: min(100%, 300px); align-self: center; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-row: auto; }
  .foot-qr { display: flex; align-items: center; gap: 16px; text-align: left; }
  .foot-qr p { margin-top: 0; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .monitor-table .bars-col { display: none; }
  .monitor-table th:nth-child(4), .monitor-table td:nth-child(4) { padding-right: 20px; }
  .monitor-foot { flex-direction: column; gap: 2px; }
  .hero-cta .btn { flex: 1; }
  .ticker time { display: none; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .cap-card { padding: 22px 20px; }
  .guard-grid { grid-template-columns: minmax(0, 1fr); }
  .gw-funcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-panel { padding: 22px 18px; }
  .sol-tabs .tablist { gap: 8px; }
  .sol-tabs [role="tab"] { padding: 10px 6px; font-size: 0.9375rem; }
  .svc img { width: 64px; }
  .sol-actions .btn { flex: none; }
  .code-card pre { padding: 18px 16px; }
  .code-foot { padding-inline: 16px; }
  .dev-links { padding-left: 0; }
  .news-list time { display: none; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
}

/* ---------- 安全合规：深蓝渐变区块 ---------- */
.section-dark {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(40% 60% at 18% 72%, rgba(47, 108, 240, 0.5) 0%, rgba(47, 108, 240, 0) 70%),
    linear-gradient(135deg, #0A2150 0%, #0B3886 55%, #0B4FC4 100%);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.section-dark > .container { position: relative; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-title::after { background: linear-gradient(90deg, #5B8CFF, #A9C6FF); }
.section-dark .sec-head p { color: #BFD0F0; }
.section-dark .more-link { color: #9EC1FF; }
.section-dark .more-link:hover { color: #fff; }
.section-dark .guard-grid, .section-dark .guard-grid li { border-color: rgba(255, 255, 255, 0.14); }
.section-dark .guard-grid li { background: rgba(255, 255, 255, 0.03); transition: background .25s; }
.section-dark .guard-grid li:hover { background: rgba(255, 255, 255, 0.08); }
.section-dark .guard-grid .ico { color: #8EB4FF; }
.section-dark .guard-grid h3 { color: #fff; }
.section-dark .guard-grid p { color: #B7C8EA; }
.section-dark .certs { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section-dark .certs li { border-color: rgba(255, 255, 255, 0.12) !important; }
.section-dark .certs .ico { color: #8EB4FF; }
.section-dark .certs b { color: #fff; }
.section-dark .certs span { color: #AFC2E6; }

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-visual { animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
/* 滚动到可视区域时淡入上浮（由 site.js 加 data-reveal，动画结束后移除） */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .sec-head[data-reveal]:not(.is-in) .sec-title::after { width: 0; }
/* 静态模式（地址加 ?static 或 ?check）：关掉入场动画，方便截图和检查 */
.is-static .hero-copy > *, .is-static .hero-visual { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
