:root {
  --bg: #020a13;
  --bg-soft: #061522;
  --panel: rgba(9, 31, 47, 0.72);
  --panel-solid: #092033;
  --line: rgba(125, 220, 242, 0.16);
  --cyan: #45e5f4;
  --cyan-soft: #84f2ff;
  --blue: #32a7ff;
  --amber: #f4b740;
  --violet: #9f6cff;
  --text: #f3fbff;
  --muted: #94abbc;
  --max-width: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 15%, rgba(22, 112, 149, 0.13), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.star-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.52;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  border-color: var(--line);
  background: rgba(2, 10, 19, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--cyan);
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(69, 229, 244, 0.36));
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 4px;
  color: #708a9d;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: #a8bdcb;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__status {
  padding: 9px 17px;
  color: var(--cyan-soft) !important;
  border: 1px solid rgba(69, 229, 244, 0.28);
  border-radius: 999px;
  background: rgba(69, 229, 244, 0.06);
}

.site-nav__status::after {
  display: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(2, 10, 19, 0.96) 0%, rgba(2, 10, 19, 0.74) 38%, rgba(2, 10, 19, 0.04) 70%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 190px;
  background: linear-gradient(transparent, var(--bg));
  content: "";
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/hero-spacegame.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero__background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 19, 0.97) 0%, rgba(2, 10, 19, 0.8) 32%, rgba(2, 10, 19, 0.06) 68%),
    linear-gradient(180deg, rgba(2, 10, 19, 0.25), transparent 45%, rgba(2, 10, 19, 0.65));
  content: "";
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 820px;
  padding-top: 80px;
}

.hero__copy {
  width: min(650px, 58%);
}

.eyebrow,
.section-heading__index {
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(69, 229, 244, 0.2);
  border-radius: 999px;
  background: rgba(7, 30, 45, 0.52);
  backdrop-filter: blur(10px);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: signal 1.8s ease-in-out infinite;
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #f3fbff, #66ebf6 62%, #5caeff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__copy > p {
  max-width: 590px;
  margin: 0;
  color: #a9bdca;
  font-size: 17px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 13px;
  margin-top: 35px;
}

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

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

.button svg {
  width: 18px;
  margin-left: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button--primary {
  color: #001017;
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
  box-shadow: 0 12px 36px rgba(42, 216, 232, 0.19);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 16px 42px rgba(42, 216, 232, 0.3);
}

.button--ghost {
  color: #c5d7e1;
  border-color: rgba(148, 171, 188, 0.2);
  background: rgba(8, 24, 37, 0.54);
  backdrop-filter: blur(10px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(69, 229, 244, 0.38);
  background: rgba(13, 40, 58, 0.68);
}

.hero__facts {
  display: flex;
  gap: 0;
  margin: 44px 0 0;
}

.hero__facts div {
  min-width: 150px;
  padding: 0 24px;
  border-left: 1px solid rgba(134, 205, 222, 0.18);
}

.hero__facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__facts dt,
.hero__facts dd {
  margin: 0;
}

.hero__facts dt {
  font-size: 14px;
  font-weight: 700;
}

.hero__facts dd {
  margin-top: 4px;
  color: #6f8799;
  font-size: 11px;
}

.hero__orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(72, 222, 238, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orbit--outer {
  top: -22%;
  right: -19%;
  width: 58vw;
  aspect-ratio: 1;
}

.hero__orbit--inner {
  top: 8%;
  right: -6%;
  width: 35vw;
  aspect-ratio: 1;
  border-color: rgba(244, 183, 64, 0.09);
}

.hero__scroll {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 54px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #718a9b;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero__scroll i {
  position: relative;
  width: 28px;
  height: 43px;
  border: 1px solid rgba(131, 184, 199, 0.28);
  border-radius: 999px;
}

.hero__scroll i::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  content: "";
  transform: translateX(-50%);
  animation: scroll-hint 1.7s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 32px 64px;
  align-items: end;
}

.section-heading__index {
  grid-column: 1 / -1;
}

.section-heading h2,
.journey h2,
.fleet h2,
.science h2,
.status h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-heading h2 span {
  color: var(--cyan);
}

.section-heading p,
.journey__copy > p,
.fleet__copy > p,
.science__copy > p,
.status p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 68px;
}

.feature-card {
  position: relative;
  min-height: 400px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(9, 31, 47, 0.82), rgba(4, 15, 25, 0.64));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::before {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 229, 244, 0.1), transparent 68%);
  content: "";
}

.feature-card:hover {
  border-color: rgba(69, 229, 244, 0.34);
  background: linear-gradient(145deg, rgba(11, 40, 58, 0.88), rgba(4, 15, 25, 0.7));
  transform: translateY(-6px);
}

.feature-card__number {
  color: #466173;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-card__icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 37px 0 31px;
  border: 1px solid rgba(69, 229, 244, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 229, 244, 0.1), transparent 68%);
}

.feature-card__icon::before,
.feature-card__icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.feature-card__icon--flight::before {
  width: 24px;
  height: 44px;
  background: var(--cyan-soft);
  clip-path: polygon(50% 0, 85% 32%, 100% 78%, 67% 68%, 50% 100%, 33% 68%, 0 78%, 15% 32%);
  filter: drop-shadow(0 0 10px rgba(69, 229, 244, 0.5));
}

.feature-card__icon--flight::after {
  top: 82%;
  width: 3px;
  height: 26px;
  background: linear-gradient(var(--amber), transparent);
}

.feature-card__icon--scan::before {
  width: 45px;
  height: 45px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(69, 229, 244, 0.2), inset 0 0 16px rgba(69, 229, 244, 0.14);
}

.feature-card__icon--scan::after {
  width: 67px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.feature-card__icon--archive::before {
  width: 34px;
  height: 43px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  box-shadow: 7px 7px 0 rgba(69, 229, 244, 0.1);
}

.feature-card__icon--archive::after {
  width: 18px;
  height: 10px;
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
}

.feature-card h3 {
  margin: 0 0 13px;
  font-size: 22px;
}

.feature-card p {
  min-height: 78px;
  margin: 0;
  color: #8da4b4;
  font-size: 14px;
  line-height: 1.85;
}

.feature-card ul {
  display: flex;
  gap: 7px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-card li,
.fleet__chips span {
  padding: 5px 9px;
  color: #7eb6c3;
  border: 1px solid rgba(92, 189, 209, 0.13);
  border-radius: 5px;
  background: rgba(24, 85, 103, 0.12);
  font-size: 10px;
}

