/* ==========================================================================
   Musen Zhihai — Corporate GEO website
   Global stylesheet
   --------------------------------------------------------------------------
   Contents
   01. Design tokens
   02. Reset & base
   03. Layout primitives
   04. Typography
   05. Buttons
   06. Header & navigation
   07. Hero
   08. AI answer mock-up
   09. Sections & cards
   10. Steps / process
   11. Fit list (who we work with)
   12. Metrics & comparison table
   13. Case studies
   14. Team
   15. Form
   16. CTA band & footer
   17. Utilities & motion
   18. Responsive
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  /* Colour — deep plum, vivid violet, electric lime, and calm neutrals */
  --navy-950: #1d102d;
  --navy-900: #32194f;
  --navy-800: #472568;
  --navy-700: #5d347f;
  --navy-600: #75469a;

  --blue-700: #713da5;
  --blue-600: #8c58c4;
  --blue-500: #a36bd8;
  --blue-100: #eadcf5;
  --blue-50: #f7f1fb;
  --lime-600: #91bd2e;
  --lime-500: #c9f36a;
  --lime-100: #edf8d5;
  --lime-50: #f7fce9;

  --ink: #21182a;
  --body: #4b4254;
  --muted: #766d80;
  --line: #e8e2ed;
  --line-soft: #f1edf4;
  --surface: #faf8fc;
  --surface-2: #f3eff7;
  --white: #ffffff;
  --on-dark: #ddd3e8;
  --on-dark-muted: #bbaaca;
  --on-dark-subtle: #9c8bad;

  --ok: #397b36;
  --warn: #9a6a12;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.15rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.15rem + 1.5vw, 2.4rem);
  --fs-h3: clamp(1.125rem, 1rem + 0.35vw, 1.3rem);
  --fs-lede: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space */
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 5vw, 7rem);
  --gap: clamp(1.25rem, 2.2vw, 1.75rem);

  /* Radius & shadow */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(39, 19, 59, 0.05), 0 1px 3px rgba(39, 19, 59, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(39, 19, 59, 0.18),
    0 2px 6px -2px rgba(39, 19, 59, 0.06);
  --shadow-lg: 0 28px 60px -30px rgba(39, 19, 59, 0.32),
    0 6px 18px -10px rgba(39, 19, 59, 0.12);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 02. Reset & base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--blue-600);
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

