/* =========================================================
   俊逸达科技 JUNYIDA TECHNOLOGY · 企业官网样式
   纯静态 / 深色科技风 / 多子页面 / 响应式
   ========================================================= */

:root {
  --bg: #081020;
  --panel: #0d1727;
  --line: rgba(124, 176, 255, 0.14);
  --line-strong: rgba(56, 189, 248, 0.34);
  --text: #eaf3ff;
  --muted: #9fb2c8;
  --dim: #7087a3;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --blue: #3b82f6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 48%, #8b5cf6 100%);
  --radius: 18px;
  --maxw: 1200px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(900px 520px at -8% 16%, rgba(139, 92, 246, 0.13), transparent 62%),
    radial-gradient(800px 700px at 50% 108%, rgba(34, 211, 238, 0.09), transparent 65%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--cyan);
  color: #04121a;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 通用容器 / 按钮 ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-image: var(--grad);
  background-size: 140% 140%;
  background-position: 0% 50%;
  color: #f4fbff;
  box-shadow:
    0 10px 26px rgba(34, 211, 238, 0.18),
    0 0 0 1px rgba(34, 211, 238, 0.22) inset;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow:
    0 14px 34px rgba(59, 130, 246, 0.24),
    0 0 0 1px rgba(34, 211, 238, 0.4) inset;
}

.btn-outline,
.btn-ghost {
  border-color: var(--line);
  background: rgba(12, 22, 38, 0.55);
  color: var(--text);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(56, 189, 248, 0.08);
}

.btn-ghost {
  padding: 10px 18px;
  font-size: 13px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(6, 11, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 10, 18, 0.88);
  border-bottom-color: var(--line);
}

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

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

.brand-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
  /* 深色背景下提亮 logo：增亮 + 增饱和 + 沿图形轮廓的青色微光，更醒目 */
  filter: brightness(1.18) saturate(1.18) drop-shadow(0 0 12px rgba(56, 189, 248, 0.42));
}

.brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  /* 与 logo 提亮呼应：文字提亮 + 青色微光 */
  color: #cbdef4;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
  white-space: nowrap;
}

/* 头部 logo 叠在半透明模糊背景上，光晕观感弱于深色实底的页脚，定向补偿使两处观感一致 */
.site-header .brand-logo {
  filter: brightness(1.32) saturate(1.32) drop-shadow(0 0 14px rgba(56, 189, 248, 0.55));
}

.site-header .brand-tag {
  color: #e4efff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

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

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}

.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background-image: var(--grad);
}

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

.lang {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 22, 38, 0.55);
}

.lang-btn {
  padding: 5px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background-image: var(--grad);
  color: #f4fbff;
}

/* 头部「获取方案」按钮：比语言切换稍大 */
.header-cta {
  padding: 11px 18px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 22, 38, 0.55);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 页面 Hero + 面包屑 ---------- */

.page-hero {
  position: relative;
  /* 顶部为固定导航栏留出占位：背景图从导航栏下沿开始，避免图上部分被导航栏遮住 */
  padding: var(--header-h) 0 0;
  overflow: hidden;
  /* 网格堆叠：图片与文字同处一个单元格，容器高度 = 两者取大
     图片按原比例完整显示；文字超高时容器向下延伸，图片不动、不裁剪 */
  display: grid;
}

.page-hero .hero-bg {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
}

.page-hero .hero-bg img {
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  object-fit: fill;
  opacity: 0.8;
}

/* 文字与图片同单元格叠加，顶部对齐（内容起点与首页 hero 的 PCBA 徽标块对齐：header 占位 + 88px） */
.page-hero > .container {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: start;
  display: grid;
  align-content: start;
  /* 导航栏占位已由 .page-hero 的 padding-top 提供，此处不再重复预留 */
  padding: 88px 0 40px;
}

.page-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.18) 0%, rgba(8, 16, 32, 0.04) 45%, rgba(8, 16, 32, 0.08) 68%, var(--bg) 100%),
    radial-gradient(720px 320px at 20% 20%, rgba(56, 189, 248, 0.14), transparent 65%);
}

