/* ============================================================
   精密仪器官网 · 主样式表
   设计基调：工业灰 + 金属银 + 电光青点缀 + 精密网格 / 等宽数字
   ============================================================ */

:root {
  --bg: #f4f6f9;
  --bg-soft: #e9edf2;
  --panel: #ffffff;
  --panel-2: #eef1f6;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --txt: #16202e;
  --dim: #5b6675;
  --dimmer: #8a94a3;
  --cy: #009e8a;
  --bl: #3a5fd9;
  --gd: #b07a1f;
  --steel: #5a6472;
  --grad: linear-gradient(135deg, #3a5fd9 0%, #009e8a 72%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(20, 30, 50, 0.14);
  --ease: cubic-bezier(0.22, 0.75, 0.26, 1);
  --nav-h: 72px;
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局底层网格纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(76, 125, 255, 0.12), transparent 62%),
    radial-gradient(700px 500px at 8% 8%, rgba(0, 229, 199, 0.08), transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(0, 158, 138, 0.28); color: #06222b; }

/* ---------- 通用容器 / 排版 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

.mono {
  font-family: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cy);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad);
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.28; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(19px, 1.6vw, 24px); }
p { color: var(--dim); }

.sec { padding: 110px 0; position: relative; z-index: 1; }
.sec-head { max-width: 760px; margin-bottom: 58px; }
.sec-head h2 { margin: 18px 0 18px; }
.sec-head p { font-size: 17px; }

.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 顶部进度条 ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--grad); z-index: 2000; transition: width 0.08s linear;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 1000; display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.on {
  background: rgba(15, 17, 20, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-logo { width: 40px; height: 40px; flex: none; object-fit: contain; }
.foot .brand-logo { width: 44px; height: 44px; }
.brand-txt strong {
  display: block; font-size: 17px; letter-spacing: 0.14em; font-weight: 700;
}
.brand-txt span {
  display: block; font-size: 10px; letter-spacing: 0.32em; color: var(--dimmer);
  text-transform: uppercase;
}

.menu { display: flex; align-items: center; gap: 34px; }
.menu a {
  font-size: 14.5px; color: var(--dim); position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--grad); transition: width 0.3s var(--ease);
}
.menu a:hover, .menu a.active { color: #fff; }
.menu a:hover::after, .menu a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-tel { font-size: 14px; color: var(--gd); font-weight: 600; letter-spacing: 0.04em; }
.lang-switch { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--txt); transition: color .2s, border-color .2s, background .2s; }
.lang-switch:hover { color: var(--cy); border-color: var(--cy); }
@media (max-width: 720px) { .lang-switch { height: 30px; padding: 0 10px; font-size: 12px; } }

/* 可点击的电话 / 邮箱链接（虚线下划线提示可点，hover 变青色） */
a.mlink { color: inherit; text-decoration: none; cursor: pointer; border-bottom: 1px dashed rgba(140,170,200,0.4); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
a.mlink:hover { color: var(--cy); border-bottom-color: var(--cy); }
a.nav-tel.mlink { color: var(--gd); border-bottom: 0; }
a.nav-tel.mlink:hover { border-bottom: 1px dashed var(--cy); }
.info-row .v a.mlink { color: var(--cy); font-weight: 600; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--txt); transition: 0.3s var(--ease); }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 20px; }
.burger i:nth-child(3) { top: 25px; }
.burger.x i:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.x i:nth-child(2) { opacity: 0; }
.burger.x i:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-1 { background: var(--grad); color: #04121a; box-shadow: 0 10px 30px rgba(0, 229, 199, 0.22); }
.btn-1:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 229, 199, 0.34); }
.btn-2 { border-color: var(--line-strong); color: var(--txt); background: rgba(255, 255, 255, 0.02); }
.btn-2:hover { border-color: var(--cy); color: var(--cy); transform: translateY(-2px); }
.btn .ar { transition: transform 0.3s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 90px; overflow: hidden; }
#grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }
.hero-veil {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(700px 700px at 20% 40%, rgba(5, 7, 12, 0.1), var(--bg) 72%);
}
.hero .wrap { z-index: 2; }
.hero-inner { max-width: 1200px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual svg { width: 100%; max-width: 520px; height: auto; fill: none; stroke: var(--steel); stroke-width: 1.5; }
.hero-visual .hv-cy { stroke: var(--cy); }
.hero-visual .hv-dot { fill: var(--cy); stroke: none; }
.hero-stats { max-width: 820px; margin-top: 56px; }
@media (max-width: 1080px) {
  .hero-inner { gap: 36px; }
  .hero-visual svg { max-width: 420px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .hero-stats { margin-top: 40px; }
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 76px); line-height: 1.1; margin: 26px 0 26px; font-weight: 800;
}
.hero h1 em { font-style: normal; display: block; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; color: var(--dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 42px 0 64px; }
.hero-slogan { display: block; width: fit-content; margin: 16px 0 0; font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; letter-spacing: 0.3em; color: var(--cy); border-left: 2px solid var(--cy); padding-left: 14px; line-height: 1.5; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hstat { background: rgba(11, 15, 23, 0.72); padding: 26px 24px; backdrop-filter: blur(6px); }
.hstat b { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.hstat b s { text-decoration: none; font-size: 0.5em; color: var(--cy); margin-left: 3px; }
.hstat > span { font-size: 13px; color: var(--dimmer); letter-spacing: 0.06em; }
.hstat b > span { font-size: inherit; letter-spacing: inherit; }


.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; font-size: 11px; letter-spacing: 0.3em; color: var(--dimmer); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--cy), transparent); animation: drop 2.2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; } }