::selection {
  background: var(--lime-100);
  color: var(--navy-900);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* 03. Layout primitives --------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.section--surface {
  background: var(--surface);
}

.section--navy {
  background: var(--navy-900);
  color: var(--on-dark);
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--hairline {
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--wide-right {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

/* 04. Typography ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.026em;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}

.section--navy .eyebrow {
  color: #d3b7ee;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--muted);
}

.section--navy .lede {
  color: var(--on-dark-muted);
}

.measure {
  max-width: 42rem;
}

.text-muted {
  color: var(--muted);
}

.small {
  font-size: var(--fs-sm);
}

.footnote {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--muted);
}

.section--navy .footnote {
  color: var(--on-dark-subtle);
}

/* 05. Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease),
    box-shadow 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
}

.btn--primary {
  --btn-bg: var(--lime-500);
  --btn-fg: var(--navy-950);
  box-shadow: 0 10px 22px -12px rgba(145, 189, 46, 0.62);
}

.btn--primary:hover {
  --btn-bg: #b7e74e;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  --btn-bd: var(--line);
  background: #fff;
}

.btn--secondary:hover {
  --btn-bd: var(--navy-900);
  --btn-fg: var(--navy-900);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.32);
}

.btn--ghost-light:hover {
  --btn-bd: rgba(255, 255, 255, 0.8);
  --btn-fg: #fff;
}

.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* 06. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-900);
  font-weight: 700;
}

.brand:hover {
  color: var(--navy-900);
}

.brand__mark {
  display: block;
  width: 38px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-xs);
  color: var(--body);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--navy-900);
  background: var(--surface);
}

.nav__link[aria-current="page"] {
  color: var(--navy-900);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-600);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language switcher — always visible, including on mobile */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}

.lang-switch__opt {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.lang-switch__opt:hover {
  color: var(--navy-900);
}

.lang-switch__opt.is-active,
.lang-switch__opt.is-active:hover {
  background: var(--lime-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
  cursor: default;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: background 0.18s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s var(--ease);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 07. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.75rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(163, 107, 216, 0.13), transparent 65%),
    radial-gradient(520px 300px at 0% 100%, rgba(201, 243, 106, 0.09), transparent 70%),
    linear-gradient(180deg, #fcfaff 0%, #ffffff 62%);
  border-bottom: 1px solid var(--line-soft);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  color: var(--navy-900);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: var(--fs-lede);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero__cta {
  margin-bottom: 1.75rem;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.hero__note strong {
  color: var(--navy-900);
  font-weight: 600;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--body);
}

.hero__trust svg {
  flex: none;
  color: var(--lime-600);
}

/* One card: the photo bleeds down into the AI-platform panel, so the two
   halves read as a single surface rather than two stacked blocks. */
.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #2a2050;
}

.hero__figure {
  position: relative;
  margin: 0;
  background: #2a2050;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Plum fade on the photo's lower edge, landing on the panel's own colour. */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(42, 32, 80, 0) 0%,
    rgba(42, 32, 80, 0.5) 50%,
    #2a2050 100%
  );
}

.hero__figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 2rem 1.5rem 1.1rem;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: rgba(234, 228, 248, 0.85);
}

/* 08b. AI platform band --------------------------------------------------- */
.ai-strip {
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.ai-strip--plain {
  background: #fff;
}

.ai-strip__lead {
  margin: 0 0 clamp(1.1rem, 2vw, 1.75rem);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ai-strip__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.5vw, 2rem);
  align-items: center;
}

.ai-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--navy-800);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}

.ai-logo:hover {
  opacity: 1;
}

.ai-logo__mark {
  width: 24px;
  height: 24px;
  flex: none;
  display: block;
}

.ai-logo__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: var(--navy-800);
}

/* 08c. AI platform orbit -------------------------------------------------- */
.ai-orbit {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.1rem) clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.35rem, 2vw, 1.7rem);
  background:
    radial-gradient(62% 58% at 50% 64%, rgba(150, 96, 214, 0.34), rgba(150, 96, 214, 0) 72%),
    linear-gradient(180deg, #2a2050 0%, #211846 55%, #171130 100%);
}

.ai-orbit__lead {
  margin: 0 0 clamp(1rem, 1.8vw, 1.4rem);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(216, 206, 242, 0.78);
}

/* Stage: holds the planet, the tilted elliptical orbit and the brand cards. */
.ai-orbit__stage {
  --planet: clamp(112px, 13vw, 168px);
  --rx: clamp(132px, 16vw, 200px);   /* orbit semi-major axis */
  --ry: clamp(52px, 6.2vw, 78px);    /* orbit semi-minor axis */
  position: relative;
  width: 100%;
  max-width: 520px;
  /* Leave room for the tilted ellipse plus card height on both sides. */
  height: calc(var(--planet) * 0.5 + var(--ry) * 2 + var(--rx) * 0.55 + 64px);
  margin-inline: auto;
  overflow: visible;
}

/* Planet — deep-plum sphere with a dotted latitude/longitude grid. */
.ai-orbit__planet {
  position: absolute;
  top: calc(50% - var(--ry));
  left: 50%;
  width: var(--planet);
  height: var(--planet);
  margin-left: calc(var(--planet) / -2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(210, 180, 255, 0.55) 0%, rgba(124, 76, 184, 0.22) 46%, transparent 72%),
    radial-gradient(circle at 50% 50%, #4a2c7a 0%, #32194f 58%, #1d102d 100%);
  box-shadow:
    inset 0 0 30px rgba(15, 7, 28, 0.7),
    inset 0 -18px 40px rgba(10, 4, 20, 0.6),
    0 0 36px rgba(140, 88, 200, 0.45),
    0 0 80px rgba(100, 60, 170, 0.28);
  overflow: hidden;
  z-index: 2;
}

.ai-orbit__planet-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ai-planet-spin 28s linear infinite;
}

