/* ============================================================
   虞谷科技 YooGo Tech — 企业官网样式
   设计基调：专业显控 · 蓝白企业风 · 克制而有气势
   ============================================================ */

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #16243a;
  --ink-2: #5a6b84;
  --ink-3: #8b9ab1;
  --brand: #0a53c9;
  --brand-hover: #0845a8;
  --brand-deep: #082b66;
  --navy: #0a1830;
  --navy-2: #0e2140;
  --accent: #35a6ff;
  --line: #e2e9f3;
  --ok: #35c28f;
  --radius: 14px;
  --shadow-s: 0 2px 10px rgba(12, 34, 74, .07);
  --shadow-m: 0 14px 40px rgba(12, 34, 74, .12);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

::selection { background: var(--brand); color: #fff; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), height .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 24px rgba(12, 34, 74, .08);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 20px; letter-spacing: 2px; color: var(--brand-deep); }
.logo-text span { font-size: 10px; letter-spacing: 3.2px; color: var(--ink-3); font-weight: 600; }

/* 主导航 */
.main-nav > ul { display: flex; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  transition: color .25s, background .25s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--brand); }
.main-nav > ul > li > a.active { background: rgba(10, 83, 201, .07); }
.caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .25s; }
li.open > a .caret { transform: rotate(225deg) translateY(-1px); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-m);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
@media (hover: hover) {
  .main-nav > ul > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .main-nav > ul > li:hover > a .caret { transform: rotate(225deg) translateY(-1px); }
}
.main-nav li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background .25s;
}
.dropdown a:hover { background: rgba(10, 83, 201, .06); }
.dropdown a b { font-size: 14.5px; font-weight: 600; }
.dropdown a span { font-size: 12.5px; color: var(--ink-3); }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .25s, transform .25s var(--ease);
}
.header-cta:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-btn i { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-btn.open i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open i:nth-child(2) { opacity: 0; }
.menu-btn.open i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(53, 166, 255, .18), transparent 62%),
    radial-gradient(700px 460px at 12% 88%, rgba(10, 83, 201, .22), transparent 60%),
    linear-gradient(158deg, #0c1f42 0%, var(--navy) 52%, #0b1226 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 168, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 168, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 800px at 60% 40%, #000 30%, transparent 78%);
}
.hero-grid-svg {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, 52vw);
  opacity: .9;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 720px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #ffffff 30%, #a9d2ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 15px;
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(214, 228, 248, .85);
  line-height: 1.6;
}
.hero-actions { margin-top: 25px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 32px rgba(10, 83, 201, .4); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

/* 滚动指示 */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  z-index: 2;
}
.scroll-hint::after {
  content: "";
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: wheel 1.8s infinite var(--ease);
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 数据带 */
.stats-band {
  position: relative;
  z-index: 3;
  margin-top: -72px;
}
.stats-band .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 34px 20px 30px;
  text-align: center;
  position: relative;
}
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.stat b em { font-style: normal; font-size: .55em; margin-left: 3px; }
.stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); letter-spacing: 1px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto clamp(44px, 5vw, 64px); text-align: center; }
.section-head .en {
  display: block;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
}
.section-head p { margin-top: 9px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ---------------- 产品线图标矩阵 ---------------- */
.line-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.line-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: rgba(10, 83, 201, .35); }
.line-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.line-card:hover::after { transform: scaleX(1); }
.line-card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(10, 83, 201, .12), rgba(53, 166, 255, .1));
  color: var(--brand);
  margin-bottom: 11px;
}
.line-card .ic svg { width: 28px; height: 28px; }
.line-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.line-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.line-card .go {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}
.line-card .go svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.line-card:hover .go svg { transform: translateX(4px); }

/* ---------------- 四大产品系列 ---------------- */
.series-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.series-card + .series-card { margin-top: 16px; }
.series-card .fig {
  background:
    radial-gradient(420px 260px at 70% 30%, rgba(53, 166, 255, .12), transparent 65%),
    linear-gradient(160deg, #0e2140, #0a1830);
  border-radius: 16px;
  padding: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 168, 255, .14);
}
.series-card .fig svg { width: 100%; height: auto; }
.series-card .fig img { width: 100%; height: auto; border-radius: 12px; }
.series-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand);
  background: rgba(10, 83, 201, .08);
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 10px;
}
.series-card h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: 1px; }
.series-card .desc { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.series-items { margin-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.series-items li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink);
  /* 行高显式化：::before 的垂直居中公式依赖此值，两者必须联动修改 */
  line-height: 1.0;
}
.series-items li::before {
  content: "";
  position: absolute; left: 0;
  /* 与首行文字垂直居中（图标中心 = 首行中心）：top = (line-height*em - 10px) / 2
     ⚠ li 行高当前为 1.0，若调整 li 行高必须同步此公式 */
  top: calc((1.0em - 10px) / 2);
  width: 10px; height: 10px;
  border: 2px solid var(--brand);
  border-radius: 3px;
}
.series-card .link {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
}
.series-card .link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.series-card:hover .link svg { transform: translateX(4px); }

