/* ==========================================================================
   易硕科技 · 企业站样式
   设计基调：深色科技感首屏 + 浅色正文 + 品牌蓝/青渐变强调
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --ink: #0a1322;
  --ink-2: #16263a;
  --body: #4c5c72;
  --muted: #7d8b9f;
  --line: #e4eaf3;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  --brand: #0f62e6;
  --brand-dark: #0b47ad;
  --cyan: #0bb6cf;
  --cyan-bright: #38e2f0;

  --dark: #060f1a;
  --dark-2: #0a1a2b;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(10, 19, 34, .05), 0 8px 24px -14px rgba(10, 19, 34, .12);
  --sh: 0 2px 4px rgba(10, 19, 34, .05), 0 24px 48px -24px rgba(10, 19, 34, .18);

  --wrap: 1180px;
  --head-h: 68px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(15, 98, 230, .16); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用区块 ---------- */
.sec { padding: 96px 0; position: relative; }
.sec--soft { background: var(--bg-soft); }
.sec--tight { padding: 72px 0; }

.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}
.sec-head.center .eyebrow::before { display: none; }

.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
}
.sec-head p { font-size: 16.5px; color: var(--body); }

.grad-text {
  background: linear-gradient(96deg, #2f8bff, #2ee7f5 60%, #9df0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #1a6df0, #0a5cd8 55%, #0b8fc4);
  box-shadow: 0 10px 26px -12px rgba(15, 98, 230, .8);
}
.btn-primary:hover { box-shadow: 0 16px 34px -14px rgba(15, 98, 230, .9); }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .09); }

.btn-line {
  color: var(--brand);
  border-color: rgba(15, 98, 230, .28);
  background: #fff;
}
.btn-line:hover { border-color: var(--brand); background: rgba(15, 98, 230, .04); }

.btn svg { width: 17px; height: 17px; }

