:root {
  --bg: #ffffff;
  --bg-soft: #fafafb;
  --bg-muted: #f4f4f6;
  --panel: #ffffff;
  --line: rgba(0, 0, 0, 0.07);
  --line-strong: rgba(0, 0, 0, 0.13);
  --text: #1a1a2e;
  --heading: #0d0d1a;
  --muted: #6b6b7b;
  --quiet: #9a9aa8;
  --signal: #e61640;
  --signal-bright: #ff2d55;
  --signal-soft: #fff0f3;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 44px rgba(0, 0, 0, 0.09);
  --shell: min(1220px, calc(100vw - 48px));
  --radius: 14px;
  --display:
    "Avenir Next Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --label:
    "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --utility: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: 7px;
  color: #fff;
  background: var(--signal);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Header ── */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.nav-shell {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--heading);
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(230, 22, 64, 0.15);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.primary-nav > a,
.language-toggle {
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible {
  color: var(--heading);
}

.primary-nav .nav-contact {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--signal);
  background: var(--signal-soft);
  font-weight: 580;
}

.primary-nav .nav-contact:hover {
  border-color: var(--signal);
  background: var(--signal-soft);
}

.language-toggle {
  min-width: 42px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--utility);
  font-size: 10px;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--line-strong);
  color: var(--heading);
  background: var(--bg-muted);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

/* ── Hero ── */

.hero {
  position: relative;
  padding: 64px 0 28px;
}

.hero::before {
  position: absolute;
  z-index: 4;
  top: 64px;
  left: 50%;
  width: min(1080px, 88vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(230, 22, 64, 0.22), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: min(52.54vw, 650px);
  margin-top: 0;
  margin-right: 0;
  margin-left: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  background: #f8f9fb;
  box-shadow: none;
}

.hero-banner::after {
  display: none;
}

.hero-banner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.99) 30%,
    rgba(255, 255, 255, 0.9) 34%,
    rgba(255, 255, 255, 0.5) 38%,
    rgba(255, 255, 255, 0.12) 42%,
    transparent 47%
  );
  pointer-events: none;
}

.hero-banner picture,
.hero-banner img {
  display: block;
}

.hero-banner picture {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(90vw, 1220px);
  height: auto;
  aspect-ratio: 1730 / 909;
  transform: translateY(-50%);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1730 / 909;
  object-fit: contain;
}

.hero-banner-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(24px, calc((100vw - 1220px) / 2));
  display: grid;
  width: 39%;
  transform: translateY(-50%);
}

