:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f7f5ef;
  --ink-soft: rgba(247, 245, 239, 0.72);
  --ink-muted: rgba(247, 245, 239, 0.52);
  --line: rgba(247, 245, 239, 0.14);
  --line-strong: rgba(247, 245, 239, 0.28);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --black: #050505;
  --white: #ffffff;
  --cyan: #9bf6ff;
  --violet: #c7b7ff;
  --lime: #c8ff7f;
  --coral: #ffb199;
  --max: 1240px;
  --wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(155, 246, 255, 0.1), transparent 30%),
    radial-gradient(circle at 58% 72%, rgba(255, 177, 153, 0.08), transparent 34%),
    #050505;
  content: "";
}

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

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

.ambient-canvas,
.aurora,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-canvas {
  z-index: -4;
  opacity: 0.52;
}

.aurora {
  z-index: -3;
  filter: blur(52px) saturate(1.24);
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 22% 16%, rgba(155, 246, 255, 0.22), transparent 34%),
    radial-gradient(ellipse at 78% 18%, rgba(199, 183, 255, 0.18), transparent 32%),
    radial-gradient(ellipse at 62% 78%, rgba(200, 255, 127, 0.1), transparent 36%),
    radial-gradient(ellipse at 18% 82%, rgba(255, 177, 153, 0.12), transparent 34%);
  animation: auroraFlow 16s ease-in-out infinite alternate;
}

.noise {
  z-index: -2;
  opacity: 0.13;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 12%, black, transparent 76%);
}

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--wide));
  min-height: 74px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.26);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(5, 5, 5, 0.78);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: clamp(150px, 17vw, 230px);
  padding: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.desktop-nav {
  display: inline-flex;
  gap: 4px;
  justify-self: center;
  padding: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.desktop-nav a {
  position: relative;
  padding: 10px 15px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.nav-action,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  font-weight: 720;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-action {
  justify-self: end;
  min-width: 112px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.button {
  padding: 0 24px;
}

.button::after,
.nav-action::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.42), transparent 80%);
  content: "";
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.button:hover::after,
.nav-action:hover::after {
  transform: translateX(120%);
}

.button-primary {
  background: var(--ink);
  color: var(--black);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.magnetic:hover {
  border-color: rgba(255, 255, 255, 0.62);
  transform: translate3d(var(--mx, 0), var(--my, -2px), 0);
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  gap: clamp(44px, 7vw, 118px);
  align-items: center;
  width: min(calc(100% - 40px), var(--wide));
  min-height: 100svh;
  margin: 0 auto;
  padding: 150px 0 72px;
}

.hero-copy,
.hero-console {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: rgba(247, 245, 239, 0.76);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shiny-text {
  display: inline-block;
  background: linear-gradient(110deg, rgba(247, 245, 239, 0.52), #fff, rgba(155, 246, 255, 0.72), rgba(247, 245, 239, 0.52));
  background-size: 220% 100%;
  background-clip: text;
  color: transparent;
  animation: shine 5.6s linear infinite;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 8.1vw, 8.8rem);
  line-height: 0.88;
  font-weight: 820;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title > span {
  display: block;
}

.hero-title .word {
  display: inline;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.15;
}

p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(247, 245, 239, 0.76);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.hero-lede span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 760px);
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-proof span {
  min-height: 76px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.spotlight-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  transform-style: preserve-3d;
}

.spotlight-card::before {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 28%, rgba(155, 246, 255, 0.2) 58%, transparent 78%) border-box;
  content: "";
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero-console {
  display: grid;
  min-height: 600px;
  padding: 32px;
  align-content: space-between;
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.55);
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(247, 245, 239, 0.62);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-topline img {
  width: 112px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.14));
}

.console-orb {
  position: relative;
  width: min(80%, 360px);
  aspect-ratio: 1;
  margin: 24px auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 3%, transparent 4%),
    radial-gradient(circle at 50% 50%, rgba(155, 246, 255, 0.34), transparent 26%),
    radial-gradient(circle at 68% 34%, rgba(199, 183, 255, 0.18), transparent 26%);
  animation: floatOrb 6s ease-in-out infinite;
}

