:root {
  --bg: #08090d;
  --panel: rgba(18, 21, 29, 0.78);
  --panel-strong: rgba(27, 31, 42, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #aab3c2;
  --cyan: #28d7ff;
  --amber: #f8b84e;
  --lime: #8ee86a;
  --rose: #ff5c8a;
  --violet: #a789ff;
  --blue: #5aa7ff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(40, 215, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(248, 184, 78, 0.12), transparent 26rem),
    radial-gradient(circle at 48% 68%, rgba(255, 92, 138, 0.1), transparent 34rem),
    var(--bg);
  overflow-x: hidden;
}

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

.field-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(40, 215, 255, 0.6);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 800;
  box-shadow: 0 0 28px rgba(40, 215, 255, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.56);
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
  min-height: calc(88vh - 78px);
  padding: 56px 0 72px;
}

.hero-content {
  max-width: 740px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: 84px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: #d9dee8;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-action {
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 14px 40px rgba(40, 215, 255, 0.24);
}

.secondary-action {
  border: 1px solid var(--line);
  color: #eef3fb;
  background: rgba(255, 255, 255, 0.06);
}

.signal-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.signal-header b {
  color: var(--text);
  font-size: 14px;
}

.orbital-map {
  position: relative;
  height: 310px;
  margin: 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.orbit,
.core-dot {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.orbit {
  border: 1px solid rgba(40, 215, 255, 0.42);
  border-radius: 50%;
  animation: rotate 14s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 22px var(--amber);
}

.orbit-a {
  width: 220px;
  height: 86px;
}

.orbit-a::after {
  left: 28px;
  top: 8px;
}

.orbit-b {
  width: 250px;
  height: 112px;
  border-color: rgba(255, 92, 138, 0.42);
  animation-duration: 18s;
  transform: translate(-50%, -50%) rotate(58deg);
}

.orbit-b::after {
  right: 42px;
  bottom: 12px;
  background: var(--rose);
  box-shadow: 0 0 22px var(--rose);
}

.orbit-c {
  width: 178px;
  height: 178px;
  border-color: rgba(142, 232, 106, 0.38);
  animation-duration: 22s;
}

.orbit-c::after {
  right: 20px;
  top: 28px;
  background: var(--lime);
  box-shadow: 0 0 22px var(--lime);
}

.core-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, var(--cyan) 45%, rgba(40, 215, 255, 0.14) 72%);
  box-shadow: 0 0 48px rgba(40, 215, 255, 0.78);
}

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

.metric-grid div {
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 24px;
}

.metric-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.submit-band h2 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1.12;
}

.section-head p:not(.eyebrow),
.submit-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 88px;
}

.book-card {
  --accent: var(--cyan);
  position: relative;
  overflow: hidden;
  min-height: 342px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--accent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 46%);
  opacity: 0.86;
  pointer-events: none;
}

.book-card > * {
  position: relative;
}

.accent-cyan {
  --accent: var(--cyan);
}

.accent-amber {
  --accent: var(--amber);
}

.accent-lime {
  --accent: var(--lime);
}

.accent-rose {
  --accent: var(--rose);
}

.accent-violet {
  --accent: var(--violet);
}

.accent-blue {
  --accent: var(--blue);
}

.book-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
}

.book-code {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
}

.status,
.case-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.book-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.book-card p,
.book-card li {
  color: #c6cfdd;
  line-height: 1.7;
}

.book-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.book-card li {
  padding-left: 18px;
  background: linear-gradient(var(--accent), var(--accent)) left 0.72em / 7px 7px no-repeat;
}

.book-card a,
.case-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(255, 255, 255, 0.14));
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.case-section,
.workflow {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.case-list {
  display: grid;
  gap: 12px;
}

.case-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.case-row h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.case-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(40, 215, 255, 0.22);
  border-radius: 999px;
  color: #cbeeff;
  background: rgba(40, 215, 255, 0.08);
  font-size: 12px;
}

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

.workflow-step {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.workflow-step span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 22px 0 12px;
}

.workflow-step p {
  color: var(--muted);
  line-height: 1.75;
}

.submit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 20px 0 76px;
  padding: 32px;
  border: 1px solid rgba(40, 215, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(40, 215, 255, 0.16), transparent 44%),
    linear-gradient(225deg, rgba(248, 184, 78, 0.14), transparent 38%),
    var(--panel-strong);
}

.submit-band h2 {
  max-width: 720px;
}

.submit-band p {
  margin-bottom: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes rotate {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 62px;
  }

  .section-head h2,
  .submit-band h2 {
    font-size: 40px;
  }

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

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

@media (max-width: 680px) {
  main,
  .topbar,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    gap: 28px;
    padding-bottom: 56px;
  }

  .hero-copy {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  .section-head h2,
  .submit-band h2 {
    font-size: 32px;
  }

  .signal-panel {
    padding: 16px;
  }

  .orbital-map {
    height: 230px;
  }

  .metric-grid,
  .book-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .case-row {
    grid-template-columns: 1fr;
  }

  .case-tag {
    width: fit-content;
  }

  .submit-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