/* ==========================================================================
   顶栏
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 15, 26, .95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head-h);
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(47, 139, 255, .22), rgba(56, 226, 240, .14));
  border: 1px solid rgba(120, 200, 255, .28);
  padding: 5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .3em;
  color: rgba(160, 210, 245, .62);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  color: rgba(226, 238, 250, .8);
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2f8bff, #38e2f0);
}
.nav .nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  color: #04121f;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(120deg, #4fa6ff, #38e2f0);
  box-shadow: 0 8px 22px -12px rgba(56, 226, 240, .9);
}
.nav .nav-cta:hover { color: #04121f; background: linear-gradient(120deg, #6cb8ff, #55ecf7); }
.nav .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #dbe8f6;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-90deg); }

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #dce9f7;
  background:
    radial-gradient(900px 480px at 78% -6%, rgba(11, 182, 207, .20), transparent 62%),
    radial-gradient(760px 460px at 6% 12%, rgba(15, 98, 230, .26), transparent 62%),
    linear-gradient(180deg, #050d17 0%, #071727 58%, #071524 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 140%;
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(60% 100% at 50% 100%, rgba(56, 226, 240, .12), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 92px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px 0 8px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(120, 210, 245, .28);
  background: rgba(12, 44, 68, .5);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #a9dcf3;
}
.hero-tag i {
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: #38e2f0;
  box-shadow: 0 0 0 4px rgba(56, 226, 240, .16);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.16;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 span { display: block; }

.hero-sub {
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(200, 220, 238, .82);
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats div { min-width: 0; }
.hero-stats b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stats b small { font-size: 13px; font-weight: 600; margin-left: 2px; color: rgba(160, 210, 245, .75); }
.hero-stats span { font-size: 12.5px; color: rgba(160, 190, 216, .8); }

/* 拓扑图 */
.topo-wrap { position: relative; }
.topo-card {
  position: relative;
  padding: 18px 18px 8px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(120, 200, 255, .16);
  background: linear-gradient(165deg, rgba(15, 44, 70, .78), rgba(6, 18, 30, .86));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.topo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 10px;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(150, 195, 225, .68);
}
.topo-head i {
  display: flex;
  gap: 5px;
}
.topo-head i::before,
.topo-head i::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120, 170, 205, .35);
}
.topo-head i::after { background: #38e2f0; }

.topo { width: 100%; height: auto; }
.topo text {
  font-family: var(--sans);
  fill: #cfe6ff;
  font-size: 12.5px;
}
.topo .t-dim { fill: #7fa6c8; font-size: 10.5px; letter-spacing: .04em; }
.topo .t-strong { fill: #ffffff; font-weight: 700; font-size: 13.5px; }
.topo .box {
  fill: rgba(16, 44, 70, .92);
  stroke: rgba(110, 190, 240, .35);
  stroke-width: 1.2;
}
.topo .box--key {
  fill: rgba(12, 64, 104, .95);
  stroke: rgba(56, 226, 240, .55);
}
.topo .link { stroke: url(#topoGrad); stroke-width: 1.7; fill: none; opacity: .8; }
.topo .pkt { fill: #7bf0ff; filter: url(#topoGlow); }

@keyframes pulseRow {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.topo-foot {
  display: flex;
  justify-content: flex-end;
  padding: 0 6px 10px;
}
.topo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #d8f6ff;
  background: rgba(7, 40, 58, .92);
  border: 1px solid rgba(56, 226, 240, .35);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.topo-badge b { color: #7bf0ff; font-variant-numeric: tabular-nums; }

/* ---------- 品牌条 ---------- */
.brandbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brandbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.brandbar-title {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.brandbar-list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-left: auto;
}
.brandbar-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #56677d;
}
.brandbar-list li em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: #9aa8ba;
}

/* ==========================================================================
   产品中心
   ========================================================================== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.prod::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #1a6df0, #38e2f0);
  opacity: 0;
  transition: opacity .28s ease;
}
.prod:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 98, 230, .28);
  box-shadow: var(--sh);
}
.prod:hover::after { opacity: 1; }

.prod-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prod-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--brand);
  background: linear-gradient(140deg, rgba(15, 98, 230, .10), rgba(11, 182, 207, .10));
  border: 1px solid rgba(15, 98, 230, .14);
}
.prod-ico svg { width: 23px; height: 23px; }
.prod-tag {
  margin-left: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand);
  background: rgba(15, 98, 230, .07);
  border: 1px solid rgba(15, 98, 230, .14);
}
.prod h3 { font-size: 19px; margin-bottom: 10px; }
.prod p { font-size: 14.5px; line-height: 1.75; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chips li {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #5b6b80;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
}

.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.prod-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.prod-link:hover svg { transform: translateX(3px); }

/* ---------- 第三方产品线（Panabit / 秒开 ITMS / 碧海威 / 迈普 / 路由 / AP） ---------- */
.pbrand-block {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.pbrand-head { max-width: 780px; margin-bottom: 26px; }
.pbrand-head h3 { font-size: 21px; margin-bottom: 8px; }
.pbrand-head p { font-size: 14.5px; line-height: 1.75; color: var(--body); }

.pbrand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pbrand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .24s cubic-bezier(.16, 1, .3, 1), border-color .24s ease, box-shadow .24s ease;
}
.pbrand:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 98, 230, .26);
  box-shadow: 0 2px 4px rgba(10, 19, 34, .05), 0 18px 34px -20px rgba(10, 19, 34, .28);
}
.pbrand-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.pbrand-top b { font-size: 16.5px; color: var(--ink); letter-spacing: .01em; }
.pbrand-tag {
  margin-left: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand);
  background: rgba(15, 98, 230, .07);
  border: 1px solid rgba(15, 98, 230, .14);
  border-radius: 6px;
}
.pbrand p { font-size: 13.5px; line-height: 1.72; color: var(--muted); }
.pbrand-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.pbrand-chips li {
  padding: 3px 8px;
  font-size: 11.5px;
  color: #5b6b80;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 6px;
}

/* ==========================================================================
   解决方案
   ========================================================================== */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sol {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r);
  background: linear-gradient(170deg, rgba(18, 42, 66, .72), rgba(9, 22, 36, .82));
  color: #b9cde0;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), border-color .28s ease, background .28s ease;
}
.sol::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 226, 240, .16), transparent 68%);
  opacity: 0;
  transition: opacity .3s ease;
}
.sol:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 226, 240, .34);
  background: linear-gradient(170deg, rgba(22, 52, 80, .8), rgba(10, 26, 42, .9));
}
.sol:hover::before { opacity: 1; }

