:root {
  --ink: #0d2239;
  --ink-deep: #07192d;
  --ink-2: #31465d;
  --muted: #637587;
  --line: rgba(17, 41, 65, 0.1);
  --panel: rgba(255, 255, 255, 0.76);
  --bg: #f5f8f7;
  --blue: #006f93;
  --teal: #13b995;
  --cyan: #6ee9dc;
  --sand: #f2efe4;
  --shadow: 0 28px 90px rgba(28, 54, 80, 0.13);
  --shadow-soft: 0 18px 54px rgba(28, 54, 80, 0.1);
  --content: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Avenir Next", "IBM Plex Sans", "Helvetica Neue", "PingFang HK", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 9% 10%, rgba(19, 185, 149, 0.18), transparent 24%),
    radial-gradient(circle at 78% 7%, rgba(0, 111, 147, 0.17), transparent 25%),
    radial-gradient(circle at 52% 34%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(180deg, #fbfcf8 0%, #f4f8f7 42%, #f8fbf9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 34, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 34, 57, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 78%);
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
}

.site-shell::before {
  top: 160px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(19, 185, 149, 0.16), transparent 68%);
  filter: blur(8px);
}

.site-shell::after {
  top: 760px;
  left: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 111, 147, 0.1), transparent 70%);
}

.topbar,
.section {
  width: min(calc(100vw - 44px), var(--content));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 22%, rgba(110, 233, 220, 0.2), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(244, 251, 249, 0.74));
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(28, 54, 80, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(236px, 42vw);
}

