/* ==========================================================================
   NMT Plastics — design system
   Reference language: dark navy + electric blue, Poppins, full-bleed video hero
   Sections are driven by CSS custom properties so a reskin is a 20-line diff.
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  /* ink scale (dark sections) */
  --ink-900: #050b1f;
  --ink-800: #0a1128;
  --ink-700: #111a33;
  --ink-600: #1b2542;

  /* brand */
  --brand: #1f5bff;
  --brand-600: #1747d6;
  --brand-400: #5a86ff;
  --brand-soft: #e8eeff;
  --brand-glow: rgba(31, 91, 255, 0.35);

  /* paper scale (light sections) */
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --paper-3: #eef2f9;

  /* text */
  --text: #0d1526;
  --text-soft: #35425c;
  --muted: #5b6b84;
  --muted-2: #8a97ad;
  --on-dark: #eef2fb;
  --on-dark-muted: #9fadc7;

  /* lines */
  --line: #e3e9f2;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* geometry */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, 0.06), 0 6px 16px -8px rgba(13, 21, 38, 0.12);
  --shadow-md: 0 2px 4px rgba(13, 21, 38, 0.04), 0 18px 40px -18px rgba(13, 21, 38, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(5, 11, 31, 0.5);

  /* layout */
  --container: 1280px;
  --gutter: 24px;
  --nav-h: 76px;

  /* type */
  --font-sans: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p { margin: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.section--dark {
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
}

/* blue radial glow used behind dark sections (as in the reference) */
.section--dark::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(60% 60% at 22% 0%, rgba(31, 91, 255, 0.28), transparent 70%),
    radial-gradient(50% 50% at 82% 18%, rgba(31, 91, 255, 0.18), transparent 72%);
  pointer-events: none;
}

.section--dark > * { position: relative; z-index: 1; }

/* ---------- 4. typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
}

.section--dark .eyebrow { color: var(--brand-400); }

.h-display {
  font-size: clamp(2.25rem, 4.6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.h-section {
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  font-weight: 500;
}

.h-card { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--muted);
  max-width: 62ch;
}

.section--dark .lead { color: var(--on-dark-muted); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 5. buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s,
    box-shadow 0.25s, color 0.25s;
}

.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -12px var(--brand-glow);
}

.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px var(--brand-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--line);
  color: var(--text);
  background: var(--paper);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand);
}

.link-arrow svg { width: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s, height 0.35s;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 31, 0.55), transparent);
  opacity: 1;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: -1;
}

.site-header.is-stuck {
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(13, 21, 38, 0.5);
}

.site-header.is-stuck::after { opacity: 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* logo */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: #fff;
  transition: color 0.35s;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #fff;
  transition: color 0.35s;
}

.brand__text b {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__text span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.site-header.is-stuck .brand__mark { color: var(--brand); }
.site-header.is-stuck .brand__text { color: var(--text); }

/* menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  padding-block: 6px;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link:hover { color: #fff; }

.site-header.is-stuck .nav__link { color: var(--text-soft); }
.site-header.is-stuck .nav__link:hover { color: var(--brand); }
.site-header.is-stuck .nav__link.is-active { color: var(--brand); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.lang-switch svg { width: 14px; height: 14px; flex: none; }

.lang-switch:hover { background: rgba(255, 255, 255, 0.14); }

.site-header.is-stuck .lang-switch {
  border-color: var(--line);
  color: var(--text-soft);
}

.site-header.is-stuck .lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.site-header.is-stuck .nav__toggle {
  border-color: var(--line);
  color: var(--text);
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }

/* ---------- 7. hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink-900);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 11, 31, 0.62) 0%, rgba(5, 11, 31, 0.34) 38%, rgba(5, 11, 31, 0.82) 100%),
    radial-gradient(70% 55% at 50% 45%, rgba(5, 11, 31, 0.1), rgba(5, 11, 31, 0.55));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 96px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.hero__eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 12px var(--brand-400);
  display: block;
}

.hero__title {
  font-size: clamp(2.35rem, 5.6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: #a8c2ff;
}

.hero__sub {
  margin: 26px auto 0;
  max-width: 660px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 46px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__chips li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* entrance animation */
.hero__inner > * {
  animation: heroIn 0.9s var(--ease) both;
}

.hero__inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.24s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 8. trust bar ---------- */
.trustbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding-block: 26px;
}

.trustbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trustbar__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

.trustbar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: flex-end;
}

.trustbar__items li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: opacity 0.25s, color 0.25s;
}

.trustbar__items li:hover { color: var(--brand); }

/* ---------- 9. product cards ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  color: #fff;
  min-height: 420px;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pcard__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.pcard:hover .pcard__img { transform: scale(1.06); }

.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 31, 0.12) 0%, rgba(5, 11, 31, 0.55) 48%, rgba(5, 11, 31, 0.94) 100%);
  transition: opacity 0.4s;
}

.pcard__body {
  margin-top: auto;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcard__tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9db8ff;
}

.pcard__title { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }

.pcard__desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  min-height: 2.7em;
}

.pcard__more {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #fff;
  opacity: 0.9;
}

.pcard__more svg { width: 14px; transition: transform 0.3s var(--ease); }
.pcard:hover .pcard__more svg { transform: translateX(5px); }

/* ---------- 10. stats ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.stat {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(6px);
}

.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.stat__num > span:first-child { font-size: 1em; color: #fff; font-weight: 500; }
.stat__num span { font-size: 0.48em; color: var(--brand-400); font-weight: 500; }

.stat__label {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}

/* ---------- 11. solution cards ---------- */
.scard {
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.scard:hover {
  border-color: #c9d7f7;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.scard__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.scard__icon svg { width: 24px; height: 24px; }
.scard__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.scard__text { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ---------- 12. process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--paper);
  padding: 32px 28px;
  transition: background 0.3s;
}

.step:hover { background: var(--paper-2); }

.step__n {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
}

.step__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ---------- 13. about split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--paper-3);
}

.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.split__badge strong { font-size: 1.5rem; font-weight: 600; color: var(--brand); line-height: 1; }
.split__badge span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; max-width: 8ch; }

.split__body p { color: var(--muted); margin-top: 18px; font-size: 0.97rem; line-height: 1.78; }

.checklist { margin-top: 26px; display: grid; gap: 12px; }

.checklist li {
  display: flex;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-soft);
  align-items: flex-start;
}

.checklist svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand);
  margin-top: 3px;
}

.split .btn { margin-top: 30px; }

/* ---------- 14. news ---------- */
.ncard {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  height: 100%;
}

.ncard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cfdcf7;
}

.ncard__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
}

.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.05); }