.ai-orbit__planet-grid path,
.ai-orbit__planet-grid ellipse {
  fill: none;
  stroke: rgba(196, 160, 240, 0.42);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 0.6 4.4;
}

.ai-orbit__planet-grid .lat--faint {
  stroke: rgba(196, 160, 240, 0.28);
}

/* Tilted elliptical orbit with a travelling highlight (comet). */
.ai-orbit__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--rx) * 2);
  height: calc(var(--ry) * 2);
  margin: calc(var(--ry) * -1) 0 0 calc(var(--rx) * -1);
  border: 1.4px dashed rgba(186, 164, 232, 0.28);
  border-radius: 50%;
  transform: rotate(-16deg);
  z-index: 1;
}

.ai-orbit__comet {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(201, 243, 106, 0) 250deg,
    rgba(201, 243, 106, 0.55) 335deg,
    rgba(201, 243, 106, 0.95) 360deg
  );
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: ai-comet 16s linear infinite;
}

/* Brand cards travelling along the same elliptical path.
   The ring is tilted to match the visible orbit; each card counter-rotates
   so it stays horizontal while going around. */
.ai-orbit__ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: rotate(-16deg);
  z-index: 3;
}

.ai-orbit__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  offset-path: path(
    "M -200 0 a 200 78 0 1 1 0.1 0 a 200 78 0 1 1 -0.1 0"
  );
  offset-rotate: 0deg;
  animation: ai-card-travel 24s linear infinite;
  animation-delay: var(--d, 0s);
}

.ai-orbit__card {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%) rotate(16deg);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem 0.4rem 0.4rem;
  background: #fff;
  border-radius: 999px;
  box-shadow:
    0 10px 26px rgba(8, 5, 20, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.ai-orbit__card img {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
}

.ai-orbit__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #21182a;
}

@keyframes ai-planet-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ai-comet {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ai-card-travel {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* 09. Sections & cards ---------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.35rem, 2vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.card--hover:hover {
  transform: translateY(-3px);
  border-color: #cfd9e8;
  box-shadow: var(--shadow-md);
}

.card p {
  color: var(--body);
  font-size: var(--fs-sm);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  font-family: var(--font-mono);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  margin-bottom: 0.25rem;
}

.icon-badge--light {
  background: var(--blue-50);
  color: var(--blue-700);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

/* ---- Media resources (海外媒体资源) ------------------------------------- */
.media-cat {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-cat__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.media-cat__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(50, 25, 79, 0.55);
}

.media-cat__icon svg {
  width: 26px;
  height: 26px;
}

.media-cat__titles {
  min-width: 0;
}

.media-cat__titles h3 {
  margin: 0.1rem 0 0.2rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.3;
}

.media-cat__titles p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.media-brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.media-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.media-brand img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.media-brand__name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.media-brand--logo {
  padding: 0.5rem 0.6rem;
}

.media-brand:hover {
  border-color: var(--blue-500);
  background: #fff;
  transform: translateY(-1px);
}

.media-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}

.media-benefit svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--blue-600);
}

.media-benefit h4 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.media-benefit p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.45;
}

.tick-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fs-sm);
  color: var(--body);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--lime-600);
  border-bottom: 2px solid var(--lime-600);
  transform: rotate(-45deg);
}

