/* ============================================================
   耳奇科技企业官网 · ERQI Technology Corporate Website
   Bilingual (zh / en) · Responsive · Modern tech style
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #040B18;
  --navy-900: #071224;
  --navy-850: #0A1A33;
  --navy-800: #0E2242;
  --navy-700: #14305B;
  --navy-600: #1B3E73;

  --cyan-400: #38D6F0;
  --cyan-500: #16BEE3;
  --cyan-600: #0BA6CC;
  --blue-500: #2E7CF6;
  --blue-600: #1F66DE;

  --ink-900: #0C1526;
  --ink-700: #2A3A55;
  --ink-500: #55668A;
  --ink-400: #7A89A8;

  --line: #E3EAF4;
  --line-soft: #EDF2F9;

  --bg: #FFFFFF;
  --bg-soft: #F3F7FC;
  --bg-soft-2: #E9F1F9;

  --grad-brand: linear-gradient(120deg, #38D6F0 0%, #2E7CF6 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(56,214,240,.14) 0%, rgba(46,124,246,.14) 100%);
  --grad-dark: linear-gradient(160deg, #071224 0%, #0A1A33 55%, #0E2242 100%);

  --shadow-sm: 0 1px 2px rgba(10, 22, 44, .05), 0 4px 14px rgba(10, 22, 44, .06);
  --shadow-md: 0 10px 30px rgba(10, 22, 44, .10);
  --shadow-lg: 0 22px 55px rgba(10, 22, 44, .16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --header-h: 72px;
  --container: 1200px;

  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id], div[id] { scroll-margin-top: 132px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

::selection { background: rgba(46, 124, 246, .22); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 108px 0; }
.section--tight { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad-dark); color: #C9D6EC; }

.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--cyan-400); }

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.section--dark .section-title { color: #fff; }

.section-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-500);
}
.section--dark .section-lead { color: #9FB2CF; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(46, 124, 246, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46, 124, 246, .45); }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }

.btn--outline {
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }

.btn--light {
  background: #fff;
  color: var(--navy-800);
  box-shadow: 0 12px 30px rgba(4, 11, 24, .35);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(4, 11, 24, .42); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 42px; width: 130px; object-fit: contain; object-position: left center; display: block; }
.brand-logo--white { display: none; }
/* 透明页眉（首页 Hero 区）显示白色文字 logo */
.site-header:not(.scrolled):not(.solid):not([data-solid]) .brand-logo--dark { display: none; }
.site-header:not(.scrolled):not(.solid):not([data-solid]) .brand-logo--white { display: block; }
/* 页脚为深色背景，显示白色文字 logo */
.footer .brand-logo--dark { display: none; }
.footer .brand-logo--white { display: block; }

.site-header .nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  border-radius: 9px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); }

.header-cta { padding: 11px 22px; font-size: 14px; }

/* Scrolled / solid header (also default on light inner pages) */
.site-header.scrolled,
.site-header.solid,
.site-header[data-solid] {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10, 22, 44, .07);
}
.site-header.scrolled .nav-link,
.site-header.solid .nav-link,
.site-header[data-solid] .nav-link { color: var(--ink-700); }
.site-header.scrolled .nav-link:hover,
.site-header.solid .nav-link:hover,
.site-header[data-solid] .nav-link:hover { color: var(--blue-600); background: var(--bg-soft); }
.site-header.scrolled .nav-link.active,
.site-header.solid .nav-link.active,
.site-header[data-solid] .nav-link.active { color: var(--blue-600); }
.site-header.scrolled .lang-toggle,
.site-header.solid .lang-toggle,
.site-header[data-solid] .lang-toggle { color: var(--ink-900); border-color: var(--line); }
.site-header.scrolled .lang-toggle:hover,
.site-header.solid .lang-toggle:hover,
.site-header[data-solid] .lang-toggle:hover { background: var(--bg-soft); border-color: var(--blue-500); }
.site-header.scrolled .header-cta,
.site-header.solid .header-cta,
.site-header[data-solid] .header-cta { box-shadow: 0 8px 20px rgba(46, 124, 246, .28); }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  place-items: center;
}
.menu-toggle svg { width: 21px; height: 21px; }
.site-header.scrolled .menu-toggle,
.site-header.solid .menu-toggle,
.site-header[data-solid] .menu-toggle { color: var(--ink-900); border-color: var(--line); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 890;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 14px 28px 26px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block;
  padding: 14px 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue-600); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 11, 24, .93) 12%, rgba(7, 18, 36, .74) 46%, rgba(7, 18, 36, .28) 78%),
    linear-gradient(to top, rgba(4, 11, 24, .55) 0%, transparent 40%);
}
.hero-grid-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 0%, transparent 72%);
}