.ncard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.ncard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.ncard__tag {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ncard__title { font-size: 1.02rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.ncard__excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.ncard__more { margin-top: auto; padding-top: 8px; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(31, 91, 255, 0.45), transparent 60%),
    linear-gradient(115deg, var(--ink-800), var(--ink-900) 62%);
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.cta-band__inner { position: relative; z-index: 1; max-width: 720px; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.025em; }
.cta-band p { margin-top: 18px; color: rgba(255, 255, 255, 0.74); font-size: 1rem; line-height: 1.75; }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 4px;
}

.cta-band__phone svg { width: 17px; height: 17px; color: var(--brand-400); }

.cta-band__partner {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cta-band__partner-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 16. footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--on-dark);
  padding-top: clamp(56px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 -40% 0;
  height: 60%;
  background: radial-gradient(50% 60% at 20% 100%, rgba(31, 91, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr 1.1fr;
  gap: 34px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.footer__brand .brand { color: #fff; }
.footer__brand .brand__mark { color: var(--brand-400); }
.footer__brand .brand__text { color: #fff; }

.footer__desc {
  margin-top: 20px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--on-dark-muted);
  max-width: 34ch;
}

.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer__col li { margin-bottom: 11px; }

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.footer__col a:hover { color: #fff; }

.footer__contact li {
  display: flex;
  gap: 11px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--brand-400);
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.footer__bottom a { color: rgba(255, 255, 255, 0.62); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 16b. footer partner platform + technical support ---------- */
.footer__legal { margin-right: auto; }

.footer__plat { margin-top: 26px; }

.footer__plat-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 10px;
}

.footer__plat-list { display: flex; flex-wrap: wrap; gap: 10px; }

.plat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  max-width: 100%;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}

a.plat:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.plat__logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px -4px rgba(0, 0, 0, 0.55);
}

.plat__logo img { display: block; height: 19px; width: auto; max-width: 140px; }
.plat__logo b { font-size: 0.78rem; color: #0d1b30; letter-spacing: 0.02em; }

.plat__meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.plat__meta b { font-size: 0.84rem; font-weight: 600; color: #fff; }
.plat__meta em { font-size: 0.68rem; font-style: normal; color: rgba(255, 255, 255, 0.5); }

.techsup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.22s, border-color 0.22s;
}

a.techsup:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }

.techsup__mark {
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, #3d78ff, #1740bd);
  box-shadow: 0 4px 12px -5px rgba(31, 91, 255, 0.9);
}

.techsup__text { display: flex; flex-direction: column; line-height: 1.25; }
.techsup__text em {
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.techsup__text b { font-size: 0.76rem; font-weight: 500; color: rgba(255, 255, 255, 0.84); }

@media (max-width: 560px) {
  .footer__plat-list { width: 100%; }
  .plat { width: 100%; }
  .techsup { padding: 6px 11px 6px 7px; }
}

/* ---------- 17. page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 7vw, 84px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 150%;
  background: radial-gradient(45% 60% at 25% 20%, rgba(31, 91, 255, 0.3), transparent 65%);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; letter-spacing: -0.03em; }
.page-hero p { margin-top: 18px; color: rgba(255, 255, 255, 0.75); font-size: 1.02rem; max-width: 62ch; line-height: 1.75; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.crumbs a:hover { color: #fff; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: 0.4; }

/* ---------- 18. product detail ---------- */
.pdetail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.pdetail__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.pdetail__media img { width: 100%; height: 100%; object-fit: cover; }

.pdetail h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.pdetail__summary { color: var(--muted); font-size: 1rem; line-height: 1.8; }

.spec-table {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table dl { display: grid; grid-template-columns: 38% 62%; margin: 0; }

.spec-table dt,
.spec-table dd {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.spec-table dt { background: var(--paper-2); color: var(--muted); font-weight: 500; }
.spec-table dd { color: var(--text); }
.spec-table dl > *:nth-last-child(-n + 2) { border-bottom: 0; }

.feature-list { margin-top: 26px; display: grid; gap: 11px; }

.feature-list li {
  display: flex;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--text-soft);
  align-items: flex-start;
}

.feature-list svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 4px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.tag {
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.pdetail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- 19. contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.form { display: grid; gap: 16px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }

.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
}

.field label span { color: var(--brand); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 91, 255, 0.12);
}

.form__note { font-size: 0.82rem; color: var(--muted-2); }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.alert--ok { background: #e9f7ef; color: #17603a; border: 1px solid #bfe6d0; }
.alert--err { background: #fdecec; color: #8f2020; border: 1px solid #f3c9c9; }

.contact-list { display: grid; gap: 22px; margin-top: 32px; }

.contact-list__item { display: flex; gap: 15px; align-items: flex-start; }

.contact-list__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-list__icon svg { width: 19px; height: 19px; }

.contact-list__label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.contact-list__value { font-size: 0.95rem; color: var(--text); line-height: 1.6; }
.contact-list__value a:hover { color: var(--brand); }

/* ---------- 20. article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.article h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.22; margin-bottom: 22px; }

.article__lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-soft);
  padding-left: 20px;
  border-left: 3px solid var(--brand);
  margin-bottom: 36px;
}

.article__body p { margin-bottom: 22px; font-size: 1.02rem; line-height: 1.85; color: var(--text-soft); }

/* ---------- 富文本正文（后台编辑器产出的内容） ---------- */
.article__body h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.3;
  margin: 42px 0 16px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.article__body h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.28rem);
  line-height: 1.35;
  margin: 32px 0 12px;
  color: var(--ink);
  font-weight: 700;
}
.article__body h2 + p, .article__body h3 + p { margin-top: 0; }
.article__body ul,
.article__body ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}
.article__body li { margin-bottom: 9px; }
.article__body li::marker { color: var(--brand); }
.article__body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.8;
}
.article__body blockquote p:last-child { margin-bottom: 0; }
.article__body figure {
  margin: 30px 0;
}
.article__body figure img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
.article__body figcaption {
  font-size: 0.82rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 10px;
}
.article__body img { border-radius: var(--radius); height: auto; }
.article__body video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  margin: 24px 0;
  display: block;
}
.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.article__body th,
.article__body td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.article__body th {
  background: var(--paper-2, #f3f6fb);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.article__body tr:last-child td { border-bottom: 0; }
.article__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article__body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.article__body strong { color: var(--ink); font-weight: 650; }

.article__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }

/* ---------- 21. misc ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.breadcrumbs-plain {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs-plain a:hover { color: var(--brand); }
.breadcrumbs-plain li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. video band (global delivery) ---------- */
.vban {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 72vh, 720px);
  padding-block: clamp(80px, 10vw, 120px) clamp(48px, 6vw, 72px);
  color: #fff;
  overflow: hidden;
  background: var(--ink-900);
  isolation: isolate;
}

.vban__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.vban__media video,
.vban__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vban__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 左压右提：左侧保文字可读，中间让画面透出来，右缘留住数字列的对比度 */
  background:
    linear-gradient(90deg, rgba(5, 11, 31, 0.84) 0%, rgba(5, 11, 31, 0.56) 30%, rgba(5, 11, 31, 0.10) 56%, rgba(5, 11, 31, 0.30) 72%, rgba(5, 11, 31, 0.70) 84%, rgba(5, 11, 31, 0.84) 100%),
    linear-gradient(180deg, rgba(5, 11, 31, 0.34) 0%, rgba(5, 11, 31, 0.02) 42%, rgba(5, 11, 31, 0.60) 100%);
}

.vban__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
}