/* 联系页背景为明亮白色办公场景，与深色主题反差过大：
   整体压一层深色雾化统一色调，并让图片下沿渐隐到页面底色，
   避免出现“亮图 → 深底”的硬分界 */
body[data-page="contact"] .page-hero .hero-bg img {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.9) 63%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.9) 63%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
}

body[data-page="contact"] .page-hero .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.5) 0%, rgba(8, 16, 32, 0.46) 30%, rgba(8, 16, 32, 0.42) 56%, rgba(8, 16, 32, 0.3) 74%, rgba(8, 16, 32, 0.1) 90%, rgba(8, 16, 32, 0) 100%),
    radial-gradient(720px 320px at 20% 20%, rgba(56, 189, 248, 0.08), transparent 65%);
}

/* 产品页背景图为 16:9，按原比例铺满时 hero 过高（首屏需滚动）。
   压缩到与 business-scope 相同的比例，超出部分从底部裁掉、顶部对齐，
   保证机械装置主体完整保留 */
body[data-page="products"] .page-hero .hero-bg img {
  aspect-ratio: 2368 / 1056;
  object-fit: cover;
  object-position: 50% 0;
}

.page-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  max-width: 860px;
}

.page-hero .lead {
  margin-top: 18px;
  max-width: 780px;
  font-size: 16.5px;
  /* 与首页 .hero-desc 保持一致：亮色文字 + 深色投影，保证背景图上的可读性 */
  color: #cfdef2;
  text-shadow: 0 1px 6px rgba(4, 10, 20, 0.85), 0 0 14px rgba(4, 10, 20, 0.5);
}

/* ---------- 通用 Section ---------- */

.section {
  position: relative;
  padding: 88px 0;
}

.section.tight {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(10, 18, 32, 0) 0%, rgba(10, 18, 32, 0.75) 18%, rgba(10, 18, 32, 0.75) 82%, rgba(10, 18, 32, 0) 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background-image: var(--grad);
}

.section-head h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.28;
}

.section-head .lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

/* 中文界面：桌面端副标题压缩到一行显示（英文界面与移动端保持自然折行） */
@media (min-width: 921px) {
  html[lang="zh-CN"] .page-hero .lead,
  html[lang="zh-CN"] .section-head .lead {
    white-space: nowrap;
    font-size: 15px;
  }
}

.grad-text {
  background: linear-gradient(92deg, #22d3ee 0%, #38bdf8 40%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 图文分栏 ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}

.split + .split {
  margin-top: 88px;
}

.split .copy h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.split .copy .sub {
  margin-bottom: 22px;
  color: var(--muted);
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 8, 18, 0.55);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.1), transparent 42%);
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-frame.square img {
  aspect-ratio: 1 / 1;
}

.media-frame.wide img {
  aspect-ratio: 16 / 9;
}

/* 图文分栏内：配图底部对齐段落，高度由 main.js 按「副标题起的内容高度」设定 */
.split .media {
  display: flex;
}

.split .media-frame {
  flex: 1;
}

.split .media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

/* Products_IQC 高度特例：固定 158px（920px 以下仍恢复比例显示） */
.media-frame.iqc-fixed {
  height: 158px !important;
}

/* 带锚点的分栏：滚动定位时避开固定头部 */
.split[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* 居中按钮行 */
.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- 勾选清单 ---------- */

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 23, 39, 0.6);
  font-size: 14.5px;
  color: var(--muted);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.check-list li:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateX(4px);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.16));
}

/* ---------- 数字编号卡片 ---------- */

.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.num-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.5), rgba(13, 23, 39, 0.8));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.num-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.5);
}

.num-card .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #22d3ee, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.num-card h3 {
  margin: 10px 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
}

.num-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 服务大卡片（首页 Core Services） ---------- */

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

.svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(17, 30, 51, 0.5), rgba(13, 23, 39, 0.85));
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow:
    0 20px 44px rgba(2, 8, 18, 0.55),
    0 0 0 1px rgba(34, 211, 238, 0.18);
}

/* reveal 入场动画结束后仍保留 hover 上浮（specificity 高于 .reveal.is-visible 的 transform:none） */
html.js .svc-card.reveal.is-visible:hover {
  transform: translateY(-6px);
}