/* ---------- 客户 / 信任条 ---------- */
.logos { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.logos .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logos .lb { font-size: 15px; color: var(--dim); letter-spacing: 0.16em; font-weight: 500; }
.logos ul { display: flex; gap: 44px; flex-wrap: wrap; }
.logos li { font-size: 17px; font-weight: 700; letter-spacing: 0.1em; color: #5f6b80; transition: color 0.3s; }
.logos li:hover { color: var(--txt); }

/* ---------- 通用卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(26, 30, 36, 0.72), rgba(15, 17, 20, 0.72));
  overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 199, 0.12), transparent 70%);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 229, 199, 0.42); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(0, 229, 199, 0.07); margin-bottom: 22px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--cy); fill: none; stroke-width: 1.5; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 14.8px; }

/* ---------- 产品 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.filters button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02); color: var(--dim); font-size: 14px; cursor: pointer;
  transition: all 0.28s var(--ease); font-family: inherit;
}
.filters button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.filters button.on { background: var(--grad); color: #04121a; border-color: transparent; font-weight: 600; }

.prod {
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(165deg, rgba(26, 30, 36, 0.6), rgba(15, 17, 20, 0.72));
  overflow: hidden; cursor: pointer; transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-6px); border-color: rgba(0, 229, 199, 0.4); box-shadow: var(--shadow); }
.prod-vis { height: 260px; position: relative; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(320px 200px at 50% 40%, rgba(76, 125, 255, 0.1), transparent 70%); overflow: hidden; }
.prod-vis::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.prod-vis svg { width: 168px; height: 130px; position: relative; z-index: 1; fill: none; stroke: rgba(220, 232, 245, 0.82); stroke-width: 1.2; transition: stroke 0.4s, transform 0.5s var(--ease); }
.prod:hover .prod-vis svg { stroke: var(--cy); transform: scale(1.05); }
/* 真机照片（替代 SVG 线稿）：透明 PNG，融入卡片渐变背景
   注意：.prod-vis 是 grid 容器，图片自然高度会撑爆行轨道，max-height 必须用像素值 */
.prod-vis img.prod-photo { max-width: 86%; max-height: 244px; width: auto; height: auto; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)); transition: transform 0.5s var(--ease); }
.prod:hover .prod-vis img.prod-photo { transform: scale(1.05); }
.prod-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; letter-spacing: 0.14em; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line-strong); background: rgba(5, 7, 12, 0.7); color: var(--cy); }
.prod-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 19px; margin-bottom: 6px; }
.prod-body .en { font-size: 11px; letter-spacing: 0.18em; color: var(--dimmer); text-transform: uppercase; margin-bottom: 14px; }
.prod-body p { font-size: 14.3px; margin-bottom: 20px; flex: 1; }
.prod-spec { display: flex; gap: 22px; border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.prod-spec div span { display: block; font-size: 11px; color: var(--dimmer); letter-spacing: 0.08em; }
.prod-spec div b { font-size: 15px; color: var(--cy); font-weight: 700; }
.prod-link { margin-top: 18px; font-size: 13.5px; color: var(--txt); display: inline-flex; gap: 8px; align-items: center; }
.prod:hover .prod-link { color: var(--cy); }

/* ---------- 参数表 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(11, 15, 23, 0.6); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec th, table.spec td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th { font-size: 12px; letter-spacing: 0.16em; color: var(--dimmer); text-transform: uppercase; background: rgba(255, 255, 255, 0.025); font-weight: 600; }
table.spec tbody tr { transition: background 0.25s; }
table.spec tbody tr:hover { background: rgba(0, 229, 199, 0.05); }
table.spec td:first-child { font-weight: 600; color: var(--txt); }
table.spec td .num { color: var(--cy); font-weight: 700; }
table.spec tbody tr:last-child td { border-bottom: none; }

/* ---------- 流程时间线 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 30px 24px 10px 0; }
.step::before { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--bg-soft); position: relative; z-index: 2;
  font-size: 14px; font-weight: 700; color: var(--cy); margin-bottom: 22px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ---------- 应用领域 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ind { background: var(--panel); padding: 40px 34px; position: relative; transition: background 0.35s; }
.ind:hover { background: var(--panel-2); }
.ind .k { font-size: 12px; letter-spacing: 0.2em; color: var(--cy); margin-bottom: 16px; }
.ind h3 { font-size: 20px; margin-bottom: 12px; }
.ind p { font-size: 14.5px; }
.ind ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ind ul li { font-size: 12.5px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--dim); }

/* ---------- 案例 ---------- */
.case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.case-vis { position: relative; min-height: 340px; background: linear-gradient(140deg, rgba(76, 125, 255, 0.14), rgba(0, 229, 199, 0.06)); display: grid; place-items: center; }
.case-vis::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 30px 30px; }
.case-vis svg { width: 260px; height: 200px; position: relative; z-index: 1; fill: none; stroke: rgba(230, 240, 250, 0.8); stroke-width: 1.2; }
.case-slider { position: absolute; inset: 0; z-index: 1; }
.case-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 36px 40px 52px; opacity: 0; transition: opacity 0.7s var(--ease); }
.case-slider img.on { opacity: 1; }
.case-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.case-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(22, 32, 46, 0.18); cursor: pointer; transition: background 0.3s, width 0.3s; }
.case-dots i.on { width: 20px; background: var(--cy); }
.case-txt { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.case-txt .q { font-size: 12px; letter-spacing: 0.2em; color: var(--gd); margin-bottom: 16px; }
.case-txt h3 { font-size: 23px; margin-bottom: 16px; }
.case-txt p { font-size: 15px; margin-bottom: 26px; }
.case-kpi { display: flex; gap: 34px; }
.case-kpi b { display: block; font-size: 26px; color: var(--cy); font-weight: 800; }
.case-kpi span { font-size: 12.5px; color: var(--dimmer); }

/* ---------- 数据统计条 ---------- */
.achv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.achv .a { border-left: 2px solid transparent; padding-left: 22px; border-image: var(--grad) 1; }
.achv .a b { display: block; font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.achv .a b s { text-decoration: none; font-size: 0.34em; font-weight: 700; color: var(--cy); margin-left: 5px; vertical-align: 0.08em; letter-spacing: 0; }
.achv .a > span { font-size: 13.5px; color: var(--dim); }
.achv .a b span { font-size: inherit; }

/* ---------- 新闻 ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nw { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: rgba(11, 15, 23, 0.6); transition: all 0.4s var(--ease); cursor: pointer; }
.nw:hover { transform: translateY(-5px); border-color: rgba(76, 125, 255, 0.42); }
.nw .d { font-size: 12px; color: var(--dimmer); letter-spacing: 0.1em; margin-bottom: 14px; }
.nw h4 { font-size: 17px; margin-bottom: 12px; line-height: 1.5; }
.nw p { font-size: 14px; }
.nw .more { margin-top: 20px; font-size: 13px; color: var(--cy); }
a.nw { display: block; }
a.nw:hover h4 { color: var(--cy); }
a.nw:hover .more { letter-spacing: 0.04em; }

/* ---------- CTA 区 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; padding: 76px 60px;
  background: linear-gradient(120deg, #181c22 0%, #232a33 55%, #161a20 100%);
  border: 1px solid var(--line-strong); z-index: 1;
}
.cta-band::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: 34px 34px; }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 12px; }
.cta-band p { max-width: 520px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 76px 0 34px; margin-top: 40px; position: relative; z-index: 1; background: linear-gradient(180deg, transparent, rgba(0, 229, 199, 0.03)); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.foot h5 { font-size: 13px; letter-spacing: 0.18em; color: var(--txt); margin-bottom: 20px; text-transform: uppercase; }
.foot li { font-size: 14.3px; color: var(--dim); padding: 6px 0; transition: color 0.25s; }
.foot li:hover { color: var(--cy); }
.foot-about p { font-size: 14.3px; margin: 18px 0 22px; }
.foot-slogan { margin: 2px 0 0; font-size: 13.5px; letter-spacing: 0.22em; color: var(--cy); }
.foot-bot { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dimmer); }
.foot-beian { display: inline-flex; align-items: center; gap: 14px; flex-wrap: nowrap; flex: none; white-space: nowrap; }
.foot-beian a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.foot-beian img { height: 14px; width: auto; }

/* ---------- 内页通用 ---------- */
.page-hero { padding: calc(var(--nav-h) + 90px) 0 70px; border-bottom: 1px solid var(--line); position: relative; z-index: 1; background: radial-gradient(900px 400px at 70% 0%, rgba(76, 125, 255, 0.12), transparent 65%); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 58px); margin: 18px 0 18px; }
.page-hero p { max-width: 900px; font-size: 17px; }
.crumb { font-size: 12.5px; color: var(--dimmer); letter-spacing: 0.1em; }
.crumb a:hover { color: var(--cy); }

/* 关于页 */
.creed { text-align: center; padding: 6px 0 30px; }
.creed h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: 0.18em; margin-top: 18px; }
.creed h2 .comma { color: var(--cy); }
.creed p { max-width: 640px; margin: 18px auto 0; color: var(--dim); text-align: center; }
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; border: 1px solid var(--line); border-radius: var(--radius); min-height: 380px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(76, 125, 255, 0.12), rgba(0, 229, 199, 0.05)); overflow: hidden; }
.about-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.about-visual svg { width: 300px; height: 230px; position: relative; z-index: 1; fill: none; stroke: rgba(230, 240, 250, 0.8); stroke-width: 1.2; }
.about-visual .case-slider img { padding: 0; object-fit: cover; }
.about-visual .case-dots i { background: rgba(255, 255, 255, 0.55); }
.about-visual .case-dots i.on { background: var(--cy); }
.tl { border-left: 1px solid var(--line-strong); padding-left: 30px; }
.tl .it { position: relative; padding-bottom: 34px; }
.tl .it::before { content: ""; position: absolute; left: -36px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cy); }
.tl .y { font-size: 13px; color: var(--cy); letter-spacing: 0.14em; font-weight: 700; }
.tl h4 { font-size: 18px; margin: 6px 0 8px; }
.tl p { font-size: 14.5px; }

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 22px; text-align: center; background: rgba(11, 15, 23, 0.55); transition: all 0.35s; }
.cert:hover { border-color: rgba(0, 229, 199, 0.4); transform: translateY(-4px); }
.cert b { display: block; font-size: 17px; letter-spacing: 0.08em; margin-bottom: 8px; }
.cert span { font-size: 12.5px; color: var(--dimmer); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.info-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row .ico2 { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgba(0, 229, 199, 0.06); }
.info-row .ico2 svg { width: 20px; height: 20px; stroke: var(--cy); fill: none; stroke-width: 1.5; }
.info-row .k { font-size: 12px; letter-spacing: 0.16em; color: var(--dimmer); margin-bottom: 6px; }
.info-row .v { font-size: 16px; font-weight: 600; }
.info-row .v small { display: block; font-size: 13px; color: var(--dim); font-weight: 400; margin-top: 4px; }

.form { background: linear-gradient(165deg, rgba(17, 24, 38, 0.7), rgba(9, 12, 19, 0.75)); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; }
.form h3 { margin-bottom: 8px; }
.form .fd { font-size: 14px; margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fld label { font-size: 12.5px; color: var(--dim); letter-spacing: 0.06em; }
.fld input, .fld select, .fld textarea {
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--txt); font-size: 14.5px; font-family: inherit; outline: none;
  transition: border-color 0.28s, background 0.28s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--cy); background: rgba(0, 229, 199, 0.05); }
