*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a1428;
  color: #aeb6c2;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(100px, 14vh, 150px);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #00d4ff;
  text-decoration: none;
}

button {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #39ff14;
  outline-offset: 2px;
}

:root {
  --bg-navy: #0a1428;
  --bg-slate: #141b2b;
  --bg-steel: #2e3a52;
  --orange: #ff6b00;
  --neon: #39ff14;
  --blue: #00d4ff;
  --ice: #e8eefc;
  --gray: #8a94a6;
  --body: #aeb6c2;
  --border: #24304a;
  --font-display: Impact, "Arial Black", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: Inter, "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Roboto Mono", "JetBrains Mono", Consolas, monospace;
  --radius-card: 8px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-container {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  background: #ff6b00;
  color: #081019;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2000;
  background: rgba(46, 58, 82, 0.5);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff6b00, #39ff14 70%, #00d4ff);
  transform-origin: 0 0;
  transform: scaleX(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  padding: 14px 16px 0;
}

.header-inner {
  position: relative;
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4px 12px 4px 20px;
  min-height: 60px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(20, 27, 43, 0.92), rgba(10, 20, 40, 0.9));
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(232, 238, 252, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8eefc;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.6);
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ff6b00, #39ff14);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
  transition: transform 0.25s var(--ease);
}

.brand-text {
  display: block;
  line-height: 1;
}

.site-nav {
  margin: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: #8a94a6;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  background: rgba(46, 58, 82, 0.55);
  color: #e8eefc;
}

.nav-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.65));
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.35);
}

.header-console {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #8a94a6;
  letter-spacing: 0.08em;
  border: 1px solid rgba(57, 255, 20, 0.25);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 8px #39ff14;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.cmd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #2e3a52;
  border-radius: var(--radius-pill);
  background: rgba(20, 27, 43, 0.7);
  color: #e8eefc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cmd-button:hover {
  border-color: #39ff14;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.2);
}

.cmd-button--primary {
  background: linear-gradient(135deg, #ff6b00, #c94f00);
  border-color: transparent;
  color: #ffffff;
}

.cmd-button--primary:hover {
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.45);
}

.cmd-short {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #2e3a52;
  border-radius: 50%;
  background: #141b2b;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #e8eefc;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 8px;
    padding-left: 16px;
    padding-right: 10px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    background: rgba(10, 20, 40, 0.98);
    border: 1px solid #2e3a52;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .console-status {
    display: none;
  }

  .cmd-button {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .cmd-short {
    display: inline;
  }

  .cmd-text {
    display: none;
  }
}

.site-footer {
  margin-top: auto;
  background: #141b2b;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  padding: 64px 0 28px;
  color: #8a94a6;
}

.footer-console {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: linear-gradient(90deg, rgba(20, 27, 43, 0.8), rgba(46, 58, 82, 0.4));
  border: 1px solid #2e3a52;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 48px;
}

.console-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e8eefc;
  background: rgba(10, 20, 40, 0.7);
  border: 1px solid #24304a;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 6px #39ff14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-tagline {
  color: #e8eefc;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.trust-statement {
  color: #8a94a6;
  font-size: 13px;
  line-height: 1.7;
  max-width: 36ch;
}

.back-top-button {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #2e3a52;
  color: #8a94a6;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.back-top-button:hover {
  border-color: #00d4ff;
  color: #e8eefc;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.2);
}

.footer-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #00d4ff;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.footer-links,
.footer-contact-list,
.legal-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a,
.legal-links a {
  color: #8a94a6;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-links a:hover,
.legal-links a:hover {
  color: #39ff14;
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a94a6;
  opacity: 0.7;
}

.contact-value {
  color: #e8eefc;
  font-size: 15px;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #24304a;
  padding-top: 24px;
  margin-top: 8px;
}

.footer-copy,
.footer-icp {
  color: #8a94a6;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-console {
    padding: 14px 16px;
  }
}

.exhibit {
  padding-block: clamp(72px, 10vh, 130px);
  position: relative;
}

.exhibit-head {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.exhibit-title {
  font-family: var(--font-display);
  color: #e8eefc;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.exhibit-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #8a94a6;
  text-transform: uppercase;
  padding-block: 6px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  padding: 16px 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #8a94a6;
}

.breadcrumb a {
  color: #00d4ff;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #39ff14;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #2e3a52;
  background: #141b2b;
  color: #e8eefc;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn:hover {
  border-color: #ff6b00;
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.25);
}

.btn-primary {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #141b2b;
  border: 1px solid #2e3a52;
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #39ff14;
  box-shadow: 0 12px 30px rgba(57, 255, 20, 0.08);
}

.card--accent {
  border-left: 2px solid #ff6b00;
}

.card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a94a6;
}

.card-value {
  font-family: var(--font-mono);
  font-size: 28px;
  color: #39ff14;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8a94a6;
}

.status-panel {
  background: linear-gradient(135deg, rgba(20, 27, 43, 0.9), rgba(46, 58, 82, 0.4));
  border: 1px solid #2e3a52;
  border-radius: var(--radius-card);
  padding: 24px;
}

.status-value {
  font-family: var(--font-mono);
  font-size: 36px;
  color: #ff6b00;
}

.status-label {
  color: #8a94a6;
  font-size: 13px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  padding: 8px 16px;
  border: 1px solid #2e3a52;
  background: transparent;
  color: #8a94a6;
  cursor: pointer;
  font-size: 13px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}

.filter-button:hover {
  border-color: #00d4ff;
  color: #e8eefc;
}

.filter-button[aria-pressed="true"] {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #ffffff;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: #141b2b;
  border: 1px solid #ff6b00;
  color: #e8eefc;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-family: var(--font-body);
  opacity: 0;
  pointer-events: none;
  z-index: 5000;
  max-width: min(420px, calc(100% - 32px));
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

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