/* ==========================================================================
   天津中科四通科技有限公司 · 官网
   base.css — tokens / reset / chrome / hero
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #04070e;
  --bg-soft: #070c17;
  --bg-elev: #0a1120;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #edf4ff;
  --muted: #94a4bf;
  --dim: #5f708c;
  --cyan: #43e8d0;
  --blue: #5a9bff;
  --violet: #b18cff;
  --amber: #ffc46b;
  --danger: #ff7b8a;
  --grad: linear-gradient(108deg, #43e8d0 0%, #5aa4ff 46%, #b18cff 100%);
  --grad-soft: linear-gradient(108deg, rgba(67, 232, 208, 0.16), rgba(90, 164, 255, 0.16) 50%, rgba(177, 140, 255, 0.16));
  --paper: #eef2f8;
  --paper-2: #e4eaf3;
  --paper-ink: #0a1424;
  --paper-muted: #4c5b73;
  --paper-line: rgba(10, 20, 36, 0.1);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;
  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(67, 232, 208, 0.28);
  color: #fff;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #050910;
}

::-webkit-scrollbar-thumb {
  background: #1b2940;
  border-radius: 99px;
  border: 2px solid #050910;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a3d5c;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 48px, 980px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 148px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section--soft {
  background:
    radial-gradient(900px 500px at 8% 0%, rgba(67, 232, 208, 0.05), transparent 62%),
    radial-gradient(900px 520px at 95% 100%, rgba(177, 140, 255, 0.055), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .grad-text,
h2 .grad-text,
h3 .grad-text {
  display: inline-block;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: #c8d6ee;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  backdrop-filter: blur(12px);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(67, 232, 208, 0.55);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(67, 232, 208, 0.5); }
  60% { box-shadow: 0 0 0 9px rgba(67, 232, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 232, 208, 0); }
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
}

.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 40px;
}

.section-head--split p {
  padding-bottom: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbe8ff;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.03em;
}

.text-link span {
  transition: transform 0.35s var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

.text-link--dark {
  color: var(--paper-ink);
}

/* ---------- 4. Buttons ---------- */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 8px 28px rgba(67, 232, 208, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(67, 232, 208, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--dark {
  background: var(--paper-ink);
  color: #f2f7ff;
}

.btn--dark:hover {
  background: #13233c;
}

.btn--outline-dark {
  border-color: rgba(10, 20, 36, 0.22);
  color: var(--paper-ink);
  background: transparent;
}

.btn--outline-dark:hover {
  border-color: rgba(10, 20, 36, 0.45);
  background: rgba(10, 20, 36, 0.04);
}

.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--sm {
  min-height: 38px;
  padding: 0 17px;
  font-size: 13px;
}

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

/* ---------- 5. Chrome: progress / cursor / grain ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  z-index: 130;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(67, 232, 208, 0.55);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 120;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, -1%); }
}

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cursor {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(120, 230, 255, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
    margin 0.25s var(--ease), background-color 0.25s ease,
    border-color 0.25s ease, opacity 0.25s ease;
}

.cursor.is-hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: rgba(120, 230, 255, 0.85);
  background: rgba(67, 232, 208, 0.07);
}

.cursor-dot {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: #9ff7ea;
  box-shadow: 0 0 10px rgba(67, 232, 208, 0.9);
}

html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button {
  cursor: none;
}

html.has-cursor .cursor,
html.has-cursor .cursor-dot {
  opacity: 1;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: height 0.35s var(--ease), background-color 0.35s ease,
    border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(5, 9, 17, 0.74);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 6px 18px rgba(67, 232, 208, 0.18));
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

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

.brand__text strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.brand__text small {
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.19em;
}

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

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 99px;
  color: #a7b6ce;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav a[aria-current="page"] {
  color: #fff;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease),
    opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: calc(var(--header-h) + 30px) 28px 42px;
  background:
    radial-gradient(700px 500px at 90% 10%, rgba(90, 155, 255, 0.16), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(67, 232, 208, 0.12), transparent 60%),
    rgba(4, 7, 14, 0.97);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-nav.is-open .mobile-nav__links a {
  opacity: 1;
  transform: none;
}

.mobile-nav__links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav__links a:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav__links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav__links a:nth-child(4) { transition-delay: 0.23s; }
.mobile-nav__links a:nth-child(5) { transition-delay: 0.28s; }
.mobile-nav__links a:nth-child(6) { transition-delay: 0.33s; }

.mobile-nav__links a small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.mobile-nav__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-nav__foot a:hover {
  color: var(--cyan);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 58px) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.9;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 38%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 38%, #000 20%, transparent 78%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero__glow--a {
  width: 520px;
  height: 520px;
  top: -120px;
  right: 4%;
  background: rgba(90, 155, 255, 0.12);
}

.hero__glow--b {
  width: 420px;
  height: 420px;
  bottom: 4%;
  left: -8%;
  background: rgba(67, 232, 208, 0.07);
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 40px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.hero__eyebrow {
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(108%);
  animation: lineRise 1.1s var(--ease) forwards;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

@keyframes lineRise {
  to { transform: translateY(0); }
}

.hero__sub {
  max-width: 620px;
  margin-top: 26px;
  color: #a6b5cd;
  font-size: clamp(15px, 1.32vw, 17.5px);
  line-height: 1.85;
}

.hero__sub strong {
  color: #e7f0ff;
  font-weight: 550;
}

.nowrap {
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__tags svg {
  width: 13px;
  height: 13px;
  stroke: var(--cyan);
  stroke-width: 2;
  fill: none;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.core {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.core__canvas {
  position: absolute;
  inset: 3%;
  width: 94%;
  height: 94%;
  z-index: 1;
}

.core__halo {
  position: absolute;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.9), transparent 12%),
    radial-gradient(circle at 50% 50%, rgba(67, 232, 208, 0.42), rgba(90, 155, 255, 0.25) 42%, transparent 70%);
  filter: blur(6px);
  animation: coreBreathe 6s ease-in-out infinite;
}

@keyframes coreBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.core__rings {
  position: absolute;
  inset: 8%;
  animation: ringSpin 44s linear infinite;
}

.core__rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(120, 200, 255, 0.12);
  border-radius: 50%;
}

.core__rings i:nth-child(2) {
  inset: 14%;
  border-color: rgba(67, 232, 208, 0.14);
  border-style: dashed;
}

.core__rings i:nth-child(3) {
  inset: 29%;
  border-color: rgba(177, 140, 255, 0.13);
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.core__label {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 13, 24, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  animation: floatY 7s ease-in-out infinite;
}

.core__label b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #dff8ff;
}

.core__label small {
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.4;
}

.core__label::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 200, 255, 0.4), transparent);
}

.core__label--a { top: 11%; left: 1%; }
.core__label--a::before { right: -34px; }

.core__label--b { top: 10%; right: 0; animation-delay: -1.8s; }
.core__label--b::before { left: -34px; background: linear-gradient(270deg, rgba(120, 200, 255, 0.4), transparent); }

.core__label--c { bottom: 16%; left: 0; animation-delay: -3.4s; }
.core__label--c::before { right: -34px; }

.core__label--d { bottom: 13%; right: 2%; animation-delay: -5s; }
.core__label--d::before { left: -34px; background: linear-gradient(270deg, rgba(120, 200, 255, 0.4), transparent); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.core__badge {
  position: absolute;
  z-index: 4;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(5, 10, 19, 0.7);
  backdrop-filter: blur(14px);
  white-space: nowrap;
}

.core__badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.core__badge b {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 30px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stats b {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__stats b em {
  margin-left: 3px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero__stats span {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 8. Ecosystem marquee ---------- */
.ecosystem {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 20px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 10, 18, 0.6);
  overflow: hidden;
}

.ecosystem__label {
  flex-shrink: 0;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  color: #70819d;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee__track span {
  position: relative;
  color: #7e8ea8;
  font-size: 13px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee__track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.marquee__track span:hover {
  color: var(--cyan);
}

/* ---------- 9. Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 跨文档页面过渡 ---------- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vtOut 0.28s ease both;
}

::view-transition-new(root) {
  animation: vtIn 0.5s var(--ease) both;
}

@keyframes vtOut {
  to { opacity: 0; transform: scale(0.995); }
}

@keyframes vtIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.is-tilting {
  transition: none !important;
}

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  color: #06101d;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}
