/* ==========================================================================
   北京嘉合创宇网络科技有限公司 — 官网样式
   纯静态、无外部依赖；品牌色取自 logo（#2563eb → #06b6d4）
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --navy-950: #050a12;
  --navy-900: #070d19;
  --navy-800: #0b1424;
  --navy-700: #122036;

  --ink: #0f172a;
  --ink-2: #1e293b;
  --text: #46566f;
  --muted: #5f7085;
  --muted-2: #64748b;

  --paper: #ffffff;
  --mist: #f5f8fc;
  --line: #e3e9f2;
  --line-strong: #cbd5e1;

  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --cyan: #06b6d4;
  --cyan-deep: #0e7490;
  --grad: linear-gradient(115deg, #2563eb 0%, #06b6d4 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, .12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo,
    Consolas, "Liberation Mono", monospace;

  --container: 1180px;
  --header-h: 72px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

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

body.nav-open { overflow: hidden; }

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(37, 99, 235, .22); }

:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 通用工具 ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.icon { width: 16px; height: 16px; flex: none; }

.muted { color: var(--muted); font-size: 14.5px; line-height: 1.85; }

.todo {
  color: #d97706;
  border-bottom: 1px dashed rgba(217, 119, 6, .55);
  cursor: help;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
    background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn .icon { width: 15px; height: 15px; }

.btn-primary {
  background: linear-gradient(120deg, #2563eb 0%, #0e7490 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .40);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .03);
  color: #e6edf7;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: #e8eef7;
}
.btn-ghost:hover {
  border-color: rgba(96, 165, 250, .55);
  background: rgba(37, 99, 235, .16);
}

.btn-dark-outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.btn-dark-outline:hover {
  border-color: rgba(37, 99, 235, .55);
  color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 9px 14px; font-size: 12.5px; border-radius: 9px; }
.btn-sm .icon { width: 13px; height: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-deep);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { gap: 10px; color: var(--brand); }
.text-link .icon { width: 14px; height: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 13, 25, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 13, 25, .93);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand img { border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; font-weight: 600; letter-spacing: .02em; }
.brand-text small {
  margin-top: 3px;
  font-size: 8.5px;
  letter-spacing: .19em;
  color: #7d8ca3;
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.header-nav a {
  position: relative;
  padding: 6px 0;
  color: #a9b6c9;
  transition: color .2s var(--ease);
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after { transform: scaleX(1); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}
.nav > a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: #a9b6c9;
  transition: color .2s var(--ease);
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav > a:not(.nav-cta):hover,
.nav > a:not(.nav-cta)[aria-current="true"] { color: #fff; }
.nav > a:not(.nav-cta):hover::after,
.nav > a:not(.nav-cta)[aria-current="true"]::after { transform: scaleX(1); }

.nav-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 26px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: #e6edf7;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 148px 0 96px;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 52% at 15% 6%, rgba(37, 99, 235, .30), transparent 62%),
    radial-gradient(46% 44% at 88% 18%, rgba(6, 182, 212, .20), transparent 66%),
    linear-gradient(180deg, #070d19 0%, #091120 60%, #0b1424 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(72% 64% at 50% 42%, #000 24%, transparent 86%);
  mask-image: radial-gradient(72% 64% at 50% 42%, #000 24%, transparent 86%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -110px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(37, 99, 235, .20);
  border-radius: 56px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), transparent 60%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy { max-width: 760px; }

/* 防止 nowrap 的代码块把网格列撑宽（移动端裁切问题） */
.hero-grid > *,
.about-grid > *,
.product-panel > *,
.compliance-grid > *,
.contact-grid > *,
.footer-top > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: #b9c6d8;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .16);
}