.hero-content { max-width: 780px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 214, 240, .35);
  background: rgba(56, 214, 240, .1);
  color: var(--cyan-400);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(56, 214, 240, .22);
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.015em;
  color: #fff;
}
.hero-sub {
  margin-top: 26px;
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.85;
  color: #B9C8E2;
}

.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-chips {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: #AFC0DC;
}
.hero-chip svg { width: 16px; height: 16px; color: var(--cyan-400); flex: none; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-scroll .wheel {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .wheel::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan-400);
  animation: wheel 1.8s infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy-900);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 130% at 50% 0%, rgba(46, 124, 246, .22), transparent 65%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; padding: 12px 16px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px; top: 18%;
  height: 64%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.18), transparent);
}
.stat-num {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat-num .unit { font-size: .48em; font-weight: 700; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14.5px; color: #9FB2CF; }
.stat-label .en { display: block; font-size: 12px; color: #64769A; margin-top: 2px; letter-spacing: .02em; }

/* ---------- Generic cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 124, 246, .35);
}

/* ---------- Product category cards (home) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cat-card { overflow: hidden; display: flex; flex-direction: column; }
.cat-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 36, .42), transparent 45%);
}
.cat-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  background: rgba(7, 18, 36, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}
.cat-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(56, 214, 240, .25);
}
.cat-badge.online .pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56, 214, 240, .25); }
  50% { box-shadow: 0 0 0 7px rgba(56, 214, 240, .08); }
}
.cat-card-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.cat-card-title { font-size: 21px; font-weight: 800; color: var(--ink-900); line-height: 1.35; }
.cat-card-en { font-size: 13px; color: var(--ink-400); margin-top: 5px; letter-spacing: .02em; }
.cat-card-desc { margin-top: 14px; font-size: 15px; color: var(--ink-500); }
.cat-card-list { margin-top: 18px; display: grid; gap: 10px; }
.cat-card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-700);
}
.cat-card-list svg { width: 17px; height: 17px; color: var(--cyan-600); flex: none; margin-top: 4px; }
.cat-card-foot { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Function grid ---------- */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.fn-card {
  padding: 34px 24px 30px;
  text-align: center;
  border-radius: var(--radius);
}
.fn-icon {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-brand-soft);
  color: var(--blue-600);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.fn-icon svg { width: 26px; height: 26px; }
.fn-card:hover .fn-icon { background: var(--grad-brand); color: #fff; transform: scale(1.08); }
.fn-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink-900); }
.fn-card .en { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); margin-top: 3px; }
.fn-card p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-500); }

/* ---------- Value grid ---------- */
.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.val-card {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.val-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .35s;
}
.val-card:hover::before { opacity: 1; }
.val-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-soft-2);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.val-icon svg { width: 24px; height: 24px; }
.val-card h3 { font-size: 17.5px; font-weight: 700; color: var(--ink-900); }
.val-card h3 .en { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-400); letter-spacing: .05em; text-transform: uppercase; margin-top: 3px; }
.val-card p { margin-top: 12px; font-size: 14px; color: var(--ink-500); }

