/* =====================================================================
   泰驭检测 企业网站 · 全站样式
   设计语言：白底 + 品牌蓝，大量留白，克制的动效
   动效原则：只用 opacity / transform，走 GPU，不触发布局重排
   ===================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --brand:        #2e7bd6;
  --brand-600:    #1e63b8;
  --brand-400:    #5b9bdf;
  --brand-50:     #eaf3fc;
  --ink:          #16202e;
  --ink-2:        #33404f;
  --muted:        #6b7787;
  --line:         #e7ecf3;
  --bg:           #ffffff;
  --bg-soft:      #f6f9fc;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 10px rgba(22, 40, 70, .06);
  --shadow-md:    0 10px 30px rgba(22, 40, 70, .10);
  --shadow-lg:    0 24px 60px rgba(22, 40, 70, .14);
  --ease:         cubic-bezier(.22, .61, .36, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --header-h:     76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }  /* 兼容老内核：不用 min()/margin-inline */
.site-main { padding-top: var(--header-h); }

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

/* ---------- 顶部阅读进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  z-index: 999; pointer-events: none;
}

/* =====================================================================
   导航
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);  /* inset 在 Chrome<87 被丢弃会让 fixed 页头缩成内容宽 */
  z-index: 900;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease), height .4s var(--ease);
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 24px;
  justify-content: space-between;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(22, 40, 70, .07);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; letter-spacing: .5px; }
.brand-text small  { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 16px; border-radius: 10px;
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover { color: var(--brand); background: var(--brand-50); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--brand); }

.nav-cta {
  margin-left: 12px; padding: 10px 20px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(46, 123, 214, .35);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background .3s;
}
.nav-cta:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46, 123, 214, .4); }

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none;
  border-radius: 10px; position: relative; z-index: 2;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   按钮
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease),
              background .3s var(--ease), color .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(46,123,214,.32); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(46,123,214,.38); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--brand-600); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.btn-block { width: 100%; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative; min-height: calc(88vh - var(--header-h));
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0f2a4a 0%, #17497f 45%, #2e7bd6 100%);
  color: #fff;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 60px) 0 90px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,30,55,.88) 0%, rgba(15,42,74,.62) 45%, rgba(46,123,214,.30) 100%);
}
/* 漂浮光斑 */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none;
  animation: float 14s ease-in-out infinite alternate;
}
.hero::before { width: 460px; height: 460px; background: rgba(91,155,223,.55); top: -120px; right: -80px; }
.hero::after  { width: 340px; height: 340px; background: rgba(46,123,214,.45); bottom: -100px; left: -60px; animation-delay: -7s; }
@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-30px, 30px, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero-inner { position: relative; z-index: 2; max-width: 960px; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: rgba(255,255,255,.5); }
.hero-title {
  font-size: 2.6rem; font-size: clamp(2.1rem, 4.6vw, 3.6rem);  /* 老内核回退 */
  line-height: 1.18; font-weight: 800; letter-spacing: 1px;
  margin-bottom: 22px; text-shadow: 0 4px 24px rgba(0,0,0,.22);
  text-wrap: balance;
}
.hero-sub {
  font-size: 1.05rem; font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.86);
  max-width: 620px; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 底部滚动提示 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45);
  border-radius: 14px; z-index: 2;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: rgba(255,255,255,.8);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* =====================================================================
   数据统计
   ===================================================================== */