.hero-banner-copy strong {
  color: #f0002f;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero-banner-copy > b {
  margin-top: clamp(21px, 3.1vw, 42px);
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 55px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-banner-copy > b span {
  display: block;
  margin-top: 0.14em;
}

.hero-banner-copy p {
  margin: clamp(16px, 2.5vw, 31px) 0 0;
  color: var(--muted);
  font-size: clamp(10px, 1.2vw, 15px);
  letter-spacing: 0.025em;
}

.hero-banner-copy i {
  width: clamp(30px, 3.8vw, 50px);
  height: 3px;
  margin-top: 13px;
  border-radius: 99px;
  background: var(--signal-bright);
  box-shadow: 0 0 14px rgba(255, 45, 85, 0.32);
}

html[lang="zh-CN"] .hero-banner-copy {
  width: 41%;
}

html[lang="zh-CN"] .hero-banner-copy > b {
  font-size: clamp(31px, 4.1vw, 55px);
  letter-spacing: -0.035em;
}

html[lang="en"] .hero-banner-copy > b {
  font-size: clamp(22px, 2.8vw, 38px);
  letter-spacing: -0.02em;
}

html[lang="en"] .hero-banner-copy p {
  letter-spacing: 0.08em;
}

/* ── Knowledge flow animation ── */

.knowledge-flow {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 0;
  width: min(90vw, 1220px);
  height: auto;
  aspect-ratio: 1730 / 909;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  transform: translateY(-50%);
}

.flow-particle {
  --flow-duration: 3.4s;
  position: absolute;
  left: var(--flow-from-x);
  top: var(--flow-from-y);
  width: clamp(3px, 0.42vw, 6px);
  height: clamp(3px, 0.42vw, 6px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 3px rgba(230, 22, 64, 0.1),
    0 3px 9px rgba(230, 22, 64, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
  animation: knowledge-flow var(--flow-duration) cubic-bezier(0.42, 0, 0.3, 1) infinite;
  animation-delay: var(--flow-delay);
}

.flow-source-one {
  --flow-from-x: 58.2%;
  --flow-from-y: 21.5%;
  --flow-to-x: 55.6%;
  --flow-to-y: 49%;
  --flow-delay: -0.4s;
}

.flow-source-two {
  --flow-from-x: 47.3%;
  --flow-from-y: 30.7%;
  --flow-to-x: 55.6%;
  --flow-to-y: 49%;
  --flow-delay: -2.5s;
}

.flow-source-three {
  --flow-from-x: 42.4%;
  --flow-from-y: 49.7%;
  --flow-to-x: 55.6%;
  --flow-to-y: 49%;
  --flow-delay: -1.5s;
}

.flow-source-four {
  --flow-from-x: 41.8%;
  --flow-from-y: 71.2%;
  --flow-to-x: 55.6%;
  --flow-to-y: 49%;
  --flow-delay: -3.1s;
}

.flow-source-five {
  --flow-from-x: 54.8%;
  --flow-from-y: 72%;
  --flow-to-x: 55.6%;
  --flow-to-y: 49%;
  --flow-delay: -0.9s;
}

.flow-agent-one,
.flow-agent-two,
.flow-agent-three {
  --flow-duration: 2.9s;
  --flow-from-x: 55.8%;
  --flow-from-y: 49%;
  --flow-to-x: 85.1%;
  --flow-to-y: 50.7%;
}

.flow-agent-one { --flow-delay: -0.2s; }
.flow-agent-two { --flow-delay: -1.15s; }
.flow-agent-three { --flow-delay: -2.1s; }

.flow-pulse {
  position: absolute;
  left: var(--pulse-x);
  top: var(--pulse-y);
  width: var(--pulse-size);
  height: var(--pulse-size);
  border: 1px solid rgba(230, 22, 64, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
  animation: knowledge-pulse 2.8s ease-out infinite;
}

.flow-pulse-hub {
  --pulse-x: 55.6%;
  --pulse-y: 49%;
  --pulse-size: clamp(28px, 3.35vw, 48px);
}

.flow-pulse-agent {
  --pulse-x: 85.1%;
  --pulse-y: 50.7%;
  --pulse-size: clamp(24px, 2.95vw, 42px);
  animation-delay: 0.85s;
}

@keyframes knowledge-flow {
  0% {
    left: var(--flow-from-x);
    top: var(--flow-from-y);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
  16% { opacity: 0.9; }
  78% { opacity: 1; }
  100% {
    left: var(--flow-to-x);
    top: var(--flow-to-y);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@keyframes knowledge-pulse {
  0% {
    opacity: 0.68;
    transform: translate(-50%, -50%) scale(0.45);
  }
  72%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.7);
  }
}

/* ── Hero intro ── */

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
  padding-top: 18px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow,
.section-index {
  color: var(--signal);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow b {
  font-family: var(--label);
  font-weight: inherit;
  letter-spacing: 0.08em;
  text-transform: none;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--signal-bright);
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.4);
  transform: rotate(45deg);
}

.hero h1 {
  max-width: 820px;
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: clamp(31px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--heading);
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--quiet);
  font-size: 11px;
  list-style: none;
}

.hero-points b {
  font-weight: 520;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points li span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.hero-actions {
  margin-bottom: 2px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 620;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--signal);
  box-shadow: 0 6px 22px rgba(230, 22, 64, 0.2);
}

.button-primary:hover {
  background: var(--signal-bright);
  box-shadow: 0 8px 28px rgba(230, 22, 64, 0.28);
}

/* ── Value strip ── */

.value-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

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

.value-grid > div {
  position: relative;
  display: grid;
  min-height: 96px;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  padding: 16px 22px;
  border-left: 1px solid var(--line);
}

.value-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.value-grid > div:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -5px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--signal-bright);
  border-right: 1px solid var(--signal-bright);
  content: "";
  background: var(--bg-soft);
  transform: translateY(-50%) rotate(45deg);
}

.value-step {
  grid-row: 1 / span 2;
  padding-top: 1px;
  color: var(--signal);
  font-family: var(--utility);
  font-size: 9px;
}

.value-grid strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 680;
  color: var(--heading);
}