/* ---------- Scenario cards ---------- */
.scen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.scen-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; }
.scen-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.scen-card:hover img { transform: scale(1.06); }
.scen-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 11, 24, .88) 0%, rgba(4, 11, 24, .25) 55%, transparent 85%);
}
.scen-body { position: relative; z-index: 1; padding: 30px 30px 32px; }
.scen-body h3 { font-size: 19px; font-weight: 800; }
.scen-body .en { display: block; font-size: 12px; font-weight: 600; color: var(--cyan-400); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.scen-body p { margin-top: 10px; font-size: 14px; color: #B9C8E2; }

.scen-card.art {
  background:
    radial-gradient(ellipse 80% 90% at 85% 15%, rgba(46, 124, 246, .28), transparent 60%),
    radial-gradient(ellipse 70% 80% at 10% 90%, rgba(56, 214, 240, .16), transparent 55%),
    linear-gradient(150deg, #0A1A33 0%, #071224 70%);
  border: 1px solid rgba(255, 255, 255, .09);
}
.scen-art {
  position: absolute;
  right: -28px;
  bottom: -22px;
  width: 236px;
  height: 236px;
  color: rgba(255, 255, 255, .13);
  transition: transform .7s var(--ease);
}
.scen-card:hover .scen-art { transform: scale(1.07) rotate(2deg); }

/* ---------- Split (about teaser) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split-img::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  pointer-events: none;
}
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-700); }
.check-list .ic {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--grad-brand-soft);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.check-list .ic svg { width: 13px; height: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  background: var(--grad-dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band .hero-bg img { object-position: center 60%; }
.cta-band .hero-bg::after {
  background:
    linear-gradient(to bottom, rgba(4,11,24,.82), rgba(4,11,24,.92));
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.35; color: #fff; }
.cta-inner p { margin: 18px auto 0; max-width: 620px; color: #9FB2CF; font-size: 16px; }
.cta-inner .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: #8FA1BE;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand-cn { color: #fff; }
.footer .brand-en { color: #5D6F8F; }
.footer-about { margin-top: 20px; font-size: 14px; line-height: 1.85; max-width: 320px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; color: #8FA1BE; transition: color .2s; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan-500); flex: none; margin-top: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 13px;
  color: #5D6F8F;
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--cyan-400); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 92px) 0 76px;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg img { object-position: center 42%; }
.page-hero .hero-bg::after {
  background: linear-gradient(100deg, rgba(4, 11, 24, .94) 8%, rgba(7, 18, 36, .78) 52%, rgba(7, 18, 36, .4) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #7E92B5;
  margin-bottom: 26px;
}
.breadcrumb a { color: #AFC0DC; transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.012em;
}
.page-hero .sub-en {
  margin-top: 14px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--cyan-400);
  font-weight: 600;
  letter-spacing: .02em;
}
.page-hero .lead { margin-top: 20px; max-width: 680px; font-size: 16.5px; line-height: 1.85; color: #B9C8E2; }
.page-hero-chips { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  font-size: 13.5px;
  font-weight: 600;
  color: #D7E2F4;
  backdrop-filter: blur(6px);
}
.ph-chip svg { width: 14px; height: 14px; color: var(--cyan-400); }

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 214, 240, .35);
  background: rgba(56, 214, 240, .1);
  color: var(--cyan-400);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 22px;
}
.ph-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(56, 214, 240, .22);
  animation: pulse 1.8s infinite;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Product detail sub-nav ---------- */
.pd-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.pd-subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pd-subnav .container::-webkit-scrollbar { display: none; }
.pd-subnav a {
  flex: none;
  padding: 17px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.pd-subnav a:hover { color: var(--ink-900); }
.pd-subnav a.active { color: var(--blue-600); border-bottom-color: var(--blue-500); }
.pd-subnav a .en { font-size: 11px; font-weight: 500; color: var(--ink-400); margin-left: 5px; }

/* ---------- Spec table ---------- */
.spec-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-bottom: 1px solid var(--line-soft);
}
.spec-row:last-child { border-bottom: none; }
.spec-row > div { padding: 20px 28px; }
.spec-label {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-label .en { font-size: 12px; font-weight: 500; color: var(--ink-400); }
.spec-value {
  font-size: 15.5px;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.spec-value strong { color: var(--blue-600); font-size: 17px; }
.spec-note { font-size: 13px; color: var(--ink-400); }

/* ---------- Principle flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(46,124,246,.15), rgba(56,214,240,.55), rgba(46,124,246,.15));
  z-index: 0;
}
.flow-step { position: relative; z-index: 1; text-align: center; }
.flow-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 24px rgba(46, 124, 246, .35);
  border: 4px solid #fff;
}
.flow-step h4 { font-size: 15.5px; font-weight: 700; color: var(--ink-900); }
.flow-step .en { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-400); margin-top: 3px; }
.flow-step p { margin-top: 10px; font-size: 13px; color: var(--ink-500); line-height: 1.65; }

/* ---------- Hardware cards ---------- */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hw-card { padding: 28px 24px; border-radius: var(--radius); text-align: center; }
.hw-illust {
  height: 120px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  display: grid;
  place-items: center;
  color: var(--blue-600);
}
.hw-illust svg { width: 52px; height: 52px; }
.hw-card h3 { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.hw-card .en { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-400); letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }
.hw-card p { margin-top: 10px; font-size: 13.5px; color: var(--ink-500); }

/* ---------- Workflow steps ---------- */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.wf-step {
  position: relative;
  padding: 26px 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wf-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.wf-step .n {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--navy-800);
  color: var(--cyan-400);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.wf-step h4 { font-size: 14.5px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.wf-step .en { display: block; font-size: 11px; font-weight: 500; color: var(--ink-400); margin-top: 4px; line-height: 1.5; }
.wf-desc { display: block; margin-top: 9px; font-size: 12.5px; line-height: 1.65; color: var(--ink-500); }
.wf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -11px;
  width: 14px; height: 2px;
  background: var(--line);
  z-index: 1;
}

/* ---------- Architecture layers ---------- */
.arch { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.arch-layer {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.arch-layer-head {
  padding: 26px 24px;
  background: var(--navy-850);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.arch-layer-head .t { font-size: 16px; font-weight: 800; }
.arch-layer-head .en { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-400); }
.arch-layer-body { padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arch-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.arch-node svg { width: 16px; height: 16px; color: var(--blue-500); }
.arch-note {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(46, 124, 246, .18);
  font-size: 14.5px;
  color: var(--ink-700);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.arch-note svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; margin-top: 3px; }

/* ---------- Advantage grid ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card { padding: 32px 28px; border-radius: var(--radius); }
.adv-card .ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(46, 124, 246, .3);
}
.adv-card .ic svg { width: 22px; height: 22px; }
.adv-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink-900); }
.adv-card h3 .en { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-400); margin-top: 3px; }
.adv-card p { margin-top: 10px; font-size: 14px; color: var(--ink-500); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: rgba(46, 124, 246, .4); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-600); }
.faq-item summary .chev {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .3s var(--ease), background .3s;
}
.faq-item summary .chev svg { width: 15px; height: 15px; color: var(--ink-500); }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--grad-brand); }
.faq-item[open] summary .chev svg { color: #fff; }
.faq-body { padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-500); line-height: 1.85; }

/* ---------- Products page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 52px;
}
.filter-btn {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-btn.active {
  background: var(--navy-850);
  border-color: var(--navy-850);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 26, 51, .25);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
.prod-card { overflow: hidden; display: flex; flex-direction: column; }
.prod-card.hide { display: none; }
.prod-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,18,36,.35), transparent 50%); }
.prod-card-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.prod-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--grad-brand-soft);
  color: var(--blue-600);
  border: 1px solid rgba(46, 124, 246, .16);
}
.pill.dark { background: var(--navy-850); color: var(--cyan-400); border-color: transparent; }
.prod-card-body h3 { font-size: 21px; font-weight: 800; color: var(--ink-900); line-height: 1.35; }
.prod-card-body .en { font-size: 13px; color: var(--ink-400); margin-top: 5px; }
.prod-card-body > p { margin-top: 14px; font-size: 14.5px; color: var(--ink-500); }
.prod-specs { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
.prod-specs li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--ink-700); }
.prod-specs svg { width: 15px; height: 15px; color: var(--cyan-600); flex: none; }
.prod-card-foot { margin-top: auto; padding-top: 24px; }

/* ---------- About page ---------- */
.about-lead { font-size: 17px; line-height: 1.95; color: var(--ink-700); }
.about-lead strong { color: var(--ink-900); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-card { padding: 40px 32px; border-radius: var(--radius-lg); text-align: center; position: relative; overflow: hidden; }
.mv-card::after {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: var(--grad-brand-soft);
  top: -95px; right: -95px;
}
.mv-card .ic {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  margin: 0 auto 22px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(46, 124, 246, .32);
}
.mv-card .ic svg { width: 27px; height: 27px; }
.mv-card h3 { position: relative; z-index: 1; font-size: 19px; font-weight: 800; color: var(--ink-900); }
.mv-card .en { position: relative; z-index: 1; display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); margin-top: 4px; }
.mv-card p { position: relative; z-index: 1; margin-top: 14px; font-size: 14.5px; color: var(--ink-500); }

.rd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rd-card { padding: 30px 30px 28px; border-radius: var(--radius); display: flex; gap: 20px; align-items: flex-start; }
.rd-card .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-brand-soft);
  color: var(--blue-600);
  flex: none;
}
.rd-card .ic svg { width: 24px; height: 24px; }
.rd-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink-900); }
.rd-card h3 .en { display: block; font-size: 11px; font-weight: 600; color: var(--ink-400); letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.rd-card p { margin-top: 8px; font-size: 14px; color: var(--ink-500); }

.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan-400), var(--blue-500));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 42px 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 124, 246, .14);
}
.tl-item h3 { font-size: 17px; font-weight: 800; color: var(--ink-900); }
.tl-item .phase { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; display: block; }
.tl-item p { margin-top: 8px; font-size: 14.5px; color: var(--ink-500); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 18px; }
.ci-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ci-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ci-card .ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  flex: none;
  box-shadow: 0 8px 18px rgba(46, 124, 246, .28);
}
.ci-card .ic svg { width: 21px; height: 21px; }
.ci-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink-900); }
.ci-card h3 .en { font-size: 11px; font-weight: 600; color: var(--ink-400); letter-spacing: .05em; text-transform: uppercase; margin-left: 8px; }
.ci-card p { margin-top: 5px; font-size: 15px; color: var(--ink-700); word-break: break-all; }
.ci-card .note { font-size: 12.5px; color: var(--ink-400); margin-top: 4px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 42px 44px;
}
.form-card h2 { font-size: 24px; font-weight: 800; color: var(--ink-900); }
.form-card > p { margin-top: 8px; font-size: 14.5px; color: var(--ink-500); }
.form-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.form-field label .req { color: #E5484D; margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink-900);
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 124, 246, .12);
}
.form-field textarea { resize: vertical; min-height: 128px; }
.form-submit { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-hint { font-size: 12.5px; color: var(--ink-400); }

.map-box {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(46,124,246,.08), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(56,214,240,.08), transparent 40%),
    var(--bg-soft);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}
