:root {
  --bg: #081018;
  --bg-deep: #03070c;
  --surface: rgba(8, 16, 24, 0.72);
  --surface-strong: rgba(7, 13, 21, 0.9);
  --line: rgba(174, 205, 226, 0.16);
  --line-strong: rgba(174, 205, 226, 0.28);
  --text: #f4f7fb;
  --text-soft: #bfccdb;
  --text-muted: #7e93a8;
  --accent: #7de2d1;
  --accent-strong: #2ab2ff;
  --accent-warm: #ffb36b;
  --danger-soft: #ff7657;
  --page-width: min(1180px, calc(100% - 40px));
  --hero-width: min(1380px, calc(100% - 36px));
  --header-height: 84px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 50px 140px rgba(0, 0, 0, 0.48);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(125, 226, 209, 0.18), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(42, 178, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #02050a 0%, #071018 38%, #09151e 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 226, 209, 0.1), transparent 32%),
    radial-gradient(circle at 100% 42%, rgba(255, 179, 107, 0.08), transparent 18%);
  filter: blur(30px);
}

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

button {
  font: inherit;
}

pre,
code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #071018;
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(125, 226, 209, 0.42);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(2, 7, 12, 0.88), rgba(2, 7, 12, 0.22));
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: var(--page-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 14, 22, 0.72);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.brand,
.brand__text,
.site-nav,
.hero__actions,
.cta-block__actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(125, 226, 209, 0.2), rgba(42, 178, 255, 0.28)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(125, 226, 209, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.brand__mark::before {
  transform: translateY(-4px) rotate(-32deg);
}

.brand__mark::after {
  transform: translateY(4px) rotate(32deg);
}

.brand__text {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand__text strong {
  font-size: 1rem;
  line-height: 1;
}

.brand__text small {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-muted);
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button--primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent), #9ee7ff);
  box-shadow: 0 18px 36px rgba(125, 226, 209, 0.24);
}

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

.hero,
.section {
  position: relative;
  overflow: clip;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  padding: 22px 0 64px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid,
.hero__glow {
  position: absolute;
}

.hero__grid {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 34%, rgba(0, 0, 0, 0.92), transparent 78%);
}

.hero__glow {
  width: 36vw;
  aspect-ratio: 1;
  filter: blur(50px);
  opacity: 0.44;
}

.hero__glow--left {
  top: 8%;
  left: -6%;
  background: radial-gradient(circle, rgba(125, 226, 209, 0.34), transparent 66%);
}

.hero__glow--right {
  right: -8%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(42, 178, 255, 0.28), transparent 68%);
}

.hero__inner {
  width: var(--hero-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 510px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.hero__copy {
  padding: 48px 0 24px;
}

.hero__eyebrow,
.section__eyebrow,
.control-band__label,
.flow-step__tag,
.lane__label {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero__brand {
  margin: 16px 0 16px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #eef6ff;
}

.hero h1,
.section h2,
.cta-block h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__summary,
.section__intro,
.control-band__copy p,
.flow-step p,
.teams-panel p,
.cta-block p {
  color: var(--text-soft);
}

.hero__summary {
  max-width: 36rem;
  margin: 22px 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
}

.hero__actions {
  gap: 12px;
  margin-top: 30px;
}

.hero__points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero__points li {
  position: relative;
  padding-left: 20px;
  color: #aebfd0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.hero__visual {
  min-width: 0;
  perspective: 1600px;
}

.terminal-stage {
  position: relative;
  border: 1px solid rgba(174, 205, 226, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(13, 21, 31, 0.92), rgba(7, 12, 20, 0.9)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-strong);
  transform:
    perspective(1600px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(var(--lift-y));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.terminal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(125, 226, 209, 0.1), transparent 28%, transparent 72%, rgba(42, 178, 255, 0.08));
  pointer-events: none;
}

.terminal-stage__chrome,
.terminal-stage__main,
.terminal-stage__log {
  position: relative;
  z-index: 1;
}

.terminal-stage__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(174, 205, 226, 0.12);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.terminal-stage__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.terminal-stage__chrome span:nth-child(1) {
  background: #ff6d5f;
}

.terminal-stage__chrome span:nth-child(2) {
  background: #ffbe52;
}

.terminal-stage__chrome span:nth-child(3) {
  background: #2fd27c;
}

.terminal-stage__chrome strong {
  margin-left: 6px;
  font-weight: 500;
}

.terminal-stage__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 14px;
  padding: 26px 22px 20px;
  align-items: center;
}

.terminal-stage__lane {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(174, 205, 226, 0.12);
}

.terminal-stage__lane strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
}

.terminal-stage__lane small {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  line-height: 1.7;
}

.terminal-stage__beam {
  position: relative;
  height: 100%;
  min-height: 110px;
}

.terminal-stage__beam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(125, 226, 209, 0), rgba(125, 226, 209, 0.7), rgba(42, 178, 255, 0));
  transform: translateX(-50%);
}

.terminal-stage__beam i {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(125, 226, 209, 0.8);
  transform: translateX(-50%);
  animation: pulse 2.2s ease-in-out infinite;
}

