/* =========================================================
   智慧星光官网 · 共享设计系统 v2
   统一颜色、字体、导航、按钮、页脚、基础组件
========================================================= */

@import url('https://fonts.font.im/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,300;8..60,400;8..60,500;8..60,600&display=swap');

:root {
  /* 深色（靛蓝倾向，替换纯煤黑） */
  --ink-0: #0E1424;
  --ink-1: #141B2E;
  --ink-2: #1A2238;
  --ink-3: #222B45;
  --ink-4: #2E3A5A;

  /* 亮色（米白 + 冷暖交替） */
  --bg: #FAFAF8;         /* 主底，暖灰米白 */
  --bg-soft: #F4F7FB;    /* 冷白（浅冰蓝倾向，用于交替段） */
  --bg-paper: #FAF8F3;   /* 暖白（浅米色倾向，用于案例/资讯） */
  --bg-muted: #EEF1F5;
  --bg-pure: #FFFFFF;    /* 保留纯白用于卡片 */

  /* 文字 */
  --text: #0A0F1A;
  --text-1: #1E293B;
  --text-2: #475569;
  --text-3: #64748B;
  --text-4: #94A3B8;

  /* 线条 */
  --line: #E2E8F0;
  --line-soft: #EDF1F6;
  --line-strong: #CBD5E1;

  /* 品牌色（主光源） */
  --brand: #0EA5E9;
  --brand-dark: #0284C7;
  --brand-ice: #38BDF8;
  --brand-bright: #7DD3FC;

  /* 品牌标识色（Logo 用） */
  --logo-navy: #1A2855;
  --logo-red: #D0232A;

  /* 辅色（次光源：暖色对冲用） */
  --accent-amber: #F59E0B;     /* 品牌治理 */
  --accent-gold: #FCD34D;      /* 光源高光 */
  --accent-rose: #F43F5E;      /* 风险/告警 */
  --accent-green: #10B981;
  --accent-purple: #7C3AED;
  --accent-violet: #A78BFA;    /* 冷色系补光 */

  /* 尺寸 */
  --nav-h: 76px;
  --maxw: min(90vw, 1440px);

  /* ============================================================
     设计系统升级 · 2026.05（向海外版对齐）
     ============================================================ */

  /* 阴影 4 档 · 替代 rgba() 散用 */
  --shadow-xs: 0 1px 2px rgba(11,18,32,0.04);
  --shadow-sm: 0 2px 8px rgba(11,18,32,0.05);
  --shadow-md: 0 8px 24px rgba(11,18,32,0.07);
  --shadow-lg: 0 16px 40px rgba(11,18,32,0.08);
  --shadow-xl: 0 24px 56px rgba(11,18,32,0.10);
  --shadow-brand: 0 16px 40px rgba(14, 165, 233, 0.14);
  --shadow-amber: 0 16px 40px rgba(245, 158, 11, 0.14);

  /* 动效标准 · 统一 transition */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;

  /* 圆角规范 */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 12px;

  /* 间距系统 · 8px 基础网格 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(14, 165, 233, 0.25); color: inherit; }

/* 中文排版 · 禁止拆词 */
h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ============================================================
   全局溢出兜底（防止 1024-1280px 视窗下长中文串撑破容器）
   ============================================================ */
html, body { overflow-x: clip; }
p, li, blockquote, span { overflow-wrap: anywhere; }
/* Grid / Flex 子项允许被父容器压缩，不再硬撑 */
[class*="grid"] > *,
[class*="flex"] > *,
[class*="row"] > *,
.prod-item, .case-card, .side-item, .hero-left, .hero-hud,
.news-feature, .news-item, .ni-body,
.sol-product, .cs-card, .cap-card, .matrix-row,
.timeline-item, .honor-item, .foot-col, .foot-brand,
.about-triad-item, .mission-item,
section > .container > * {
  min-width: 0;
}
/* 防止图片/媒体子元素超出父宽 */
img, video, svg, iframe { max-width: 100%; height: auto; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* =========================================================
   导航
========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
/* 滚动后的白色导航栏 */
.nav.scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 24px rgba(11, 18, 32, 0.04);
}
/* 顶部透明时文字为白色 */
.nav:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.9); }
.nav:not(.scrolled) .nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav:not(.scrolled) .nav-menu a.active { color: #fff; }
.nav:not(.scrolled) .nav-menu a.active::after { background: #fff; }
.nav:not(.scrolled) .nav-link-plain { color: rgba(255,255,255,0.9); }
.nav:not(.scrolled) .nav-link-plain:hover { color: #fff; }
.nav:not(.scrolled) .logo-name { color: #fff; }
.nav:not(.scrolled) .logo-tag { color: rgba(255,255,255,0.6); }
.nav:not(.scrolled) .nav-toggle span { background: #fff; }
.nav:not(.scrolled) .nav-toggle { border-color: rgba(255,255,255,0.3); }
.nav:not(.scrolled) .nav-phone { color: rgba(255,255,255,0.9) !important; }
.nav:not(.scrolled) .nav-phone:hover { color: #fff !important; }
/* 非首页默认白色导航（通过 body class 或直接加 scrolled） */
/* 顶部透明时 logo 使用白色滤镜 */
.nav:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.nav-inner {
  max-width: 100%; height: 100%;
  margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo-img {
  height: 42px; width: 42px;
  transition: transform .3s, filter .3s;
}
.logo:hover .logo-img { transform: scale(1.04); }

/* 横版品牌图（logo 图自身带"智慧星光"字样），不再需要同级文字 */
.logo-img-only .logo-img {
  height: 56px !important;
  width: auto !important;
  max-width: 460px;
  object-fit: contain;
}
@media (max-width: 1200px) {
  .logo-img-only .logo-img { height: 48px !important; max-width: 360px; }
}
@media (max-width: 640px) {
  .logo-img-only .logo-img { height: 40px !important; max-width: 260px; }
}

/* 页脚横版 logo（翻白版） */
.foot-brand .logo-img-only .logo-img {
  height: 48px !important;
  max-width: 360px;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.logo-name {
  font-size: 20px; font-weight: 700;
  color: var(--logo-navy);
  letter-spacing: 0.06em;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
}
.logo-tag {
  font-size: 10px; color: var(--text-3);
  letter-spacing: 0.15em; margin-top: 2px;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .logo-tag { display: none; }
}
.nav-menu {
  display: flex; gap: 4px; list-style: none;
  flex: 1; justify-content: center;
}
.nav-menu a {
  display: inline-block; padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--text-1); border-radius: 4px;
  transition: all .3s; position: relative;
}
.nav-menu a:hover { color: var(--brand-dark); background: rgba(14, 165, 233, 0.06); }
.nav-menu a.active { color: var(--brand-dark); }
.nav-menu a.active::after {
  content: ''; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* 导航下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(11, 18, 32, 0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 两级下拉（产品与解决方案） */
.nav-dropdown-menu.two-level {
  min-width: 520px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nav-dropdown-menu.two-level .dd-group {}
.nav-dropdown-menu.two-level .dd-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
  padding: 6px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown-menu.two-level .dd-group a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-1);
  white-space: nowrap;
  transition: background .15s, color .15s;
  border-radius: 4px;
  text-align: left;
}
.nav-dropdown-menu.two-level .dd-group a:hover {
  background: rgba(14, 165, 233, 0.06);
  color: var(--brand-dark);
}
.nav-menu .nav-dropdown-menu.two-level .dd-group a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-1);
  border-radius: 4px;
  background: none;
  position: static;
  width: 100%;
  text-align: left;
}
.nav-menu .nav-dropdown-menu.two-level .dd-group a::after { display: none; }
.nav-menu .nav-dropdown-menu.two-level .dd-group a:hover {
  background: rgba(14, 165, 233, 0.06);
  color: var(--brand-dark);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-1);
  white-space: nowrap;
  transition: background .15s, color .15s;
  width: 100%;
  border-radius: 0;
  background: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(14, 165, 233, 0.06);
  color: var(--brand-dark);
}
/* 透明导航时下拉菜单保持白色背景 */
.nav:not(.scrolled) .nav-dropdown-menu {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.2);
}
.nav:not(.scrolled) .nav-dropdown-menu a { color: var(--text-1); }
.nav:not(.scrolled) .nav-dropdown-menu a:hover { color: var(--brand-dark); }
/* 确保下拉菜单项不继承 nav-menu a 的样式 */
.nav-menu .nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-1);
  border-radius: 0;
  background: none;
  position: static;
  width: 100%;
  text-align: center;
}
.nav-menu .nav-dropdown-menu a::after { display: none; }
.nav-menu .nav-dropdown-menu a:hover {
  background: rgba(14, 165, 233, 0.06);
  color: var(--brand-dark);
}

.nav-link-plain {
  font-size: 14px; font-weight: 600;
  color: var(--text-1); padding: 8px 14px;
  transition: color .15s;
}
.nav-link-plain:hover { color: var(--brand-dark); }

/* 汉堡菜单（移动端） */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text-1);
  transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* 移动端抽屉 */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(11, 18, 32, 0.08);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 99;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  list-style: none;
  padding: 16px 0;
}
.mobile-menu a {
  display: block;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  border-left: 3px solid transparent;
  transition: all .15s;
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--brand-dark);
  background: rgba(14, 165, 233, 0.04);
  border-left-color: var(--brand);
}
.mobile-menu .mm-cta {
  padding: 16px 40px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   按钮
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  padding: 14px 26px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-glow {
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 50%, #0EA5E9 100%);
  color: var(--ink-0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 0 24px rgba(56,189,248,0.5), 0 8px 24px rgba(14,165,233,0.45);
  position: relative; overflow: hidden;
}
.btn-glow::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left .6s;
}
.btn-glow:hover::before { left: 100%; }
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 0 40px rgba(56,189,248,0.8), 0 12px 36px rgba(14,165,233,0.6);
}
.btn-outline {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--brand-ice); color: var(--brand-ice);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff; color: var(--ink-0);
  border: 1px solid var(--line-strong);
}
.btn-light:hover {
  border-color: var(--brand); color: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--ink-0); color: #fff;
}
.btn-dark:hover {
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}
.btn-lg { padding: 16px 30px; font-size: 15px; }
.arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* =========================================================
   Glass 卡片 · 玻璃拟态工具类（深底光晕卡片）
