/* ============================================================
   江苏信昇新材料 XINSHENG MAGNETICS — 官网全局样式
   ============================================================ */

:root {
  --primary: #1F3A6B;
  --primary-dark: #142847;
  --primary-light: #2E4F8F;
  --accent: #7AA644;
  --accent-dark: #5E8A33;
  --accent-light: #EAF2DF;
  --ink: #1C2430;
  --muted: #5B6B7F;
  --line: #E3E9F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --bg-dark: #142847;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(20, 40, 71, 0.08);
  --shadow-md: 0 6px 20px rgba(20, 40, 71, 0.10);
  --shadow-lg: 0 14px 40px rgba(20, 40, 71, 0.16);
  --radius: 10px;
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { height: 56px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--primary); background: var(--bg-soft); }

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--bg-soft);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-soft);
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-toggle button.active {
  background: var(--primary);
  color: var(--white);
}

.header-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.header-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { border-color: rgba(255,255,255,0.85); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }

.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-factory.jpg") center 35% / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.10); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 32, 58, 0.92) 0%, rgba(20, 40, 71, 0.78) 42%, rgba(31, 58, 107, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 26px;
  background: rgba(255,255,255,0.08);
}

.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hero-slogan {
  text-align: center;
  margin-bottom: 36px;
}

.hero-slogan strong {
  display: block;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: 8px;
  text-indent: 8px;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-slogan span {
  font-size: 13px;
  letter-spacing: 5px;
  text-indent: 5px;
  color: rgba(255,255,255,0.72);
}

/* ---------- 数据条 ---------- */
.stats-band {
  background: var(--primary-dark);
  color: var(--white);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { padding: 8px 12px; position: relative; }

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -12px; top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.18);
}

.stat-num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 700;
}

.stat-label { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 8px; }

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

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-desc { color: var(--muted); font-size: 16px; }

/* ---------- 首页关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.4;
}

.about-text p { color: var(--muted); margin-bottom: 18px; }

.about-points { margin: 26px 0 32px; display: grid; gap: 14px; }

.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
}

.about-points .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 3px;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-images .img-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

.about-images .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.about-images .img-box:hover img { transform: scale(1.06); }

.about-images .img-tall { grid-row: span 2; min-height: 340px; }
.about-images .img-box:not(.img-tall) { height: 162px; }

.img-caption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 6px 0;
}

/* ---------- 产品卡片（首页） ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.product-icon svg { width: 30px; height: 30px; }

.product-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.product-card .pc-en {
  font-size: 12px;
  color: var(--accent-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.product-card p { font-size: 14px; color: var(--muted); }

/* ---------- 应用卡片 ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--primary-dark);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

.app-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.app-card:hover img { transform: scale(1.1); }

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,32,58,0.92) 0%, rgba(16,32,58,0.35) 55%, rgba(16,32,58,0.05) 100%);
}

.app-card-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.app-card-body h4 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }

.app-card-body .app-en {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.app-card-body p { font-size: 13.5px; color: rgba(255,255,255,0.85); }

/* ---------- 技术优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.3s;
}

.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.adv-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.adv-icon svg { width: 34px; height: 34px; }

.adv-card h4 { font-size: 18px; color: var(--primary-dark); margin-bottom: 4px; }

.adv-card .adv-en {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.adv-card p { font-size: 14px; color: var(--muted); }

/* ---------- 资质条 ---------- */
.cert-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 64px 0;
}

.cert-band .section-title { color: var(--white); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.cert-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  font-size: 13.5px;
  transition: all 0.25s;
}

.cert-item:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }

.cert-item .cert-ico {
  width: 42px; height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.cert-item .cert-en {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  padding: 76px 0;
  background: var(--bg-soft);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-band p { color: var(--muted); max-width: 640px; margin: 0 auto 32px; }

/* ---------- 内页页头 ---------- */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(105deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(122, 166, 68, 0.16);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 120px; bottom: -120px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.breadcrumb a:hover { color: var(--white); }

.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  font-size: 16px;
}

/* ---------- 关于页 ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.about-intro-grid .prose { max-width: 900px; }

.prose p { color: var(--muted); margin-bottom: 18px; }

.prose p:last-child { margin-bottom: 0; }

.fact-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fact-table .fact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.fact-table .fact-row:last-child { border-bottom: none; }

.fact-table .fact-key {
  background: var(--bg-soft);
  padding: 14px 18px;
  font-weight: 600;
  color: var(--primary-dark);
}

.fact-table .fact-val { padding: 14px 18px; color: var(--ink); }

.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.rd-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.rd-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.rd-card h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rd-card h4::before {
  content: "";
  width: 5px; height: 20px;
  border-radius: 3px;
  background: var(--accent);
}

.rd-card p { font-size: 14.5px; color: var(--muted); }

.rd-card ul { margin-top: 12px; display: grid; gap: 8px; }

.rd-card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.rd-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.cert-gallery .cert-figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cert-gallery .cert-figure img { width: 100%; height: 150px; object-fit: cover; }

.cert-gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px;
}

/* 产能 */
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cap-card .cap-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.cap-card .cap-num em { font-style: normal; font-size: 14px; color: var(--accent-dark); }

.cap-card h5 { font-size: 15px; color: var(--primary-dark); margin: 10px 0 6px; }

.cap-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 48px;
}

.factory-gallery .fg-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.factory-gallery .fg-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.factory-gallery .fg-item:hover img { transform: scale(1.08); }

.factory-gallery .fg-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.factory-gallery .fg-item:nth-child(4) { grid-column: span 2; }

.fg-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(to top, rgba(16,32,58,0.8), transparent);
  color: var(--white);
  font-size: 13px;
}

/* ---------- 产品页 ---------- */
.product-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.product-block:last-child { border-bottom: none; }

.product-block:nth-child(even) .product-visual { order: 2; }

.product-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}

.product-visual img { width: 100%; height: 380px; object-fit: cover; }

.product-visual .pv-caption {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 10px 16px;
  text-align: center;
}

.product-info .p-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.product-info h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.product-info .p-en {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.product-info > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table th, .spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  width: 42%;
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.p-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.p-features li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 500;
}

.p-apps {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.p-apps strong { color: var(--primary-dark); }

.subseries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.subseries-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  transition: all 0.25s;
}