.map-box .pin {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(46, 124, 246, .35);
  animation: bob 2.6s infinite var(--ease);
}
.map-box .pin svg { width: 25px; height: 25px; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.map-box h3 { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.map-box p { margin-top: 8px; font-size: 14px; color: var(--ink-500); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .map-box .pin, .hero-scroll .wheel::after, .cat-badge.online .pulse { animation: none; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 870;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--navy-850);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 990;
  transform: translate(-50%, 20px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border-radius: 14px;
  background: var(--navy-900);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, transform .35s var(--ease);
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--cyan-400); flex: none; }

/* ---------- 产品实拍图网格 ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 56px auto 0;
}
.shot-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shot-grid figure:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.shot-grid img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block; }
.shot-grid figcaption {
  padding: 13px 18px;
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}
@media (max-width: 620px) {
  .shot-grid { grid-template-columns: 1fr; }
}

/* ---------- 透明底产品图（去背后 PNG 素材） ---------- */
/* 去背产品图不再裁切填充，改为在品牌浅色渐变上完整呈现，四周留呼吸空间 */
img.cutout {
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(180deg, #F8FBFF 0%, #ECF3FC 100%);
}
.cat-card-img img.cutout,
.prod-card-img img.cutout { padding: 22px; }
.split-img img.cutout { padding: 36px; }
.shot-grid img.cutout { padding: 24px; }
/* 去背图卡片减弱底部压暗，避免深色产品主体发闷 */
.cat-card-img:has(img.cutout)::after,
.prod-card-img:has(img.cutout)::after {
  background: linear-gradient(to top, rgba(7, 18, 36, .16), transparent 42%);
}

/* ---------- Misc ---------- */
.pd-cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .fn-grid { grid-template-columns: repeat(3, 1fr); }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-grid { grid-template-columns: repeat(3, 1fr); }
  .wf-step:not(:last-child)::after { display: none; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .section { padding: 84px 0; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .site-header .container { gap: 16px; }
  .hero { min-height: auto; }
  .hero-scroll { display: none; }
  .cat-grid, .split, .prod-grid, .contact-grid, .rd-grid, .scen-grid, .adv-grid, .mv-grid { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .stat + .stat::before { display: none; }
  .arch-layer { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-value { border-top: 1px dashed var(--line-soft); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 26px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .fn-grid, .val-grid, .hw-grid, .wf-grid, .flow { grid-template-columns: 1fr; }
  .flow { row-gap: 32px; }
  .prod-specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { width: 100%; }
  .cat-card-body, .prod-card-body { padding: 24px 22px 28px; }
  .page-hero { padding: calc(var(--header-h) + 64px) 0 60px; }
}
