:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(13, 20, 31, 0.74);
  --panel-strong: rgba(17, 26, 40, 0.92);
  --text: #eef6ff;
  --muted: #9fb1c6;
  --line: rgba(165, 205, 255, 0.18);
  --cyan: #40e7ff;
  --green: #7dffbf;
  --rose: #ff6ba8;
  --amber: #ffd166;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(64, 231, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 83% 3%, rgba(255, 107, 168, 0.12), transparent 24rem),
    linear-gradient(180deg, #05070d 0%, #08101a 45%, #06080d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

#field {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.52;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.86), rgba(5, 7, 13, 0));
  backdrop-filter: blur(14px);
}

.brand,
.nav nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-cn {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(64, 231, 255, 0.75);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(64, 231, 255, 0.9), rgba(125, 255, 191, 0.08)),
    #0a1620;
  box-shadow: 0 0 28px rgba(64, 231, 255, 0.44);
}

.nav nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav nav a:hover {
  color: var(--text);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: 78px 0 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(46px, 6.4vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 8px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.12;
}

.hero-lede,
.proof-copy p,
.consult p {
  max-width: 690px;
  color: #c5d4e7;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.consult {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

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

.button.primary {
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
  box-shadow: 0 18px 48px rgba(64, 231, 255, 0.26);
}

.button-stacked {
  min-height: 64px;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}

.button-stacked small {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.72;
}

.button.ghost {
  color: #d8e8f6;
  background: rgba(255, 255, 255, 0.04);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metrics div {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.metrics strong {
  display: block;
  color: var(--text);
  font-size: 26px;
}

.metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 450px;
  perspective: 1200px;
}

.orbital {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(64, 231, 255, 0.24), transparent 29%),
    radial-gradient(circle at center, rgba(255, 107, 168, 0.14), transparent 52%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 70%);
  filter: drop-shadow(0 38px 90px rgba(64, 231, 255, 0.18));
  animation: breathe 5s ease-in-out infinite;
}

.orbital::before,
.orbital::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(64, 231, 255, 0.28);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(0deg);
  animation: orbit 10s linear infinite;
}

.orbital::after {
  inset: 16%;
  border-color: rgba(255, 107, 168, 0.22);
  transform: rotateY(66deg) rotateZ(0deg);
  animation-duration: 13s;
  animation-direction: reverse;
}

.chip {
  position: relative;
  z-index: 2;
  width: 194px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(64, 231, 255, 0.7);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(64, 231, 255, 0.18), rgba(255, 107, 168, 0.08)),
    #07131f;
  box-shadow:
    inset 0 0 35px rgba(64, 231, 255, 0.16),
    0 0 70px rgba(64, 231, 255, 0.28);
  transform: rotateX(58deg) rotateZ(45deg);
  animation: chipSpin 12s linear infinite;
}

.chip-grid {
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background-image:
    linear-gradient(rgba(125, 255, 191, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 255, 191, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.chip-core {
  z-index: 1;
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 255, 191, 0.55);
  border-radius: 14px;
  color: var(--green);
  background: rgba(4, 14, 18, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transform: rotateZ(-45deg);
}

.pin {
  position: absolute;
  width: 64px;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(64, 231, 255, 0.8), transparent);
}

.p1 { top: -16px; left: 36px; }
.p2 { bottom: -16px; right: 36px; }
.p3 { left: -16px; top: 44px; transform: rotate(90deg); }
.p4 { right: -16px; bottom: 44px; transform: rotate(90deg); }

.vessel {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(64, 231, 255, 0.72);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(64, 231, 255, 0.72));
  animation: vesselPulse 3.8s ease-in-out infinite;
}

.vessel circle {
  fill: #7dffbf;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
}

.capabilities {
  padding: 34px 0 92px;
}

.proof {
  padding: 92px 0;
}

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

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

.capability-card,
.proof-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.capability-card {
  min-height: 330px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.capability-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--rose));
  opacity: 0.74;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(64, 231, 255, 0.32);
  border-radius: 8px;
  background: rgba(64, 231, 255, 0.08);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.proof {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

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

.proof-item {
  padding: 22px;
}

.proof-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-item strong {
  display: block;
  line-height: 1.38;
}

.logo-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-strip span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
}

.logo-strip strong {
  color: rgba(238, 246, 255, 0.58);
  font-size: clamp(16px, 2.1vw, 23px);
  font-weight: 800;
}

.consult {
  justify-content: space-between;
  margin-bottom: 78px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(64, 231, 255, 0.12), rgba(255, 107, 168, 0.08)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.consult h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
}

.consult p {
  margin-bottom: 0;
  font-size: 17px;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

@keyframes chipSpin {
  to {
    transform: rotateX(58deg) rotateZ(405deg);
  }
}

@keyframes orbit {
  to {
    transform: rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.035);
  }
}

@keyframes vesselPulse {
  50% {
    opacity: 0.58;
    transform: scale(0.985);
  }
}

@media (max-width: 900px) {
  .nav nav {
    display: none;
  }

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

  .hero {
    padding-top: 92px;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .orbital {
    width: min(82vw, 340px);
  }

  .chip {
    width: 142px;
  }

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

@media (max-width: 560px) {
  .section-shell,
  footer {
    width: min(100% - 28px, 1180px);
  }

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

  .button {
    width: 100%;
  }

  .hero {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 76px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .hero-visual {
    position: absolute;
    top: 30px;
    right: -150px;
    z-index: 0;
    width: 360px;
    min-height: 0;
    opacity: 0.38;
  }

  .orbital {
    width: 310px;
  }

  .chip {
    width: 128px;
  }

  .hero-lede {
    font-size: 17px;
    line-height: 1.45;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .metrics div {
    padding: 10px 8px;
  }

  .metrics strong {
    font-size: 21px;
  }

  .metrics span {
    font-size: 11px;
  }

  .capability-card {
    min-height: auto;
  }

}

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