/* ==========================================================================
   AIXRF - XRF 分析仪器企业官网
   基础样式表
   ========================================================================== */

:root {
  --navy-900: #071A31;
  --navy-800: #0A2540;
  --navy-700: #0E3157;
  --brand-600: #1256A0;
  --brand-500: #1E7BD6;
  --brand-050: #EDF4FC;
  --teal-500: #0FA3A3;
  --teal-400: #17BFB6;
  --ink-900: #16202E;
  --ink-700: #2C3B4F;
  --ink-500: #5A6B80;
  --ink-400: #7D8CA0;
  --line: #E3E9F0;
  --line-soft: #EEF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow-s: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-m: 0 4px 16px rgba(10, 37, 64, 0.07);
  --shadow-l: 0 12px 34px rgba(10, 37, 64, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-500); }

h1, h2, h3, h4 { color: var(--ink-900); margin: 0; line-height: 1.35; letter-spacing: -0.01em; }
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-500); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30,123,214,.28); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 19px; font-weight: 700; color: var(--navy-800); letter-spacing: .04em; }
.logo-sub { font-size: 10px; color: var(--ink-400); letter-spacing: .18em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: block;
  padding: 8px 15px;
  border-radius: var(--radius-s);
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
}
.nav a:hover { color: var(--brand-600); background: var(--brand-050); }
.nav a.active { color: var(--brand-600); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-tel { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; color: var(--navy-800); font-family: var(--mono); }
.header-tel svg { color: var(--teal-500); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-900);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
  padding: 92px 0 104px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(30,123,214,.32), transparent 70%),
    radial-gradient(700px 400px at 12% 92%, rgba(15,163,163,.22), transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 13px;
  color: #B9D4EE;
  background: rgba(255,255,255,.05);
  margin-bottom: 24px;
}
.hero-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); display: block; }
.hero h1 { color: #fff; font-size: 42px; line-height: 1.3; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #6FC6F5; }
.hero-lead { font-size: 17px; color: #A9C2DB; max-width: 520px; margin-bottom: 34px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 13.5px; color: #8FA9C4; }
.hero-note span { display: flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--teal-400); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-l);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hero-card-title { font-size: 13px; color: #A9C2DB; letter-spacing: .06em; }
.hero-card-badge { font-size: 11px; color: var(--teal-400); border: 1px solid rgba(23,191,182,.4); border-radius: 999px; padding: 2px 10px; }
.hero-chart { width: 100%; height: auto; }
.hero-card-foot { display: flex; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-metric { flex: 1; }
.hero-metric b { display: block; font-size: 20px; color: #fff; font-weight: 700; font-family: var(--mono); }
.hero-metric span { font-size: 12px; color: #8FA9C4; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--navy-900); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 32px; font-weight: 700; color: #fff; font-family: var(--mono); letter-spacing: -.02em; }
.stat b i { font-style: normal; font-size: 18px; color: var(--teal-400); margin-left: 2px; }
.stat span { font-size: 13.5px; color: #8FA9C4; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal-500); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-500); font-size: 16px; }
.section-head-left { text-align: left; margin-left: 0; }

/* ---------- 优势卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: all .22s ease;
}
.feature:hover { border-color: #C9DCF0; box-shadow: var(--shadow-m); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-s);
  background: var(--brand-050);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h3 { margin-bottom: 10px; font-size: 17px; }
.feature p { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 产品卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .22s ease;
}
.product:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); border-color: #C9DCF0; }
.product-media {
  height: 168px;
  background: linear-gradient(150deg, #0A2540 0%, #123A66 55%, #0E4E6E 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-media svg { width: 100%; height: 100%; }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; color: var(--teal-500); font-weight: 600; letter-spacing: .06em; margin-bottom: 8px; }
.product h3 { margin-bottom: 10px; }
.product p { font-size: 14px; color: var(--ink-500); line-height: 1.7; margin-bottom: 18px; }
.product-specs { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.product-specs li { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.product-specs li span:first-child { color: var(--ink-400); }
.product-specs li span:last-child { color: var(--ink-900); font-weight: 600; font-family: var(--mono); }

/* ---------- 应用领域 ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app {
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  transition: all .2s ease;
}
.app:hover { border-color: #C9DCF0; box-shadow: var(--shadow-m); }
.app-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius-s); background: #EAF6F5; color: var(--teal-500); display: flex; align-items: center; justify-content: center; }
.app h4 { margin-bottom: 6px; }
.app p { font-size: 13.5px; color: var(--ink-500); line-height: 1.65; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-list { margin-top: 26px; }
.about-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.about-list li:last-child { border-bottom: 0; }
.about-list svg { flex-shrink: 0; color: var(--teal-500); margin-top: 5px; }
.about-visual {
  background: linear-gradient(155deg, #0A2540, #10365F);
  border-radius: var(--radius-l);
  padding: 34px;
  color: #fff;
}
.about-visual h3 { color: #fff; margin-bottom: 20px; font-size: 18px; }
.cert-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; color: #C6D8E8; }
.cert-list li:last-child { border-bottom: 0; }
.cert-list svg { color: var(--teal-400); flex-shrink: 0; }

/* ---------- CTA 条 ---------- */
.cta-band { background: var(--navy-800); color: #fff; padding: 66px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 82% 50%, rgba(15,163,163,.25), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #A9C2DB; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 子页 Hero ---------- */
.page-hero { background: var(--navy-800); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 340px at 80% 20%, rgba(30,123,214,.3), transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 34px; margin-bottom: 12px; }
.page-hero p { color: #A9C2DB; max-width: 640px; font-size: 16px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: #8FA9C4; margin-bottom: 18px; }
.breadcrumb a { color: #8FA9C4; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; color: #5B7A96; }
.breadcrumb em { font-style: normal; color: #fff; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-list { margin-top: 28px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:last-child { border-bottom: 0; }
.contact-item-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius-s); background: var(--brand-050); color: var(--brand-600); display: flex; align-items: center; justify-content: center; }
.contact-item h4 { font-size: 14px; color: var(--ink-500); font-weight: 500; margin-bottom: 4px; }
.contact-item p { font-size: 16px; color: var(--ink-900); font-weight: 600; margin: 0; }
.contact-item p small { display: block; font-size: 13px; color: var(--ink-400); font-weight: 400; margin-top: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 34px;
  box-shadow: var(--shadow-s);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.field label i { color: #D14B4B; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(30,123,214,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #A8B4C2; }
.form-hint { font-size: 12.5px; color: var(--ink-400); margin-top: 14px; line-height: 1.6; }
.form-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid #B7E4C7;
  background: #EDFAF1;
  color: #1B6B3A;
}
.form-alert.show { display: block; }
.form-alert.is-error { border-color: #F3C0C0; background: #FDF0F0; color: #A32D2D; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #8FA9C4; padding: 58px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: #6C86A0; }
.footer-about { margin-top: 18px; line-height: 1.8; font-size: 13.5px; color: #7D96AF; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #8FA9C4; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; line-height: 1.6; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-500); }
.footer-contact strong { color: #D6E3EF; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6C86A0;
}
.footer-bottom a { color: #8FA9C4; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ---------- 备案提示条（仅本地预览显示，上线后由 js 隐藏） ---------- */
.build-notice {
  background: #FFF8E6;
  border-bottom: 1px solid #F5E2B0;
  color: #7A5A12;
  font-size: 13px;
  padding: 9px 0;
  text-align: center;
}
.build-notice b { color: #5C4309; }
.build-notice.hide { display: none; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 产品详情块 ---------- */
.detail {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.detail:last-of-type { border-bottom: 0; padding-bottom: 76px; }
.detail-tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--teal-500); letter-spacing: .06em; margin-bottom: 12px; }
.detail h2 { font-size: 26px; margin-bottom: 16px; }
.detail-body > p { color: var(--ink-500); }
.detail-sub { margin: 26px 0 12px; font-size: 15px; color: var(--ink-900); }
.detail-list li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14.5px; color: var(--ink-700); }
.detail-list li::before {
  content: "";
  position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-500);
}
.detail-note {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--brand-050);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 14px;
  color: var(--ink-700);
}

.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  align-self: start;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-s);
}
.spec-card h4 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: .04em;
  text-align: left;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.spec-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink-500); padding-right: 14px; }
.spec-table td:last-child {
  text-align: right;
  color: var(--ink-900);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 13.5px;
  white-space: nowrap;
}

/* ---------- 流程步骤 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  transition: all .2s ease;
}
.flow-step:hover { border-color: #C9DCF0; box-shadow: var(--shadow-m); transform: translateY(-3px); }
.flow-num {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-600);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 15px;
  margin-bottom: 14px;
}
.flow-step h4 { font-size: 16px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.65; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 0 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] { border-color: #C9DCF0; box-shadow: var(--shadow-s); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand-500);
  font-weight: 400;
  line-height: 1;
}
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 22px; margin: 0; font-size: 14.5px; color: var(--ink-500); max-width: 780px; }

/* ---------- 三列优势网格（窄屏可回落） ---------- */
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; }
  .hero h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-tel { display: none; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    box-shadow: var(--shadow-m);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; border-radius: var(--radius-s); }
  .nav .nav-mobile-cta { display: block; margin-top: 10px; text-align: center; background: var(--brand-600); color: #fff; }
  .nav .nav-mobile-cta:hover { background: var(--brand-500); color: #fff; }
  .header-inner { gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (min-width: 861px) { .nav .nav-mobile-cta { display: none; } }

@media (max-width: 720px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero { padding: 62px 0 70px; }
  .hero h1 { font-size: 29px; }
  .hero-lead { font-size: 15.5px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 38px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .stat b { font-size: 26px; }
  .feature-grid, .product-grid, .apps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 40px 0 44px; }
  .page-hero h1 { font-size: 26px; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
}

/* ---------- 新增组件的响应式 ---------- */
@media (max-width: 1024px) {
  .detail { grid-template-columns: 1fr; gap: 32px; padding: 50px 0; }
  .spec-card { position: static; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; }
  .feature-grid-3 { grid-template-columns: 1fr; }
  .detail { padding: 40px 0; scroll-margin-top: 84px; }
  .detail h2 { font-size: 22px; }
  .spec-card { padding: 20px; }
  .faq { padding: 0 18px; }
  .faq summary { font-size: 15px; padding: 17px 28px 17px 0; }
}

/* ---------- 404 页面 ---------- */
.error-wrap { max-width: 620px; margin: 0 auto; padding: 8px 0 46px; text-align: center; }
.error-code {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(72px, 12vw, 124px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  background: linear-gradient(135deg, var(--brand-600), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.error-lead { font-size: 22px; font-weight: 600; color: var(--ink-900); margin: 14px 0 10px; }
.error-desc { font-size: 15.5px; color: var(--ink-500); line-height: 1.85; margin: 0 auto 26px; max-width: 480px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-links-head { margin-top: 46px; margin-bottom: 34px; }

a.feature { display: block; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.feature:hover { border-color: var(--brand-500); box-shadow: var(--shadow-m); transform: translateY(-2px); }
a.feature:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }
a.feature h3 { color: var(--ink-900); }

@media (max-width: 720px) {
  .error-lead { font-size: 19px; }
  .error-links-head { margin-top: 34px; }
}
