/* ==========================================================================
   VIATANK / 汉瑞景 HRJ — 官网样式
   设计基线：工业深蓝 + 科技青，高对比、大留白、响应式、支持 RTL
   ========================================================================== */

:root {
  --bg-dark: #070c14;
  --bg-dark-2: #0d1522;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #eef2f7;
  --ink: #0d1a2b;
  --ink-2: #33455c;
  --muted: #647a91;
  --muted-dark: #93a7bd;
  --brand: #0b63f6;
  --brand-dark: #084ec4;
  --accent: #00c2d1;
  --line: #dfe6ee;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(13, 26, 43, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 12, 20, 0.18);
  --maxw: 1200px;
  --nav-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans", "Tahoma", sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", ui-monospace, "Consolas", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { inset-inline-start: 8px; top: 8px; }

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 20, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}
.logo:hover { color: #fff; }
.logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 1.05rem; letter-spacing: 0.08em; }
.logo-text span { font-size: 0.7rem; color: var(--muted-dark); letter-spacing: 0.06em; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: #dbe4ef;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.primary-nav a:hover { color: #fff; }
.primary-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

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

.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  color: #dbe4ef;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { border-color: var(--accent); color: #fff; }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  background: #0d1522;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 120;
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #dbe4ef;
  font-size: 0.9rem;
}
.lang-menu a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.lang-menu a[aria-current="true"] { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-on-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-on-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  padding: 7px 8px;
  cursor: pointer;
  line-height: 0;
}
.nav-toggle svg { display: block; }

/* -------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 20% -10%, #123a7a 0%, transparent 60%),
    linear-gradient(160deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 194, 209, 0.35);
  background: rgba(0, 194, 209, 0.08);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}
.hero h1 { max-width: 20ch; margin-bottom: 18px; }
.hero h1 .accent {
  display: block;
  background: linear-gradient(100deg, var(--accent), #7ee8fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #c3d2e4;
  max-width: 62ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  margin-top: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}
.hero-visual svg { width: 100%; border-radius: 12px; }

/* ------------------------------- Stats --------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -46px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--surface);
  padding: 26px 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand);
  line-height: 1.1;
}
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ------------------------------ Sections -------------------------------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: var(--muted-dark); }

.section-head { max-width: 70ch; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.section-head .kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* --------------------------- Business cards ------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.biz-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  color: inherit;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 99, 246, 0.35);
  color: inherit;
}
.biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.1), rgba(0, 194, 209, 0.16));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.biz-icon svg { width: 26px; height: 26px; }
.biz-card h3 { margin-bottom: 8px; }
.biz-card p { color: var(--muted); font-size: 0.95rem; }
.biz-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-more::after { content: "\2192"; transition: transform 0.2s; }
.biz-card:hover .biz-more::after { transform: translateX(4px); }
[dir="rtl"] .biz-more::after { content: "\2190"; }
[dir="rtl"] .biz-card:hover .biz-more::after { transform: translateX(-4px); }

/* ------------------------------ Feature grid ----------------------------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feat {
  border-inline-start: 3px solid var(--brand);
  padding-inline-start: 18px;
}
.feat h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.tile h3 { font-size: 1.05rem; }
.tile p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.tile .num {
  font-family: var(--font-num);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.section-dark .tile { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }

/* -------------------------------- Specs --------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td {
  text-align: start;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--ink-2); font-family: var(--font-num); font-size: 0.9rem; }
.spec-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

/* -------------------------------- Lists --------------------------------- */
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 194, 209, 0.18);
  border: 2px solid var(--accent);
}
.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.app-list li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

/* ------------------------------ Customers -------------------------------- */
.cust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.cust-grid li {
  display: grid;
  place-items: center;
  padding: 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.section-dark .cust-grid li {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  color: #dbe4ef;
}

/* -------------------------------- Timeline -------------------------------- */
.timeline { display: grid; gap: 0; margin-top: 8px; }
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year {
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}
.timeline-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ------------------------------- Badges ---------------------------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  font-size: 0.82rem;
  font-family: var(--font-num);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #dbe4ef;
  border-radius: 999px;
  padding: 8px 16px;
}
.badge-light {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}

