:root {
  color-scheme: dark;
  --bg: #02050d;
  --text: #eef7ff;
  --muted: #9aa8b9;
  --faint: rgba(165, 188, 212, 0.58);
  --cyan: #48b8ff;
  --blue: #2478ff;
  --deep-blue: #071a39;
  --violet: #7058ff;
  --line: rgba(71, 157, 255, 0.28);
  --glow: rgba(43, 141, 255, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 56% 48%, rgba(18, 72, 146, 0.26), transparent 31rem),
    radial-gradient(circle at 79% 31%, rgba(29, 74, 145, 0.18), transparent 24rem),
    linear-gradient(135deg, #000208 0%, #020712 44%, #02040b 100%);
  color: var(--text);
  font-family:
    "Avenir Next", "DIN Alternate", "Helvetica Neue", Inter, ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(72, 184, 255, 0.26);
}

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

#particle-canvas,
.cursor-glow,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#particle-canvas {
  z-index: -4;
  width: 100%;
  height: 100%;
}

.cursor-glow {
  z-index: -2;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(72, 184, 255, 0.2), rgba(36, 120, 255, 0.08) 42%, transparent 72%);
  filter: blur(14px);
  transition: opacity 180ms ease;
}

.vignette {
  z-index: -1;
  background:
    radial-gradient(circle at 54% 48%, transparent 0 28rem, rgba(0, 0, 0, 0.08) 45rem, rgba(0, 0, 0, 0.56) 72rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.74));
}

.site-header {
  position: fixed;
  top: 52px;
  left: 44px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: "Arial Black", "Avenir Next", sans-serif;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 2px;
  animation: logo-breathe 4.8s ease-in-out infinite;
}

.brand-main {
  color: #f9fbff;
}

.brand-number {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  margin: 13px 0 0;
  color: rgba(151, 167, 188, 0.64);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
}

.system-status {
  position: fixed;
  top: 56px;
  right: 46px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c8d8eb;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  animation: status-breathe 2.6s ease-in-out infinite;
}

.wave {
  width: 22px;
  height: 16px;
  background:
    linear-gradient(90deg, transparent 0 2px, #d8efff 2px 3px, transparent 3px 5px, #d8efff 5px 7px, transparent 7px 10px, #d8efff 10px 11px, transparent 11px);
  mask-image: radial-gradient(ellipse at center, #000 44%, transparent 70%);
  opacity: 0.9;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #62b9ff;
  box-shadow: 0 0 10px rgba(72, 184, 255, 0.8);
}

.side-nav {
  position: fixed;
  top: 22.7vh;
  left: 27px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  width: 174px;
}

.side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  padding-left: 18px;
  border-left: 1px solid transparent;
  color: rgba(196, 210, 226, 0.74);
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  overflow: hidden;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.side-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  transform: translateY(-50%);
  transition: width 200ms ease;
}

.side-nav a::before {
  content: "";
  position: absolute;
  left: -80%;
  top: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(72, 184, 255, 0.16), transparent);
  opacity: 0;
}

.side-nav a:hover,
.side-nav a.active {
  border-left-color: rgba(72, 184, 255, 0.58);
  color: #cfe9ff;
  text-shadow: 0 0 18px rgba(72, 184, 255, 0.72);
}

.side-nav a:hover::before {
  opacity: 1;
  animation: nav-sweep 760ms ease;
}

.side-nav a:hover::after,
.side-nav a.active::after {
  width: 70px;
}

.mobile-nav {
  display: none;
}

.page-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 18vw) minmax(440px, 1fr) minmax(305px, 24vw);
  grid-template-rows: 1fr auto auto;
  min-height: 100svh;
  padding: 172px 45px 30px;
}

.hero-section {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-height: 470px;
}

.hero-copy {
  width: min(520px, 100%);
  margin-top: 6vh;
}

.site-header,
.hero-copy h1,
.hero-line,
.intro,
.energy-button,
.timeline-section {
  opacity: 0;
  transform: translateY(12px);
  animation: enter-signal 720ms ease forwards;
}

.site-header {
  animation-delay: 80ms;
}

.hero-copy h1 {
  animation-delay: 420ms;
}

.hero-line {
  animation-delay: 720ms;
}

.intro {
  animation-delay: 980ms;
}

.energy-button {
  animation-delay: 1240ms;
}

.timeline-section {
  animation-delay: 1520ms;
}

h1 {
  margin: 0;
  color: #f4f8ff;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: clamp(45px, 4.1vw, 66px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 8px;
  text-shadow: 0 0 28px rgba(66, 139, 255, 0.22);
}