.stats { background: var(--bg); padding: 56px 0 10px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 20px; gap: 20px;
}
.stat {
  text-align: center; padding: 28px 12px; border-radius: var(--radius);
  transition: background .4s var(--ease), transform .4s var(--ease-out);
}
.stat:hover { background: var(--bg-soft); transform: translateY(-4px); }
.stat-num { font-size: 2.2rem; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-suffix { font-size: .6em; font-weight: 700; margin-left: 2px; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; letter-spacing: 1px; }

/* =====================================================================
   区块通用
   ===================================================================== */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-eyebrow {
  font-size: 12px; letter-spacing: 5px; color: var(--brand);
  text-transform: uppercase; font-weight: 700; margin-bottom: 10px;
}
.sec-title { font-size: 1.9rem; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.25; }
.sec-sub { color: var(--muted); margin-top: 12px; font-size: 15px; }
.sec-more { text-align: center; margin-top: 48px; }

.grid { display: grid; grid-gap: 26px; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================================
   卡片
   ===================================================================== */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.adv-card { padding: 34px 28px; }
.adv-card:hover { border-color: var(--brand-50); }
.adv-icon {
  width: 58px; height: 58px; border-radius: 16px; font-size: 26px;
  display: grid; align-items: center; justify-items: center; margin-bottom: 20px;
  background: var(--brand-50);
  transition: transform .5s var(--ease-out), background .4s;
}
.adv-card:hover .adv-icon { transform: scale(1.1) rotate(-6deg); background: var(--brand); }
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--muted); font-size: 14.5px; }

/* 产品 / 新闻卡 */
.prod-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--brand-50), #dceaf8); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.prod-card:hover .prod-thumb img { transform: scale(1.08); }
.prod-thumb-fallback {
  width: 100%; height: 100%; display: grid; align-items: center; justify-items: center;
  background: linear-gradient(135deg, #2e7bd6 0%, #17497f 100%);
}
.prod-thumb-fallback span {
  font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.9); letter-spacing: 2px;
}
.news-fallback { background: linear-gradient(135deg, #1e63b8, #0f2a4a); }
.news-fallback span { font-size: 1.1rem; letter-spacing: 4px; font-weight: 700; }

.prod-tag {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.92); color: var(--brand-600);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.prod-body { padding: 22px 24px 26px; }
.prod-body h3 {
  font-size: 18px; margin-bottom: 10px; line-height: 1.45;
  transition: color .3s;
}
.prod-card:hover .prod-body h3 { color: var(--brand); }
.prod-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.prod-more { font-size: 14px; color: var(--brand); font-weight: 600; display: inline-block; }
.prod-more::after {
  content: ""; display: block; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out);
  margin-top: 3px;
}
.prod-card:hover .prod-more::after { transform: scaleX(1); }

.news-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-50); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }

/* 老内核（Chrome<88 无 aspect-ratio）缩略图会塌成 0 高，退化为固定高度 + object-fit 裁切 */
@supports not (aspect-ratio: 16 / 10) {
  .prod-thumb, .news-thumb { height: 220px; }
}
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-date {
  position: absolute; right: 14px; bottom: 14px; background: #fff;
  border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1.2;
  box-shadow: var(--shadow-sm);
}
.news-date b { display: block; font-size: 20px; color: var(--brand); }
.news-date span { font-size: 11px; color: var(--muted); }

.empty-tip { color: var(--muted); text-align: center; padding: 40px 0; }