/* -------------------------------- Breadcrumb ------------------------------ */
.crumbs {
  font-size: 0.85rem;
  color: var(--muted-dark);
  padding: 18px 0 0;
}
.crumbs a { color: var(--muted-dark); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: 0.6; }

.page-hero {
  background: linear-gradient(160deg, var(--bg-dark-2), var(--bg-dark));
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.page-hero .lead { color: #c3d2e4; max-width: 68ch; font-size: 1.05rem; margin: 0; }

/* ------------------------------ Form ------------------------------------- */
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(11, 99, 246, 0.2);
  outline-offset: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}
.info-list { display: grid; gap: 0; }
.info-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; color: var(--ink-2); }

/* -------------------------------- CTA ------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), #0a8fb5 55%, var(--accent));
  color: #fff;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.cta-band .btn { background: #fff; color: var(--brand-dark); }
.cta-band .btn:hover { background: #eaf3ff; color: var(--brand-dark); }

/* -------------------------------- Footer ---------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: #c3d2e4;
  padding: clamp(40px, 6vw, 64px) 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #c3d2e4; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: #7a8fa6;
  font-size: 0.82rem;
}

/* ------------------------------- Figure ----------------------------------- */
.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}
.figure svg, .figure img { width: 100%; height: auto; }
.figure figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}
.placeholder-photo {
  border: 1px dashed #b9c6d6;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f7f9fc, #f7f9fc 12px, #eef2f7 12px, #eef2f7 24px);
  display: grid;
  place-items: center;
  min-height: 260px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 24px;
}

/* ------------------------------ Responsive -------------------------------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0d1522;
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 18px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .info-list div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { margin-top: -28px; }
  .lang-menu { min-width: 150px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .cta-band { display: none; }
  .section { padding: 20px 0; }
}

/* ==========================================================================
   炫酷增强层 v2：全屏 Hero / 聚光卡片 / 玻璃拟态 / 跑马灯 / 滚动动画
   ========================================================================== */

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 150;
  transition: width 0.1s linear;
}

/* ---------------------------- 全屏 Hero --------------------------------- */
.hero-full {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 64px) 0 110px;
  overflow: hidden;
}
.hero-full::before { content: none; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,12,20,0.62) 0%, rgba(7,12,20,0.38) 42%, rgba(7,12,20,0.94) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, #000 0%, transparent 75%);
  animation: gridDrift 26s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 78% 24%, rgba(0,194,209,0.16), transparent 65%),
    radial-gradient(640px 380px at 12% 78%, rgba(11,99,246,0.2), transparent 65%);
  animation: glowFloat 12s ease-in-out infinite alternate;
}
@keyframes glowFloat {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(0, -24px, 0) scale(1.06); opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; }
/* 主标题给足宽度：20ch 下中文整句恰好卡满一行，字体/缩放略有差异就会断行 */
.hero-full h1 { max-width: min(100%, 30ch); }
/* 中文整句（如"全国产化核心控制器引领者"）内部禁止断行；
   拉丁/西里尔/阿拉伯文本按原有空格规则换行，不受影响 */