.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(46px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.text-grad {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 58%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.9;
  color: #a9b6c9;
  text-wrap: pretty;
  word-break: auto-phrase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 660px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.hero-facts dt {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  color: #7d8ca3;
}
.hero-facts dd {
  font-size: 13.5px;
  line-height: 1.55;
  color: #e6edf7;
}
.hero-facts dd.mono { color: #c7e6ff; font-size: 13px; }

/* ---------- 首屏控制台卡片 ---------- */
.hero-visual { position: relative; }

.console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(19, 33, 56, .97), rgba(8, 15, 28, .99));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .03);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transition: transform .6s var(--ease);
}
.console:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad);
  opacity: .8;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  background: rgba(255, 255, 255, .02);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  opacity: .72;
}
.console-dots i:nth-child(2) { background: #f59e0b; }
.console-dots i:nth-child(3) { background: #22c55e; }
.console-title { font-size: 11px; letter-spacing: .06em; color: #8ea0b8; }
.console-badge {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid rgba(52, 211, 153, .30);
  border-radius: 999px;
  background: rgba(52, 211, 153, .08);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #34d399;
}

.console-body {
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.95;
  white-space: nowrap;
  scrollbar-width: none;
}
.console-body::-webkit-scrollbar { display: none; }
.code-line { color: #c7d2e0; }
.c-method { color: #34d399; font-weight: 600; }
.c-path { color: #93c5fd; }
.c-muted { color: #7d8ca3; }
.c-secret { color: #64748b; letter-spacing: .12em; }
.c-key { color: #7dd3fc; }
.c-str { color: #a7f3d0; }
.code-gap { margin-top: 10px; color: #64748b; }
.code-indent { padding-left: 16px; }
.console-divider { height: 1px; margin: 15px 0; background: rgba(148, 163, 184, .14); }
.code-status { display: flex; align-items: center; gap: 14px; }
.c-ok { color: #34d399; font-weight: 600; }

.console-foot {
  display: flex;
  border-top: 1px solid rgba(148, 163, 184, .14);
  background: rgba(255, 255, 255, .02);
}
.console-foot span {
  flex: 1;
  padding: 12px 4px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #7d8ca3;
}
.console-foot span + span { border-left: 1px solid rgba(148, 163, 184, .14); }

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 999px;
  background: rgba(11, 20, 36, .86);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11.5px;
  color: #dbe7f5;
  white-space: nowrap;
}
.float-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.chip-a { top: 96px; right: -20px; animation: float 7s ease-in-out infinite; }
.chip-b { bottom: -18px; left: -18px; animation: float 8s ease-in-out .8s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 26px;
  height: 42px;
  padding-top: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  transform: translateX(-50%);
}
.scroll-hint span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #94a3b8;
  animation: wheel 2s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  padding: 112px 0;
}

.section-head { max-width: 780px; margin-bottom: 56px; }

.section-index {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--brand);
}
.section-index::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-right: 4px;
  border-radius: 2px;
  background: var(--grad);
  flex: none;
}
.section-index span { color: var(--ink); }
.section-index.light { color: #7dd3fc; }
.section-index.light span { color: #e2e8f0; }

.section h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-lead {
  max-width: 44em;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text);
  text-wrap: pretty;
  word-break: auto-phrase;
}
.section-lead.narrow { max-width: 36em; }

/* ---------- 关于我们 ---------- */
.section-about { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 72px;
  align-items: start;
}

.about-copy p {
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--text);
  text-wrap: pretty;
  word-break: auto-phrase;
}
.compliance-copy .muted { margin-top: 14px; text-wrap: pretty; word-break: auto-phrase; }
.about-copy .lead {
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.pillars li {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pillars li:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .12));
  color: var(--brand-deep);
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillars h3 { margin-bottom: 6px; font-size: 14.5px; color: var(--ink); }
.pillars p { font-size: 13px; line-height: 1.7; color: #61728b; }

.profile-card {
  position: sticky;
  top: 100px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
}
.profile-kicker {
  margin-bottom: 10px;
  font-size: 9.5px;
  letter-spacing: .20em;
  color: var(--brand);
}
.profile-card h3 { margin-bottom: 20px; font-size: 20px; color: var(--ink); }

.profile-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.profile-row:first-of-type { border-top: 0; }
.profile-row dt {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted-2);
  line-height: 1.6;
}
.profile-row dd {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.profile-row dd.mono { font-size: 13px; color: var(--brand-deep); }
.profile-card .text-link { margin-top: 18px; }

/* ---------- 业务与能力 ---------- */
.section-services {
  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: #cfdff5;
  box-shadow: var(--shadow-lg);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(6, 182, 212, .16));
  color: var(--cyan-deep);
}
.service-icon svg { width: 22px; height: 22px; }
.service-kicker {
  margin: 18px 0 8px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.service-card h3 {
  margin-bottom: 9px;
  font-size: 17px;
  color: var(--ink);
}
.service-card p {
  font-size: 13px;
  line-height: 1.78;
  color: #61728b;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.service-tags li {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f6fd;
  font-size: 11px;
  color: #4a6482;
}
.services-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 业务与产品 ---------- */
.section-product {
  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.product-intro {
  padding: 40px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.product-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.product-brand img {
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}
.product-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.product-sub {
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--muted-2);
}
.product-intro h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--ink);
}
.product-intro > p {
  margin-bottom: 26px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
}
.product-url {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}
.product-url .mono { color: var(--brand-deep); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-grid li {
  padding: 30px 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.feature-grid li:nth-child(-n+2) { border-top: 0; }
.feature-grid li:nth-child(odd) { border-left: 0; }
.feature-grid li:hover { background: #f8fbff; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(6, 182, 212, .14));
  color: var(--cyan-deep);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-grid h3 { margin-bottom: 8px; font-size: 15.5px; color: var(--ink); }
.feature-grid p { font-size: 13px; line-height: 1.72; color: #61728b; }

/* 代码示例 */
.snippet {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 16px;
  background: var(--navy-800);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}
.snippet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #8ea0b8;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: #cbd5e1;
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.copy-btn:hover { border-color: rgba(148, 163, 184, .55); color: #fff; }
.copy-btn.is-copied { border-color: rgba(52, 211, 153, .45); color: #34d399; }
.copy-btn .icon { width: 13px; height: 13px; }

.snippet pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #c7d2e0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
}
.snippet code { font-family: inherit; }

/* ---------- 资质与合规 ---------- */
.section-compliance { background: var(--paper); }

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.compliance-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.license-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: linear-gradient(160deg, #0d1930 0%, #070d19 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .18);
  color: #e6edf7;
}
.license-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
}
.license-card::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .26), transparent 66%);
  pointer-events: none;
}

.license-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.license-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(96, 165, 250, .30);
  border-radius: 12px;
  background: rgba(37, 99, 235, .16);
  color: #93c5fd;
}
.license-seal svg { width: 23px; height: 23px; }
.license-title { font-size: 14.5px; font-weight: 600; }
.license-issuer { margin-top: 3px; font-size: 11.5px; color: #8ea0b8; }

.license-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(148, 163, 184, .14);
  font-size: 12.5px;
}
.license-row dt { color: #8ea0b8; line-height: 1.6; }
.license-row dd { color: #e6edf7; line-height: 1.6; }
.license-number { font-size: 16px; color: #7dd3fc; letter-spacing: .02em; }

.license-note {
  position: relative;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  font-size: 11px;
  line-height: 1.7;
  color: #7d8ca3;
}

/* ---------- 联系我们 ---------- */
.section-contact {
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.section-contact::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 66%);
  pointer-events: none;
}
.section-contact .section-head,
.section-contact .contact-grid { position: relative; }
.section-contact h2 { color: #fff; }
.section-contact .section-lead { color: #a9b6c9; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}

.contact-list { border-top: 1px solid rgba(255, 255, 255, .10); }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  color: #7dd3fc;
}
.contact-icon svg { width: 19px; height: 19px; }
.contact-label {
  margin-bottom: 4px;
  font-size: 11.5px;
  letter-spacing: .10em;
  color: #7d8ca3;
}
.contact-value { font-size: 15.5px; color: #e6edf7; }

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(37, 99, 235, .18), rgba(6, 182, 212, .07));
}
.contact-cta-kicker {
  font-size: 10px;
  letter-spacing: .18em;
  color: #7dd3fc;
}
.contact-cta h3 { margin: 10px 0 12px; font-size: 24px; color: #fff; }
.contact-cta p { margin-bottom: 24px; font-size: 14.5px; line-height: 1.8; color: #b9c6d8; }

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: var(--navy-950);
  color: #8ea0b8;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 44px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p {
  max-width: 30em;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #7d8ca3;
}

.footer-title {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #e6edf7;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  width: fit-content;
  font-size: 13.5px;
  color: #8ea0b8;
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
  color: #7d8ca3;
}
.legal-links { display: flex; flex-wrap: wrap; align-items: center; }
.legal-links a { color: #8ea0b8; transition: color .2s var(--ease); }
.legal-links a:hover { color: #fff; }
.legal-links .sep { margin: 0 9px; color: #334155; }
.legal-links .todo { color: #fbbf24; border-bottom-color: rgba(251, 191, 36, .5); }

/* ---------- 进场动画 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .profile-card.reveal,
.js .license-card.reveal { transition-delay: .08s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 44px; }
  .hero-facts dd { font-size: 12.5px; }
  .hero-facts dd.mono { font-size: 12.5px; }
  .about-grid,
  .compliance-grid { gap: 48px; }
  .contact-grid { gap: 44px; }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding: 128px 0 92px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 640px; }
  .console { transform: none; }
  .chip-b { left: 12px; bottom: -18px; }
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .compliance-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    padding: 8px 24px 26px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #070d19;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease),
      visibility 0s linear .25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease),
      visibility 0s;
  }
  .nav > a:not(.nav-cta) {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 15px;
  }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 18px;
    padding: 13px 18px;
    border-radius: 10px;
    background: linear-gradient(120deg, #2563eb, #0e7490);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 86px 0; }
  .section-head { margin-bottom: 42px; }
  .pillars { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .product-panel { grid-template-columns: 1fr; }
  .product-intro {
    padding: 32px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-grid li { padding: 26px 24px; }
  .snippet pre { padding: 18px; font-size: 12px; }
  .chip-a { top: 92px; right: 8px; }
  .chip-b { left: 8px; }
  .contact-cta { padding: 26px; }
  .footer-top { gap: 36px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-nav { gap: 14px; font-size: 12.5px; }
  .hero { padding: 118px 0 80px; }
  .hero h1 { letter-spacing: -.03em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; }
  .hero-facts > div { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .hero-facts > div:first-child { border-top: 0; padding-top: 0; }
  .hero-facts > div:last-child { padding-bottom: 0; }
  .float-chip { display: none; }
  .console-body {
    padding: 17px 16px;
    font-size: 11.5px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .console-foot span { font-size: 9.5px; }
  .scroll-hint { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li { border-left: 0; }
  .feature-grid li:nth-child(2) { border-top: 1px solid var(--line); }
  .profile-card { padding: 24px 20px; }
  .profile-row { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
  .license-card { padding: 24px 20px; }
  .license-row { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- 打印 ---------- */
@media (max-width: 360px) {
  .header-nav { gap: 10px; font-size: 12px; }
}

@media print {
  .site-header,
  .scroll-hint,
  .float-chip,
  .hero-actions,
  .copy-btn { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 32px 0; }
  .hero { min-height: 0; padding: 40px 0; }
  .console { transform: none; }
}

/* ---------- 无障碍：减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .console { transform: none; }
}

/* ---------- 404 页 ---------- */
.page-404 {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 120px 0 80px;
  background:
    radial-gradient(56% 52% at 15% 6%, rgba(37, 99, 235, .28), transparent 62%),
    linear-gradient(180deg, #070d19 0%, #0b1424 100%);
  color: #fff;
}
.page-404 .container { position: relative; }
.page-404 .brand { margin-bottom: 48px; }
.page-404 .error-code {
  font-family: var(--font-mono);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(100deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-404 h1 { margin: 18px 0 14px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.page-404 p { max-width: 30em; margin-bottom: 30px; color: #a9b6c9; line-height: 1.85; }
