:root {
  --bg: #070b10;
  --bg-elevated: #0d131b;
  --panel: rgba(13, 20, 29, 0.78);
  --line: rgba(155, 179, 205, 0.18);
  --text: #eef7ff;
  --muted: #9dafc1;
  --faint: #637487;
  --cyan: #27d5ff;
  --green: #6dffb4;
  --amber: #ffce6b;
  --ink: #090909;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-wrap: pretty;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 18% 12%, rgba(39, 213, 255, 0.14), transparent 30%), radial-gradient(circle at 78% 18%, rgba(0, 255, 115, 0.1), transparent 28%), linear-gradient(180deg, #071019 0%, #070b10 46%, #090d12 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

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

.site-header {
  width: min(var(--max), calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: rgba(10, 16, 23, 0.58);
  backdrop-filter: blur(16px);
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
  padding: 44px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #031014;
  background: var(--cyan);
  box-shadow: 0 18px 46px rgba(39, 213, 255, 0.2);
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.scan-panel {
  width: min(100%, 520px);
  border: 1px solid rgba(39, 213, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.92), rgba(7, 11, 16, 0.82));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel-topline span:last-child {
  color: var(--green);
}

.network-map {
  position: relative;
  height: 330px;
  overflow-x: auto;
  overflow-y: hidden;
  background: radial-gradient(circle at 74% 42%, rgba(39, 213, 255, 0.13), transparent 34%), linear-gradient(180deg, rgba(9, 16, 24, 0.94), rgba(7, 11, 16, 0.9));
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(39, 213, 255, 0.36) rgba(255, 255, 255, 0.04);
}

.network-map:active {
  cursor: grabbing;
}

.network-map::-webkit-scrollbar {
  height: 2px;
}

.network-map::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.network-map::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(39, 213, 255, 0.36);
}

.node-map {
  display: block;
}

.map-canvas {
  position: relative;
  height: 100%;
  min-width: 760px;
  overflow: hidden;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(39, 213, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 213, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 34px;
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(39, 213, 255, 0.09), transparent);
  animation: scan 5s linear infinite;
  pointer-events: none;
}

.map-stage {
  position: relative;
  z-index: 1;
  height: 100%;
  width: max-content;
  min-width: 100%;
}

.world-map {
  display: block;
  width: auto;
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(39, 213, 255, 0.14));
  user-select: none;
  pointer-events: none;
}

.edge-node {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(39, 213, 255, 0.92);
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.edge-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(39, 213, 255, 0.45);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.35);
  transform-origin: center;
  animation: nodeRing 2.3s ease-out infinite;
}

.edge-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 213, 255, 0.28), transparent 66%);
  transform: translate(-50%, -50%);
  transform-origin: center;
  pointer-events: none;
}

.edge-sj {
  left: 16.43%;
  top: 25.98%;
}

.edge-la {
  left: 16.78%;
  top: 27.42%;
}

.edge-tokyo {
  left: 89.16%;
  top: 25.98%;
  animation-delay: -1.1s;
}

.edge-sg {
  left: 80.77%;
  top: 54.85%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(109, 255, 180, 0.86);
  animation-delay: -1.65s;
}

.edge-sg::before {
  border-color: rgba(109, 255, 180, 0.48);
}

.edge-sg::after {
  background: radial-gradient(circle, rgba(109, 255, 180, 0.28), transparent 66%);
}

.edge-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.edge-route {
  fill: none;
  stroke: rgba(39, 213, 255, 0.38);
  stroke-width: 0.14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(39, 213, 255, 0.34));
}

.edge-route-green {
  stroke: rgba(109, 255, 180, 0.42);
  filter: drop-shadow(0 0 6px rgba(109, 255, 180, 0.34));
}

.edge-cn {
  left: 83.3%;
  top: 32.1%;
  width: 10px;
  height: 10px;
  background: #ffcf5a;
  box-shadow: 0 0 16px rgba(255, 207, 90, 0.92), 0 0 34px rgba(255, 207, 90, 0.42);
}

.edge-cn::before {
  border-color: rgba(255, 207, 90, 0.5);
}

.edge-cn::after {
  background: radial-gradient(circle, rgba(255, 207, 90, 0.3), transparent 66%);
}

.svg-packet {
  opacity: 0;
  transform: scaleX(0.43);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.svg-packet-blue {
  fill: rgba(39, 213, 255, 0.96);
  filter: drop-shadow(0 0 5px rgba(39, 213, 255, 0.95)) drop-shadow(0 0 14px rgba(39, 213, 255, 0.58));
}

.svg-packet-green {
  fill: rgba(109, 255, 180, 0.94);
  filter: drop-shadow(0 0 5px rgba(109, 255, 180, 0.92)) drop-shadow(0 0 14px rgba(109, 255, 180, 0.54));
}

.svg-packet-cn {
  fill: rgba(255, 207, 90, 0.96);
  filter: drop-shadow(0 0 5px rgba(255, 207, 90, 0.95)) drop-shadow(0 0 14px rgba(255, 207, 90, 0.58));
}

.flag {
  font-size: 16px;
  line-height: 1;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metrics-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.metrics-grid div:last-child {
  border-right: 0;
}

.metrics-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metrics-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
  scroll-margin-top: 96px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 0;
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.stat span,
.stat small {
  display: block;
  color: var(--muted);
}

.stat>span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.stat strong {
  display: block;
  margin: 8px 0;
  font-size: 26px;
  color: var(--text);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.section-heading {
  max-width: 590px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.feature-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 18px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover,
.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 213, 255, 0.45);
}

.glyph {
  grid-row: span 2;
  display: grid;
  place-items: center;
  height: 56px;
  border: 1px solid rgba(39, 213, 255, 0.32);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(39, 213, 255, 0.07);
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plan-card {
  position: relative;
  padding: 24px;
  min-height: 352px;
  display: flex;
  flex-direction: column;
}

.plan-card.preferred {
  border-color: rgba(109, 255, 180, 0.45);
  box-shadow: 0 22px 80px rgba(109, 255, 180, 0.1);
}

.plan-card.muted {
  background: rgba(255, 255, 255, 0.028);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(109, 255, 180, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.plan-name {
  color: var(--muted);
  font-weight: 800;
}

.price {
  margin: 18px 0 6px;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.price span {
  font-size: 22px;
  color: var(--cyan);
  vertical-align: super;
}

.plan-card p {
  color: var(--faint);
}

ul {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

li {
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-link {
  margin-top: auto;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 6px;
  color: #031014;
  background: var(--green);
  font-weight: 900;
  transition: transform 160ms ease, filter 160ms ease;
}

.plan-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.quickstart {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.steps span {
  color: var(--cyan);
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--text);
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--text);
  font-size: 16px;
}

.footer-brand span {
  margin-top: 2px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
  align-items: center;
}

.footer-grid a,
.footer-grid span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid a {
  color: var(--cyan);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.footer-grid a:hover {
  color: var(--ink);
  border-color: var(--cyan);
  background: var(--cyan);
}

@keyframes scan {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes nodeRing {
  0% {
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0.75;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 980px) {

  .hero,
  .feature-band,
  .quickstart {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .site-header {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    border-radius: 8px;
  }

  .nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .network-map {
    height: 300px;
  }

  .map-canvas {
    min-width: 680px;
  }

  .stats,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .glyph {
    width: 72px;
    margin-bottom: 16px;
  }

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

  .metrics-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