/* 顶部光线：全宽贴顶，两端由卡片 overflow:hidden 沿圆角裁剪出嵌进圆弧的尖点（同 szqdtech .biz-card） */
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(34, 211, 238, 0.75) 55%, rgba(139, 92, 246, 0.45) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

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

/* 图标 hover：渐变底变色 + 高亮 + 逆时针转（参数同 szqdtech .biz-card:hover .biz-icon） */
.svc-card:hover .icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}

.svc-card:hover h3 {
  background: linear-gradient(92deg, #22d3ee 0%, #38bdf8 55%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  transition: all 0.35s ease;
}

.svc-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h3 {
  font-size: 17.5px;
  font-weight: 650;
}

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

/* 了解更多链接（参数同 szqdtech .biz-more，深色主题色） */
.biz-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

.biz-more .arw {
  transition: transform 0.25s ease;
}

.svc-card:hover .biz-more .arw,
.biz-more:hover .arw {
  transform: translateX(5px);
}

/* ---------- 统计带 ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 240px at 8% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(17, 30, 51, 0.55), rgba(10, 18, 32, 0.9));
}

.stat .val {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(120deg, #22d3ee, #38bdf8 55%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .val small {
  font-size: 0.62em;
  font-weight: 700;
}

.stat .label {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 流程步骤 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.5), rgba(13, 23, 39, 0.8));
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.step-card .step-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.step-card h3 {
  margin: 14px 0 8px;
  font-size: 16.5px;
  font-weight: 650;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 方案组合表格 ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.45), rgba(10, 18, 32, 0.9));
  overflow-x: auto;
}

.pkg-table {
  min-width: 760px;
}

.pkg-table th,
.pkg-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pkg-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  white-space: nowrap;
}

.pkg-table tbody th {
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
}

.pkg-table td {
  color: var(--muted);
  line-height: 1.6;
}

.pkg-table tbody tr {
  transition: background-color 0.25s ease;
}

.pkg-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.05);
}

.pkg-table tbody tr:last-child th,
.pkg-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 应用方案图卡 ---------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

@media (max-width: 1080px) {
  .app-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 640px) {
  .app-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
  }
}

.app-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px rgba(2, 8, 18, 0.5);
}

.app-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 品质四卡 ---------- */

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

.qa-card {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.5), rgba(13, 23, 39, 0.8));
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.qa-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.qa-card .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.qa-card h3 {
  margin: 14px 0 8px;
  font-size: 16.5px;
  font-weight: 650;
}

.qa-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 价值观四卡 ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(17, 30, 51, 0.5), rgba(13, 23, 39, 0.85));
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.value-card .idx {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.value-card h3 {
  margin: 12px 0 8px;
  font-size: 16.5px;
  font-weight: 650;
}

.value-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 认证徽章 ---------- */

.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-chips li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 23, 39, 0.6);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.cert-chips li:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}

/* ---------- 联系页 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(56, 189, 248, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(17, 30, 51, 0.55), rgba(10, 18, 32, 0.9));
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 16px 36px rgba(2, 8, 18, 0.5),
    0 0 0 1px rgba(34, 211, 238, 0.18);
}

.contact-card:hover .info-icon {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.16);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.25);
}

.contact-card:hover .v a {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.info-icon svg {
  width: 21px;
  height: 21px;
}

.contact-card .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.contact-card .v {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

.contact-card .v a {
  transition: color 0.25s ease;
}

.contact-card .v a:hover {
  color: var(--cyan);
}

.form-card {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.55), rgba(10, 18, 32, 0.92));
  box-shadow: 0 24px 60px rgba(2, 8, 18, 0.5);
}

.form-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.form-card .form-sub {
  margin: 8px 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.field label .req {
  color: #f97316;
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 11, 20, 0.7);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(112, 135, 163, 0.75);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb2c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),
    rgba(6, 11, 20, 0.7);
  background-repeat: no-repeat;
  background-position: right 12px center, center;
  background-size: 16px, 100%;
  padding-right: 40px;
  cursor: pointer;
}

.field select option {
  background: #0d1727;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

/* 必填校验错误态 */
.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: #f87171;
}

.field-err {
  display: none;
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #f87171;
}

