:root {
  --bg: #020304;
  --bg-2: #071016;
  --panel: rgba(8, 18, 26, 0.72);
  --panel-2: rgba(255, 255, 255, 0.06);
  --text: #f3f8fb;
  --muted: #9badbc;
  --faint: #657584;
  --line: rgba(164, 219, 255, 0.16);
  --cyan: #32d6ff;
  --green: #56f29a;
  --gold: #f4c45e;
  --red: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(50, 214, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(86, 242, 154, 0.12), transparent 30%),
    linear-gradient(145deg, #020304 0%, #071016 48%, #020304 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

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

.site-shell {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 14px 0 20px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(3, 7, 10, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #031017;
  font-size: 13px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 32px rgba(50, 214, 255, 0.35);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 36px;
  align-items: center;
  min-height: 720px;
  padding: 52px 0 42px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

h1 {
  margin: 18px 0;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.btn.primary {
  color: #031017;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 52px rgba(50, 214, 255, 0.26);
}

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

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.status-strip span {
  padding: 16px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.status-strip span:last-child {
  border-right: 0;
}

.status-strip b {
  display: block;
  color: var(--text);
  font-size: 24px;
}

.ops-panel {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 50% 34%, rgba(50, 214, 255, 0.17), transparent 34%);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
  transform-style: preserve-3d;
}

#crawl-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.panel-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.28);
}

.panel-top i {
  color: var(--green);
  font-style: normal;
}

.orbit-field {
  position: absolute;
  inset: 78px 30px 150px;
  transform-style: preserve-3d;
  perspective: 900px;
}

.ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(50, 214, 255, 0.25);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(0deg);
  animation: spinRing 16s linear infinite;
}

.ring-b {
  inset: 24% 5%;
  border-color: rgba(86, 242, 154, 0.2);
  animation-duration: 20s;
  animation-direction: reverse;
}

.core-node {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 214, 255, 0.45);
  border-radius: 48px;
  color: var(--text);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.35), transparent 18%),
    linear-gradient(145deg, rgba(50, 214, 255, 0.28), rgba(86, 242, 154, 0.14));
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.13),
    0 0 90px rgba(50, 214, 255, 0.35);
  transform: translate(-50%, -50%) rotateX(14deg) rotateY(-22deg);
  animation: floatCore 5.5s ease-in-out infinite;
}

.float-card {
  position: absolute;
  z-index: 2;
  min-width: 112px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 8, 12, 0.84);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.float-card b,
.float-card small {
  display: block;
}

.float-card b {
  color: var(--green);
}

.float-card small {
  color: var(--muted);
}

.card-a { left: 7%; top: 18%; }
.card-b { right: 8%; top: 27%; }
.card-c { left: 40%; bottom: 2%; }

.terminal {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.46);
}

.terminal p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.terminal span {
  color: var(--cyan);
}

.control-board,
.section,
.page-hero,
.article-card,
.side-panel,
.contact-card,
.timeline article {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.control-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 30px;
}

.control-board article {
  padding: 26px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
}

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

.control-board h2 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.control-board p,
.section p,
.article-card p,
.timeline p,
.contact-card p,
.checklist li,
.scenario-grid span {
  color: var(--muted);
  line-height: 1.82;
}

.section,
.page-hero {
  margin: 26px 0;
  padding: 36px;
  border-radius: 32px;
}

.architecture {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 900;
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline div {
  position: relative;
  padding: 20px 20px 20px 54px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.25);
}

.pipeline div::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(86, 242, 154, 0.75);
}

.pipeline b,
.pipeline span {
  display: block;
}

.pipeline span {
  color: var(--muted);
  margin-top: 7px;
}

.section-head {
  margin-bottom: 22px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.log-window,
.checklist,
.scenario-grid a {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.28);
}

.log-window {
  overflow: hidden;
  padding: 0 0 16px;
}

.log-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.log-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.log-bar i:nth-child(2) {
  background: var(--gold);
}

.log-bar i:nth-child(3) {
  background: var(--green);
}

.log-bar span {
  margin-left: 8px;
}

.log-window code {
  display: block;
  padding: 12px 16px 0;
  color: #cfe8f3;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.checklist {
  padding: 24px;
}

.checklist h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.checklist ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

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

.scenario-grid a {
  min-height: 164px;
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.scenario-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(50, 214, 255, 0.55);
}

.scenario-grid b {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.scenario-grid span {
  display: block;
}

.promo-section .section-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 16px;
}

.promo-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.28);
}

.promo-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.promo-card:hover img {
  transform: scale(1.035);
}

.promo-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(14px);
}

.main-promo {
  grid-row: span 2;
  min-height: 536px;
}

.main-promo img {
  min-height: 536px;
}

.engine-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.engine-band span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
}

.page-hero {
  margin-top: 48px;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(36px, 4.2vw, 58px);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  margin-bottom: 36px;
}

.article-card,
.side-panel,
.contact-card {
  border-radius: 30px;
  padding: 32px;
}

.article-card h2 {
  margin-top: 26px;
  font-size: 28px;
}

.article-card h2:first-child {
  margin-top: 0;
}

.side-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.side-panel strong {
  color: var(--text);
  font-size: 20px;
}

.side-panel span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.timeline article {
  padding: 26px;
  border-radius: 24px;
}

.timeline b {
  color: var(--cyan);
}

.timeline h2 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 36px 0 44px;
  color: var(--muted);
  text-align: center;
}

.footer a {
  color: var(--cyan);
}

@keyframes spinRing {
  from { transform: rotateX(68deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes floatCore {
  0%, 100% { transform: translate(-50%, -50%) rotateX(14deg) rotateY(-22deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotateX(18deg) rotateY(-16deg) translateY(-14px); }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 1220px);
  }

  .topbar {
    position: relative;
    top: auto;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 38px 0 28px;
  }

  .ops-panel {
    min-height: 520px;
  }

  .control-board,
  .architecture,
  .console-grid,
  .article-layout,
  .timeline,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

  .main-promo,
  .main-promo img {
    min-height: 320px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  .brand {
    white-space: normal;
  }

  .nav a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .status-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip span:last-child {
    border-bottom: 0;
  }

  .ops-panel {
    min-height: 420px;
    border-radius: 26px;
  }

  .orbit-field {
    inset: 80px 12px 140px;
  }

  .core-node {
    width: 128px;
    height: 128px;
    border-radius: 34px;
  }

  .float-card {
    min-width: 92px;
    padding: 10px 11px;
  }

  .terminal p {
    font-size: 12px;
  }

  .section,
  .page-hero,
  .article-card,
  .side-panel,
  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

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