.hero-full h1 .accent { word-break: keep-all; }
.hero-full h1 > span:not(.accent) { word-break: keep-all; }
.hero-full .eyebrow { animation: fadeUp 0.8s 0.05s both; }
.hero-full h1 { animation: fadeUp 0.8s 0.15s both; }
.hero-full .hero-lead { animation: fadeUp 0.8s 0.3s both; }
.hero-full .hero-actions { animation: fadeUp 0.8s 0.42s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* 右侧浮动规格卡片 */
.hero-cards { position: absolute; inset-inline-end: 48px; top: 34%; z-index: 2; display: grid; gap: 14px; }
.hero-card {
  background: rgba(13, 21, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #dbe9ff;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero-card b { font-family: var(--font-num); font-weight: 600; }
.float { animation: floatY 6s ease-in-out infinite; }
.float.f2 { animation-delay: -2s; }
.float.f3 { animation-delay: -4s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
[dir="rtl"] .hero-scroll { transform: translateX(50%); }
.hero-scroll span {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: #fff;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -40%; }
  70%, 100% { top: 110%; }
}

/* ------------------------------ 数据带 ---------------------------------- */
.stats-band { position: relative; z-index: 3; margin-top: -58px; }
.stats-band .stats { margin-top: 0; }

.stat-num { display: inline-block; min-width: 2ch; }

/* --------------------------- 业务卡片带图 -------------------------------- */
.biz-card.has-media { padding: 0; overflow: hidden; }
.biz-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-dark-2);
  position: relative;
}
.biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s;
}
.biz-card:hover .biz-media img { transform: scale(1.07); filter: saturate(1.15); }
.biz-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 20, 0.55));
}
.biz-body { display: flex; flex-direction: column; padding: 22px 24px 26px; }
.biz-body .biz-icon { margin-bottom: 14px; }

/* 聚光卡片：鼠标跟随高光 */
.spotlight { position: relative; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 194, 209, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::before { opacity: 1; }
.biz-card.has-media .biz-body { position: relative; z-index: 2; }

/* ------------------------- 能力区：图 + 玻璃卡 --------------------------- */
.cap-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.cap-visual-frame {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: perspective(1200px) rotateY(4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.cap-visual-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
[dir="rtl"] .cap-visual-frame { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.cap-visual-frame svg { display: block; width: 100%; height: auto; }

.glass-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.glass {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  border-inline-start: 3px solid var(--accent);
}
.glass h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.glass p { color: var(--muted-dark); font-size: 0.9rem; margin: 0; }

/* ------------------------------ 客户跑马灯 ------------------------------- */
.cust-band { overflow: hidden; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 6px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-inline-end: 64px; }
.marquee-item {
  font-family: var(--font-num);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(219, 228, 239, 0.5);
  white-space: nowrap;
  transition: color 0.25s;
}
.marquee-item:hover { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------ CTA 光效 -------------------------------- */
.cta-band.glow { position: relative; overflow: hidden; }
.cta-band.glow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { inset-inline-start: -50%; }
  55%, 100% { inset-inline-start: 130%; }
}

/* ---------------------------- 滚动进场动画 ------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1),
    transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.d1 { --rd: 90ms; }
.js .reveal.d2 { --rd: 180ms; }
.js .reveal.d3 { --rd: 270ms; }
.js .reveal.d4 { --rd: 360ms; }
.js .reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------------------------- 产品页图文分栏 ----------------------------- */
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}
.product-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-dark-2);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 80% 12%, rgba(0, 194, 209, 0.16), transparent 60%);
  pointer-events: none;
}
.product-media img { width: 100%; height: auto; display: block; }
.product-media.wide { aspect-ratio: 3 / 2; }
.product-media.wide img { width: 100%; height: 100%; object-fit: cover; }
.product-media figcaption {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  z-index: 2;
  font-size: 0.78rem;
  font-family: var(--font-num);
  color: #dbe9ff;
  background: rgba(7, 12, 20, 0.65);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-start-end-radius: 10px;
}

/* ------------------------------ 响应式 ----------------------------------- */
@media (max-width: 960px) {
  .cap-split { grid-template-columns: 1fr; gap: 28px; }
  .product-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-cards { display: none; }
  .hero-full { min-height: 82vh; }
}
@media (max-width: 560px) {
  .glass-grid { grid-template-columns: 1fr; }
  .marquee-group { gap: 36px; padding-inline-end: 36px; }
  .marquee-item { font-size: 1.05rem; }
  .hero-scroll { display: none; }
}