.brand img {
  display: block;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(13, 34, 57, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(19, 185, 149, 0.1);
}

.lang-menu {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px 0 15px;
  border: 1px solid rgba(13, 34, 57, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 178px;
  padding: 10px;
  border: 1px solid rgba(13, 34, 57, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(28, 54, 80, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.lang-menu.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover,
.lang-option:focus-visible,
.lang-option.is-active {
  background: rgba(19, 185, 149, 0.1);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(13, 34, 57, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.section {
  padding: 104px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: center;
  min-height: 760px;
  height: min(920px, calc(100vh - 92px));
  padding-top: 74px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 132px;
  left: 0;
  width: 48%;
  height: 420px;
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent),
    radial-gradient(circle at 20% 40%, rgba(110, 233, 220, 0.16), transparent 48%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 660px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.eyebrow-row span,
.kicker {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 111, 147, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.kicker {
  margin: 0;
}

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

h1,
h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Avenir Next", "IBM Plex Sans Condensed", sans-serif;
  font-weight: 780;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 {
  margin-top: 12px;
  font-size: clamp(4rem, 7.1vw, 7rem);
  line-height: 0.86;
}

body[data-lang="zh-Hant"] h1,
body[data-lang="zh-Hans"] h1 {
  max-width: 9.6em;
  font-family: "Avenir Next", "PingFang HK", "PingFang SC", "Noto Sans TC", "Noto Sans SC", sans-serif;
  font-size: clamp(3.45rem, 5.55vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.04;
  word-break: keep-all;
  line-break: strict;
}

h1 span {
  display: block;
}

h1 span + span {
  color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--teal) 72%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #10243d, #006f93 54%, #13b995);
  box-shadow: 0 18px 36px rgba(0, 111, 147, 0.23);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.matrix-board {
  position: relative;
  min-height: 650px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  background:
    radial-gradient(circle at 68% 20%, rgba(110, 233, 220, 0.3), transparent 26%),
    radial-gradient(circle at 24% 74%, rgba(0, 111, 147, 0.17), transparent 30%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(240, 248, 246, 0.84));
  box-shadow:
    0 42px 100px rgba(28, 54, 80, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.matrix-board::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(300deg, rgba(19, 185, 149, 0.12), transparent 36%);
  pointer-events: none;
}

.matrix-board::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(13, 34, 57, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 34, 57, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 68%);
}

.board-header,
.console-grid {
  position: relative;
  z-index: 1;
}

.board-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-header strong {
  color: var(--ink);
  letter-spacing: 0.02em;
}

.orbit-map {
  position: relative;
  z-index: 1;
  height: 390px;
  margin-top: 22px;
}

.orbit,
.node,
.signal-line {
  position: absolute;
}

.orbit {
  inset: 36px 62px;
  border: 1px solid rgba(0, 111, 147, 0.13);
  border-radius: 50%;
}

.orbit-a {
  transform: rotate(-14deg);
}

.orbit-b {
  inset: 78px 118px;
  border-color: rgba(19, 185, 149, 0.18);
  transform: rotate(18deg);
}

.orbit-c {
  inset: 116px 168px;
  border-color: rgba(13, 34, 57, 0.08);
  transform: rotate(-31deg);
}

.mesh-axis {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 111, 147, 0.2), rgba(19, 185, 149, 0.28), transparent);
}

.axis-y {
  left: 50%;
  right: auto;
  top: 14%;
  bottom: 14%;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 111, 147, 0.16), rgba(19, 185, 149, 0.22), transparent);
}

.node {
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #e8faf7);
  box-shadow: 0 18px 46px rgba(28, 54, 80, 0.13);
}

.node-core {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 62% 32%, rgba(110, 233, 220, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 247, 0.9));
  box-shadow:
    0 24px 70px rgba(0, 111, 147, 0.12),
    0 0 0 14px rgba(255, 255, 255, 0.48),
    inset 0 0 28px rgba(19, 185, 149, 0.07);
}

.node-core img {
  width: 96px;
}

.node-a,
.node-b,
.node-c {
  width: 18px;
  height: 18px;
  background: var(--teal);
  animation: pulseNode 3.4s ease-in-out infinite;
}

.node-a {
  top: 78px;
  right: 118px;
}

.node-b {
  left: 112px;
  bottom: 92px;
  animation-delay: -1.2s;
}

.node-c {
  right: 88px;
  bottom: 82px;
  background: var(--blue);
  animation-delay: -2.1s;
}

.signal-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(19, 185, 149, 0.82), transparent);
  transform-origin: center;
  animation: signalSweep 4.6s ease-in-out infinite;
}

.signal-one {
  left: 132px;
  right: 134px;
  top: 190px;
  transform: rotate(-17deg);
}

.signal-two {
  left: 155px;
  right: 104px;
  top: 236px;
  transform: rotate(22deg);
  animation-delay: -1.8s;
}

.signal-three {
  left: 160px;
  right: 176px;
  top: 154px;
  transform: rotate(15deg);
  opacity: 0.56;
  animation-delay: -2.8s;
}

.data-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(13, 34, 57, 0.72);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.chip-a {
  left: 96px;
  top: 96px;
}

.chip-b {
  right: 78px;
  top: 166px;
}

.chip-c {
  left: 132px;
  bottom: 74px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.console-card,
.service-card,
.model-rail article,
.entity-card,
.entity-hub,
.company-card,
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.console-card {
  position: relative;
  min-height: 128px;
  padding: 18px;
  border-radius: 24px;
  overflow: hidden;
}

.console-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 48%);
  pointer-events: none;
}

.console-card span,
.service-card span,
.model-rail span,
.entity-card span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-size: 1.03rem;
}

.metric-line {
  position: relative;
  z-index: 1;
  height: 9px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(0, 111, 147, 0.09);
  overflow: hidden;
}

.metric-line i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  animation: breathe 4.4s ease-in-out infinite;
}

.wave-line {
  position: relative;
  z-index: 1;
  height: 34px;
  margin-top: 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 50%, var(--teal) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 34%, var(--blue) 0 3px, transparent 4px),
    radial-gradient(circle at 63% 62%, var(--teal) 0 3px, transparent 4px),
    linear-gradient(115deg, transparent 8%, rgba(0, 111, 147, 0.14) 9% 12%, transparent 13% 38%, rgba(19, 185, 149, 0.18) 39% 43%, transparent 44%);
  animation: waveDrift 5s ease-in-out infinite;
}

