/* ============================================================
   枥芯半导体官网原型 · 全局样式
   设计语言：精密工程感 —— 白底、墨绿主色、金属金点缀、等宽数字
   ============================================================ */

:root {
  --ink: #10161A;
  --ink-2: #3D454B;
  --ink-3: #6E787E;
  --line: #E3E7E5;
  --line-strong: #CBD3CE;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F6;
  --bg-softer: #FAFBFA;
  --brand: #0C6B4C;
  --brand-strong: #095539;
  --brand-deep: #0A3D2C;
  --brand-soft: #E9F3EE;
  --brand-line: #C4DDD2;
  --gold: #A88434;
  --gold-soft: #F5EEDA;
  --dark: #0C1210;
  --dark-2: #131B17;
  --dark-line: rgba(255, 255, 255, 0.09);
  --danger: #B3362B;
  --radius: 8px;
  --radius-sm: 6px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --shadow-sm: 0 1px 2px rgba(16, 22, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 22, 26, 0.08);
  --shadow-lg: 0 24px 64px rgba(16, 22, 26, 0.14);
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用文案 ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.eyebrow.on-dark { color: #7EC9A9; }

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin: 14px 0 12px;
}
.section-head p { color: var(--ink-3); font-size: 15px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 6px 16px rgba(12, 107, 76, 0.28); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EDF3F0; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- 标签 ---------- */
.tech-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}
.tech-GaN  { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.tech-GaAs { background: var(--gold-soft);  color: #7E5E17;      border-color: #E3D3A6; }
.tech-MMIC { background: #E9EEF3;           color: #33506B;      border-color: #C9D6E2; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(16, 22, 26, 0.07); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-size: 17px; font-weight: 700; }
.brand-name small { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -2px;
  height: 2px;
  background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lang-select { height: 38px; min-width: 92px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 500; padding: 0 30px 0 12px; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.lang-select:hover, .lang-select:focus { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); outline: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.header-phone svg { width: 15px; height: 15px; color: var(--brand); }
.header-phone:hover { color: var(--brand); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 6px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle:hover { background: var(--bg-soft); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  min-height: calc(92vh - var(--header-h));
  display: flex;
  flex-direction: column;
}
.hero-circuit {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%232E8B6A' stroke-opacity='0.14'%3E%3Cpath d='M20 20h80v60h60'/%3E%3Cpath d='M200 100v60h-50v40'/%3E%3Cpath d='M40 200v-50h70'/%3E%3Cpath d='M120 240v-40h40'/%3E%3C/g%3E%3Cg fill='%232E8B6A' fill-opacity='0.2'%3E%3Ccircle cx='20' cy='20' r='2.5'/%3E%3Ccircle cx='160' cy='80' r='2.5'/%3E%3Ccircle cx='200' cy='100' r='2.5'/%3E%3Ccircle cx='150' cy='200' r='2.5'/%3E%3Ccircle cx='40' cy='200' r='2.5'/%3E%3Ccircle cx='110' cy='150' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(720px 480px at 72% 42%, rgba(46, 139, 106, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  flex: 1;
  padding-top: 72px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.18;
  font-weight: 700;
  margin: 20px 0 18px;
}
.hero h1 .accent { color: #8FD3B4; }
.hero-sub { color: rgba(255, 255, 255, 0.66); font-size: 16px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.02);
}
.hero-stats .container-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 28px;
  border-left: 1px solid var(--dark-line);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.stat b i { font-style: normal; font-size: 14px; color: #7EC9A9; margin-left: 4px; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

@keyframes waveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-240px); }
}
.wave-anim { animation: waveDrift 16s linear infinite; }
.wave-anim.slow { animation-duration: 26s; }
@media (prefers-reduced-motion: reduce) {
  .wave-anim { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.about-art {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.about-art::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 420px at 50% 50%, rgba(46, 139, 106, 0.14), transparent 70%);
}
.about-art svg { position: relative; width: 100%; height: auto; }
.about-copy h2 { font-size: 32px; line-height: 1.3; font-weight: 700; margin: 14px 0 16px; }
.about-copy > p { color: var(--ink-3); margin-bottom: 14px; }
.about-points { margin: 26px 0 32px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.about-points svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.about-points b { color: var(--ink); font-weight: 600; }

/* ---------- 技术平台 ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.platform-card:hover::before { transform: scaleX(1); }
.platform-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.platform-icon svg { width: 26px; height: 26px; color: var(--brand); }
.platform-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.platform-card .plat-en { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; display: block; margin-bottom: 14px; }
.platform-card > p { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; min-height: 66px; }
.platform-specs { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 8px; }
.platform-specs div { display: flex; justify-content: space-between; font-size: 13px; }
.platform-specs dt { color: var(--ink-3); }
.platform-specs dd { font-family: var(--mono); font-weight: 600; color: var(--ink); }

/* ---------- 热门产品 ---------- */
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.product-card-model { display: flex; align-items: center; gap: 12px; }
.product-card-model .pkg-thumb { width: 44px; height: 32px; flex-shrink: 0; }
.pkg-thumb-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pkg-dimension-image { width: 100%; max-height: 320px; object-fit: contain; display: block; }
.product-card-model b { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.product-card-app { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.product-card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.product-card-specs div { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; }
.product-card-specs dt { color: var(--ink-3); }
.product-card-specs dd { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 12.5px; }
.section-more { text-align: center; margin-top: 44px; }

/* ---------- 封装条（首页） ---------- */
.pkg-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pkg-strip-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 14px;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pkg-strip-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pkg-strip-item .draw { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pkg-strip-item b { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.pkg-strip-item span { font-size: 12px; color: var(--ink-3); }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta-band .hero-circuit { opacity: 0.7; }
.cta-band-inner {
  position: relative; z-index: 2;
  padding: 88px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { font-size: 30px; font-weight: 700; margin: 12px 0 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.62); max-width: 520px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.66); border-top: 1px solid var(--dark-line); }
.footer-main { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { font-size: 13px; margin: 18px 0; max-width: 300px; line-height: 1.8; }
.footer-tags { display: flex; gap: 8px; }
.footer-tags span {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #8FD3B4;
  padding: 3px 10px; border-radius: 4px;
}
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; font-size: 13.5px; }
.footer-col a:hover { color: #8FD3B4; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.footer-contact svg { width: 15px; height: 15px; color: #7EC9A9; flex-shrink: 0; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
  flex-wrap: wrap;
}

/* ---------- 子页面页头 ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero h1 { font-size: 38px; font-weight: 700; margin: 14px 0 12px; line-height: 1.25; }
.page-hero p { color: var(--ink-3); max-width: 640px; font-size: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 13px; height: 13px; }
.breadcrumb .cur { color: var(--ink); font-weight: 500; }

/* ---------- 产品中心 ---------- */
.products-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 32px; padding: 48px 0 96px; align-items: start; }
.filter-toggle { display: none; }
.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-head h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.filter-head h3 svg { width: 16px; height: 16px; color: var(--brand); }
.filter-reset { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.filter-reset svg { width: 13px; height: 13px; }
.filter-reset:hover { color: var(--danger); }
.filter-group { border-top: 1px dashed var(--line); padding: 16px 0; }
.filter-group > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.filter-group > label small { font-weight: 400; color: var(--ink-3); font-family: var(--mono); margin-left: 4px; }
.range-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-inputs .sep { color: var(--ink-3); font-size: 13px; }
.range-inputs input {
  width: 100%; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-softer);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.range-inputs input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12, 107, 76, 0.12); background: #fff; }
.tech-checks { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-check { position: relative; }
.tech-check input { position: absolute; opacity: 0; pointer-events: none; }
.tech-check span {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all 0.15s ease; background: #fff;
}
.tech-check input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.tech-check span:hover { border-color: var(--brand); color: var(--brand); }
.tech-check input:checked + span:hover { color: #fff; }
.applied-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand-deep);
}
.applied-chip button { display: inline-flex; color: var(--brand); }
.applied-chip button svg { width: 12px; height: 12px; }
.applied-chip button:hover { color: var(--danger); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results-count { font-size: 14px; color: var(--ink-3); }
.results-count b { font-family: var(--mono); color: var(--brand); font-size: 16px; }
.results-right { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.sort-select {
  height: 36px; padding: 0 32px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 13px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E787E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--brand); }

.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 860px; table-layout: fixed; }
.spec-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 13px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: normal;
  overflow-wrap: anywhere;
  user-select: none;
}
.spec-table th small { font-family: var(--mono); font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.spec-table th:nth-child(1) { width: 20%; }
.spec-table th:nth-child(2) { width: 17%; }
.spec-table th:nth-child(3) { width: 9%; }
.spec-table th:nth-child(4) { width: 10%; }
.spec-table th:nth-child(5) { width: 11%; }
.spec-table th:nth-child(6) { width: 9%; }
.spec-table th:nth-child(7) { width: 10%; }
.spec-table th:nth-child(8) { width: 14%; }
.spec-table th.sortable { cursor: pointer; }
.spec-table th.sortable:hover { color: var(--brand); }
.spec-table th .sort-arrow { display: inline-block; width: 10px; margin-left: 4px; font-family: var(--mono); color: var(--brand); }
.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  white-space: nowrap;
  vertical-align: middle;
}
.spec-table th:last-child, .spec-table td:last-child { padding-left: 10px; padding-right: 10px; }
.spec-table tbody tr { transition: background 0.12s ease; }
.spec-table tbody tr:hover { background: var(--brand-soft); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td.num { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.table-loading { padding: 28px 0; text-align: center; color: var(--ink-3); font-size: 13px; }
.cell-model { display: flex; align-items: center; gap: 12px; }
.cell-model .pkg-thumb { width: 42px; height: 30px; flex-shrink: 0; }
.cell-model a { font-family: var(--mono); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.cell-model a:hover { color: var(--brand); text-decoration: underline; }
.cell-link { color: var(--brand); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.cell-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.cell-link:hover svg { transform: translateX(3px); }

/* 空状态 */
.empty-state {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 72px 32px;
  text-align: center;
}
.empty-state .empty-icon {
  width: 64px; height: 64px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
}
.empty-state .empty-icon svg { width: 28px; height: 28px; color: var(--brand); }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.empty-state p { color: var(--ink-3); max-width: 460px; margin: 0 auto 26px; font-size: 14.5px; }

/* 分页 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.page-btn:hover:not([disabled]):not(.cur) { border-color: var(--brand); color: var(--brand); }
.page-btn.cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.page-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.page-btn svg { width: 14px; height: 14px; }

/* ---------- 产品详情 ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 56px 0 64px; align-items: start; }
.detail-visual {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
}
.detail-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 300px at 50% 46%, rgba(46, 139, 106, 0.16), transparent 70%);
}
.detail-visual .draw { position: relative; display: flex; justify-content: center; }
.detail-visual .visual-note {
  position: relative;
  margin-top: 26px;
  border-top: 1px solid var(--dark-line);
  padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.45);
}
.detail-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 10px 0 14px; }
.detail-title h1 { font-family: var(--mono); font-size: 36px; font-weight: 700; }
.detail-desc { color: var(--ink-3); font-size: 15px; margin-bottom: 28px; }
.key-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.key-spec {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.key-spec dt { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.key-spec dd { font-family: var(--mono); font-size: 19px; font-weight: 600; line-height: 1.2; }
.key-spec dd i { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 3px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-section { padding: 40px 0; border-top: 1px solid var(--line); }
.detail-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.detail-section h2 svg { width: 20px; height: 20px; color: var(--brand); }
.param-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.param-table th, .param-table td { padding: 12px 18px; font-size: 13.5px; text-align: left; border-bottom: 1px solid var(--line); }
.param-table th { background: var(--bg-soft); color: var(--ink-3); font-weight: 500; width: 42%; }
.param-table td { font-family: var(--mono); font-weight: 500; }
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: none; }

.detail-pkg { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.detail-pkg .draw-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; justify-content: center;
}
.pkg-info-list { display: grid; gap: 0; }
.pkg-info-list div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.pkg-info-list div:last-child { border-bottom: none; }
.pkg-info-list dt { color: var(--ink-3); }
.pkg-info-list dd { font-family: var(--mono); font-weight: 500; text-align: right; }
.detail-pkg .btn { margin-top: 18px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- 封装外形 ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 56px 0 96px; }
.pkg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.pkg-card .draw { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pkg-card h3 { font-size: 16px; font-weight: 700; }
.pkg-card .code { font-family: var(--mono); font-size: 12px; color: var(--brand); font-weight: 600; display: block; margin: 2px 0 12px; }
.pkg-card .meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pkg-card .meta span {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 4px;
}
.pkg-card .view-hint { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.pkg-card .view-hint svg { width: 13px; height: 13px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(12, 18, 16, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff;
  border-radius: 12px;
  width: 880px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  transform: translateY(14px);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.modal-mask.open .modal { transform: translateY(0); }
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 26px 30px 0;
}
.modal-head h3 { font-size: 20px; font-weight: 700; }
.modal-head .code { font-family: var(--mono); font-size: 12.5px; color: var(--brand); font-weight: 600; }
.modal-close {
  width: 36px; height: 36px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); flex-shrink: 0;
}
.modal-close:hover { background: var(--bg-soft); color: var(--danger); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 22px 30px 30px; }
.modal-pkg-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.modal-draw-box { background: var(--bg-softer); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; display: flex; align-items: center; justify-content: center; }
.modal-spec-title { font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.modal-desc { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.modal-products { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.modal-products h5 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.modal-products .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-products .chips a {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand-deep);
  border: 1px solid var(--brand-line);
  padding: 4px 10px; border-radius: 4px;
}
.modal-products .chips a:hover { background: var(--brand); color: #fff; }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- 表单页面 ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 56px 0 96px; align-items: start; }
.side-panel {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  position: sticky;
}
.side-panel .hero-circuit { opacity: 0.5; }
.side-panel > * { position: relative; }
.side-panel h3 { font-size: 20px; font-weight: 700; margin: 12px 0 26px; }
.process-steps { display: grid; gap: 0; }
.process-step { display: flex; gap: 18px; padding-bottom: 26px; position: relative; }
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px; top: 42px; bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.process-step:last-child { padding-bottom: 0; }
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: #8FD3B4;
  background: rgba(255, 255, 255, 0.04);
}
.process-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; padding-top: 2px; }
.process-step p { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.side-contact { margin-top: 34px; border-top: 1px solid var(--dark-line); padding-top: 26px; display: grid; gap: 12px; }
.side-contact li { display: flex; gap: 11px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }
.side-contact svg { width: 15px; height: 15px; color: #7EC9A9; flex-shrink: 0; }
.side-contact .mono { font-weight: 600; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-card > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.form-card > .form-lead { color: var(--ink-3); font-size: 14px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: 13.5px; font-weight: 600; }
.field > label .req { color: var(--danger); margin-left: 3px; }
.field > label small { font-weight: 400; color: var(--ink-3); margin-left: 5px; font-family: var(--mono); font-size: 11.5px; }
.field input, .field textarea, .field select {
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 13px;
  font-size: 14px;
  background: var(--bg-softer);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
}
.field textarea { height: auto; padding: 12px 13px; resize: vertical; min-height: 110px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12, 107, 76, 0.12);
  background: #fff;
}
.field.error input, .field.error textarea { border-color: var(--danger); background: #FDF6F5; }
.field .err-msg { font-size: 12px; color: var(--danger); display: none; }
.field.error .err-msg { display: block; }
.field .pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.field .pair .sep { color: var(--ink-3); }
.field .pair input { font-family: var(--mono); }

fieldset.spec-fieldset {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  margin: 4px 0 0;
}
fieldset.spec-fieldset legend { font-size: 13.5px; font-weight: 700; padding: 0 10px; margin-left: -4px; }
fieldset.spec-fieldset .fs-lead { font-size: 12.5px; color: var(--ink-3); margin: -4px 0 18px; }
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.radio-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all 0.15s ease; background: #fff;
  font-family: var(--mono);
}
.radio-pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.radio-pill span:hover { border-color: var(--brand); }

.captcha-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.captcha-question {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  user-select: none; white-space: nowrap;
}
.captcha-refresh { color: var(--ink-3); display: inline-flex; }
.captcha-refresh:hover { color: var(--brand); }
.captcha-refresh svg { width: 15px; height: 15px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--ink-3); }

/* 提交成功 */
.success-panel { text-align: center; padding: 48px 24px; }
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  background: var(--brand-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 34px; height: 34px; color: var(--brand); }
.success-panel h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.success-panel p { color: var(--ink-3); font-size: 14.5px; max-width: 440px; margin: 0 auto 8px; }
.success-panel .ticket { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px dashed var(--brand-line); display: inline-block; padding: 8px 18px; border-radius: var(--radius-sm); margin: 14px 0 26px; }

/* ---------- 联系方式 ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 56px 0 96px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.18s ease;
}
.info-card:hover { border-color: var(--brand-line); }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--brand-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; color: var(--brand); }
.info-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.info-card p { font-size: 13.5px; color: var(--ink-3); }
.info-card p b { font-family: var(--mono); color: var(--ink); font-weight: 600; font-size: 14px; }
.map-card {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.map-card svg { width: 100%; height: auto; display: block; }
.map-cap { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.map-cap svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 400; display: grid; gap: 10px; justify-items: center; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 500;
  padding: 12px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
}
.toast svg { width: 16px; height: 16px; color: #8FD3B4; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .hero-art { max-width: 520px; }
  .about-grid { gap: 40px; }
  .platform-grid, .hot-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-visual { position: static; max-width: 520px; }
  .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-head h2, .about-copy h2 { font-size: 26px; }
  .main-nav, .header-phone { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 2px;
  }
  .main-nav.open a { padding: 12px 14px; font-size: 15px; }
  .main-nav a.active::after { display: none; }
  .main-nav.open a.active { background: var(--brand-soft); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 32px; }
  .hero-stats .container-wide { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 20px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat b { font-size: 21px; }
  .about-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .filter-card { position: static; display: none; }
  .filter-card.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .page-hero h1 { font-size: 28px; }
  .detail-pkg { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .modal-pkg-layout { grid-template-columns: 1fr; }
  .form-grid, .fs-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; padding: 64px 0; }
  .cta-band h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .platform-grid, .hot-grid, .pkg-grid { grid-template-columns: 1fr; }
  .pkg-strip { grid-template-columns: repeat(2, 1fr); }
  .key-specs { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; padding: 56px 0 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .detail-title h1 { font-size: 27px; }
  .hero-cta .btn { width: 100%; }
  .stat b { font-size: 19px; }
}