.sol-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(120, 190, 225, .55);
  font-variant-numeric: tabular-nums;
}
.sol-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 14px 0 16px;
  border-radius: 11px;
  color: #7bf0ff;
  background: rgba(56, 226, 240, .08);
  border: 1px solid rgba(56, 226, 240, .18);
}
.sol-ico svg { width: 21px; height: 21px; }
.sol h3 { font-size: 17.5px; color: #fff; margin-bottom: 9px; }
.sol p { font-size: 14px; line-height: 1.7; color: rgba(185, 205, 224, .85); }
.sol ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.sol ul li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  color: rgba(150, 200, 230, .8);
}
.sol ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(56, 226, 240, .7);
}

.sec--dark {
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(15, 98, 230, .18), transparent 62%),
    radial-gradient(700px 420px at 92% 90%, rgba(11, 182, 207, .14), transparent 62%),
    linear-gradient(180deg, #071320, #050d17);
}
.sec--dark .sec-head h2 { color: #fff; }
.sec--dark .sec-head p { color: rgba(180, 202, 224, .82); }
.sec--dark .eyebrow { color: #6bd8f5; }
.sec--dark .eyebrow::before { background: linear-gradient(90deg, #2f8bff, #38e2f0); }

/* ==========================================================================
   服务流程
   ========================================================================== */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: flow;
}
.flow li {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.flow li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(96deg, var(--brand), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.flow li::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--line);
}
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 16px; margin-bottom: 6px; }
.flow p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   选择理由
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 44px;
}
.why {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.why-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(140deg, #1a6df0, #0b8fc4);
  box-shadow: 0 10px 24px -14px rgba(15, 98, 230, .9);
}
.why-ico svg { width: 22px; height: 22px; }
.why h3 { font-size: 17.5px; margin-bottom: 7px; }
.why p { font-size: 14.5px; line-height: 1.75; }

/* ==========================================================================
   适用场景
   ========================================================================== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.scene {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scene:hover { border-color: rgba(15, 98, 230, .26); box-shadow: var(--sh-sm); }
.scene b {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 3px;
}
.scene span { font-size: 13px; line-height: 1.6; color: var(--muted); }
.scene-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(140deg, #1a6df0, #38e2f0);
}

/* ==========================================================================
   关于我们
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.about p + p { margin-top: 16px; }
.about-card {
  padding: 30px;
  border-radius: var(--r-lg);
  color: #cfe0f0;
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(56, 226, 240, .16), transparent 62%),
    linear-gradient(165deg, #0b2036, #071522);
  border: 1px solid rgba(120, 200, 255, .16);
  box-shadow: 0 40px 70px -40px rgba(6, 15, 26, .6);
}
.about-card h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.about-list { display: grid; gap: 14px; }
.about-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
}
.about-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-list span { color: rgba(150, 190, 220, .78); }
.about-list b { color: #fff; font-weight: 600; text-align: right; }

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: start;
}
.ct-list { display: grid; gap: 14px; margin-top: 30px; }
.ct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.ct-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--brand);
  background: rgba(15, 98, 230, .07);
}
.ct-ico svg { width: 18px; height: 18px; }
.ct-k { display: block; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.ct-v {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}
a.ct-v:hover { color: var(--brand); }

.cform {
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh);
}
.cform h3 { font-size: 18px; margin-bottom: 6px; }
.cform .fhint { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.65; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: rgba(15, 98, 230, .5);
  box-shadow: 0 0 0 3px rgba(15, 98, 230, .1);
}
.field input:invalid:not(:placeholder-shown) { border-color: #e0a0a0; }
.cform .btn { width: 100%; margin-top: 6px; }
.form-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.form-note.ok { color: #0f8a5f; font-weight: 600; }
.form-note.err { color: #c2410c; font-weight: 600; }

/* 蜜罐字段：对正常访客不可见，机器人会填 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 提交成功态 */
.form-done { display: none; text-align: center; padding: 26px 6px 18px; }
.cform.done .form-body { display: none; }
.cform.done .form-done { display: block; }
.done-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #16a34a, #0d9488);
  box-shadow: 0 14px 30px -14px rgba(13, 148, 136, .8);
}
.done-ico svg { width: 26px; height: 26px; }
.form-done h3 { font-size: 19px; margin-bottom: 10px; }
.form-done p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 22px;
  word-break: break-all;
}
.form-done .btn { width: auto; margin: 0 auto; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-foot {
  color: rgba(170, 194, 218, .82);
  background: linear-gradient(180deg, #050d17, #040a12);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 64px 0 30px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.foot-brand p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(150, 178, 206, .78);
}
.foot-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}
.foot-col a,
.foot-col span {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(160, 188, 214, .82);
  transition: color .18s ease;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(130, 158, 186, .75);
}
.foot-bottom .sep { opacity: .4; }
.foot-bottom a:hover { color: #cfe6ff; }

/* ==========================================================================
   子页（IPTV 产品页）
   ========================================================================== */
.subhero {
  position: relative;
  color: #d9e8f6;
  background:
    radial-gradient(760px 380px at 82% 0%, rgba(11, 182, 207, .2), transparent 60%),
    radial-gradient(680px 420px at 8% 30%, rgba(15, 98, 230, .24), transparent 62%),
    linear-gradient(180deg, #050d17, #071727);
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(110% 90% at 50% 0%, #000 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(110% 90% at 50% 0%, #000 26%, transparent 76%);
}
.subhero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 68px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(150, 185, 215, .8);
}
.crumb a:hover { color: #fff; }
.crumb i { opacity: .5; font-style: normal; }
.subhero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  color: #fff;
  margin-bottom: 18px;
  max-width: 780px;
}
.subhero p {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(196, 218, 236, .84);
}
.subhero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.subhero-tags li {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #b6e6f7;
  background: rgba(12, 44, 68, .6);
  border: 1px solid rgba(120, 210, 245, .24);
}

/* 架构图 */
.arch-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.arch {
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh);
}
.arch svg { width: 100%; height: auto; }
.arch text { font-family: var(--sans); font-size: 12px; fill: #46586e; }
.arch .a-title { fill: #0a1322; font-weight: 700; font-size: 13px; }
.arch .a-dim { fill: #8b9aae; font-size: 10.5px; }
.arch .a-box { fill: #f6f9fd; stroke: #dde6f1; }
.arch .a-box--hot { fill: #eef5ff; stroke: #b9d4f8; }
.arch .a-line { stroke: #c3d4e8; stroke-width: 1.5; fill: none; }

.arch-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.arch-note div {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
}
.arch-note b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.arch-note span { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* 功能矩阵 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feat {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 98, 230, .26);
  box-shadow: var(--sh-sm);
}
.feat-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  color: var(--brand);
  background: linear-gradient(140deg, rgba(15, 98, 230, .1), rgba(11, 182, 207, .1));
}
.feat-ico svg { width: 19px; height: 19px; }
.feat h3 { font-size: 15.5px; margin-bottom: 7px; }
.feat p { font-size: 13.5px; line-height: 1.7; color: var(--body); }
.feat code {
  padding: 1px 5px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #0b47ad;
  background: rgba(15, 98, 230, .08);
}

/* 参数表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.spec {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-sm);
  font-size: 14.5px;
}
.spec th,
.spec td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-2);
}
.spec thead th {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
  font-weight: 700;
}
.spec tbody th {
  width: 190px;
  font-weight: 600;
  color: var(--ink);
  background: #fcfdff;
}
.spec tbody tr:last-child th,
.spec tbody tr:last-child td { border-bottom: 0; }
.spec td { color: var(--body); }

/* 授权步骤 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  padding: 26px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(170deg, rgba(18, 42, 66, .7), rgba(9, 22, 36, .82));
  color: #b9cde0;
}
.step b {
  display: block;
  font-size: 13px;
  letter-spacing: .14em;
  color: #6bd8f5;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.step h3 { color: #fff; font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.72; color: rgba(180, 202, 224, .85); }

/* CTA 横幅 */
.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 44px;
  border-radius: var(--r-lg);
  color: #fff;
  background:
    radial-gradient(500px 240px at 92% 10%, rgba(56, 226, 240, .30), transparent 62%),
    linear-gradient(115deg, #06307a, #0a4fae 52%, #067f9f);
  box-shadow: 0 30px 60px -34px rgba(10, 75, 181, .8);
  overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 8px; }
.cta p { font-size: 14.5px; color: rgba(235, 245, 255, .92); }
.cta .btn-white {
  color: #0a4bb5;
  background: #fff;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
}
.cta .btn-white:hover { background: #f2f8ff; }

/* ---------- 滚动入场 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 68px 0 76px; }
  .topo-wrap { max-width: 560px; }
  .hero-stats { max-width: 620px; }
  .sol-grid, .feat-grid, .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbrand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow li::after { display: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --head-h: 62px; }
  .sec { padding: 72px 0; }

  .nav {
    position: fixed;
    inset: var(--head-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
    background: rgba(5, 14, 24, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--head-h));
    overflow: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; border-radius: 10px; font-size: 15.5px; }
  .nav a.active::after { display: none; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: block; }

  .prod-grid, .contact, .why-grid { grid-template-columns: 1fr; }
  .prod-grid { gap: 16px; }
  .flow, .sol-grid, .feat-grid, .scene-grid, .steps, .arch-note { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: 1fr; }
  .cta { padding: 32px 26px; }
  .cta .btn { width: 100%; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 60px 0; }
  .sec-head { margin-bottom: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .hero-stats b { font-size: 23px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .flow, .sol-grid, .feat-grid, .scene-grid, .steps, .arch-note { grid-template-columns: 1fr; }
  .prod { padding: 24px 22px; }
  .pbrand-block { margin-top: 40px; padding-top: 32px; }
  .pbrand-grid { grid-template-columns: 1fr; gap: 12px; }
  .brand { padding: 18px 18px 16px; }
  .brandbar-inner { gap: 14px; }
  .brandbar-list { margin-left: 0; gap: 18px; }
  .brandbar-list li { font-size: 13.5px; }
  .topo-badge { right: 6px; bottom: 14px; font-size: 11.5px; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
  .cform { padding: 24px 20px; }
  .spec { font-size: 13.5px; }
  .spec th, .spec td { padding: 12px 14px; }
  .spec tbody th { width: 120px; }
  .arch { padding: 22px 16px; }
  .arch svg { min-width: 680px; }
  .about-card { padding: 24px 22px; }
}

/* ==========================================================================
   帮助文档 / Wiki（wiki.html）
   ========================================================================== */
.doc-hero {
  position: relative;
  padding: 64px 0 54px;
  color: #d9e8f6;
  background:
    radial-gradient(720px 340px at 84% 0%, rgba(11, 182, 207, .18), transparent 62%),
    radial-gradient(700px 400px at 6% 20%, rgba(15, 98, 230, .24), transparent 64%),
    linear-gradient(180deg, #050d17, #081a2b);
  overflow: hidden;
}
.doc-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 226, 240, .45), transparent);
}
.doc-hero .crumb { color: rgba(160, 186, 210, .8); }
.doc-hero h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: #fff;
  margin: 14px 0 12px;
  letter-spacing: -.01em;
}
.doc-hero p {
  max-width: 720px;
  color: rgba(186, 206, 226, .88);
  font-size: 16.5px;
  margin: 0 0 20px;
}
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: rgba(200, 220, 240, .9);
  border: 1px solid rgba(120, 170, 215, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.doc-chip b { color: #7ee7f6; font-weight: 700; }

.doc-layout {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding: 46px 24px 84px;
}

/* 侧栏 */
.doc-side {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  max-height: calc(100vh - var(--head-h) - 44px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}
.doc-search { position: relative; margin-bottom: 14px; }
.doc-nav > summary { display: none; }
.doc-nav:not([open]) > .doc-toc { display: none; }
.doc-search input {
  width: 100%;
  padding: 10px 34px 10px 12px;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.doc-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 98, 230, .12);
}
.doc-search i {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  pointer-events: none;
}
.doc-toc { font-size: 14px; }
.doc-toc .grp {
  margin: 18px 0 6px;
  padding-left: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-toc a {
  display: block;
  padding: 6px 10px;
  color: var(--body);
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  line-height: 1.45;
  transition: color .14s ease, background .14s ease;
}
.doc-toc a:hover { color: var(--ink); background: var(--bg-soft); }
.doc-toc a.is-active {
  color: var(--brand);
  font-weight: 600;
  border-left-color: var(--brand);
  background: linear-gradient(90deg, rgba(15, 98, 230, .07), transparent);
}
.doc-toc a[hidden] { display: none; }
.doc-empty {
  margin: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* 正文 */
.doc-main { min-width: 0; }
.doc-sec {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 22px);
}
.doc-sec:last-of-type { border-bottom: 0; margin-bottom: 0; }
.doc-sec[hidden] { display: none; }
.doc-sec h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: clamp(21px, 2.3vw, 27px);
  letter-spacing: -.01em;
}
.doc-sec h2 .num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--brand), var(--cyan));
  box-shadow: 0 6px 16px -10px rgba(15, 98, 230, .9);
}
.doc-sec h2 .anchor {
  margin-left: 2px;
  font-size: 15px;
  font-weight: 500;
  color: #c3cfdd;
  opacity: 0;
  transition: opacity .14s ease, color .14s ease;
}
.doc-sec h2:hover .anchor { opacity: 1; }
.doc-sec h2 .anchor:hover { color: var(--brand); }
.doc-sec h3 {
  margin: 26px 0 10px;
  font-size: 17px;
  color: var(--ink);
}
.doc-sec h4 {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.doc-sec p { margin: 0 0 12px; }
.doc-sec > p:last-child { margin-bottom: 0; }
.doc-lead { color: var(--muted); font-size: 15px; margin-bottom: 18px !important; }
.doc-sec ul, .doc-sec ol { margin: 0 0 14px; padding-left: 22px; }
.doc-sec li { margin: 5px 0; }
.doc-sec li > ul, .doc-sec li > ol { margin: 6px 0 2px; }

.doc-sec code {
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  color: #0b3a7a;
  background: #f1f5fb;
  border-radius: 6px;
  word-break: break-word;
}
.doc-sec pre {
  margin: 12px 0 18px;
  padding: 14px 16px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: #d7e6f5;
  background: #0b1725;
  border-radius: 12px;
  border: 1px solid #13293f;
}
.doc-sec pre code { padding: 0; color: inherit; background: none; }

.doc-table {
  width: 100%;
  margin: 12px 0 18px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.doc-table-wrap { margin: 12px 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc-table-wrap > .doc-table { margin: 0; }
.doc-table th {
  padding: 10px 13px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.doc-table td {
  padding: 10px 13px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-2);
}
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table code { white-space: nowrap; }

.doc-callout {
  display: flex;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid;
  border-radius: 12px;
}
.doc-callout::before {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1.5;
}
.doc-callout--tip { color: #12457f; background: #f2f8ff; border-color: #cfe4ff; }
.doc-callout--tip::before { content: "💡"; }
.doc-callout--warn { color: #8a4b06; background: #fffaf0; border-color: #fde3a7; }
.doc-callout--warn::before { content: "⚠️"; }
.doc-callout--ok { color: #14603a; background: #f2fdf6; border-color: #bbf3ce; }
.doc-callout--ok::before { content: "✅"; }
.doc-callout b { color: inherit; }

.doc-steps { list-style: none; margin: 14px 0 18px; padding: 0; counter-reset: st; }
.doc-steps > li {
  position: relative;
  counter-increment: st;
  margin: 0;
  padding: 0 0 16px 42px;
}
.doc-steps > li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--cyan));
}
.doc-steps > li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 31px;
  bottom: 3px;
  width: 1.5px;
  background: var(--line);
}
.doc-steps > li:last-child { padding-bottom: 0; }
.doc-steps > li:last-child::after { display: none; }
.doc-steps b { color: var(--ink); }

.kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
}

.doc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.doc-foot p { margin: 0; font-size: 14px; color: var(--muted); }

/* 首页「帮助中心」卡片 */
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}
.help-card {
  display: block;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.help-card:hover {
  transform: translateY(-2px);
  border-color: #cfe0f6;
  box-shadow: var(--sh);
}
.help-card .hc-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--brand);
  background: linear-gradient(140deg, rgba(15, 98, 230, .1), rgba(11, 182, 207, .12));
  border-radius: 10px;
}
.help-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.help-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.help-card .hc-more { font-size: 13px; font-weight: 600; color: var(--brand); }
.help-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 1080px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 18px 64px; }
  .doc-side {
    position: static;
    max-height: none;
    margin-bottom: 28px;
    padding: 14px 14px 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-sm);
  }
  .doc-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .doc-toc .grp { grid-column: 1 / -1; margin-top: 12px; }
  .doc-toc a { border-left: 0; border-radius: 8px; padding: 7px 10px; }
  .doc-toc a.is-active { background: rgba(15, 98, 230, .08); }
  .help-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .doc-hero { padding: 44px 0 38px; }
  .doc-nav > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }
  .doc-nav > summary::-webkit-details-marker { display: none; }
  .doc-nav > summary::after { content: '▾'; color: var(--muted); transition: transform .18s ease; }
  .doc-nav[open] > summary { margin-bottom: 10px; }
  .doc-nav[open] > summary::after { transform: rotate(180deg); }
  .doc-toc { grid-template-columns: 1fr 1fr; font-size: 12.5px; }
  .doc-toc a { padding: 6px 8px; }
  .doc-toc .grp { margin-top: 10px; }
  .doc-table { min-width: 520px; font-size: 13px; }
  .doc-table th, .doc-table td { padding: 9px 11px; }
  .doc-sec h2 .anchor { display: none; }
  .help-grid { grid-template-columns: 1fr; }
  .doc-foot { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   下载与部署（download.html）
   ========================================================================== */
.dl-cmd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: linear-gradient(120deg, #0a1a2b 0%, #0b2138 100%);
  border: 1px solid rgba(56, 226, 240, .22);
  box-shadow: 0 24px 60px -32px rgba(6, 20, 36, .75);
}
.dl-cmd-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #06131f;
  background: linear-gradient(120deg, #2f8bff, #38e2f0);
}
.dl-cmd code {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  color: #d9efff;
  scrollbar-width: none;
}
.dl-cmd code::-webkit-scrollbar { display: none; }
.dl-copy {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #eaf7ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.dl-copy:hover { background: rgba(56, 226, 240, .18); border-color: rgba(56, 226, 240, .5); }
.dl-copy.is-ok { background: rgba(46, 204, 113, .22); border-color: rgba(46, 204, 113, .55); color: #d9ffe9; }
.dl-copy--sm {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 12px;
  vertical-align: 1px;
  border-color: var(--line);
  background: #fff;
  color: var(--brand);
}
.dl-copy--sm:hover { background: var(--bg-soft); border-color: #cfe0f7; }
.dl-copy--sm.is-ok { color: #14603a; background: #f2fdf6; border-color: #bbf3ce; }

.dl-cmd-tip { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.dl-cmd-tip code, .dl-note code, .dl-list code, .dl-steps code, .dl-faq code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink-2);
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
.dl-card {
  padding: 26px 26px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.dl-card h3 { font-size: 17px; margin-bottom: 14px; }
.dl-list { display: grid; gap: 10px; }
.dl-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--body);
}
.dl-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}
.dl-steps { counter-reset: dl; display: grid; gap: 12px; }
.dl-steps li {
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--body);
  counter-increment: dl;
}
.dl-steps li::before {
  content: counter(dl);
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}
.dl-inline-cmd {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #0b1626;
  color: #cfe9ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  overflow-x: auto;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: middle;
}
.dl-note {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: var(--r);
  border: 1px dashed #cfe0f7;
  background: #f7fbff;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--body);
}
.dl-note b { color: var(--ink); }
.dl-meta { margin-top: 14px; font-size: 13px; color: var(--muted); }
.dl-meta b { color: var(--ink-2); font-weight: 700; }
.dl-empty { color: var(--muted); font-size: 13.5px; }
.dl-dl {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #2f8bff);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter .18s ease;
}
.dl-dl:hover { filter: brightness(1.06); }
.spec td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  word-break: break-all;
}
.dl-faq { display: grid; gap: 12px; max-width: 900px; }
.dl-faq details {
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
}
.dl-faq summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: '+'; float: right; color: var(--muted); font-weight: 400; }
.dl-faq details[open] summary::after { content: '−'; }
.dl-faq details p { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--body); }

@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; gap: 16px; }
  .dl-cmd { flex-wrap: wrap; }
  .dl-cmd code { flex-basis: 100%; order: 3; white-space: normal; word-break: break-all; }
  .dl-copy { margin-left: auto; }
  .dl-card { padding: 22px 20px 18px; }
}