.gateway-section {
  padding-top: 32px;
}

.gateway-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 20%, rgba(110, 233, 220, 0.24), transparent 31%),
    radial-gradient(circle at 88% 72%, rgba(0, 111, 147, 0.15), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(240, 249, 247, 0.58));
  box-shadow:
    0 30px 92px rgba(28, 54, 80, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

.gateway-shell::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(13, 34, 57, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 34, 57, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 72%);
  pointer-events: none;
}

.gateway-shell > * {
  position: relative;
  z-index: 1;
}

.gateway-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.gateway-actions {
  margin-top: 26px;
}

.gateway-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(0, 111, 147, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 760;
}

.gateway-console {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(19, 185, 149, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 250, 248, 0.72));
  box-shadow:
    0 26px 74px rgba(28, 54, 80, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.gateway-console-top,
.gateway-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gateway-console-top {
  min-height: 44px;
  padding: 0 4px 16px;
  border-bottom: 1px solid rgba(13, 34, 57, 0.08);
}

.gateway-console-top span,
.gateway-demo-head span,
.gateway-flow span,
.gateway-result span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 860;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gateway-console-top strong {
  padding: 8px 12px;
  border: 1px solid rgba(13, 34, 57, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.gateway-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gateway-flow::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 111, 147, 0.2), rgba(19, 185, 149, 0.34), transparent);
}

.gateway-flow article {
  position: relative;
  min-width: 0;
  min-height: 174px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 44px rgba(28, 54, 80, 0.08);
}

.gateway-flow article::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 22px;
  width: 14px;
  height: 14px;
  border: 4px solid rgba(19, 185, 149, 0.18);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(19, 185, 149, 0.08);
}

.gateway-flow strong {
  display: block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.gateway-flow p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.gateway-demo {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(13, 34, 57, 0.07);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(13, 34, 57, 0.94), rgba(0, 111, 147, 0.84) 62%, rgba(19, 185, 149, 0.72));
  color: #fff;
  box-shadow: 0 22px 58px rgba(0, 111, 147, 0.18);
}

.gateway-demo-head span {
  color: rgba(255, 255, 255, 0.76);
}

.gateway-demo-head strong {
  font-size: 1.05rem;
}

.gateway-policy-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gateway-policy {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 760;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.gateway-policy:hover,
.gateway-policy:focus-visible,
.gateway-policy.is-active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.gateway-result {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 10px;
  margin-top: 16px;
}

.gateway-result div {
  min-width: 0;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.gateway-result span {
  color: rgba(255, 255, 255, 0.65);
}

.gateway-result strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.section-heading {
  min-width: 0;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.cta-card h2 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 5.1vw, 5.25rem);
  line-height: 0.94;
}

body[data-lang="zh-Hant"] .section-heading h2,
body[data-lang="zh-Hant"] .cta-card h2,
body[data-lang="zh-Hans"] .section-heading h2,
body[data-lang="zh-Hans"] .cta-card h2 {
  max-width: 10.5em;
  font-family: "Avenir Next", "PingFang HK", "PingFang SC", "Noto Sans TC", "Noto Sans SC", sans-serif;
  font-size: clamp(2.7rem, 4.35vw, 4.55rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
  word-break: keep-all;
  line-break: strict;
}

body[data-lang="zh-Hant"] .model-layout .section-heading h2,
body[data-lang="zh-Hans"] .model-layout .section-heading h2 {
  max-width: 8.8em;
}

.section-heading p:not(.kicker),
.service-card p,
.model-rail p,
.entity-card p,
.cta-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.section-heading p:not(.kicker) {
  margin: 20px 0 0;
  max-width: 68ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 284px;
  padding: 26px;
  border-radius: 28px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0, 111, 147, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 111, 147, 0.12) 2px, transparent 2px),
    linear-gradient(rgba(19, 185, 149, 0.12) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.72;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 185, 149, 0.12), transparent 68%);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 185, 149, 0.22);
  box-shadow: 0 26px 72px rgba(28, 54, 80, 0.13);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 36px 0 0;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
}