h1 span {
  color: #3e86ff;
  font-weight: 700;
  text-shadow: 0 0 26px rgba(36, 120, 255, 0.72);
}

.hero-line {
  margin: 18px 0 38px;
  color: rgba(236, 244, 255, 0.86);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: 1px;
}

.intro {
  margin: 0;
  color: rgba(214, 224, 239, 0.72);
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: 0.5px;
}

.energy-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 0 4px 11px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(72, 184, 255, 0.74);
  color: #58b9ff;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.energy-button::before {
  content: "";
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(72, 184, 255, 0.02) 30%, rgba(113, 221, 255, 0.28) 50%, rgba(72, 184, 255, 0.03) 68%, transparent 100%);
}

.energy-button:hover {
  color: #d6f4ff;
  text-shadow: 0 0 18px rgba(72, 184, 255, 0.9);
  transform: translateX(4px);
}

.energy-button:hover::before {
  animation: scan-line 1.45s ease;
}

.energy-button::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8ee8ff;
  opacity: 0;
  box-shadow:
    -16px -7px 0 rgba(72, 184, 255, 0.55),
    -29px 4px 0 rgba(111, 108, 255, 0.5),
    -44px -2px 0 rgba(72, 184, 255, 0.38);
}

.energy-button:hover::after {
  opacity: 1;
  animation: button-sparks 720ms ease-out;
}

.arrow {
  width: 16px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(-16deg) rotate(45deg);
}

.content-sections {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  display: grid;
  gap: 54px;
  margin-top: 7vh;
}

.content-sections::before {
  content: "";
  position: absolute;
  top: 27vh;
  right: calc(24vw + 294px);
  width: 1px;
  height: 38vh;
  background: linear-gradient(transparent, rgba(72, 184, 255, 0.32), transparent);
}

.content-panel {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  color: rgba(221, 232, 246, 0.78);
  transition: text-shadow 180ms ease, filter 180ms ease;
}

.content-panel > div {
  min-width: 0;
}

.content-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  width: 1px;
  height: 53px;
  background: linear-gradient(rgba(72, 184, 255, 0.42), transparent);
}

.content-panel:last-child::before {
  display: none;
}

.content-panel:hover {
  filter: drop-shadow(0 0 16px rgba(72, 184, 255, 0.22));
}

.content-panel:hover .panel-icon {
  border-color: rgba(142, 232, 255, 0.9);
  box-shadow: inset 0 0 20px rgba(72, 184, 255, 0.2), 0 0 34px rgba(36, 120, 255, 0.42);
}

.panel-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(72, 184, 255, 0.62);
  border-radius: 50%;
  background: rgba(5, 20, 44, 0.58);
  box-shadow: inset 0 0 16px rgba(72, 184, 255, 0.13), 0 0 24px rgba(36, 120, 255, 0.18);
}

.panel-icon::before,
.panel-icon::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(192, 228, 255, 0.72);
  transform: rotate(45deg);
}

.panel-icon::after {
  inset: 19px;
  border-radius: 50%;
  background: #5bbfff;
  box-shadow: 0 0 10px rgba(72, 184, 255, 0.86);
}

.content-panel h2 {
  margin: 3px 0 12px;
  color: #f2f7ff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.content-panel p {
  max-width: 260px;
  margin: 0;
  color: rgba(197, 210, 228, 0.7);
  font-size: 15px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.timeline-section {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: end;
  padding: 20px 0 0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 0;
  margin: 0;
  padding: 27px 0 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 184, 255, 0.32), rgba(155, 196, 255, 0.2), transparent);
}

.timeline::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 3%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45bfff;
  box-shadow: 0 0 12px rgba(72, 184, 255, 0.72), 0 0 26px rgba(36, 120, 255, 0.34);
  animation: timeline-traveler 18s cubic-bezier(0.45, 0, 0.18, 1) infinite;
}

.timeline-node {
  position: relative;
  min-height: 92px;
  padding-top: 12px;
  color: rgba(177, 191, 211, 0.72);
  outline: none;
}

.timeline-node::before,
.timeline-node::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-node::before {
  width: 5px;
  height: 5px;
  background: rgba(125, 189, 255, 0.76);
  box-shadow: 0 0 7px rgba(72, 184, 255, 0.42);
}

.timeline-node::after {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(72, 184, 255, 0.62);
  opacity: 0;
}

.timeline-node:hover::after,
.timeline-node:focus-visible::after {
  animation: timeline-ripple 820ms ease-out;
}

.timeline-node.active::before {
  top: -27px;
  width: 12px;
  height: 12px;
  background: rgba(18, 157, 255, 0.86);
  border: 1px solid rgba(89, 196, 255, 0.9);
  box-shadow: 0 0 14px rgba(18, 157, 255, 0.62);
}