========================================================= */
.glass-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 20%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(56, 189, 248, 0.18), transparent 70%);
  opacity: 0.9;
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.35), transparent 40%, rgba(125, 211, 252, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.glass-card:hover {
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}
.glass-card > * { position: relative; z-index: 1; }

/* 身份色变体 */
.glass-card.amber::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 20%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(252, 211, 77, 0.18), transparent 70%);
}
.glass-card.amber::after {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.35), transparent 40%, rgba(252, 211, 77, 0.25));
}
.glass-card.green::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 20%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(110, 231, 183, 0.18), transparent 70%);
}
.glass-card.green::after {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.35), transparent 40%, rgba(110, 231, 183, 0.25));
}

/* =========================================================
   发光数字徽章（关键数据用）
========================================================= */
.glow-stat {
  display: inline-flex;
  flex-direction: column;
  padding: 18px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}
.glow-stat::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(125, 211, 252, 0.35), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}
.glow-stat .gs-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #7DD3FC;
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
  margin-bottom: 6px;
}
.glow-stat .gs-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.glow-stat.amber { border-color: rgba(252, 211, 77, 0.25); }
.glow-stat.amber::before { background: radial-gradient(ellipse at center, rgba(252, 211, 77, 0.3), transparent 65%); }
.glow-stat.amber .gs-num { color: #FCD34D; text-shadow: 0 0 16px rgba(252, 211, 77, 0.4); }

/* =========================================================
   粒子背景层（Hero/深色 section 可叠加）
========================================================= */
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle-field canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* 中央垂直聚光 */
.spotlight-beam {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 85%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(125, 211, 252, 0.08) 0%,
    rgba(125, 211, 252, 0.03) 40%,
    transparent 100%
  );
  filter: blur(40px);
  z-index: 1;
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

/* =========================================================
   Section 通用
========================================================= */
.section { padding: 96px 0; position: relative; }
.section-paper { background: var(--bg-paper); }
.section-soft { background: var(--bg-soft); }
.section-ink {
  background:
    radial-gradient(ellipse 45% 55% at 85% 15%, rgba(14, 165, 233, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 45% at 10% 80%, rgba(245, 158, 11, 0.12), transparent 70%),
    radial-gradient(ellipse 30% 30% at 50% 50%, rgba(124, 58, 237, 0.08), transparent 70%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 100%);
  color: #fff;
  position: relative;
}
.section-ink::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.section-ink > * { position: relative; z-index: 1; }

/* 深浅过渡带：黑色板块上下边缘的渐变缓冲 */
.section-ink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(250, 250, 248, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.section-ink .sec-head { border-bottom-color: rgba(255,255,255,0.1); }
.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--brand);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.sec-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--brand);
}
.section-ink .sec-eyebrow { color: var(--brand-ice); }
.section-ink .sec-eyebrow::before { background: var(--brand-ice); }
.sec-title {
  font-family: 'Source Serif 4', 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 300; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink-0);
}
.sec-title em { font-style: italic; font-weight: 500; color: var(--brand); }
.sec-title .row { display: block; }
.section-ink .sec-title { color: #fff; }
.section-ink .sec-title em { color: var(--brand-ice); }
.sec-subtitle {
  font-size: 16.5px; color: var(--text-2);
  line-height: 1.75; max-width: 580px; margin-top: 14px;
}
.section-ink .sec-subtitle { color: rgba(255,255,255,0.7); }

/* Page Hero 面包屑 */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em; margin-bottom: 24px;
  padding: 6px 14px;
  border-radius: 100px;
}
.breadcrumb-dark {
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.breadcrumb-dark a:hover { color: var(--brand-ice); }
.breadcrumb-dark .sep { color: rgba(255,255,255,0.3); }
.breadcrumb-light {
  color: var(--text-3);
  background: #fff;
  border: 1px solid var(--line);
}
.breadcrumb-light a:hover { color: var(--brand-dark); }
.breadcrumb-light .sep { color: var(--text-4); }
.breadcrumb a { transition: color .2s; }

/* =========================================================
   CTA 通用
========================================================= */
.cta-block {
  padding: 120px 0;
  background: var(--bg-paper);
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.12), transparent 60%);
  pointer-events: none;
}
.cta-block::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 18, 32, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 18, 32, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  pointer-events: none;
}
.cta-block .inner {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto; padding: 0 32px;
}
.cta-block h2 {
  font-family: 'Source Serif 4', 'Noto Serif SC', 'PingFang SC', serif;
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink-0);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.cta-block h2 em { font-style: italic; color: var(--brand); font-weight: 500; }
.cta-block h2 .row { display: block; }
.cta-block p { font-size: 17px; color: var(--text-2); margin-bottom: 40px; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   页脚
========================================================= */
.site-footer {
  background:
    radial-gradient(ellipse 50% 60% at 80% 10%, rgba(14, 165, 233, 0.12), transparent 65%),
    radial-gradient(ellipse 45% 50% at 12% 90%, rgba(245, 158, 11, 0.08), transparent 70%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 100%);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.foot-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px;
}
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand .logo:not(.logo-img-only) .logo-img { height: 40px; width: 40px; }
.foot-brand .logo-name { color: #fff; }
.foot-brand .logo-tag { color: rgba(255,255,255,0.5); }
.foot-brand p {
  font-size: 13.5px; color: rgba(255,255,255,0.65);
  line-height: 1.85; max-width: 320px; margin-bottom: 20px;
}
.foot-contact { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 2; }
.foot-contact b {
  color: rgba(255,255,255,0.85); font-weight: 500;
  margin-right: 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.1em;
}
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: #fff;
  letter-spacing: 0.15em; margin-bottom: 22px;
  text-transform: uppercase; font-weight: 600;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 12px; }
.foot-col ul a {
  font-size: 13.5px; color: rgba(255,255,255,0.7);
  transition: color .2s;
}
.foot-col ul a:hover { color: var(--brand-ice); }
.foot-bottom {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
}
.foot-bottom a { color: rgba(255,255,255,0.4); transition: color .2s; }
.foot-bottom a:hover { color: var(--brand-ice); }

/* =========================================================
   动画
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1; transform: translateY(0);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .3s ease;
}

/* 变体：从左 / 从右 / 缩放进场 */
.reveal-left { transform: translateX(-80px); }
.reveal-left.in-view { transform: translateX(0); }
.reveal-right { transform: translateX(80px); }
.reveal-right.in-view { transform: translateX(0); }
.reveal-zoom { transform: scale(.96); }
.reveal-zoom.in-view { transform: scale(1); }

/* 卡片 hover 不受 reveal transition 干扰 */
.prod-item.reveal.in-view {
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .35s ease, box-shadow .35s ease;
}

/* 数字滚动（用于 data-count 属性） */
.count-up { font-variant-numeric: tabular-nums; }

/* 减少动画偏好：全局降噪 */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   响应式
========================================================= */
@media (max-width: 1200px) {
  .nav-menu a { padding: 10px 12px; font-size: 14px; }
  .logo:not(.logo-img-only) .logo-img { height: 38px; width: 38px; }
  .logo-name { font-size: 18px; }
}
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-right .btn:not(.nav-toggle) { display: none; }
  .nav-link-plain { display: none; }
  .nav-phone { display: none !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* 移动端分级菜单样式 */
.mobile-menu .mm-has-sub > .mm-parent { position: relative; }
.mobile-menu .mm-has-sub { position: relative; }
.mobile-menu .mm-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu .mm-toggle:active { background: rgba(0,0,0,0.05); }
.mobile-menu .mm-parent::after { display: none; }
.mobile-menu .mm-sub {
  list-style: none;
  padding: 4px 0 8px 16px;
  display: none;
}
.mobile-menu .mm-has-sub.open > .mm-sub { display: block; }
.mobile-menu .mm-sub li a {
  font-size: 14px;
  padding: 8px 16px;
  color: var(--text-2);
  display: block;
}
.mobile-menu .mm-sub li a:hover { color: var(--brand); }
.mobile-menu .mm-sub-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  padding: 10px 16px 4px;
}
@media (max-width: 640px) {
  .container, .nav-inner { padding: 0 20px; }
  .logo:not(.logo-img-only) .logo-img { height: 34px; width: 34px; }
  .logo-name { font-size: 16px; letter-spacing: 0.04em; }
  .section { padding: 64px 0; }
  .cta-block { padding: 80px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-col { display: none; }
  .cta-block h2 .row { display: inline; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* =========================================================
   超大屏等比缩放（2K/4K 显示器）
========================================================= */
@media (min-width: 2560px) {
  html { font-size: 20px; }
  .container { padding: 0 60px; }
  .nav-inner { padding: 0 60px; }
  .nav { height: 90px; }
  .nav-menu a { font-size: 18px; padding: 12px 20px; }
  .nav-phone { font-size: 16px !important; }
  .logo-img-only .logo-img { height: 68px !important; }
}
@media (min-width: 3200px) {
  html { font-size: 24px; }
  .container { padding: 0 80px; }
  .nav-inner { padding: 0 80px; }
  .nav { height: 100px; }
  .nav-menu a { font-size: 20px; padding: 14px 24px; }
  .nav-phone { font-size: 18px !important; }
  .logo-img-only .logo-img { height: 80px !important; }
}
@media (min-width: 3840px) {
  html { font-size: 28px; }
  .nav { height: 110px; }
  .nav-menu a { font-size: 22px; }
  .logo-img-only .logo-img { height: 90px !important; }
}

/* =========================================================
   焦点可见样式（a11y）
========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   预约演示弹窗（全站通用）
========================================================= */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  animation: demo-fade .25s ease-out;
}
.demo-modal.open { display: flex; }
@keyframes demo-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.demo-dialog {
  background: #fff;
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 40px 80px rgba(7, 11, 22, 0.4);
  animation: demo-rise .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes demo-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-3);
  line-height: 1;
  transition: color .2s;
}
.demo-close:hover { color: var(--ink-0); }
.demo-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 10px;
}
.demo-dialog h3 {
  font-family: 'Source Serif 4', 'Noto Serif SC', 'PingFang SC', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-0);
  line-height: 1.3;
  margin-bottom: 8px;
}
.demo-dialog .sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.6;
}
.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.demo-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.demo-field { display: flex; flex-direction: column; }
.demo-field.full { grid-column: 1 / -1; }
.demo-field input,
.demo-field textarea,
.demo-field select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink-0);
  background: #fff;
  font-family: inherit;
  transition: border-color .2s;
}
.demo-field textarea { min-height: 80px; resize: vertical; }
.demo-field input:focus,
.demo-field textarea:focus,
.demo-field select:focus {
  border-color: var(--brand);
  outline: none;
}
.demo-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.demo-hint {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 14px;
  line-height: 1.6;
}
.demo-hint a { color: var(--brand); }
@media (max-width: 540px) {
  .demo-form { grid-template-columns: 1fr; }
  .demo-dialog { padding: 28px 20px 24px; }
  .demo-dialog h3 { font-size: 20px; }
  .demo-modal { padding: 16px; }
}

/* =========================================================
   "Skip to content" 键盘导航入口
========================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink-0);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1001;
  transition: top .2s;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--brand);
}

/* a11y: 视觉隐藏但保留给屏幕阅读器 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