/* =====================================================================
   流程
   ===================================================================== */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 26px; gap: 26px;
  counter-reset: flow;
  position: relative;
}
.flow::before {
  content: ""; position: absolute; top: 29px; left: 8%; right: 8%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.flow-item { position: relative; text-align: center; padding: 0 12px; }
.flow-step {
  position: relative; z-index: 1; display: grid; align-items: center; justify-items: center;
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 24px rgba(46,123,214,.35);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.flow-item:hover .flow-step { transform: translateY(-6px) scale(1.08); box-shadow: 0 18px 34px rgba(46,123,214,.42); }
.flow-item h3 { font-size: 17px; margin-bottom: 8px; }
.flow-item p { color: var(--muted); font-size: 14px; }

/* =====================================================================
   CTA 横幅
   ===================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--brand-600), var(--brand) 55%, #4f97e3);
  color: #fff; padding: 70px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.10); top: -180px; right: -100px;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.7rem; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.85); }

/* =====================================================================
   内页通用
   ===================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0f2a4a, #17497f 55%, #2e7bd6);
  color: #fff; padding: 76px 0 68px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(91,155,223,.22); filter: blur(60px); top: -200px; right: -120px;
}
.page-hero-tight { padding: 56px 0 46px; }
.page-hero h1 { font-size: 2rem; font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; position: relative; }
.page-hero-sub { color: rgba(255,255,255,.82); margin-top: 12px; position: relative; }
.crumb { font-size: 14px; color: rgba(255,255,255,.66); margin-bottom: 14px; position: relative; }
.crumb a { color: rgba(255,255,255,.66); transition: color .3s; }
.crumb a:hover { color: #fff; }

/* 筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter-chip {
  padding: 9px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: all .35s var(--ease);
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.filter-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(46,123,214,.3); }

/* 详情页布局 */
.detail-wrap { display: grid; grid-template-columns: 1fr 300px; grid-gap: 40px; gap: 40px; align-items: start; }
.detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 46px; }
.detail-cover { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 28px; }
.detail-cover img { width: 100%; }
.detail-lead {
  font-size: 17px; color: var(--ink-2); background: var(--bg-soft);
  border-left: 3px solid var(--brand); padding: 16px 20px; border-radius: 0 10px 10px 0;
  margin-bottom: 28px;
}
.detail-meta {
  display: flex; gap: 20px; margin-top: 36px; padding-top: 22px;
  border-top: 1px dashed var(--line); color: var(--muted); font-size: 13.5px;
}
.detail-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.detail-nav a { font-size: 14px; color: var(--muted); transition: color .3s, transform .3s; }
.detail-nav a:hover { color: var(--brand); transform: translateX(4px); }

/* 富文本 */
.rich { font-size: 16px; color: var(--ink-2); }
.rich p { margin-bottom: 18px; }
.rich h2, .rich h3, .rich h4 { color: var(--ink); margin: 30px 0 14px; font-weight: 700; }
.rich h3 { font-size: 19px; }
.rich ul, .rich ol { margin: 0 0 18px 22px; list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin-bottom: 8px; }
.rich img { border-radius: var(--radius-sm); margin: 20px 0; box-shadow: var(--shadow-sm); }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote {
  border-left: 3px solid var(--brand); background: var(--bg-soft);
  padding: 14px 20px; border-radius: 0 10px 10px 0; margin-bottom: 18px; color: var(--muted);
}
.rich table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rich th { background: var(--bg-soft); }

/* 侧栏 */
.detail-aside h3 { font-size: 16px; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--brand); }
.aside-list { margin-bottom: 20px; }
.aside-list a {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 12px; transition: background .3s, transform .3s;
}
.aside-list a:hover { background: var(--bg-soft); transform: translateX(4px); }
.aside-list img, .aside-thumb-fallback {
  width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none;
}
.aside-thumb-fallback {
  display: grid; align-items: center; justify-items: center; background: var(--brand-50);
  color: var(--brand); font-weight: 700;
}
.aside-t { font-size: 14px; line-height: 1.5; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.pager-link {
  width: 42px; height: 42px; display: grid; align-items: center; justify-items: center;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; transition: all .3s var(--ease);
}
.pager-link:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.pager-link.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* =====================================================================
   联系页
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; grid-gap: 36px; gap: 36px; align-items: start; }
.contact-info, .contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
}
.contact-info h3, .contact-form-wrap h3 { font-size: 19px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.ci-icon {
  width: 46px; height: 46px; flex: none; display: grid; align-items: center; justify-items: center;
  background: var(--brand-50); border-radius: 12px; font-size: 20px;
}
.contact-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-list div > a, .contact-list div > span { font-size: 15.5px; }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--brand); }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-row label i { color: #e5484d; font-style: normal; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-soft); outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(46,123,214,.12);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-ok {
  background: #eaf7ee; border: 1px solid #bfe3cb; color: #1e6b3a;
  padding: 26px; border-radius: 12px; text-align: center; font-size: 16px;
}
.form-err {
  background: #fdeeee; border: 1px solid #f2c4c4; color: #a33;
  padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px;
}