.service-card-accent {
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(110, 233, 220, 0.26), transparent 28%),
    linear-gradient(145deg, #10243d, #006f93 62%, #0c9d86);
}

.service-card-accent::before {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, 0.18) 2px, transparent 2px);
  background-size: 14px 14px;
}

.service-card-accent span,
.service-card-accent h3,
.service-card-accent p {
  color: #fff;
}

.model-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 22%, rgba(19, 185, 149, 0.12), transparent 30%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.model-rail {
  position: relative;
  display: grid;
  gap: 14px;
}

.model-rail::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: -24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 111, 147, 0.24), rgba(19, 185, 149, 0.32), transparent);
}

.model-rail article {
  position: relative;
  padding: 28px 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
}

.model-rail article::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -24px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 111, 147, 0.28));
}

.model-rail strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.34rem;
  letter-spacing: -0.035em;
}

.model-rail p {
  margin: 12px 0 0;
}

.entity-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.company-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entity-map::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 111, 147, 0.24), rgba(19, 185, 149, 0.28), transparent);
}

.entity-card,
.entity-hub,
.company-card {
  border-radius: 32px;
}

.entity-card,
.company-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
}

.entity-card::after,
.company-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 233, 220, 0.16), transparent 68%);
}

.entity-card h3,
.company-card h3 {
  position: relative;
  z-index: 1;
  margin: 44px 0 0;
  font-size: 2.1rem;
  letter-spacing: -0.05em;
}

.entity-card p,
.company-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
}

.company-card-brand {
  background:
    radial-gradient(circle at 70% 20%, rgba(110, 233, 220, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.76);
}

.company-card-brand img {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 76px;
  opacity: 0.9;
}

.entity-hub {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(110, 233, 220, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    0 28px 82px rgba(0, 111, 147, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.entity-hub img {
  width: 118px;
}

.entity-hub strong {
  margin-top: 14px;
  font-size: 1.2rem;
}

.entity-hub span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-section {
  padding-bottom: 124px;
}

.cta-card {
  position: relative;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(19, 185, 149, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(241, 249, 247, 0.72));
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 185, 149, 0.2), transparent 68%);
}

.cta-card h2,
.cta-card p,
.cta-card .hero-actions {
  position: relative;
  z-index: 1;
}

.cta-card p:not(.kicker) {
  max-width: 64ch;
  margin-top: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.8fr) auto;
  gap: 24px;
  width: min(calc(100vw - 44px), var(--content));
  margin: 0 auto;
  padding: 36px 0 54px;
  border-top: 1px solid rgba(13, 34, 57, 0.08);
  color: var(--muted);
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  max-width: 44ch;
  margin: 14px 0 0;
  line-height: 1.7;
}

.site-footer address,
.site-footer nav {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  width: min(calc(100vw - 44px), 920px);
  margin: 0 auto;
  padding: 42px 0 80px;
}

.legal-brand {
  display: inline-flex;
  width: 220px;
  margin-bottom: 42px;
}

.legal-card {
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 12px 0 20px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.legal-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.legal-card a {
  color: var(--blue);
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: revealIn 620ms ease both;
}

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

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(19, 185, 149, 0.11);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 12px rgba(19, 185, 149, 0.04);
  }
}