/* hero 文字区对比度增强 */
.hero-bg::after {
  background:
    radial-gradient(980px 620px at 22% 42%, rgba(7, 12, 20, 0.82), transparent 62%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.62) 0%, rgba(7, 12, 20, 0.38) 42%, rgba(7, 12, 20, 0.94) 100%);
}
[dir="rtl"] .hero-bg::after {
  background:
    radial-gradient(980px 620px at 78% 42%, rgba(7, 12, 20, 0.82), transparent 62%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.62) 0%, rgba(7, 12, 20, 0.38) 42%, rgba(7, 12, 20, 0.94) 100%);
}
.hero-full h1 span:not(.accent), .hero-full .hero-lead { text-shadow: 0 2px 24px rgba(7, 12, 20, 0.65); }
.hero-full h1 .accent { filter: drop-shadow(0 2px 18px rgba(7, 12, 20, 0.75)); }

/* hero 文字区对比度增强 */
.hero-bg::after {
  background:
    radial-gradient(980px 620px at 22% 42%, rgba(7, 12, 20, 0.82), transparent 62%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.62) 0%, rgba(7, 12, 20, 0.38) 42%, rgba(7, 12, 20, 0.94) 100%);
}
[dir="rtl"] .hero-bg::after {
  background:
    radial-gradient(980px 620px at 78% 42%, rgba(7, 12, 20, 0.82), transparent 62%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.62) 0%, rgba(7, 12, 20, 0.38) 42%, rgba(7, 12, 20, 0.94) 100%);
}
.hero-full h1 span:not(.accent), .hero-full .hero-lead { text-shadow: 0 2px 24px rgba(7, 12, 20, 0.65); }
.hero-full h1 .accent { filter: drop-shadow(0 2px 18px rgba(7, 12, 20, 0.75)); }

/* ==========================================================================
   商标标识 HRJ + 移动端自适应增强
   ========================================================================== */
.logo-mark {
  width: auto;
  min-width: 46px;
  height: 34px;
  padding: 0 9px;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.logo-text b { letter-spacing: 0.1em; }

/* ----------------------------- 移动端 ----------------------------------- */
@media (max-width: 768px) {
  .wrap { padding-inline: 18px; }
  .section { padding: 44px 0; }
  .hero-full { min-height: 74svh; padding: calc(var(--nav-h) + 42px) 0 88px; }
  .hero-full h1 { font-size: clamp(1.45rem, 6.6vw, 2rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 24px; }
  .stats-band { margin-top: -36px; }
  .stat { padding: 18px 12px; }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: 0.76rem; }
  .card-grid, .tile-grid, .feat-grid, .glass-grid { grid-template-columns: 1fr; }
  .app-list { grid-template-columns: 1fr; }
  .biz-body { padding: 20px; }
  .spec-table th { width: 42%; font-size: 0.86rem; }
  .spec-table td { font-size: 0.84rem; padding: 11px 12px; }
  .spec-table th { padding: 11px 12px; }
  .cta-band { padding: 28px 22px; text-align: start; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .cap-visual-frame { transform: none; }
  [dir="rtl"] .cap-visual-frame { transform: none; }
  .timeline-item { padding: 18px 0; }
  .badge { font-size: 0.76rem; padding: 6px 12px; }
  .figure figcaption { font-size: 0.78rem; }
  .section-head { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .lang-switch > summary span { display: none; }
  .lang-switch > summary { padding: 8px 10px; }
  .logo-text span { display: none; }
  .nav-bar { gap: 12px; }
  .nav-tools { gap: 8px; }
  .hero-actions { gap: 10px; }
  .contact-grid { gap: 28px; }
  .info-list div { padding: 12px 0; }
  .primary-nav { padding: 8px 18px 16px; }
  .footer-grid { gap: 24px; }
  .marquee-item { font-size: 1rem; }
}

/* 极窄屏：略降字号换取中文整句仍能一行放下；同时恢复可断行兜底防溢出 */
@media (max-width: 400px) {
  .hero-full h1 { font-size: clamp(1.32rem, 6.2vw, 1.7rem); }
  .hero-full h1 .accent,
  .hero-full h1 > span:not(.accent) { word-break: normal; }
}

/* ==========================================================================
   炫酷增强层 v3 — 按钮 / 卡片 / 导航 / 页面过渡
   规则：所有动效均在 prefers-reduced-motion 下降级为静态
   ========================================================================== */

/* 角度自定义属性（流光边框用，不支持的浏览器自动退化为静态描边） */
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --------------------------------------------------------------------------
   1. 按钮 v3：流光底 + 光泽扫过 + 光晕抬升 + 箭头位移
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    background-position 0.6s ease;
}
/* 光泽扫过 */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.42) 48%,
    transparent 68%
  );
  transform: translateX(-130%);
  transition: transform 0.7s cubic-bezier(0.25, 0.7, 0.3, 1);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(0.985); }