.console-orb span {
  position: absolute;
  inset: calc(18% * var(--ring, 1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.console-orb span:nth-child(1) {
  --ring: 0.2;
}

.console-orb span:nth-child(2) {
  --ring: 0.7;
}

.console-orb span:nth-child(3) {
  --ring: 1.22;
}

.console-readout {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.console-readout p {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-readout strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.console-grid span {
  min-height: 70px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 720;
}

.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 18px 34px;
  color: rgba(247, 245, 239, 0.66);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-panel,
.section,
.global-stage,
.faq-section,
.contact-section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.intro-panel {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: clamp(34px, 7vw, 112px);
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 26px 0 0 34px;
  border-left: 1px solid var(--line);
}

.intro-copy p {
  margin-bottom: 0;
}

.intro-panel p:last-child {
  align-self: end;
  margin-bottom: 0;
}

.section {
  padding: 120px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  max-width: none;
  margin-bottom: 42px;
}

.section-heading::after {
  display: block;
  height: 1px;
  margin-bottom: 0.7rem;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  content: "";
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.stack-grid,
.geo-grid {
  display: grid;
  gap: 16px;
}

.stack-grid {
  grid-template-columns: 1.08fr 0.92fr 0.92fr 1.08fr;
}

.stack-card,
.geo-card {
  min-height: 340px;
  padding: 30px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.stack-card:hover,
.geo-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.stack-card span {
  display: inline-flex;
  margin-bottom: 82px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 820;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(32px, 7vw, 110px);
}

.sticky-copy {
  position: sticky;
  top: 126px;
  align-self: start;
}

.flow-list {
  counter-reset: flow;
  border-top: 1px solid var(--line);
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.flow-item span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flow-item h3 {
  margin-bottom: 10px;
}

.flow-item p {
  margin-bottom: 0;
}

.global-stage {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  padding: 120px 0 0;
}

.map-surface {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255, 255, 255, 0.045) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255, 255, 255, 0.045) 49px);
  overflow: hidden;
}

.map-surface::before,
.map-surface::after {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  animation: pulse 4.5s ease-in-out infinite;
}

.map-surface::after {
  inset: 30%;
  animation-delay: 1.2s;
}

.map-pin {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.62);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 760;
}

.map-pin::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
  content: "";
}

.hangzhou {
  left: 58%;
  top: 44%;
}

.sea {
  left: 57%;
  top: 68%;
}

.europe {
  left: 22%;
  top: 30%;
}

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

.geo-card {
  min-height: 240px;
}

.faq-section {
  padding: 120px 0 0;
}

.faq-section h2 {
  max-width: 820px;
  margin-bottom: 30px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 740;
}

details p {
  max-width: 820px;
  padding-bottom: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.26fr 1fr auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: 120px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-section img {
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.14));
}

.site-footer {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 34px 0 50px;
}

.site-footer p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes auroraFlow {
  0% {
    transform: translate3d(-2%, -2%, 0) rotate(0deg) scale(1.02);
  }
  100% {
    transform: translate3d(2%, 3%, 0) rotate(8deg) scale(1.12);
  }
}

@keyframes shine {
  to {
    background-position: -220% 0;
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-14px) rotateX(8deg);
  }
}

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

@keyframes pulse {
  50% {
    opacity: 0.46;
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .intro-panel,
  .split-section,
  .global-stage,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: 500px;
  }

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

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .intro-panel,
  .section,
  .global-stage,
  .faq-section,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--wide));
  }

  .site-header {
    top: 14px;
    min-height: 58px;
  }

  .brand {
    width: 142px;
    padding: 0;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 58px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.45rem, 9.6vw, 2.95rem);
    line-height: 0.94;
  }

  .hero-title .mobile-break {
    display: block;
  }

  .hero-lede,
  p {
    word-break: break-all;
    line-break: anywhere;
    overflow-wrap: anywhere;
  }

  .hero-lede {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-console {
    min-height: 470px;
    padding: 20px;
  }

  .console-topline img {
    width: 96px;
  }

  .console-orb {
    width: min(78vw, 300px);
  }

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

  .stack-grid,
  .geo-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading::after {
    display: none;
  }

  .intro-copy {
    padding: 0;
    border-left: 0;
  }

  .stack-card,
  .geo-card {
    min-height: auto;
  }

  .stack-card span {
    margin-bottom: 42px;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-surface {
    min-height: 430px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
