/* SmartUSBHub — 共享设计系统（实验室蓝 × 信号黄） */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
:root{
  --teal:#2A6F97; --teal-d:#12355B; --teal-l:#EAF3F8; --teal-btn:#12355B;
  --signal:#FFC928; --signal-soft:#FFF7D6;
  --ink:#12355B; --muted:#60798C; --dim:#8DA0AD;
  --bg:#FFFFFF; --bg-soft:#F7FAFC; --border:#D7E1E8; --panel:#F4F8FB;
  --ink-deep:#0B2947;
  --head:'Open Sans','Noto Sans SC',sans-serif;
  --body:'Open Sans','Noto Sans SC',-apple-system,'Segoe UI',sans-serif;
  --mono:'SF Mono','Consolas','Fira Code',monospace;
  --radius:14px; --shadow:0 18px 50px -26px rgba(18,53,91,.28);
}
html{ -webkit-font-smoothing:antialiased; scroll-behavior:smooth; }
body{ font-family:var(--body); color:var(--ink); background:var(--bg); line-height:1.6; font-size:16px; }
h1,h2,h3,h4{ font-family:var(--head); font-weight:700; line-height:1.14; letter-spacing:-0.022em; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
.wrap{ max-width:1200px; margin:0 auto; padding:0 32px; }
hr.rule{ border:none; border-top:1px solid var(--border); }

/* bilingual */
.en{ display:none; } body.lang-en .zh{ display:none; } body.lang-en .en{ display:inline; }
body.lang-en .domestic-only{ display:none !important; }
body:not(.lang-en) .international-only{ display:none !important; }

/* buttons */
.btn{ display:inline-flex; align-items:center; gap:8px; font-family:var(--head); font-weight:600; font-size:15px; padding:13px 28px; border-radius:999px; cursor:pointer; transition:.18s; border:2px solid transparent; }
.btn-teal{ background:var(--teal-btn); color:#fff; box-shadow:0 10px 22px -14px rgba(11,41,71,.72); }
.btn-teal:hover{ background:#0B2947; transform:translateY(-1px); }
.btn-ghost{ border-color:var(--teal); color:var(--teal-d); background:transparent; }
.btn-ghost:hover{ background:var(--teal-l); }
.btn-sm{ font-size:14px; padding:9px 20px; }

/* ── nav ── */
.nav{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--border); }
.nav-in{ display:flex; align-items:center; gap:28px; height:64px; max-width:1200px; margin:0 auto; padding:0 32px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--head); font-weight:700; font-size:18px; color:var(--ink); }
.nav .brand::before{ content:""; width:10px; height:10px; flex:none; background:var(--signal); border:3px solid var(--teal-d); }
.brand .mark{ width:34px; height:34px; border-radius:9px; background:var(--teal); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-links{ display:flex; gap:26px; margin-left:8px; }
.nav-links a{ font-family:var(--head); font-weight:500; font-size:15px; color:var(--ink); }
.nav-links a:hover{ color:var(--teal-d); }
.nav-links a.active{ color:var(--teal-d); font-weight:500; }
.nav-right{ margin-left:auto; display:flex; align-items:center; gap:16px; }
.lang{ display:flex; align-items:center; gap:4px; font-family:var(--head); font-weight:600; font-size:13px; color:var(--dim); }
.lang button{ background:none; border:none; cursor:pointer; color:var(--dim); font:inherit; padding:2px 4px; }
.lang button.on{ color:var(--teal-d); }

/* ── page header ── */
.page-head{ background:linear-gradient(135deg,#fff 0%,#fff 58%,var(--bg-soft) 100%); border-bottom:1px solid var(--border); position:relative; overflow:hidden; }
.page-head::after{ content:""; position:absolute; right:7%; top:0; width:1px; height:100%; background:var(--signal); opacity:.9; }
.page-head-in{ max-width:1200px; margin:0 auto; padding:64px 32px 60px; }
.kicker{ font-family:var(--head); font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; }
.page-head h1{ font-size:clamp(34px,4.2vw,52px); margin-bottom:18px; }
.page-head p{ color:var(--muted); font-size:18px; line-height:1.7; max-width:600px; }

/* ── section ── */
.section{ padding:72px 0; }
.section-tag{ font-family:var(--head); font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal-d); margin-bottom:28px; }
.section-header{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:40px; }
.section-header .section-tag{ margin-bottom:0; }
.section-header a{ font-family:var(--head); font-weight:600; font-size:14px; color:var(--teal-d); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }

/* ── cards ── */
.card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:30px; transition:.2s; }
.card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#AFC9D8; }

/* product cards */
.pcard{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.pcard-media{ background:linear-gradient(180deg,#fff 0%,var(--panel) 100%); display:flex; align-items:center; justify-content:center; padding:32px; min-height:240px; border-bottom:3px solid var(--signal); }
.pcard-media img{ width:100%; max-width:420px; }
.pcard-reserve{ width:100%; min-height:200px; border:2px dashed #B8CBD7; border-radius:10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:#fff; }
.pcard-reserve .rk{ font-family:var(--head); font-weight:600; font-size:13px; color:var(--muted); }
.pcard-reserve .rt{ font-size:12px; color:var(--dim); }
.pcard-body{ padding:30px 30px 34px; }
.pcard-sku{ font-family:var(--head); font-weight:600; font-size:12px; letter-spacing:.06em; color:var(--teal-d); margin-bottom:8px; }
.pcard h2{ font-size:26px; margin-bottom:14px; }
.pcard p{ color:var(--muted); margin-bottom:22px; }

/* chips */
.chips{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.chip{ font-family:var(--head); font-weight:600; font-size:12px; background:var(--teal-l); color:var(--teal-d); padding:6px 12px; border-radius:999px; border:1px solid #C9DCE7; }

/* ── spec table ── */
.spec-table{ width:100%; border-collapse:collapse; font-size:15px; }
.spec-table tr{ border-bottom:1px solid var(--border); }
.spec-table td{ padding:14px 0; vertical-align:top; line-height:1.5; }
.spec-table td:first-child{ color:var(--muted); width:46%; }

/* ── compare table ── */
.compare-table{ width:100%; border-collapse:collapse; font-size:15px; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.compare-table th,.compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--border); }
.compare-table thead th{ font-family:var(--head); font-weight:600; background:var(--teal-d); color:#fff; }
.compare-table th:first-child{ color:var(--muted); }
.compare-table td:first-child{ color:var(--muted); }
.compare-table tr:last-child td{ border-bottom:none; }
.check{ display:inline-block; width:18px; height:18px; border-radius:50%; background:var(--teal); position:relative; box-shadow:0 0 0 3px var(--teal-l); }
.check::after{ content:''; position:absolute; left:50%; top:50%; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:translate(-50%,-55%) rotate(45deg); }

/* ── ordering ── */
.order-block{ border:1px solid var(--border); border-radius:12px; padding:22px 26px; display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:12px; }
.order-code{ font-family:var(--mono); font-size:15px; color:var(--ink); }
.order-desc{ color:var(--muted); font-size:14px; max-width:420px; }
.interest-panel{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 24px;
  margin-top:18px; padding:20px 22px; border:1px solid #C9DCE7; border-left:4px solid var(--signal);
  border-radius:12px; background:linear-gradient(135deg,var(--teal-l),#fff); }
.interest-title{ font-family:var(--head); font-weight:700; font-size:16px; margin-bottom:3px; }
.interest-panel p{ color:var(--muted); font-size:13px; line-height:1.55; }
.interest-btn{ position:relative; isolation:isolate; grid-column:2; grid-row:1; display:inline-flex; align-items:center; gap:12px; min-height:44px;
  padding:8px 9px 8px 18px; border:2px solid var(--teal-d); border-radius:999px; background:var(--teal-d);
  color:#fff; font-family:var(--head); font-weight:700; font-size:14px; cursor:pointer; transition:.18s; }
.interest-btn:hover{ background:#0B2947; transform:translateY(-1px); }
.interest-btn:focus-visible{ outline:3px solid var(--signal); outline-offset:3px; }
.interest-btn:disabled{ cursor:wait; opacity:.82; transform:none; }
.interest-btn.is-counted{ background:#fff; color:var(--teal-d); cursor:default; }
.interest-count{ display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:28px;
  padding:0 8px; border-radius:999px; background:var(--signal); color:var(--teal-d); font-family:var(--mono);
  font-size:13px; font-weight:700; }
.interest-feedback{ grid-column:1 / -1; min-height:18px; color:var(--teal-d); font-size:12px; font-weight:600; }
.interest-firework{ position:absolute; z-index:4; left:50%; top:50%; width:0; height:0; pointer-events:none; }
.interest-firework::after{ content:""; position:absolute; left:0; top:0; width:16px; height:16px;
  border:2px solid var(--signal); border-radius:50%; transform:translate(-50%,-50%) scale(.2);
  animation:interest-ring .62s ease-out forwards; }
.interest-firework i{ position:absolute; left:0; top:0; width:6px; height:6px; border-radius:50%;
  background:var(--spark-color); box-shadow:0 0 7px var(--spark-color);
  animation:interest-spark .78s cubic-bezier(.16,.72,.28,1) var(--spark-delay) forwards; }
@keyframes interest-ring{
  0%{ opacity:1; transform:translate(-50%,-50%) scale(.2); }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(3.7); }
}
@keyframes interest-spark{
  0%{ opacity:0; transform:translate(-50%,-50%) scale(.25); }
  14%{ opacity:1; }
  100%{ opacity:0; transform:translate(calc(-50% + var(--spark-x)),calc(-50% + var(--spark-y))) scale(0); }
}
@media(prefers-reduced-motion:reduce){
  .interest-firework{ display:none; }
}

/* ── code ── */
.code-card{ background:#0B2947; border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.code-bar{ display:flex; align-items:center; gap:8px; padding:11px 16px; background:#08213A; border-bottom:1px solid #234967; }
.code-bar .dot{ width:12px; height:12px; border-radius:50%; }
.code-bar .dot.r{ background:#ff5f57; } .code-bar .dot.y{ background:#febc2e; } .code-bar .dot.g{ background:#cfcdc9; }
.code-name{ margin-left:8px; font-family:var(--mono); font-size:12px; color:#8FA8B8; }
.code-card pre,.code-block{ margin:0; padding:20px 24px; font-family:var(--mono); font-size:13.5px; line-height:1.8; color:#ece6e0; white-space:pre; overflow-x:auto; tab-size:4; }
.code-block{ background:#F7FAFC; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); color:#12355B; }
.code-card .cmt,.code-block .cmt{ color:#8FA8B8; }
.code-card .kw,.code-block .kw{ color:#69B4DD; }
.code-card .fn,.code-block .fn{ color:#FFC928; }
.code-card .str,.code-block .str{ color:#a9c98c; }
.code-card .num,.code-block .num{ color:#d8a6ca; }
.code-card .pkg,.code-block .pkg{ color:#ece6e0; }
.code-block .cmt{ color:#8DA0AD; }
.code-block .kw{ color:#2A6F97; }
.code-block .fn{ color:#12355B; }
.code-block .str{ color:#4f7a3a; }
.code-block .num{ color:#9d4f8a; }
.code-block .pkg{ color:#12355B; }

/* ── inline list / platform / steps ── */
.inline-list{ list-style:none; }
.inline-list li{ display:flex; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--border); }
.inline-list li::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--teal); flex-shrink:0; }
.platform-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.platform-badge{ font-family:var(--head); font-weight:600; font-size:12px; color:var(--muted); border:1px solid var(--border); padding:6px 14px; border-radius:999px; }
.steps{ counter-reset:step; min-width:0; }
.step{ display:flex; gap:28px; padding:30px 0; border-bottom:1px solid var(--border); counter-increment:step; }
.step-num{ font-family:var(--head); font-weight:700; font-size:18px; color:var(--teal); width:44px; flex-shrink:0; }
.step-num::before{ content:"0" counter(step); }
.step-content{ min-width:0; }
.step-content h3{ font-size:22px; margin-bottom:10px; }
.step-content p{ color:var(--muted); margin-bottom:14px; }

/* ── doc cards ── */
.doc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.doc-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:30px 28px 34px; transition:.2s; display:block; }
.doc-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#AFC9D8; }
.doc-card-icon{ width:48px; height:48px; border-radius:12px; background:var(--teal-d); color:#fff; display:flex; align-items:center; justify-content:center; margin-bottom:18px; border-bottom:3px solid var(--signal); box-shadow:0 10px 22px -15px rgba(11,41,71,.65); }
.doc-card-title{ font-family:var(--head); font-weight:600; font-size:20px; margin-bottom:10px; }
.doc-card-body{ color:var(--muted); font-size:15px; line-height:1.65; }

/* ── footer ── */
footer.site-footer{ background:#0B2947; color:#DCE8EF; padding:60px 0 0; border-top:4px solid var(--signal); }
.foot-in{ max-width:1200px; margin:0 auto; padding:0 32px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:36px; }
.footer-brand{ font-family:var(--head); font-weight:700; font-size:18px; color:#fff; margin-bottom:14px; }
.footer-tagline{ color:#9FB5C4; font-size:14px; line-height:1.7; max-width:260px; }
.footer-col h4{ font-family:var(--head); font-weight:600; font-size:13px; color:#fff; margin-bottom:16px; letter-spacing:.04em; }
.footer-col a{ display:block; color:#B9CBD7; font-size:14px; margin-bottom:10px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:44px; padding:22px 32px; display:flex; justify-content:space-between; max-width:1200px; margin-left:auto; margin-right:auto; font-size:13px; color:#8FA8B8; }

@media(max-width:900px){
  .two-col{ grid-template-columns:1fr; gap:36px; }
  .two-col > *{ min-width:0; }
  .doc-grid{ grid-template-columns:1fr; }
  .foot-in{ grid-template-columns:1fr 1fr; }
}
/* ── 移动端导航：折行显示，不再隐藏链接 ── */
@media(max-width:820px){
  .nav-in{ flex-wrap:wrap; height:auto; padding:10px 24px; gap:6px 16px; }
  .nav-links{ order:3; width:100%; justify-content:center; gap:20px; margin-left:0;
    padding-top:8px; border-top:1px solid var(--border); font-size:14px; flex-wrap:wrap; }
}
/* ── 手机端排版 ── */
@media(max-width:600px){
  .wrap{ padding:0 20px; }
  html,body{ max-width:100%; overflow-x:hidden; }
  .nav-in{ width:100%; max-width:100vw; padding:10px 20px; }
  .nav-right{ gap:0; }
  .nav-right .lang{ display:flex; }
  .nav-right .btn{ display:none; }
  .section{ padding:48px 0; }
  .page-head-in{ padding:40px 20px 36px; }
  .page-head p{ font-size:16px; }
  .foot-in{ grid-template-columns:1fr; padding:0 20px; gap:28px; }
  .footer-bottom{ flex-direction:column; gap:8px; text-align:center; padding:22px 20px; }
  .order-block{ flex-direction:column; align-items:flex-start; gap:6px; padding:18px 20px; }
  .order-desc{ max-width:none; }
  .interest-panel{ grid-template-columns:1fr; padding:18px; }
  .interest-btn{ grid-column:1; grid-row:auto; justify-self:start; }
  .spec-table{ font-size:14px; }
  .spec-table td{ padding:12px 0; }
  .spec-table td:first-child{ width:42%; }
  .compare-table{ font-size:13px; }
  .compare-table th,.compare-table td{ padding:11px 12px; }
  .step{ gap:16px; padding:24px 0; }
  .step-num{ width:34px; }
  .step-content h3{ font-size:19px; }
  .step-content .code-block{ width:100%; max-width:100%; }
  .pcard-body{ padding:24px 22px 28px; }
  .code-card pre,.code-block{ padding:16px 16px; font-size:12.5px; }
}