.vban__copy { max-width: 620px; }

.vban__eyebrow { margin-bottom: 22px; }

.vban__title {
  font-size: clamp(1.75rem, 3.3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.vban__body {
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.72;
  color: rgba(238, 242, 251, 0.78);
  margin: 0 0 30px;
  max-width: 56ch;
}

/* 画面提亮后，白字压一层柔和阴影保证可读 */
.vban__eyebrow,
.vban__title,
.vban__body,
.vban__figure dt,
.vban__figure dd {
  text-shadow: 0 1px 14px rgba(5, 11, 31, 0.55), 0 1px 3px rgba(5, 11, 31, 0.38);
}

.vban__figures {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  flex: none;
}

.vban__figure dt {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.vban__figure dd {
  margin: 4px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(215, 225, 243, 0.94);
}

@media (max-width: 1024px) {
  .vban__inner { grid-template-columns: 1fr; gap: 40px; }
  .vban__figures {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 40px;
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 780px) {
  .vban {
    min-height: 0;
    padding-block: 56px 44px;
  }
  /* 窄屏没有左右分栏，横向渐变会把文字压在亮带上，改为纵向压暗 */
  .vban__overlay {
    background:
      linear-gradient(180deg, rgba(5, 11, 31, 0.66) 0%, rgba(5, 11, 31, 0.42) 46%, rgba(5, 11, 31, 0.86) 100%);
  }
  .vban__figures { gap: 20px 28px; padding-top: 22px; }
  .vban__figure dt { font-size: 1.25rem; }
  .vban__figure dd { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip:focus { left: 0; }

/* ---------- 22. responsive ---------- */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact-col { grid-column: auto; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 68px; }
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav { gap: 16px; }
  .nav__actions { margin-left: 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; }
  .pdetail { grid-template-columns: 1fr; }
  .pdetail__media { position: static; aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* mobile menu panel */
  .nav__menu.is-open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--ink-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 28px var(--gutter) 40px;
    overflow-y: auto;
    z-index: 99;
  }

  .nav__menu.is-open .nav__link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding-block: 14px;
    width: 100%;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav__menu.is-open .nav__link::after { display: none; }
}

@media (max-width: 780px) {
  :root { --gutter: 18px; }

  .hero__inner { padding-bottom: 84px; }
  .hero__chips { gap: 8px 18px; font-size: 0.76rem; }
  .hero__cta .btn { flex: 1 1 auto; }

  .grid-4, .grid-3, .grid-2, .stats__grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 1px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .trustbar__inner { justify-content: flex-start; }
  .trustbar__items { justify-content: flex-start; gap: 10px 24px; }

  .pcard { min-height: 340px; }
  .cta-band { padding: 34px 24px; }
  .cta-band::after { display: none; }
  .section { padding-block: clamp(48px, 11vw, 72px); }
  .article__lead { font-size: 1rem; padding-left: 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.95rem, 9vw, 2.4rem); }
  .hero__eyebrow { font-size: 0.68rem; padding: 6px 12px; }
  .btn { padding: 13px 22px; font-size: 0.9rem; }
  .pcard__body { padding: 22px 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .scard { padding: 26px 22px; }
  .step { padding: 26px 22px; }
}

/* 手机上收紧导航，避免 logo / 语言 / 报价 / 汉堡挤爆一行 */
@media (max-width: 560px) {
  .brand__text span { display: none; }
  .brand__text b { font-size: 0.95rem; letter-spacing: -0.01em; }
  .nav { gap: 10px; }
  .nav__actions { gap: 8px; }
  .lang-switch svg { display: none; }
  .lang-switch { padding-inline: 10px; }
  .nav__actions .btn--sm { padding: 9px 15px; font-size: 0.82rem; }
}

/* ---------- 23. right-edge contact rail ---------- */
.side-rail {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 92;
  width: 62px;
  transform: translate(110%, -50%);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: 0 18px 46px -14px rgba(5, 11, 31, 0.42), 0 0 0 1px rgba(5, 11, 31, 0.07);
  transition: transform 0.6s var(--ease) 0.5s, box-shadow 0.3s;
}
.side-rail.is-ready { transform: translate(0, -50%); }

.rail-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 64px;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink-800);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.rail-toggle:hover { background: var(--paper-2); color: var(--brand); }
.rail-toggle__chev {
  width: 15px;
  height: 15px;
  flex: none;
  transform: rotate(0deg);
  transition: transform 0.4s var(--ease);
}
.rail-toggle__text {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.rail-body {
  display: flex;
  flex-direction: column;
  max-height: 340px;
  opacity: 1;
  transition: max-height 0.42s var(--ease), opacity 0.28s;
}
.side-rail.is-collapsed .rail-body { max-height: 0; opacity: 0; }
.side-rail.is-collapsed { border-radius: 12px 0 0 12px; }
.side-rail.is-collapsed .rail-toggle { height: 44px; }
.side-rail.is-collapsed .rail-toggle__text { display: none; }
.side-rail.is-collapsed .rail-toggle__chev { transform: rotate(180deg); }

.rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 0 20px;
  border: 0;
  font: inherit;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: filter 0.22s;
}
.rail-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: opacity 0.22s;
}
.rail-item:hover::after { opacity: 1; }
.rail-item:active { filter: brightness(0.94); }

.rail-item--wa { background: #22c55e; }
.rail-item--tel { background: #f07316; }
.rail-item--ai { background: #1287e8; }

.rail-item__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
}
.rail-item__icon svg { width: 100%; height: 100%; }

.rail-item__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.rail-item__avatar svg { display: block; width: 100%; height: 100%; }

.rail-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}
.rail-item__label--rot {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.02em;
}

/* Latin labels read across and wrap onto 2–3 lines instead of stacking
   one letter per row, which would make "AI Customer Service" 190px tall. */
html[lang="en"] .side-rail { width: 74px; }
html[lang="en"] .rail-toggle__text {
  writing-mode: horizontal-tb;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}
html[lang="en"] .rail-item { padding: 16px 7px 18px; gap: 8px; }
html[lang="en"] .rail-item__label,
html[lang="en"] .rail-item__label--rot {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 0.6rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

/* toast raised by the (not yet live) rail buttons */
.rail-toast {
  position: fixed;
  right: 84px;
  top: 50%;
  z-index: 93;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--ink-800);
  color: var(--on-dark);
  font-size: 0.84rem;
  line-height: 1.5;
  box-shadow: 0 20px 44px -18px rgba(5, 11, 31, 0.6);
  opacity: 0;
  transform: translate(14px, -50%);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.rail-toast.is-on { opacity: 1; transform: translate(0, -50%); }
.rail-toast__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.rail-toast__mark svg { width: 13px; height: 13px; }

@media (max-width: 780px) {
  /* 手机屏窄，贴边竖条会盖住正文：改成右下角按钮，默认收起，点开向上展开 */
  .side-rail {
    top: auto;
    bottom: 86px;
    right: 10px;
    width: 48px;
    border-radius: 14px;
    flex-direction: column-reverse;
    transform: translate(180%, 0);
    transition: transform 0.5s var(--ease) 0.4s, box-shadow 0.3s;
  }
  .side-rail.is-ready { transform: translate(0, 0); }
  .side-rail .rail-body { order: -1; border-radius: 14px 14px 0 0; overflow: hidden; }

  .rail-toggle { height: 48px; border-radius: 14px; }
  .side-rail.is-collapsed .rail-toggle {
    height: 48px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px -8px var(--brand-glow);
  }
  .side-rail:not(.is-collapsed) .rail-toggle { border-radius: 0 0 14px 14px; }
  .side-rail.is-collapsed .rail-toggle:hover { background: var(--brand-600); color: #fff; }

  .rail-item { padding: 14px 0 16px; gap: 8px; }
  .rail-item__icon { width: 22px; height: 22px; }
  .rail-item__avatar { width: 26px; height: 26px; }
  .rail-item__label { font-size: 0.66rem; }

  .rail-toast {
    right: 10px;
    top: auto;
    bottom: 150px;
    max-width: calc(100vw - 40px);
    font-size: 0.8rem;
    transform: translate(0, 12px);
  }
  .rail-toast.is-on { transform: translate(0, 0); }
}

@media (max-height: 620px) {
  .side-rail { top: 46%; }
  .rail-item { padding: 12px 0 14px; }
  .rail-item__label { display: none; }
}

/* ---------- 24. social links in footer ---------- */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.social-chip {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark-muted);
  cursor: default;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}
.social-chip svg { width: 17px; height: 17px; }
.social-chip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.social-chip[data-soon] { position: relative; }

.footer__social-note {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
  opacity: 0.7;
}

/* ---------- 25. legal pages ---------- */
.legal {
  padding: 68px 0 96px;
  background: var(--paper);
}
.legal__head {
  max-width: 780px;
  margin: 0 auto 40px;
}
.legal__meta {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}
.legal__body {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}
.legal__body h2 {
  margin: 40px 0 14px;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  margin: 26px 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 16px; padding-left: 20px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal__toc {
  margin: 0 auto 44px;
  max-width: 780px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.legal__toc h2 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 0.88rem;
}
.legal__toc li { margin-bottom: 7px; break-inside: avoid; }
.legal__toc a { color: var(--text-soft); text-decoration: none; }
.legal__toc a:hover { color: var(--brand); }

.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto 34px;
}
.legal__nav a {
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.legal__nav a:hover { border-color: var(--brand); color: var(--brand); }
.legal__nav a.is-active {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
}

@media (max-width: 780px) {
  .legal { padding: 44px 0 64px; }
  .legal__toc ol { columns: 1; }
  .legal__body { font-size: 0.9rem; line-height: 1.8; }
}

/* ---------- 24. home: one full screen per block ---------- */
/* 桌面端每个首页板块独占一屏：min-height:100svh + 垂直居中 + 滚动吸附。
   只做 min-height 不做固定 height —— 内容比视口高的板块（笔记本 720px
   高时）仍然能完整滚动出来，吸附用 proximity 而不是 mandatory，避免
   用户被卡在某一屏里翻不出去。≤1024px 全部退回原来的流式排版。 */
@media (min-width: 1025px) {
  html.pg-home { scroll-snap-type: y proximity; scroll-padding-top: 0; }
  .pg-home .hero,
  .pg-home .screen { scroll-snap-align: start; }

  .pg-home .screen {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 单个板块 → 撑满整屏，内容居中；上内边距避开固定头部 */
  .pg-home .screen > .section,
  .pg-home .screen > .trustbar,
  .pg-home .screen > .vban {
    flex: 1;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-h) + clamp(18px, 3.2vh, 48px));
    padding-bottom: clamp(26px, 4.4vh, 62px);
  }

  /* 组合屏（信任条 + 数据）：条带定高，另一块吃掉剩余高度 */
  .pg-home .screen--group > .trustbar {
    flex: none;
    min-height: 0;
    display: block;
    padding: calc(var(--nav-h) + 6px) 0 12px;
  }
  .pg-home .screen--group > .section {
    flex: 1;
    min-height: 0;
    padding-top: clamp(16px, 2.6vh, 40px);
    padding-bottom: clamp(16px, 2.6vh, 40px);
  }
  .pg-home .screen--group > .trustbar + .section { border-top: 0; }

  /* 收紧节奏，让 6 张产品卡 / 3 条新闻能装进一屏 */
  .pg-home .section-head { margin-bottom: clamp(18px, 2.8vh, 34px); }
  .pg-home .section-head .lead { margin-top: 12px; }
  .pg-home .h-section { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }

  .pg-home #products .grid-3 { gap: 18px; }
  .pg-home .pcard { min-height: clamp(200px, 28vh, 318px); }
  .pg-home .pcard__body { padding: 18px 20px 16px; gap: 6px; }
  .pg-home .pcard__desc {
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pg-home .ncard__img { aspect-ratio: 16 / 9; }
  .pg-home .ncard__body { padding: 18px 20px 20px; gap: 8px; }
  .pg-home .ncard__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pg-home .scard { padding: 24px 26px 22px; }
  .pg-home .stats__grid { margin-top: clamp(26px, 3.6vh, 44px); }
  .pg-home .stat { padding: clamp(24px, 3.6vh, 46px) clamp(22px, 2vw, 32px); }
  .pg-home .stat__num { font-size: clamp(2.4rem, 4.4vw, 3.9rem); }
  .pg-home .steps { margin-top: clamp(26px, 3.6vh, 44px); }
  .pg-home .split__media { aspect-ratio: auto; }

  /* 整屏里 CTA 面板给足体量，避免大片留白显得单薄 */
  .pg-home .cta-band { padding: clamp(44px, 7.5vh, 92px) clamp(32px, 5vw, 76px); }
  .pg-home .cta-band h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
}

/* 矮屏（1366×768 一类）再压一档，保证一屏装得下 */
@media (min-width: 1025px) and (max-height: 800px) {
  .pg-home .h-section { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
  .pg-home .section-head .lead { font-size: 0.94rem; line-height: 1.6; }
  .pg-home .pcard { min-height: 190px; }
  .pg-home .pcard__desc { display: none; }
  .pg-home .ncard__excerpt { display: none; }
  .pg-home .scard { padding: 20px 22px 18px; }
}

/* 更矮的窗口（≤720px，如 1280×650 的旧笔记本 / 分屏窗口）再压一档 */
@media (min-width: 1025px) and (max-height: 720px) {
  .pg-home .screen > .section,
  .pg-home .screen > .trustbar,
  .pg-home .screen > .vban {
    padding-top: calc(var(--nav-h) + 8px);
    padding-bottom: 12px;
  }
  .pg-home .h-section { font-size: 1.45rem; }
  .pg-home .section-head { margin-bottom: 14px; }
  .pg-home #products .grid-3 { gap: 14px; }
  .pg-home .pcard { min-height: 168px; }
  .pg-home .pcard__body { padding: 14px 16px 12px; }
  .pg-home .scard { padding: 16px 18px 14px; }
  .pg-home .stats__grid,
  .pg-home .steps { margin-top: 16px; }
  .pg-home .cta-band { padding: 28px 32px; }
}

/* print */
@media print {
  .site-header, .hero__scroll, .site-footer, .cta-band,
  .side-rail, .rail-toast { display: none; }
  body { color: #000; }
}