.tick-list--cross li::before {
  border: 0;
  width: auto;
  height: auto;
  top: -0.1em;
  left: 0.1rem;
  content: "✕";
  transform: none;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.tick-list--light li {
  color: var(--on-dark);
}

.tick-list--light li::before {
  border-color: var(--lime-500);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.pill {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: var(--fs-xs);
  color: var(--body);
}

.section--navy .pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
}

/* 10. Steps / process ----------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--lime-500);
  color: var(--navy-950);
  font-size: var(--fs-sm);
  font-weight: 700;
  font-family: var(--font-mono);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: var(--fs-sm);
}

.step__meta {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}

.timeline__phase {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.timeline__desc {
  font-size: var(--fs-sm);
}

.timeline__split {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
}

.section--navy .timeline li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--navy .timeline__phase {
  color: var(--lime-500);
}

.section--navy .timeline__desc {
  color: var(--on-dark);
}

.section--navy .timeline__split {
  color: var(--on-dark-subtle);
}

/* Channel evolution timeline (homepage) */
.timeline__item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line-soft);
}
.timeline__item:last-child { border-bottom: none; }
.timeline__year {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.02em;
}
.timeline__label {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.timeline__item p {
  grid-column: 2;
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 560px) {
  .timeline__item { grid-template-columns: 1fr; gap: 0.2rem; }
  .timeline__item p { grid-column: 1; }
}

/* B2B vs DTC comparison */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare-table thead th {
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 22%;
}
.compare-table td { color: var(--body); line-height: 1.55; }
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }

/* KPI cards (case studies) */
.kpi-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--line);
}
.kpi-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.kpi-card__value {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-700);
}
.kpi-card__sub {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #2e7d32;
}

/* 11. Fit list ------------------------------------------------------------ */
.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.fit__panel {
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
}

.fit__panel--yes {
  border-top: 3px solid var(--lime-600);
}

.fit__panel--no {
  background: var(--surface);
  border-top: 3px solid #c6cfdc;
}

.fit__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.fit__head h3 {
  font-size: 1.0625rem;
}

/* 12. Metrics ------------------------------------------------------------- */
.metric {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.metric__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.metric__value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.metric__from {
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: #b9c4d4;
}

.metric__arrow {
  color: var(--muted);
  font-weight: 400;
}

.metric__delta {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ok);
}

.metric--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.metric--dark .metric__value {
  color: #fff;
}

.metric--dark .metric__label {
  color: var(--on-dark-muted);
}

.metric--dark .metric__from {
  color: var(--on-dark-subtle);
  text-decoration-color: #665579;
}

.metric--dark .metric__arrow {
  color: var(--on-dark-subtle);
}

.metric--dark .metric__delta {
  color: var(--lime-500);
}

.beforeafter {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.beforeafter th,
.beforeafter td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.beforeafter thead th {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--navy-900);
}

.beforeafter tbody th {
  font-weight: 600;
  color: var(--navy-900);
  width: 22%;
}

.beforeafter td {
  color: var(--body);
}

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--blue-50);
  font-size: var(--fs-sm);
}

.callout--neutral {
  border-left-color: #9aa8bb;
  background: var(--surface);
}

.callout svg {
  flex: none;
  margin-top: 0.15rem;
  color: var(--blue-700);
}

.callout--neutral svg {
  color: var(--muted);
}

.callout strong {
  color: var(--navy-900);
}

/* 13. Case studies -------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--geo {
  background: var(--blue-50);
  color: var(--blue-700);
}

.tag--workflow {
  background: var(--lime-100);
  color: var(--ok);
}

.tag--anon {
  background: var(--surface-2);
  color: var(--muted);
}

.case {
  padding: clamp(1.5rem, 2.4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.case + .case {
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

.case__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.case__title {
  margin-bottom: 0.4rem;
}

.case__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.case__fact dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.case__fact dd {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink);
}

.case__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.case__cols h4 {
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.case__footer {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.disclosure {
  padding: 1.15rem 1.35rem;
  border: 1px dashed #cfd9e8;
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--body);
}

/* 14. Team ---------------------------------------------------------------- */
.person {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.person__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  margin-bottom: 1.1rem;
  border-radius: var(--r-sm);
  background: var(--surface);
}