.value-grid p {
  margin: 5px 0 0;
  color: var(--quiet);
  font-size: 10.5px;
  line-height: 1.45;
}

/* ── Section shared ── */

.section {
  padding: 58px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: end;
  gap: 44px;
  margin-bottom: 24px;
}

.section-heading h2,
.workflow-copy h2,
.security-copy h2,
.closing h2 {
  margin: 11px 0 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.8vw, 48px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--heading);
}

.section-heading > p,
.workflow-copy > p,
.security-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ── Capabilities ── */

.capability-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 12px;
}

.capability-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.capability-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-featured {
  grid-row: 1 / span 2;
  min-height: 472px;
  background:
    linear-gradient(150deg, var(--signal-soft), transparent 38%),
    var(--panel);
}

.capability-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.card-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.card-copy > span {
  color: var(--signal);
  font-family: var(--label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
}

.card-copy h3 {
  margin: 8px 0 7px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--heading);
}

.card-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.card-tag {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  color: var(--quiet);
  font-family: var(--utility);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.capability-card:not(.card-featured) .card-copy {
  padding-right: 0;
}

.capability-card:not(.card-featured) .card-copy p {
  padding-right: 96px;
}

.capability-card:nth-child(4) .card-copy p {
  max-width: 560px;
}

/* ── Mini icons ── */

.mini-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(230, 22, 64, 0.18);
  border-radius: 12px;
  color: var(--signal);
  background: var(--signal-soft);
}

.mini-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.workflow-copy .section-index {
  font-family: var(--label);
  letter-spacing: 0.08em;
  text-transform: none;
}

/* ── Knowledge visual ── */

.knowledge-visual {
  position: relative;
  min-height: 245px;
  margin: 0 0 18px;
}

.knowledge-visual::before,
.knowledge-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.knowledge-visual::before {
  width: 205px;
  height: 205px;
  animation: knowledge-ring-breathe 7.2s ease-in-out infinite;
}

.knowledge-visual::after {
  width: 137px;
  height: 137px;
  border-color: rgba(230, 22, 64, 0.12);
  animation: knowledge-ring-breathe 7.2s ease-in-out -3.6s infinite;
}

.knowledge-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 45, 85, 0.3);
  border-radius: 17px;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 720;
  background: var(--signal);
  box-shadow:
    0 0 0 11px rgba(230, 22, 64, 0.05),
    0 10px 32px rgba(230, 22, 64, 0.18);
  transform: translate(-50%, -50%) rotate(8deg);
  animation: knowledge-center-breathe 5.8s ease-in-out infinite;
}

.knowledge-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 22, 64, 0.7), rgba(230, 22, 64, 0.03));
  transform-origin: 0 50%;
}

.knowledge-line::after {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--signal-bright);
  box-shadow: 0 0 8px rgba(255, 45, 85, 0.45);
  opacity: 0;
  animation: knowledge-line-signal 5.2s ease-in-out infinite;
}

.line-a { width: 124px; transform: rotate(-37deg); }
.line-b { width: 132px; transform: rotate(167deg); }
.line-c { width: 120px; transform: rotate(50deg); }

.line-b::after { animation-delay: -3.45s; }
.line-c::after { animation-delay: -1.72s; }

.point {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--signal-bright);
  box-shadow: 0 0 12px rgba(255, 45, 85, 0.35);
  animation: knowledge-point-pulse 4.8s ease-in-out infinite;
}