.subseries-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.subseries-card h5 {
  font-size: 15.5px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.subseries-card .ss-en {
  font-size: 11px;
  color: var(--accent-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.subseries-card p { font-size: 13.5px; color: var(--muted); }

.download-strip {
  margin-top: 48px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.download-static p { font-size: 14px; }

.download-strip h4 { font-size: 19px; color: var(--primary-dark); margin-bottom: 6px; }

.download-strip p { color: var(--muted); font-size: 14px; }

/* ---------- 应用页 ---------- */
.app-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.app-detail:last-child { border-bottom: none; }

.app-detail:nth-child(even) .app-detail-visual { order: 2; }

.app-detail-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.app-detail-visual img { width: 100%; height: 340px; object-fit: cover; }

.app-detail-body .app-index {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.app-detail-body h3 {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.app-detail-body .ad-en {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.app-detail-body > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.app-detail-body ul { display: grid; gap: 10px; margin-bottom: 20px; }

.app-detail-body ul li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}

.app-detail-body ul li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

.ad-products {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
}

.ad-products strong { color: var(--primary-dark); display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: 1px; }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-cards { display: grid; gap: 18px; }

.contact-card {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s;
}

.contact-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }

.contact-card .cc-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .cc-icon svg { width: 22px; height: 22px; }

.contact-card h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 4px; }

.contact-card p { font-size: 14.5px; color: var(--ink); line-height: 1.8; word-break: break-all; }

.contact-card p a:hover { color: var(--accent-dark); }

/* 联系电话：一个号码一行 + 标签数字两列对齐 */
.tel-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 12px;
  row-gap: 6px;
  align-items: baseline;
}
.tel-list .tel-label,
.tel-list .tel-num { white-space: nowrap; }
.contact-card p.tel-list { word-break: normal; }

.contact-card .cc-en { font-size: 12px; color: var(--muted); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-form .cf-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.reg-info {
  margin-top: 56px;
  background: var(--primary-dark);
  border-radius: var(--radius);
  padding: 40px;
  color: rgba(255,255,255,0.85);
}

.reg-info h3 { color: var(--white); font-size: 20px; margin-bottom: 20px; }

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
  font-size: 14px;
}

.reg-grid .reg-item { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }

.reg-grid .reg-key { font-size: 12px; color: rgba(255,255,255,0.55); display: block; margin-bottom: 3px; }

.reg-grid .reg-val { color: var(--white); font-weight: 500; word-break: break-all; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 10px; border-radius: 8px; }

.footer-brand .fb-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p { font-size: 13.5px; line-height: 1.8; }

.footer-col h5 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col ul li a { font-size: 13.5px; transition: color 0.2s; }

.footer-col ul li a:hover { color: var(--accent); }

.footer-contact li {
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-contact .fc-ico { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.footer-contact .fc-ico svg { width: 15px; height: 15px; display: block; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover { color: var(--accent); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 900;
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.back-top:hover { background: var(--accent-dark); }

.back-top svg { width: 18px; height: 18px; }

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 技术认证模块 ---------- */
.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto 56px;
}

.tech-stat {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 16px;
  transition: all 0.3s;
}

.tech-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tech-stat .ts-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.tech-stat .ts-num em {
  font-style: normal;
  font-size: 16px;
  color: var(--accent-dark);
  margin-left: 4px;
  font-weight: 700;
}

.tech-stat .ts-label { font-size: 14.5px; color: var(--primary-dark); font-weight: 600; margin-top: 8px; }

.tech-stat .ts-en {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.patent-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.patent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.patent-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.patent-card figcaption { padding: 18px 20px 22px; flex: 1; }

.pc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.pc-badge.inv { background: #E8EEF9; color: var(--primary); }
.pc-badge.uti { background: var(--accent-light); color: var(--accent-dark); }

.pc-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.55;
  margin-bottom: 4px;
}

.pc-en-title {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.pc-no {
  display: block;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.software-strip {
  margin-top: 48px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
}

.software-strip h4 { font-size: 20px; color: var(--primary-dark); margin-bottom: 6px; }

.software-strip .ss-desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.software-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.software-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.software-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.software-list .sw-en {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}

@media (max-width: 1080px) {
  .patent-grid { grid-template-columns: repeat(2, 1fr); }
  .software-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .patent-grid { grid-template-columns: 1fr; }
  .software-list { grid-template-columns: 1fr; }
  .patent-card img { height: 250px; }
  .software-strip { padding: 26px 20px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .capacity-grid { grid-template-columns: repeat(3, 1fr); }
  .factory-gallery { grid-template-columns: repeat(2, 1fr); }
  .factory-gallery .fg-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .factory-gallery .fg-item:nth-child(4) { grid-column: span 1; }
  .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 13px 12px; font-size: 16px; }

  .nav-toggle { display: flex; }

  .header-cta { display: none; }

  .about-grid,
  .about-intro-grid,
  .product-block,
  .app-detail,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .product-block:nth-child(even) .product-visual,
  .app-detail:nth-child(even) .app-detail-visual { order: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }

  .stat-item + .stat-item::before { display: none; }

  .app-grid { grid-template-columns: repeat(2, 1fr); }

  .rd-grid { grid-template-columns: 1fr; }

  .hero-slogan { margin-bottom: 26px; }
  .hero-slogan strong { font-size: 22px; letter-spacing: 4px; text-indent: 4px; }
  .hero-slogan span { font-size: 11px; letter-spacing: 2px; text-indent: 2px; }

  .reg-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .factory-gallery .fg-item:nth-child(1) { grid-column: span 1; }
  .cert-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .subseries { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .fact-table .fact-row { grid-template-columns: 104px 1fr; }
  .hero-inner { padding: 64px 24px; }
  .lang-toggle button { padding: 6px 10px; }
}