@keyframes signalSweep {
  0%,
  100% {
    opacity: 0.36;
  }
  50% {
    opacity: 1;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scaleX(0.94);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes waveDrift {
  0%,
  100% {
    filter: saturate(1);
    transform: translateY(0);
  }
  50% {
    filter: saturate(1.18);
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .brand {
    width: min(218px, 34vw);
  }

  .nav a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .lang-trigger {
    min-height: 40px;
    padding-left: 12px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3.65rem, 7.4vw, 5.5rem);
  }

  body[data-lang="zh-Hant"] h1,
  body[data-lang="zh-Hans"] h1 {
    font-size: clamp(3.2rem, 5.9vw, 4.6rem);
    line-height: 1.06;
  }

  body[data-lang="zh-Hant"] .section-heading h2,
  body[data-lang="zh-Hant"] .cta-card h2,
  body[data-lang="zh-Hans"] .section-heading h2,
  body[data-lang="zh-Hans"] .cta-card h2 {
    max-width: 100%;
    font-size: clamp(2.5rem, 5.8vw, 3.7rem);
    line-height: 1.1;
  }

  .matrix-board {
    min-height: 560px;
  }

  .orbit-map {
    height: 310px;
  }

  .data-chip {
    transform: scale(0.92);
  }

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

  .console-card {
    min-height: 104px;
  }

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

  .gateway-shell {
    grid-template-columns: 1fr;
  }

  .gateway-flow,
  .gateway-result {
    grid-template-columns: 1fr;
  }

  .gateway-flow::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .topbar-actions {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: none;
    width: min(360px, calc(100vw - 44px));
    padding: 14px;
    border: 1px solid rgba(13, 34, 57, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 54px rgba(28, 54, 80, 0.14);
  }

  body.nav-open .topbar-actions {
    display: grid;
  }

  body.nav-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: grid;
    width: 100%;
    border-radius: 18px;
  }

  .lang-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .lang-dropdown {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    transform: none;
  }

  .hero,
  .gateway-shell,
  .model-layout,
  .entity-map,
  .company-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding-top: 76px;
  }

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

  .matrix-board {
    min-height: 560px;
  }

  .model-rail article::before {
    display: none;
  }

  .model-rail::before,
  .entity-map::before {
    display: none;
  }

  .entity-hub {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .topbar,
  .section {
    width: min(calc(100vw - 28px), var(--content));
  }

  .topbar {
    top: 10px;
    margin-top: 10px;
    padding: 10px 12px;
  }

  .brand {
    width: min(198px, 58vw);
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.85rem, 13.2vw, 3.75rem);
    letter-spacing: -0.07em;
    overflow-wrap: anywhere;
  }

  body[data-lang="zh-Hant"] h1,
  body[data-lang="zh-Hans"] h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 10.8vw, 3.35rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    overflow-wrap: normal;
  }

  body[data-lang="zh-Hant"] .section-heading h2,
  body[data-lang="zh-Hant"] .cta-card h2,
  body[data-lang="zh-Hans"] .section-heading h2,
  body[data-lang="zh-Hans"] .cta-card h2 {
    font-size: clamp(2.15rem, 9.5vw, 3.1rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
  }

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

  .button {
    width: 100%;
  }

  .matrix-board {
    min-height: 620px;
    padding: 20px;
    border-radius: 30px;
  }

  .orbit-map {
    height: 300px;
  }

  .chip-a {
    left: 42px;
    top: 68px;
  }

  .chip-b {
    right: 28px;
    top: 114px;
  }

  .chip-c {
    left: 52px;
    bottom: 44px;
  }

  .node-core {
    width: 122px;
    height: 122px;
  }

  .node-core img {
    width: 76px;
  }

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

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

  .section-heading h2,
  .cta-card h2 {
    font-size: clamp(2.4rem, 13vw, 4.4rem);
    overflow-wrap: anywhere;
  }

  .gateway-shell {
    padding: 22px;
    border-radius: 30px;
  }

  .gateway-console {
    padding: 16px;
    border-radius: 26px;
  }

  .gateway-console-top,
  .gateway-demo-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gateway-flow article {
    min-height: 150px;
  }

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