.terminal-stage__beam i:nth-child(1) {
  top: 18px;
}

.terminal-stage__beam i:nth-child(2) {
  top: 50%;
  animation-delay: 0.4s;
}

.terminal-stage__beam i:nth-child(3) {
  bottom: 18px;
  animation-delay: 0.8s;
}

.terminal-stage__log {
  margin: 0;
  padding: 0 22px 24px;
}

.terminal-stage__log code {
  display: block;
  overflow-x: auto;
  padding: 22px;
  border-radius: 22px;
  background: rgba(5, 10, 16, 0.84);
  border: 1px solid rgba(174, 205, 226, 0.12);
  color: #d8e8f7;
  font-size: 0.84rem;
  line-height: 1.8;
}

.section {
  width: var(--page-width);
  margin: 0 auto;
  padding: 92px 0;
}

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

.section__intro h2,
.cta-block h2 {
  max-width: 14ch;
}

.section__intro p:last-child,
.cta-block p {
  margin-top: 16px;
  line-height: 1.8;
}

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

.problem-grid article {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(7, 13, 20, 0.62);
  box-shadow: var(--shadow);
}

.problem-grid span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), #c3fff4);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.problem-grid h3,
.control-band h3,
.flow-step h3,
.teams-panel strong {
  margin: 22px 0 12px;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.problem-grid p,
.control-band p,
.flow-step p,
.teams-panel__list p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.control-stack {
  display: grid;
  gap: 18px;
}

.control-band {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
  padding: 28px 28px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.control-band__index {
  font-family: "IBM Plex Mono", monospace;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding-top: 4px;
}

.control-band__copy p:last-child {
  margin: 14px 0 0;
  line-height: 1.8;
}

.control-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.control-band__list li {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(174, 205, 226, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-family: "IBM Plex Mono", monospace;
  color: #dbeafb;
}

.flow-layout {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 34px;
}

.flow-rail {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(125, 226, 209, 0.1), rgba(125, 226, 209, 0.8), rgba(42, 178, 255, 0.12));
}

.flow-step {
  position: relative;
  padding: 22px 0 22px 30px;
  border-bottom: 1px solid rgba(174, 205, 226, 0.12);
}

.flow-step::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 28px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 28px rgba(125, 226, 209, 0.42);
}

.teams-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 32px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(42, 178, 255, 0.12), transparent 28%),
    rgba(7, 13, 21, 0.72);
  box-shadow: var(--shadow);
}

.teams-panel__copy p:last-child {
  margin-top: 18px;
  line-height: 1.85;
}

.teams-panel__list {
  display: grid;
  gap: 16px;
}

.teams-panel__list div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(174, 205, 226, 0.12);
}

.teams-panel__list strong {
  display: block;
  margin: 0 0 8px;
}

.section--cta {
  padding-top: 24px;
  padding-bottom: 110px;
}

.cta-block {
  padding: 44px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(125, 226, 209, 0.12), rgba(42, 178, 255, 0.12)),
    rgba(7, 13, 21, 0.76);
  border: 1px solid rgba(174, 205, 226, 0.18);
  box-shadow: var(--shadow-strong);
}

.cta-block__actions {
  gap: 12px;
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.55;
  }

  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .site-header__inner,
  .hero__inner,
  .problem-grid,
  .teams-panel {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    border-radius: 28px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero__copy {
    padding-top: 32px;
  }

  .hero__brand {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
  }

  .hero h1 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 5vw, 2.8rem);
  }

  .control-band {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }

  .terminal-stage__main {
    grid-template-columns: 1fr;
  }

  .terminal-stage__beam {
    min-height: 54px;
  }

  .terminal-stage__beam::before {
    top: 50%;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    height: 1px;
    transform: none;
    background: linear-gradient(90deg, rgba(125, 226, 209, 0), rgba(125, 226, 209, 0.72), rgba(42, 178, 255, 0));
  }

  .terminal-stage__beam i:nth-child(1) {
    top: 50%;
    left: 18px;
  }

  .terminal-stage__beam i:nth-child(2) {
    top: 50%;
    left: 50%;
  }

  .terminal-stage__beam i:nth-child(3) {
    top: 50%;
    left: auto;
    right: 18px;
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  :root {
    --page-width: min(100% - 24px, 100%);
    --hero-width: min(100% - 24px, 100%);
    --header-height: 124px;
  }

  .site-header {
    padding: 12px 0;
  }

  .site-header__inner {
    gap: 12px;
    padding: 14px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .button,
  .site-nav a {
    width: 100%;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero__brand {
    margin-top: 12px;
  }

  .hero h1,
  .section h2,
  .cta-block h2 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero__summary {
    font-size: 0.94rem;
    line-height: 1.78;
  }

  .hero__actions,
  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .problem-grid article,
  .cta-block,
  .teams-panel {
    padding: 24px;
  }

  .section {
    padding: 76px 0;
  }

  .flow-layout {
    padding-left: 26px;
  }

  .flow-step {
    padding-left: 22px;
  }

  .flow-step::before {
    left: -23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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