.fld textarea { resize: vertical; min-height: 108px; }
.fld select option { background: #161a20; }
.form .btn { width: 100%; margin-top: 8px; }
.f-note { font-size: 12.5px; color: var(--dimmer); margin-top: 16px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 30px 0; }
.form-ok.show { display: block; }
.form-ok .tick { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--cy); display: grid; place-items: center; color: var(--cy); font-size: 26px; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.on { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(2, 4, 8, 0.78); backdrop-filter: blur(8px); }
.modal-box {
  position: relative; width: min(880px, 100%); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(165deg, #121a28, #0a0e16); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 42px 44px; animation: pop 0.35s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal-x { position: absolute; top: 18px; right: 20px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--dim); cursor: pointer; font-size: 18px; line-height: 1; }
.modal-x:hover { color: var(--cy); border-color: var(--cy); }
.modal-box h3 { font-size: 24px; margin-bottom: 6px; }
.modal-box .en { font-size: 11.5px; letter-spacing: 0.18em; color: var(--dimmer); text-transform: uppercase; margin-bottom: 22px; }
.modal-box .mvis { height: 180px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 26px; background: radial-gradient(300px 180px at 50% 50%, rgba(76,125,255,.12), transparent 70%); overflow: hidden; position: relative; }
.modal-box .mvis svg { width: 190px; height: 140px; fill: none; stroke: rgba(225, 236, 248, 0.85); stroke-width: 1.2; }
.modal-box p { margin-bottom: 24px; }
.modal-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.modal-kv div { background: rgba(11, 15, 23, 0.7); padding: 18px 22px; }
.modal-kv span { display: block; font-size: 11.5px; color: var(--dimmer); letter-spacing: 0.1em; margin-bottom: 4px; }
.modal-kv b { font-size: 16px; color: var(--cy); }

/* ---------- FAQ 折叠 ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(11, 15, 23, 0.5); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-i:last-child { border-bottom: none; }
.faq-i summary {
  cursor: pointer; padding: 22px 28px; font-size: 16.5px; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: color 0.25s;
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; color: var(--cy); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-i[open] summary::after { content: "–"; }
.faq-i summary:hover { color: var(--cy); }
.faq-a { padding: 0 28px 26px; font-size: 14.8px; color: var(--dim); max-width: 920px; line-height: 1.95; }

/* ---------- 进场动画 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4, .achv, .certs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ind-grid, .grid-3, .news { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: rgba(15, 17, 20, 0.97); backdrop-filter: blur(20px); padding: 10px 28px 26px;
    border-bottom: 1px solid var(--line); transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: 0.3s var(--ease);
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .burger { display: block; }
  .nav-tel { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-block, .contact-grid, .case { grid-template-columns: 1fr; }
  .case-vis { min-height: 240px; }
  .sec { padding: 76px 0; }
  .cta-band { padding: 52px 30px; }
  .modal-kv, .f-row { grid-template-columns: 1fr; }
  .modal-box { padding: 34px 26px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .grid-3, .grid-2, .grid-4, .ind-grid, .news, .achv, .certs, .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .btn { padding: 12px 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ============================================================
   主题系统：浅色为默认（:root）；深色由系统 / 手机深色模式 @media (prefers-color-scheme: dark) 自动接管
   ============================================================ */

/* —— 主题相关变量（浅色默认值，深色在下方覆盖） —— */
:root {
  --grid-line: rgba(0, 0, 0, 0.05);
  --grad-on: linear-gradient(135deg, #d0e2ff 0%, #c2ede5 72%);
  --nav-bg: rgba(255, 255, 255, 0.86);
  --menu-bg: rgba(255, 255, 255, 0.97);
  --tag-bg: rgba(22, 32, 46, 0.9);
  --tag-fg: #ffffff;
  --cta-bg: linear-gradient(120deg, #eef2f8 0%, #e6ecf5 55%, #eef2f8 100%);
  --foot-bg: linear-gradient(180deg, transparent, rgba(58, 95, 217, 0.04));
  --hero-bg: radial-gradient(900px 400px at 70% 0%, rgba(58, 95, 217, 0.10), transparent 65%);
  --modal-bg: rgba(22, 32, 46, 0.42);
  --veil: radial-gradient(700px 700px at 20% 40%, rgba(255, 255, 255, 0.25), var(--bg) 72%);
  --hstat-bg: rgba(255, 255, 255, 0.72);
  --stroke: rgba(90, 100, 114, 0.85);
}

/* 深色主题已移除（2026-10-28）：站点恒为浅色主题 */

/* 主题无关：正文首行缩进 */
.about-block p { text-indent: 2em; }
.art p { text-indent: 2em; }

/* 内页/文章标题跟随主题文字色 */
.page-hero h1, .art h2, .art h3 { color: var(--txt) !important; }

/* 技术观察目录卡片（主题自适应） */
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 76px; }
.toc a {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--txt); box-shadow: 0 14px 34px var(--shadow);
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
}
.toc a:hover { border-color: var(--cy); transform: translateY(-3px); box-shadow: 0 18px 44px var(--shadow); }
.toc a b { font-size: 17px; line-height: 1.35; }
.toc a span { font-size: 13.5px; color: var(--dim); line-height: 1.45; }

/* 浅色主题下主按钮更柔和（深色主题用金属银→电光青） */
.btn-1 {
  background: var(--grad-on);
  color: var(--txt);
  box-shadow: 0 8px 24px rgba(58, 95, 217, 0.12);
}
.btn-1:hover { box-shadow: 0 14px 34px rgba(58, 95, 217, 0.18); }

/* 各板块背景：跟随主题变量 */
.nav.on { background: var(--nav-bg); }
.menu a:hover, .menu a.active { color: var(--txt); }
.hero-veil { background: var(--veil); }
.hstat { background: var(--hstat-bg); }
.card { background: linear-gradient(160deg, var(--panel), var(--panel-2)); }
.card .ico { background: rgba(0, 158, 138, 0.08); }
.filters button { background: rgba(20, 30, 50, 0.04); transition: background .2s ease, border-color .2s ease; }
.filters button:hover { color: var(--txt); border-color: var(--line-strong); background: rgba(20, 30, 50, 0.09); }
.filters button.on { background: var(--grad-on); color: var(--txt); border-color: transparent; }
.filters button.on:hover { background: var(--grad-on); filter: brightness(0.96); }
.prod { background: linear-gradient(165deg, var(--panel), var(--panel-2)); }
.prod:hover { box-shadow: var(--shadow); }
.prod-vis { background: radial-gradient(320px 200px at 50% 40%, rgba(58, 95, 217, 0.08), transparent 70%); }
.prod-vis::before {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
}
.prod-vis svg { stroke: var(--stroke); }
.prod-tag { background: var(--tag-bg); color: var(--tag-fg); }
.table-wrap { background: var(--panel); }
table.spec thead th { background: var(--panel-2); }
.ind { background: var(--panel); }
.ind:hover { background: var(--panel-2); }
.case { background: var(--panel); }
.case-vis { background: linear-gradient(140deg, rgba(58, 95, 217, 0.10), rgba(0, 158, 138, 0.06)); }
.case-vis svg { stroke: var(--stroke); }
.nw { background: var(--panel); }
.cta-band {
  background: var(--cta-bg);
  border: 1px solid var(--line-strong);
}
.cta-band::before {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
}
.foot { background: var(--foot-bg); }
.page-hero { background: var(--hero-bg); }
.about-visual { background: linear-gradient(150deg, rgba(58, 95, 217, 0.10), rgba(0, 158, 138, 0.05)); }
.about-visual svg { stroke: var(--stroke); }
.cert { background: var(--panel); }
.form { background: linear-gradient(165deg, var(--panel), var(--panel-2)); }
.fld select option { background: var(--panel); }
.modal-bg { background: var(--modal-bg); }
.modal-box { background: linear-gradient(165deg, var(--panel), var(--bg-soft)); border: 1px solid var(--line-strong); }
.modal-kv div { background: var(--panel-2); }
.modal-box .mvis { background: radial-gradient(300px 180px at 50% 50%, rgba(58, 95, 217, 0.10), transparent 70%); }
.modal-box .mvis svg { stroke: var(--stroke); }
.faq { background: var(--panel); }

/* 技术观察文章排版（主题自适应） */
.art { max-width: 840px; margin: 0 auto 96px; scroll-margin-top: calc(var(--nav-h) + 28px); }
.art + .art { border-top: 1px solid var(--line); padding-top: 78px; }
.art-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--dimmer); letter-spacing: .08em; margin-bottom: 20px; }
.art-meta em { font-style: normal; padding: 3px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cy); }
.art h2 { font-size: clamp(25px, 2.8vw, 36px); line-height: 1.34; margin-bottom: 18px; }
.art .lead { font-size: 16.5px; line-height: 1.85; color: var(--txt); opacity: .92; border-left: 2px solid transparent; border-image: var(--grad) 1; padding-left: 18px; margin: 0 0 32px; }
.art h3 { font-size: 19.5px; line-height: 1.45; margin: 40px 0 14px; }
.art h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); margin-right: 10px; vertical-align: middle; }
.art p { font-size: 15.5px; line-height: 1.95; color: var(--dim); margin-bottom: 14px; }
.art b { color: var(--txt); font-weight: 600; }
.art .num { color: var(--cy); font-weight: 700; }
.art ul { margin: 4px 0 18px; }
.art li { font-size: 15.2px; line-height: 1.85; color: var(--dim); padding-left: 20px; position: relative; margin-bottom: 9px; }
.art li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 5px; height: 5px; border-radius: 1px; background: var(--cy); }
.art .note { margin: 22px 0; padding: 20px 24px; border: 1px solid var(--line); border-left: 2px solid var(--cy); border-radius: var(--radius-sm); background: rgba(0, 229, 199, .045); font-size: 14.8px; line-height: 1.8; color: var(--dim); }
.art .note b { color: var(--cy); }
.art .fm { margin: 18px 0 24px; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: rgba(76, 125, 255, .06); font-size: 15px; color: var(--txt); text-align: center; letter-spacing: .02em; }
.art .table-wrap { overflow-x: auto; margin: 18px 0 26px; }
.art table.spec { min-width: 560px; }
.art-end { margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--line-strong); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--dimmer); }
.art-end a { color: var(--cy); }

@media (max-width: 900px) {
  .menu { background: var(--menu-bg); }
  .toc { grid-template-columns: 1fr; }
  .art { margin-bottom: 70px; }
}