.point-a { top: 22%; right: 16%; }
.point-b { top: 40%; left: 10%; }
.point-c { right: 24%; bottom: 13%; }

.point-b { animation-delay: -3.2s; }
.point-c { animation-delay: -1.6s; }

.label {
  position: absolute;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--quiet);
  font-size: 8px;
  font-weight: 500;
  background: var(--bg);
}

.label-a { top: 10%; right: 8%; }
.label-b { top: 28%; left: 1%; }
.label-c { right: 13%; bottom: 2%; }

@keyframes knowledge-ring-breathe {
  0%, 100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.985);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.015);
  }
}

@keyframes knowledge-center-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 11px rgba(230, 22, 64, 0.05),
      0 10px 32px rgba(230, 22, 64, 0.18);
    transform: translate(-50%, -50%) rotate(8deg) scale(1);
  }
  50% {
    box-shadow:
      0 0 0 13px rgba(230, 22, 64, 0.035),
      0 12px 34px rgba(230, 22, 64, 0.22);
    transform: translate(-50%, -50%) rotate(8deg) scale(1.025);
  }
}

@keyframes knowledge-line-signal {
  0%, 12% {
    left: 0;
    opacity: 0;
    transform: scale(0.7);
  }
  16% {
    opacity: 0.9;
  }
  38% {
    opacity: 0.72;
  }
  44%, 100% {
    left: calc(100% - 5px);
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes knowledge-point-pulse {
  0%, 100% {
    box-shadow: 0 0 9px rgba(255, 45, 85, 0.25);
    opacity: 0.72;
    transform: scale(0.94);
  }
  50% {
    box-shadow: 0 0 14px rgba(255, 45, 85, 0.42);
    opacity: 1;
    transform: scale(1.04);
  }
}

/* ── Workflow ── */

.workflow {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.workflow-grid {
  display: block;
}

.workflow-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  align-items: end;
  column-gap: 56px;
  margin-bottom: 26px;
}

.workflow-copy .section-index {
  grid-column: 1;
}

.workflow-copy h2 {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.workflow-copy > p {
  grid-column: 2;
  grid-row: 2;
}

.text-link {
  display: inline-flex;
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  justify-self: start;
  gap: 16px;
  margin-top: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 620;
}

.text-link span:last-child {
  color: var(--signal);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  list-style: none;
}

.workflow-list li {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list > li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(230, 22, 64, 0.18);
  border-radius: 50%;
  color: var(--signal);
  font-family: var(--utility);
  font-size: 8px;
  background: var(--signal-soft);
}

.workflow-list h3 {
  margin: 22px 0 7px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 640;
  letter-spacing: -0.025em;
  color: var(--heading);
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.workflow-list b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--quiet);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Security ── */

.security {
  background: var(--bg);
}

.security-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.security-glow {
  display: none;
}

.security-copy,
.security-features {
  position: relative;
  z-index: 2;
}

.security-copy > p {
  margin-top: 20px;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.security-features > div {
  display: grid;
  min-height: 120px;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-check {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(230, 22, 64, 0.2);
  border-radius: 7px;
  color: var(--signal);
  font-size: 10px;
  background: var(--signal-soft);
}

.security-features p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.security-features strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 640;
}

/* ── Closing ── */

.closing {
  position: relative;
  overflow: hidden;
  padding: 52px 0 56px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--bg-soft);
}

.closing-inner {
  position: relative;
  z-index: 2;
}

.closing-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  transform: rotate(7deg);
}

.closing-mark span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 720;
  background: var(--signal);
  transform: rotate(-7deg);
}

.closing h2 {
  margin-inline: auto;
  font-size: clamp(29px, 3.3vw, 43px);
}

.closing p {
  margin: 15px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  padding: 22px 0 18px;
}

.footer-main p,
.footer-main > a:last-child {
  color: var(--quiet);
  font-size: 11px;
}

.footer-main > a:last-child:hover {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 10px;
}

.footer-bottom a:hover {
  color: var(--muted);
}

.footer-bottom strong {
  font-weight: 500;
}

/* ── Focus ── */

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

/* ── Responsive ── */

@media (max-width: 1020px) {
  .hero-intro {
    gap: 28px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading > p {
    max-width: 640px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .card-featured {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 410px;
  }

  .capability-card:nth-child(4) {
    grid-column: auto;
  }

  .knowledge-visual {
    min-height: 220px;
  }

  .workflow-copy {
    grid-template-columns: 1fr 0.8fr;
    column-gap: 36px;
  }

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

  .workflow-list li:nth-child(2) {
    border-right: 0;
  }

  .workflow-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .security-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .security-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 680px);
    --radius: 12px;
  }

  .nav-shell {
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 54px;
    right: 15px;
    left: 15px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav > a {
    padding: 12px 11px;
  }

  .primary-nav .nav-contact {
    margin-top: 5px;
    text-align: center;
  }

  .language-toggle {
    width: 100%;
    margin-top: 5px;
  }

  .hero {
    padding: 60px 0 24px;
  }

  .hero::before {
    top: 60px;
  }

  .hero-banner {
    border-radius: 0;
  }

  .hero-banner picture,
  .knowledge-flow {
    top: 50%;
    width: 94vw;
    height: auto;
  }

  .flow-particle {
    box-shadow:
      0 0 0 2px rgba(230, 22, 64, 0.1),
      0 2px 6px rgba(230, 22, 64, 0.24);
  }

  .hero-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 15px;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 41px);
  }

  .hero-lead {
    font-size: 12px;
  }

  .hero-actions {
    justify-self: start;
  }

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

  .value-grid > div {
    min-height: 88px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .value-grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .value-grid > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .value-grid > div:nth-child(2)::after {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .capability-card {
    padding: 20px;
  }

  .card-featured {
    min-height: 390px;
  }

  .card-tag {
    right: 16px;
    bottom: 15px;
  }

  .workflow-copy {
    display: block;
    margin-bottom: 20px;
  }

  .workflow-copy > p {
    max-width: 620px;
    margin-top: 14px;
  }

  .text-link {
    margin-top: 12px;
  }

  .workflow-list li {
    min-height: 190px;
    padding: 19px;
  }

  .security-panel {
    padding: 26px 22px;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .security-features > div {
    min-height: auto;
  }

  .closing {
    padding: 46px 0 49px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 520px) {
  .hero-banner picture,
  .knowledge-flow {
    top: 50%;
    width: 98vw;
    height: auto;
  }

  .hero-banner-copy {
    left: 17px;
    width: 41%;
  }

  .hero-banner-copy strong {
    font-size: 25px;
  }

  .hero-banner-copy > b {
    margin-top: 12px;
    font-size: 19px;
  }

  html[lang="zh-CN"] .hero-banner-copy > b {
    font-size: 21px;
  }

  html[lang="en"] .hero-banner-copy > b {
    font-size: 11px;
  }

  .hero-banner-copy p {
    margin-top: 10px;
    font-size: 6.5px;
  }

  .hero-banner-copy i {
    width: 25px;
    height: 2px;
    margin-top: 7px;
  }

  .hero-points {
    gap: 8px 14px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-grid > div,
  .value-grid > div:nth-child(n + 3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .value-grid > div:last-child {
    border-bottom: 0;
  }

  .value-grid > div::after {
    display: none;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .card-featured,
  .capability-card:nth-child(4) {
    grid-column: auto;
  }

  .card-featured {
    min-height: 420px;
  }

  .capability-card {
    min-height: 235px;
  }

  .capability-card:not(.card-featured) .card-copy p {
    padding-right: 68px;
  }

  .knowledge-visual {
    min-height: 230px;
    transform: scale(0.88);
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li,
  .workflow-list li:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }

  .workflow-list b {
    margin-top: 18px;
    padding-top: 0;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .knowledge-flow {
    display: none;
  }

  .knowledge-visual::before,
  .knowledge-visual::after,
  .knowledge-center,
  .point {
    animation: none !important;
  }

  .knowledge-line::after {
    display: none;
  }
}