/* 仅错误态显示提示词；字段重新输入（is-error 移除）后提示自动隐藏 */
.field.is-error .field-err {
  display: block;
}

.form-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.6;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  font-size: 13.5px;
  color: var(--cyan);
}

.form-feedback.is-visible {
  display: block;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 23, 39, 0.6);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .q-idx {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
}

.faq-item summary .q-arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary .q-arrow {
  transform: rotate(180deg);
}

.faq-item .answer {
  padding: 0 20px 18px 64px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- CTA 横幅 ---------- */

.cta-band {
  position: relative;
  padding: 64px 48px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(640px 280px at 12% 0%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(640px 280px at 88% 100%, rgba(139, 92, 246, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(17, 30, 51, 0.6), rgba(10, 18, 32, 0.95));
  overflow: hidden;
}

.cta-band .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
}

.cta-band p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 620px;
}

.cta-band .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.4), rgba(4, 8, 15, 0.95));
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.6fr 0.85fr 1.4fr;
  gap: 44px;
}

.footer-brand .brand {
  margin-bottom: 16px;
  /* 整块收缩到标题宽度并靠列左侧 */
  width: fit-content;
  /* logo 图形与下方 Joint · Yield · Deliver 三个词互为中心对齐 */
  align-items: center;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.7;
  max-width: 380px;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 22, 38, 0.55);
  color: var(--muted);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--dim);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
}

/* 页脚备案信息（ICP 备案号，链接至工信部备案查询） */
.footer-beian {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-beian a {
  color: var(--dim);
  transition: color 0.25s ease;
}

.footer-beian a:hover {
  color: var(--cyan);
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  /* 内容顶部对齐并适度下移：移除装饰后整体上移，观感比垂直居中更饱满 */
  align-items: flex-start;
  padding: calc(var(--header-h) + 88px) 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.4) 0%, rgba(8, 16, 32, 0.14) 45%, rgba(8, 16, 32, 0.14) 68%, var(--bg) 100%),
    radial-gradient(720px 320px at 20% 20%, rgba(56, 189, 248, 0.14), transparent 65%);
}

.hero-inner {
  display: grid;
  /* 单列布局（右侧芯片动效装饰已移除） */
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--sky);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero-title span {
  display: block;
}

/* 两行标题各自单行显示：主行大、副行小 */
.hero-title .t1 {
  white-space: nowrap;
  font-size: clamp(20px, 2.6vw, 38px);
}

.hero-title .t2 {
  white-space: nowrap;
  font-size: clamp(11px, 1.5vw, 22px);
  font-weight: 600;
  margin-top: 8px;
}

.hero-desc {
  margin-top: 20px;
  max-width: 620px;
  font-size: 16.5px;
  /* 提亮背景图上的段落文字：亮色 + 轻微深色阴影保证可读性 */
  color: #cfdef2;
  text-shadow: 0 1px 6px rgba(4, 10, 20, 0.85), 0 0 14px rgba(4, 10, 20, 0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ---------- 滚动入场动效 ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */

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

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

@media (max-width: 920px) {
  :root {
    --header-h: 74px;
  }

  .brand-logo {
    height: 46px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 10, 18, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 14px;
    font-size: 15.5px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(56, 189, 248, 0.1);
  }

  .menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-bottom: 64px;
  }

  /* 移动端内页 hero 内容回退到贴近导航栏，避免桌面端 202px 起点挤压小屏 */
  .page-hero > .container {
    padding: 48px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split + .split {
    margin-top: 64px;
  }

  .split .media {
    order: -1;
  }

  /* 移动端单列：忽略 JS 定高，恢复固定比例 */
  .split .media-frame {
    height: auto !important;
  }

  .split .media-frame img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .page-hero > .container {
    padding: 36px 0;
  }

  .num-grid,
  .svc-grid,
  .steps,
  .values-grid,
  .qa-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .qa-card,
  .step-card,
  .num-card,
  .svc-card,
  .value-card {
    padding: 22px 20px;
  }

  .faq-item .answer {
    padding-left: 20px;
  }

  .cta-band {
    padding: 44px 24px;
  }

  .stats-band {
    padding: 26px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .form-card {
    padding: 26px 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