.person__name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.person__initial {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.person__role {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.7rem;
}

.person p {
  font-size: var(--fs-sm);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-logo {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}

/* 15. Form ---------------------------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
}

.field .req {
  color: var(--blue-600);
  margin-left: 0.15rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c7b90' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-50);
}

.field__hint {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.field__error {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #b4232c;
  display: none;
}

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: #b4232c;
}

.field[data-invalid="true"] .field__error {
  display: block;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.form-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--blue-600);
}

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}

.form-status[data-state="notice"] {
  display: block;
  background: #fdf6e9;
  border: 1px solid #ecd6a8;
  color: #6d4f0c;
}

.form-status[data-state="success"] {
  display: block;
  background: #eaf6f1;
  border: 1px solid #bfe3d5;
  color: #14563f;
}

.form-status[data-state="error"] {
  display: block;
  background: #fdeeee;
  border: 1px solid #f0c3c3;
  color: #8d1f27;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list svg {
  color: var(--blue-600);
  margin-top: 0.2rem;
}

.contact-list dt,
.contact-list .contact-list__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list .contact-list__value {
  font-size: var(--fs-sm);
  color: var(--ink);
  word-break: break-word;
}

.contact-list a {
  font-weight: 600;
}

.qr-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.qr-card img {
  width: 132px;
  flex: none;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
}

.qr-card h4 {
  margin-bottom: 0.35rem;
}

.qr-card p {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* 16. CTA band & footer --------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 2.5rem + 4vw, 5rem);
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(163, 107, 216, 0.34), transparent 62%),
    radial-gradient(520px 280px at 92% 100%, rgba(201, 243, 106, 0.1), transparent 68%),
    var(--navy-900);
  color: var(--on-dark);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.85rem;
}

.cta-band p {
  max-width: 38rem;
  color: var(--on-dark-muted);
}

.site-footer {
  padding-block: clamp(2.75rem, 2rem + 3vw, 4rem) 1.5rem;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand__tag {
  color: var(--on-dark-subtle);
}

.site-footer h4 {
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: var(--on-dark-subtle);
}

.site-footer__bottom p {
  max-width: 60rem;
}

/* 17. Utilities & motion -------------------------------------------------- */
.page-hero {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 3vw, 3.25rem);
  background: linear-gradient(180deg, #faf7fd, #fff);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero__inner {
  max-width: 48rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.breadcrumbs {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #c2ccda;
}

.anchor-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 20;
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.anchor-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.anchor-nav a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--body);
}

.anchor-nav a:hover {
  background: var(--surface);
  color: var(--navy-900);
}

.divider {
  height: 1px;
  background: var(--line);
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Keep the platform orbit readable without motion. */
  .ai-orbit__node,
  .ai-orbit__planet-grid,
  .ai-orbit__comet {
    animation: none;
  }

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* 17b. Chinese typography ------------------------------------------------- */
/* Chinese needs a looser line height and far less negative tracking than the
   Latin layout it inherits from. */
html[lang="zh-Hans"] body {
  line-height: 1.8;
}

html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] h4,
html[lang="zh-Hans"] .brand__name {
  letter-spacing: 0;
}

html[lang="zh-Hans"] h1 {
  line-height: 1.28;
}

html[lang="zh-Hans"] .lede,
html[lang="zh-Hans"] .hero__lede {
  line-height: 1.85;
}

html[lang="zh-Hans"] .eyebrow {
  letter-spacing: 0.08em;
}

html[lang="zh-Hans"] .metric__value,
html[lang="zh-Hans"] .timeline__split,
html[lang="zh-Hans"] .step__no,
html[lang="zh-Hans"] .card__index {
  font-family: var(--font-sans);
}

/* 18. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-strip__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

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

  .nav__link {
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav .btn {
    margin-top: 0.75rem;
  }

  /* The language switcher stays visible; the header CTA moves into the menu */
  .site-header__actions > .btn {
    display: none;
  }

  .hero__grid,
  .split,
  .split--wide-right,
  .form-layout,
  .cta-band__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__media {
    order: -1;
  }

  .ai-orbit__stage {
    --planet: clamp(104px, 26vw, 140px);
    --rx: clamp(118px, 30vw, 168px);
    --ry: clamp(46px, 12vw, 66px);
  }

  .ai-orbit__node {
    offset-path: path("M -168 0 a 168 66 0 1 1 0.1 0 a 168 66 0 1 1 -0.1 0");
  }

  .grid--3,
  .grid--2,
  .steps,
  .fit,
  .case__cols,
  .case__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band__grid .btn-row {
    justify-content: flex-start;
  }

  .media-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .nav .nav__cta {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --fs-body: 1rem;
  }

  .brand__tag {
    display: none;
  }

  .grid--4,
  .form-grid,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
  }

  .ai-orbit {
    padding: 1.4rem 0.6rem 1.15rem;
  }

  .ai-orbit__stage {
    --planet: clamp(84px, 28vw, 108px);
    --rx: clamp(76px, 26vw, 96px);
    --ry: clamp(32px, 11vw, 42px);
  }

  .ai-orbit__node {
    offset-path: path("M -96 0 a 96 40 0 1 1 0.1 0 a 96 40 0 1 1 -0.1 0");
  }

  .ai-orbit__card {
    padding: 0.28rem 0.5rem 0.28rem 0.28rem;
    gap: 0.28rem;
  }

  .ai-orbit__card img {
    width: 18px;
    height: 18px;
  }

  .ai-orbit__name {
    font-size: 10px;
  }

  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .qr-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-card img {
    width: 148px;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .media-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-cat__icon {
    width: 46px;
    height: 46px;
  }

  .media-cat__icon svg {
    width: 22px;
    height: 22px;
  }
}