/* =====================================================================
   404
   ===================================================================== */
.notfound { padding: 120px 0 140px; text-align: center; }
.nf-code {
  font-size: 5.5rem; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), #17497f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: 26px; margin: 16px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 32px; }
.nf-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   页脚
   ===================================================================== */
.site-footer { background: #101a26; color: #aeb9c6; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; grid-gap: 44px; gap: 44px;
  padding: 64px 0 44px;
}
.footer-logo { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.9; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul a { color: #aeb9c6; transition: color .3s, padding-left .3s; }
.footer-col ul a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #7b8794;
}
.footer-bottom a:hover { color: #fff; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 46px; height: 46px; border-radius: 14px; display: grid; align-items: center; justify-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(46,123,214,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease-out), visibility .4s, background .3s;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--brand-600); }

/* =====================================================================
   滚动渐显动效
   opacity + translateY 只走合成层，滚动时无重排，丝滑不抖
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
/* 进入后移除 will-change，避免长期占用合成层 */
.reveal.is-in { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); grid-gap: 40px 26px; gap: 40px 26px; }
  .flow::before { display: none; }
  .detail-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); grid-gap: 8px; gap: 8px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-text small { display: none; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; bottom: 0; right: 0; width: 82vw; width: min(320px, 82vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 26px 40px; gap: 6px;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(22,40,70,.18); z-index: 950;
  }
  .nav.is-open { transform: none; }
  .nav-link { padding: 14px 16px; font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 18px 0 0; text-align: center; }

  .section { padding: 68px 0; }
  .detail { padding: 30px 24px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-inner { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; grid-gap: 32px; gap: 32px; padding: 48px 0 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .back-top { right: 16px; bottom: 16px; }
}

/* =====================================================================
   语言切换
   ===================================================================== */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; margin-left: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}
.lang-opt {
  padding: 5px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.5;
  color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-opt { white-space: nowrap; }
.lang-opt:hover { color: var(--brand); }
.lang-opt.is-on { background: var(--brand); color: #fff; }

.footer-lang {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13.5px;
}
.footer-lang a { transition: color .25s var(--ease); }
.footer-lang a:hover, .footer-lang a.is-on { color: var(--brand); }

/* =====================================================================
   下载中心
   ===================================================================== */
.sec-head-left { text-align: left; max-width: none; margin: 0 0 32px; }
.sec-gap { margin-top: 74px; }

.dl-apps { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 20px; gap: 20px; }
.dl-app {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.dl-app:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 123, 214, .28);
}
.dl-app-icon {
  flex: none; width: 62px; height: 62px; border-radius: 16px;
  display: grid; align-items: center; justify-items: center; font-size: 30px;
  background: linear-gradient(135deg, var(--brand-50), #dceafb);
}
.dl-app-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.dl-app-text { flex: 1; min-width: 0; }
.dl-app-text b { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.dl-app-text p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.dl-meta { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.dl-btn { flex: none; }

.dl-files { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 14px; gap: 14px; }
.dl-file {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.dl-file:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(46, 123, 214, .3);
}
.dl-ext {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  display: grid; align-items: center; justify-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .4px;
  background: var(--brand-50); color: var(--brand-600);
}
.dl-file-text { flex: 1; min-width: 0; }
.dl-file-text b {
  display: block; font-size: 15px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dl-get {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--brand); background: var(--brand-50);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.dl-get:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }

@media (max-width: 900px) {
  .dl-apps, .dl-files { grid-template-columns: 1fr; }
  .nav .lang-switch { margin: 18px auto 0; }
}

@media (max-width: 640px) {
  .dl-app { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dl-btn { width: 100%; }
  .dl-file { padding: 14px 16px; gap: 12px; }
  .sec-gap { margin-top: 52px; }
}