/* ---------------- 解决方案（编号式） ---------------- */
.sol-list { counter-reset: sol; }
.sol-row {
  display: grid;
  grid-template-columns: 170px 1fr 130px;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 42px) 8px;
  border-top: 1px solid var(--line);
  transition: background .3s;
}
.sol-row:last-child { border-bottom: 1px solid var(--line); }
.sol-row:hover { background: rgba(10, 83, 201, .035); }
.sol-num {
  font-family: var(--font-num);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(10, 83, 201, .45);
  transition: color .35s var(--ease);
}
.sol-row:hover .sol-num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.sol-body h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; margin-bottom: 4px; }
.sol-body p { color: var(--ink-2); font-size: 14.5px; max-width: 640px; line-height: 1.6; }
.sol-go {
  justify-self: end;
  width: 54px; height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.sol-go svg { width: 18px; height: 18px; }
.sol-row:hover .sol-go { background: var(--brand); border-color: var(--brand); color: #fff; transform: translate(3px, -3px); }

/* ---------------- 核心技术 ---------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.tech-card {
  position: relative;
  background: linear-gradient(165deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(120, 168, 255, .16);
  border-radius: 18px;
  padding: 38px 34px;
  color: #e8f0fc;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.tech-card:hover { transform: translateY(-5px); border-color: rgba(53, 166, 255, .5); }
.tech-card::before {
  content: attr(data-idx);
  position: absolute;
  right: 22px; top: 6px;
  font-family: var(--font-num);
  font-size: 88px;
  font-weight: 700;
  color: rgba(53, 166, 255, .1);
  line-height: 1;
}
.tech-card h3 { font-size: 20px; font-weight: 700; color: #fff; }
.tech-card .en { font-family: var(--font-num); font-size: 13px; letter-spacing: 2px; color: var(--accent); margin-top: 4px; }
.tech-card p { margin-top: 9px; font-size: 14.5px; color: rgba(214, 228, 248, .78); line-height: 1.6; }

/* ---------------- 应用场景 ---------------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scene-card {
  position: relative;
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  min-height: 210px;
  background:
    radial-gradient(340px 200px at 85% 0%, rgba(53, 166, 255, .14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.scene-card .no {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-3);
}
.scene-card h3 { margin-top: 46px; font-size: 20px; font-weight: 700; }
.scene-card p { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ---------------- 关于 / CTA ---------------- */
.about-band { position: relative; overflow: hidden; background: linear-gradient(158deg, #0c1f42, var(--navy)); color: #fff; }
.about-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: 1px; }
.about-band .en { font-family: var(--font-num); letter-spacing: 5px; font-size: 13px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.about-band p { margin-top: 10px; color: rgba(214, 228, 248, .82); font-size: 15.5px; line-height: 1.6; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-item {
  border: 1px solid rgba(120, 168, 255, .2);
  border-radius: 14px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, .03);
  transition: background .3s, border-color .3s;
}
.value-item:hover { background: rgba(255, 255, 255, .06); border-color: rgba(53, 166, 255, .5); }
.value-item b { display: block; font-size: 17px; color: #fff; }
.value-item span { display: block; margin-top: 4px; font-size: 13px; color: rgba(214, 228, 248, .65); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #081226; color: rgba(214, 228, 248, .72); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(120, 168, 255, .14); }
.footer-brand p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 10px; letter-spacing: 1px; }
.site-footer li { margin-bottom: 6px; font-size: 13.5px; }
.site-footer li a { transition: color .25s; }
.site-footer li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 5px; color: var(--accent); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 15px; font-size: 12.5px; color: rgba(214, 228, 248, .45); flex-wrap: wrap; }
.site-ver { font-family: var(--font-num); letter-spacing: .5px; color: rgba(120, 168, 255, .75); }

/* ---------------- 产品详情页 ---------------- */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  color: #fff;
  background:
    radial-gradient(760px 420px at 82% 0%, rgba(53, 166, 255, .2), transparent 60%),
    linear-gradient(158deg, #0c1f42, var(--navy));
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 168, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 168, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: rgba(214, 228, 248, .6); margin-bottom: 15px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: 1.5px; }
.page-hero .sub { margin-top: 9px; max-width: 640px; color: rgba(214, 228, 248, .8); font-size: 15.5px; }

/* 产品锚点条 */
.product-nav {
  position: sticky;
  top: 64px;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.product-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.product-nav ul::-webkit-scrollbar { display: none; }
.product-nav a {
  display: block;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .25s, border-color .25s;
}
.product-nav a:hover, .product-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* 产品详情区块 */
.product-block { padding: clamp(56px, 7vw, 92px) 0; }
.product-block:nth-of-type(odd) { background: var(--surface); }
.product-block .block-head { margin-bottom: 22px; }
.product-block .block-head h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
.product-block .block-head h2 small { font-family: var(--font-num); font-size: .48em; letter-spacing: 2px; color: var(--ink-3); font-weight: 600; }
.product-block .block-head .pos { margin-top: 6px; color: var(--brand); font-weight: 600; font-size: 14.5px; letter-spacing: .5px; }

.product-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.product-fig {
  position: sticky;
  top: 140px;
  background:
    radial-gradient(400px 240px at 70% 25%, rgba(53, 166, 255, .13), transparent 65%),
    linear-gradient(160deg, #0e2140, #0a1830);
  border: 1px solid rgba(120, 168, 255, .14);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  place-items: center;
}
.product-fig svg { width: 100%; height: auto; }
.product-fig img { width: 100%; height: auto; border-radius: 12px; }
.product-fig figcaption { margin-top: 9px; font-size: 12.5px; letter-spacing: 2px; color: rgba(214, 228, 248, .5); text-align: center; }

/* 资料下载模块 */
.dl-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 26px 30px;
  background: linear-gradient(120deg, rgba(10, 83, 201, .06), rgba(53, 166, 255, .05));
  border: 1px solid rgba(10, 83, 201, .18);
  border-radius: 16px;
}
.dl-info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-ic {
  width: 54px; height: 54px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand), #2f7ae0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 83, 201, .3);
}
.dl-ic svg { width: 26px; height: 26px; }
.dl-meta b { display: block; font-size: 16.5px; }
.dl-meta span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.dl-btn { height: 46px; padding: 0 26px; font-size: 14.5px; }
.dl-btn .arr { font-weight: 700; }
.dl-qr { display: flex; align-items: center; gap: 14px; }
.dl-qr img {
  width: 92px; height: 92px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.dl-qr figcaption { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

.feature-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.feature-item:hover { border-color: rgba(10, 83, 201, .4); transform: translateX(4px); box-shadow: var(--shadow-s); }
.feature-item .dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(10, 83, 201, .12), rgba(53, 166, 255, .1));
  color: var(--brand);
}
.feature-item .dot svg { width: 21px; height: 21px; }
.feature-item b { display: block; font-size: 15.5px; }
.feature-item p { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

.func-row { margin-top: 20px; }
.func-row h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.func-row h3::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--accent)); }
.func-row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.func-row li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.01; }
.func-row li::before { content: ""; position: absolute; left: 0; /* 图标中心=首行中心：top=(1.01em-7px)/2，⚠ 与 li 行高 1.01 联动 */ top: calc((1.01em - 7px) / 2); width: 7px; height: 7px; border-radius: 2px; background: var(--brand); opacity: .75; }

/* 参数表 */
.spec-wrap { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.spec-wrap .spec-title {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15.5px;
  background: linear-gradient(90deg, rgba(10, 83, 201, .08), transparent);
  border-bottom: 1px solid var(--line);
}
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec tr { border-bottom: 1px solid var(--line); transition: background .25s; }
table.spec tr:last-child { border-bottom: none; }
table.spec tr:hover { background: rgba(10, 83, 201, .035); }
table.spec th {
  width: 170px;
  text-align: left;
  vertical-align: top;
  padding: 15px 24px;
  font-weight: 600;
  color: var(--brand-deep);
  white-space: nowrap;
  background: rgba(10, 83, 201, .03);
}
/* 参数表单元格常为多行文本，行距按用户要求保持第一轮水平（1.35），不参与第二轮收紧 */
table.spec td { padding: 15px 24px; color: var(--ink-2); line-height: 1.35; }

/* 应用场景图集（便携一体机） */
.yg-scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-scene-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.yg-scene-grid figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.yg-scene-grid img { width: 100%; height: 226px; object-fit: cover; display: block; }
.yg-scene-grid figcaption { padding: 16px 20px 18px; }
.yg-scene-grid figcaption b { display: block; font-size: 15.5px; color: var(--brand-deep); letter-spacing: .5px; }
.yg-scene-grid figcaption span { display: block; margin-top: 5px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* 页尾 CTA */
.cta-band { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px 0; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: 1px; }
.cta-band p { margin-top: 4px; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.6; }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 12px 30px rgba(4, 22, 56, .35); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .dropdown { min-width: 480px; }
  .line-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .yg-scene-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    /* 注意：.site-header 的 backdrop-filter 会使其成为 fixed 后代的包含块，
       fixed 定位在这里会塌缩进 76px 高的 header 内导致菜单显示不全。
       header 本身 fixed 于视口顶部，故面板改用 absolute 挂在 header 之下。 */
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    /* 高度策略：由菜单内容自然撑开（6 项约 350px，远小于手机屏），
       不依赖 100vh/dvh/calc——部分国产手机浏览器/WebView 对这些组合存在
       解析怪癖，曾导致面板高度塌陷只剩一项。max-height 仅作超长内容的
       渐进限制，失效也无碍（内容撑开仍完整可见）。 */
    height: auto;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--surface);
    padding: 20px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .site-header.scrolled .main-nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav > ul > li > a { font-size: 16.5px; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    grid-template-columns: 1fr;
    border: none;
    box-shadow: none;
    padding: 4px 0 10px;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  /* 桌面全局规则 .main-nav li.open > .dropdown 带 translate(-50%,0)（特异性更高），
     移动端展开时会把 static 下拉内容平移出可视区（表现为空白块），此处必须显式归零 */
  .main-nav li.open > .dropdown { display: grid; transform: none; opacity: 1; visibility: visible; }

  /* 电脑半屏（宽 ≤920px 且有鼠标）时：布局已切移动模式，但桌面 @media(hover:hover)
     的悬停规则 li:hover > .dropdown 仍会触发 translate(-50%,0)，把点击展开的下拉
     再次平移出可视区（表现为"鼠标移到产品中心上文字就消失"）。
     仅在 hover 设备上禁用悬停显示/位移；触屏手机 (hover:none) 不匹配本块，
     手机端 li.open 点击逻辑不受任何影响。 */
  .main-nav > ul > li:hover > .dropdown { display: none; transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul > li:hover > a .caret { transform: rotate(45deg) translateY(-2px); }
  /* 点击展开态优先于悬停禁用：同特异性 (0,3,2)、声明在后 */
  .main-nav > ul > li.open > .dropdown,
  .main-nav > ul > li.open:hover > .dropdown { display: grid; transform: none; opacity: 1; visibility: visible; }
  .series-card { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-fig { position: static; }
  .about-band .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sol-row { grid-template-columns: 90px 1fr; }
  .sol-go { display: none; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .line-grid, .scene-grid { grid-template-columns: 1fr; }
  .func-row ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  table.spec th { width: 110px; padding: 13px 16px; }
  table.spec td { padding: 13px 16px; }
  .stat { padding: 24px 12px; }
  .hero-inner { padding: 120px 0 100px; }
}

/* [para-leading-fix] 段内行距回退：产品页长段落与页头副标题行高 1.6 */
.page-hero .sub { line-height: 1.6; }
.product-block p { line-height: 1.6; }

/* [sol-tighten-80] 解决方案板块：仅圈选区域间距缩至 80%（标题-列表 & 条目间） */
#solutions .section-head { margin-bottom: clamp(35.2px, 4vw, 51.2px); }
#solutions .sol-row { padding: clamp(22.4px, 2.72vw, 33.6px) 8px; }

/* [lines-tighten-75] 产品线板块：仅圈选区域间距缩至 75%（标题-卡片 & 卡片间） */
#lines .section-head { margin-bottom: clamp(33px, 3.75vw, 48px); }
#lines .line-grid { gap: 12px; }

/* [hero-tighten-73-v4] Hero 区上下空挡 = 原始值约 73%（81% 基础上再缩 10%，仅动数值不动布局）
   保留 min-height:92vh + 垂直居中；空挡 = padding - 遮盖量（上扣 76 / 下扣 72）
   移动端：上空挡 36→32px（padding 108px）、下空挡 22→20px（padding 92px）
   行内：kicker 12→11px、actions 20→18px */
@media (max-width: 600px) {
  .hero-inner { padding: 108px 0 92px; }
  .hero-actions { margin-top: 18px; }
  .hero-kicker { margin-bottom: 11px; }
}

/* [block-head-leading] 产品块标题区行距回退（用户圈选：VWC2-Tpro 标题两行过挤）
   h2 此前无自有行距，继承全局 body 1.0，手机折行后视觉过密；
   回取站内板块标题一致的 1.3（.section-head h2 同值），仅作用于此组件 */
.product-block .block-head h2 { line-height: 1.3; }

/* [footer-lead-link] 页脚「联系我们」栏新增「在线提交需求」入口（指向 contact.html 登记页）
   新增小组件，不改动既有页脚元素的任何间距/行高 */
.footer-form-link { margin-top: 12px; }
.footer-form-link a { color: var(--accent); font-weight: 600; }
.footer-form-link a:hover { color: #fff; }