/* 主按钮：渐变流光 + 蓝色光晕 */
.btn-primary {
  background-image: linear-gradient(120deg, var(--brand) 0%, #2f6bff 42%, #17b6d6 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border-color: transparent;
  box-shadow:
    0 6px 20px rgba(11, 99, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: btnFlow 8s ease-in-out infinite;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 50%;
  color: #fff;
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 14px 34px rgba(11, 99, 246, 0.42),
    0 0 0 1px rgba(23, 182, 214, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
@keyframes btnFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 深色底玻璃按钮 */
.btn-on-dark {
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.28);
}
.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  color: var(--accent);
  border-color: rgba(0, 194, 209, 0.75);
  transform: translateY(-2px) scale(1.015);
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 1px rgba(0, 194, 209, 0.4),
    0 12px 32px rgba(0, 194, 209, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* 幽灵按钮 */
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 10px 26px rgba(11, 99, 246, 0.18);
}

/* 箭头按钮：hover 时箭头前移 */
.btn-arrow::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover.btn-arrow::after { transform: translateX(5px); }
[dir="rtl"] .btn-arrow::after { transform: scaleX(-1); }
[dir="rtl"] .btn:hover.btn-arrow::after { transform: scaleX(-1) translateX(5px); }

/* --------------------------------------------------------------------------
   2. 卡片 v3：流光描边 + 3D 微倾 + 光晕
   -------------------------------------------------------------------------- */
.biz-card,
.tile,
.glass,
.stat {
  position: relative;
}
.biz-card::after,
.tile::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang),
    transparent 0 52%,
    rgba(0, 194, 209, 0.9) 70%,
    rgba(11, 99, 246, 0.95) 84%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.biz-card:hover::after,
.tile:hover::after {
  opacity: 1;
  animation: borderSpin 3.4s linear infinite;
}
@keyframes borderSpin {
  to { --ang: 360deg; }
}

/* 3D 微倾（--rx/--ry 由 JS 按鼠标位置写入） */
.js [data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translateZ(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  will-change: transform;
}
.js [data-tilt]:hover {
  box-shadow:
    0 26px 60px rgba(7, 12, 20, 0.16),
    0 0 0 1px rgba(11, 99, 246, 0.14);
  transition: transform 0.08s linear, box-shadow 0.25s ease;
}

/* 统计卡 hover 发光 */
.stat { transition: background 0.25s ease; }
.stat:hover { background: rgba(11, 99, 246, 0.045); }
.stat:hover b { color: var(--brand); }
.stat b { transition: color 0.25s ease; }

/* --------------------------------------------------------------------------
   3. 导航 / 页脚 / 页面过渡
   -------------------------------------------------------------------------- */
.site-header {
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header.scrolled {
  box-shadow: 0 10px 34px rgba(7, 12, 20, 0.32);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
/* 导航下划线滑动指示 */
.primary-nav a { position: relative; }
.primary-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transition: inset-inline 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
  opacity: 0;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  inset-inline: 0;
  opacity: 1;
}

/* 页脚顶部光带 */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 194, 209, 0.75) 35%,
    rgba(11, 99, 246, 0.85) 65%,
    transparent
  );
}

/* 返回顶部悬浮按钮（JS 动态插入） */
.to-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(13, 21, 34, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 28px rgba(7, 12, 20, 0.35);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover {
  border-color: rgba(0, 194, 209, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 194, 209, 0.35), 0 14px 34px rgba(0, 194, 209, 0.28);
  transform: translateY(-2px);
}
.to-top svg { width: 20px; height: 20px; }

/* 滚动进度条发光 */
.scroll-progress {
  box-shadow: 0 0 14px rgba(0, 194, 209, 0.75);
}

/* 跨文档视图过渡（Chrome 126+，其他浏览器自动忽略） */
@view-transition { navigation: auto; }

/* --------------------------------------------------------------------------
   4. 降级：减少动态效果
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary,
  .biz-card::after,
  .tile::after,
  .js [data-tilt] {
    animation: none !important;
    transition: none !important;
  }
  .btn::before { display: none; }
  .js [data-tilt] { transform: none !important; }
  .to-top { transition: opacity 0.2s linear; }
}

/* CTA 横幅按钮（白底蓝字）：加深光晕与抬升，光泽改为淡蓝以免白底上看不见 */
.cta-band .btn {
  background: #fff;
  color: var(--brand-dark);
  box-shadow:
    0 10px 26px rgba(3, 20, 46, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 18px 40px rgba(3, 20, 46, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.65);
}
.cta-band .btn::before {
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(11, 99, 246, 0.16) 48%,
    transparent 68%
  );
}

/* CTA 横幅按钮（白底蓝字）：加深光晕与抬升，光泽改为淡蓝以免白底上看不见 */
.cta-band .btn {
  background: #fff;
  color: var(--brand-dark);
  box-shadow:
    0 10px 26px rgba(3, 20, 46, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 18px 40px rgba(3, 20, 46, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.65);
}
.cta-band .btn::before {
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(11, 99, 246, 0.16) 48%,
    transparent 68%
  );
}

/* ==========================================================================
   FAQ 折叠区块（SEO：问答内容在 HTML 中可被抓取）
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s
      cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-item:hover {
  border-color: rgba(11, 99, 246, 0.4);
  box-shadow: 0 12px 30px rgba(13, 26, 43, 0.09);
}
.faq-item[open] {
  border-color: rgba(11, 99, 246, 0.5);
  box-shadow: 0 14px 34px rgba(11, 99, 246, 0.12);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--brand); }
.faq-item[open] > summary { color: var(--brand); }
/* 加号 / 减号指示（RTL 自动镜像） */
.faq-mark {
  position: absolute;
  inset-inline-end: 20px;
  top: 24px;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
}
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after { width: 2px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-a p { margin: 0; }

@media (max-width: 768px) {
  .faq-item > summary { padding: 15px 46px 15px 16px; font-size: 0.95rem; }
  .faq-a { padding: 0 16px 15px; font-size: 0.92rem; }
  .faq-mark { inset-inline-end: 16px; top: 21px; }
}

/* ==========================================================================
   FAQ 折叠区块（SEO：问答内容在 HTML 中可被抓取）
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s
      cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-item:hover {
  border-color: rgba(11, 99, 246, 0.4);
  box-shadow: 0 12px 30px rgba(13, 26, 43, 0.09);
}
.faq-item[open] {
  border-color: rgba(11, 99, 246, 0.5);
  box-shadow: 0 14px 34px rgba(11, 99, 246, 0.12);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--brand); }
.faq-item[open] > summary { color: var(--brand); }
/* 加号 / 减号指示（RTL 自动镜像） */
.faq-mark {
  position: absolute;
  inset-inline-end: 20px;
  top: 24px;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
}
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after { width: 2px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-a p { margin: 0; }

@media (max-width: 768px) {
  .faq-item > summary { padding: 15px 46px 15px 16px; font-size: 0.95rem; }
  .faq-a { padding: 0 16px 15px; font-size: 0.92rem; }
  .faq-mark { inset-inline-end: 16px; top: 21px; }
}

/* ==========================================================================
   浅色主题 v7（2026-09-06）
   做法：追加覆盖层，不改动深色基线 —— 需要恢复深色时删除本段即可
   ========================================================================== */
:root {
  --bg-dark: #f4f7fb;
  --bg-dark-2: #e9f1fa;
  --line-dark: rgba(13, 26, 43, 0.14);
  --muted-dark: #5b7189;
  --shadow-lg: 0 24px 60px rgba(13, 26, 43, 0.12);
}

/* --------------------------------- 页头 ---------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(13, 26, 43, 0.08);
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(13, 26, 43, 0.09); }
.logo-text b { color: var(--ink); }
.logo-text span { color: var(--muted); }
.primary-nav a { color: var(--ink-2); }
.primary-nav a:hover { color: var(--brand); }
.nav-toggle {
  background: rgba(13, 26, 43, 0.05);
  border-color: rgba(13, 26, 43, 0.18);
  color: var(--ink);
}
.lang-switch > summary {
  color: var(--ink-2);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.lang-switch > summary:hover { color: var(--brand); border-color: var(--brand); }
.lang-menu {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(13, 26, 43, 0.14);
}
.lang-menu a { color: var(--ink-2); }
.lang-menu a:hover { background: var(--surface-2); color: var(--brand); }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  background: linear-gradient(165deg, #f8fbfe 0%, #ecf3fc 58%, #e7f6fa 100%);
  color: var(--ink);
}
.hero-bg img {
  opacity: 0.16;
  filter: saturate(0.65) contrast(0.95);
}
.hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(248, 251, 254, 0.62) 0%,
    rgba(244, 249, 253, 0.84) 46%,
    rgba(236, 244, 252, 0.97) 100%
  );
}
/* RTL 页面（波斯语）与 LTR 使用同一套浅色 hero ——
   基线里的 [dir="rtl"] .hero-bg::after（0,2,1）特异性更高，
   必须用同特异性重写，否则 fa 首页仍是深色 */
[dir="rtl"] .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(248, 251, 254, 0.62) 0%,
    rgba(244, 249, 253, 0.84) 46%,
    rgba(236, 244, 252, 0.97) 100%
  );
}
.hero-grid {
  background-image:
    linear-gradient(rgba(13, 26, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 43, 0.05) 1px, transparent 1px);
}
.hero h1, .hero-full h1 { color: var(--ink); }
.hero-full h1 span:not(.accent),
.hero-full .hero-lead { text-shadow: none; }
.hero h1 .accent {
  background: linear-gradient(100deg, #0b63f6, #0090b3);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead { color: var(--ink-2); }
.eyebrow {
  color: #067a8a;
  border-color: rgba(0, 145, 170, 0.32);
  background: rgba(0, 194, 209, 0.1);
}
.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 26, 43, 0.1);
  color: var(--ink-2);
  box-shadow: 0 14px 34px rgba(13, 26, 43, 0.1);
}
.hero-scroll { color: var(--muted); }
.hero-scroll span { background: linear-gradient(180deg, transparent, var(--brand)); }
.hero-scroll span::after { background: var(--brand); }
.hero-visual { border-color: var(--line); background: rgba(255, 255, 255, 0.6); }

/* ------------------------------ 内页页头 --------------------------------- */
.page-hero {
  background: linear-gradient(160deg, #f5f9fd, #e8f1fb);
  color: var(--ink);
}
.page-hero .lead { color: var(--ink-2); }
.crumbs, .crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* ------------------------------ 区块与卡片 ------------------------------- */
.section-dark { background: var(--bg-dark); color: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .muted { color: var(--muted); }

.glass {
  background: #ffffff;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  box-shadow: 0 10px 30px rgba(13, 26, 43, 0.06);
}
.glass h3 { color: var(--ink); }
.glass p { color: var(--muted); }

.badge {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}
.cap-visual-frame {
  border-color: var(--line);
  box-shadow: 0 22px 56px rgba(13, 26, 43, 0.12);
}
.cap-visual-frame svg { background: #f5f9fd; }
.biz-media, .product-media { background: #e9f1fa; border-color: var(--line); }
.biz-icon { background: rgba(11, 99, 246, 0.08); }
.biz-icon svg { color: var(--brand); }

/* --------------------------------- CTA ---------------------------------- */
.cta-band {
  background: linear-gradient(120deg, #e9f1ff 0%, #e4f6fa 100%);
  color: var(--ink);
  border: 1px solid rgba(11, 99, 246, 0.12);
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); }
.cta-band .btn {
  background: linear-gradient(120deg, var(--brand) 0%, #2f6bff 42%, #17b6d6 100%);
  background-size: 220% 100%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 99, 246, 0.28);
}
.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: linear-gradient(120deg, var(--brand) 0%, #2f6bff 42%, #17b6d6 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(11, 99, 246, 0.36);
}
.cta-band .btn::before {
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.4) 48%,
    transparent 68%
  );
}

/* 深色底按钮 → 浅色底按钮 */
.btn-on-dark {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: 0 6px 18px rgba(13, 26, 43, 0.07);
}
.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: #ffffff;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(11, 99, 246, 0.18);
}

/* --------------------------------- 页脚 ---------------------------------- */
.site-footer { background: #f2f6fa; color: var(--ink-2); }
.site-footer h4 { color: var(--ink); }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { border-top-color: var(--line); color: var(--muted); }
.site-footer::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 194, 209, 0.55) 35%,
    rgba(11, 99, 246, 0.6) 65%,
    transparent
  );
}

/* ------------------------------ 悬浮与细节 -------------------------------- */
.to-top {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 26, 43, 0.12);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(13, 26, 43, 0.14);
}
.to-top:hover {
  border-color: rgba(0, 194, 209, 0.6);
  color: var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 194, 209, 0.3), 0 14px 30px rgba(13, 26, 43, 0.16);
}
.scroll-progress {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.info-list dt { color: var(--muted); }
.marquee-item { color: var(--muted); }
.marquee-item:hover { color: var(--brand); }
::selection { background: rgba(11, 99, 246, 0.16); color: var(--ink); }

/* -------------------------------- 移动端 --------------------------------- */
@media (max-width: 768px) {
  .primary-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(13, 26, 43, 0.1);
  }
  .primary-nav a { color: var(--ink-2); }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brand); }
}