/* =========================================================================
   Blog & FAQ components
   ========================================================================= */

/* Article cards on the blog index */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: var(--gap);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -18px rgba(50, 25, 79, 0.35);
  border-color: var(--blue-100);
}
.post-card__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.post-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--navy-900);
}
.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}
.post-card__meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Article body */
.post { max-width: 46rem; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 1.25rem;
}
.post-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.post__body { font-size: var(--fs-body); line-height: 1.75; color: var(--body); }
.post__body > * + * { margin-top: 1.15rem; }
.post__body h2 {
  font-size: var(--fs-h2);
  color: var(--navy-900);
  margin-top: 2.75rem;
  margin-bottom: 0;
  line-height: 1.25;
}
.post__body h3 {
  font-size: var(--fs-h3);
  color: var(--navy-900);
  margin-top: 2rem;
  margin-bottom: 0;
}
.post__body ul, .post__body ol { padding-left: 1.3rem; }
.post__body li { margin-top: 0.45rem; }
.post__body li::marker { color: var(--blue-600); }
.post__body strong { color: var(--ink); font-weight: 700; }
.post__body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.post__body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--lime-600);
  background: var(--lime-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink);
}
.post__body figure { margin: 1.75rem 0; }
.post__body figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.5rem; }
.post__body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 0.12em 0.42em;
  border-radius: 4px;
  color: var(--navy-800);
}
html[lang="zh-Hans"] .post__body { line-height: 1.9; }

/* Callout box */
.callout {
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--r-sm);
  background: var(--blue-50);
}
.callout--warn { border-color: #f0e0c0; border-left-color: var(--warn); background: #fdf8ee; }
.callout h4 { margin: 0 0 0.4rem; color: var(--navy-900); }
.callout p { margin: 0; font-size: var(--fs-sm); }

/* Stat row for data points */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.75rem;
}
.stat {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.stat__num { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--blue-700); line-height: 1.1; }
.stat__label { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.3rem; line-height: 1.45; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--blue-100); box-shadow: 0 10px 26px -20px rgba(50, 25, 79, 0.4); }
.faq__q {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--blue-600);
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 1.25rem 1.2rem; font-size: var(--fs-sm); color: var(--body); line-height: 1.7; }
.faq__a p { margin: 0; }
.faq__a p + p { margin-top: 0.7rem; }

/* Table of contents */
.toc {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.toc h4 { margin: 0 0 0.6rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: var(--fs-sm); }
.toc li { margin-top: 0.35rem; }
.toc a { color: var(--blue-700); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Scrollable table wrapper for article tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
.table-wrap .compare-table { min-width: 34rem; }

@media print {
  .site-header,
  .cta-band,
  .anchor-nav,
  .site-footer {
    display: none;
  }
}