.year {
  display: block;
  margin-bottom: 10px;
  color: rgba(220, 228, 240, 0.76);
  font-size: 19px;
  line-height: 1;
}

.timeline-node.active .year,
.timeline-node.active .event {
  color: #48b8ff;
  text-shadow: 0 0 16px rgba(72, 184, 255, 0.38);
}

.event,
.detail {
  display: block;
  color: rgba(183, 196, 216, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.page-footer {
  grid-column: 1 / 4;
  grid-row: 3;
  position: relative;
  min-height: 78px;
  color: rgba(130, 149, 177, 0.52);
  font-size: 11px;
  letter-spacing: 2px;
}

.page-footer p {
  position: absolute;
  left: 50%;
  bottom: 6px;
  margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.social-links {
  position: absolute;
  left: 2px;
  bottom: 150px;
  display: flex;
  gap: 25px;
}

.social-links a {
  color: rgba(207, 222, 242, 0.74);
  font-size: 11px;
  letter-spacing: 0;
}

.os-card {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 158px;
  padding: 13px 14px;
  border: 1px solid rgba(72, 184, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 12, 27, 0.52);
  box-shadow: inset 0 0 24px rgba(72, 184, 255, 0.03);
}

.os-card::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(36, 120, 255, 0.7);
  box-shadow: 0 0 12px rgba(36, 120, 255, 0.8);
}

.os-card span,
.os-card strong {
  display: block;
}

.os-card span {
  margin-bottom: 7px;
  color: rgba(206, 221, 239, 0.78);
  letter-spacing: 1px;
}

.os-card strong {
  color: rgba(148, 162, 187, 0.72);
  font-weight: 400;
  letter-spacing: 0;
}

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

@keyframes scan-line {
  to {
    left: 110%;
  }
}

@keyframes status-breathe {
  0%,
  100% {
    opacity: 0.76;
    filter: drop-shadow(0 0 0 rgba(72, 184, 255, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(72, 184, 255, 0.4));
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(72, 184, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(72, 184, 255, 0.45));
  }
}

@keyframes enter-signal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-sweep {
  0% {
    left: -80%;
  }
  100% {
    left: 110%;
  }
}

@keyframes button-sparks {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(42px);
    opacity: 0;
  }
}

@keyframes timeline-traveler {
  0% {
    left: 7%;
  }
  14% {
    left: 7%;
  }
  22% {
    left: 23%;
  }
  30% {
    left: 23%;
  }
  38% {
    left: 39%;
  }
  46% {
    left: 39%;
  }
  54% {
    left: 55%;
  }
  62% {
    left: 55%;
  }
  70% {
    left: 71%;
  }
  78% {
    left: 71%;
  }
  88% {
    left: 90%;
  }
  100% {
    left: 90%;
  }
}

@keyframes timeline-ripple {
  0% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(6.2);
  }
}

@media (max-width: 1180px) {
  .page-grid {
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 150px;
  }

  .hero-section {
    grid-column: 2;
    min-height: 430px;
  }

  .content-sections {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 34px;
  }

  .content-sections::before,
  .content-panel::before {
    display: none;
  }

  .content-panel {
    grid-template-columns: 40px 1fr;
  }

  .panel-icon {
    width: 40px;
    height: 40px;
  }

  .timeline-section {
    grid-column: 2;
    grid-row: 3;
  }

  .page-footer {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 24px;
    left: 22px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-subtitle,
  .system-status,
  .side-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    top: 74px;
    left: 22px;
    right: 22px;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 18px;
    color: rgba(200, 215, 235, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .page-grid {
    display: block;
    min-height: 100svh;
    padding: 138px 22px 38px;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 0 52px;
    text-align: center;
  }

  .hero-copy {
    width: min(100%, 500px);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(39px, 11.5vw, 56px);
    letter-spacing: 2px;
  }

  h1 span {
    display: block;
    margin-top: 6px;
  }

  .hero-line {
    margin: 16px 0 30px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(16px, 4.4vw, 21px);
    line-height: 1.45;
  }

  .intro {
    font-size: 16px;
  }

  .content-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 18px auto 54px;
    width: min(100%, 430px);
  }

  .content-panel p {
    max-width: none;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-node::before,
  .timeline-node::after {
    left: 0;
    transform: none;
  }

  .timeline-node.active::before {
    left: -6px;
  }
}

@media (max-width: 520px) {
  .mobile-nav {
    gap: 12px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-glow {
    display: none;
  }
}