/* 浅色主题补丁：当前页导航项（原规则 color:#fff 特异性更高，需同特异性覆盖） */
.primary-nav a[aria-current="page"] { color: var(--brand); }
.lang-menu a[aria-current="true"] { color: var(--brand); }

/* 浅色主题补丁：当前页导航项（原规则 color:#fff 特异性更高，需同特异性覆盖） */
.primary-nav a[aria-current="page"] { color: var(--brand); }
.lang-menu a[aria-current="true"] { color: var(--brand); }

/* ------------------------- 联系表单状态提示 ------------------------------- */
.form-status {
  margin: 0;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}
.form-status[hidden] { display: none; }
.form-status.is-pending { border-color: rgba(11, 99, 246, 0.3); color: var(--brand); }
.form-status.is-ok {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}
.form-status.is-err,
.form-status.is-warn {
  border-color: rgba(220, 38, 38, 0.32);
  background: rgba(220, 38, 38, 0.07);
  color: #b91c1c;
}
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* 蜜罐字段：对用户完全不可见，仅用于拦截机器人 */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------- 联系表单状态提示 ------------------------------- */
.form-status {
  margin: 0;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}
.form-status[hidden] { display: none; }
.form-status.is-pending { border-color: rgba(11, 99, 246, 0.3); color: var(--brand); }
.form-status.is-ok {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}
.form-status.is-err,
.form-status.is-warn {
  border-color: rgba(220, 38, 38, 0.32);
  background: rgba(220, 38, 38, 0.07);
  color: #b91c1c;
}
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* 蜜罐字段：对用户完全不可见，仅用于拦截机器人 */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
