:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(10, 19, 31, 0.72);
  --line: rgba(118, 221, 255, 0.34);
  --text: #eaf7ff;
  --muted: #8ca6b8;
  --cyan: #6ee7ff;
  --green: #7dffbf;
  --steel: #162338;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(110, 231, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #07111f 0%, var(--bg) 58%, #020308 100%);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand,
.nav a,
.ghost-btn {
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 18px rgba(110, 231, 255, 0.8);
  transform: rotate(45deg);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

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

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

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  color: #b8cad7;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

button,
.ghost-btn {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  cursor: pointer;
}

.primary-btn {
  border: 1px solid rgba(125, 255, 191, 0.72);
  background: linear-gradient(135deg, rgba(125, 255, 191, 0.22), rgba(110, 231, 255, 0.18));
  color: var(--text);
  box-shadow: 0 0 28px rgba(110, 231, 255, 0.18);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d7e8f2;
}

.mountain-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(118, 221, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 221, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 29, 49, 0.88), rgba(4, 9, 17, 0.92));
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: inset 0 0 80px rgba(110, 231, 255, 0.08);
}

.moon {
  position: absolute;
  top: 70px;
  right: 80px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #effbff;
  box-shadow: 0 0 44px rgba(110, 231, 255, 0.5);
}

.mountain {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 120%;
  height: 56%;
  transform: translateX(-50%);
  clip-path: polygon(0 100%, 14% 62%, 25% 76%, 38% 34%, 51% 70%, 64% 30%, 78% 64%, 91% 44%, 100% 100%);
}

.mountain-back {
  bottom: 126px;
  height: 44%;
  background: rgba(24, 48, 75, 0.58);
}

.mountain-mid {
  bottom: 52px;
  height: 50%;
  background: rgba(17, 37, 60, 0.82);
}

.mountain-front {
  height: 48%;
  background: linear-gradient(180deg, #172a42, #07101c);
  border-top: 1px solid rgba(110, 231, 255, 0.38);
}

.ridge-grid {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: repeating-linear-gradient(
    100deg,
    transparent 0 24px,
    rgba(110, 231, 255, 0.18) 25px,
    transparent 26px
  );
  opacity: 0.38;
  mix-blend-mode: screen;
}

.scan-line {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  box-shadow: 0 0 28px var(--green), 0 0 80px var(--cyan);
  opacity: 0;
}

.mountain-panel.scanning .scan-line {
  animation: scan 1.8s ease-out;
}

.status-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(3, 9, 16, 0.72);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0 48px;
}

.info-band article,
.record {
  border: 1px solid rgba(118, 221, 255, 0.2);
  border-radius: 8px;
  background: var(--panel);
}

.info-band article {
  padding: 22px;
}

.info-band span {
  color: var(--green);
  font-weight: 800;
}

.info-band h2,
.record h2 {
  margin: 10px 0 10px;
  font-size: 22px;
}

.info-band p,
.record p {
  color: var(--muted);
  line-height: 1.75;
}

.record {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-bottom: 42px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 30px;
  color: #7891a4;
  font-size: 13px;
}

@keyframes scan {
  0% {
    top: -10%;
    opacity: 0;
  }
  15%,
  72% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .record {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .info-band,
  .record {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .mountain-panel {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 52px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .primary-btn,
  .ghost-btn {
    justify-content: center;
  }
}
