:root {
  --c-deep: #0A192F;
  --c-neon: #00FF9D;
  --c-gold: #FFD700;
  --c-bg: #F0F4F8;
  --c-text: #1A202C;
  --c-gray: #4A5568;
  --c-line: #2D3748;
  --c-cyan: #00B8A9;
  --c-surface: #112240;
  --c-red: #FF6B35;
  --c-green: #28A745;
  --f-head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --container: 1280px;
  --narrow: 880px;
  --gutter: 24px;
  --z-header: 200;
  --z-skip: 300;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--c-deep);
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }

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

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.content-body ul:not([class]), .content-body ol:not([class]) { padding-left: 1.4em; list-style: disc; }
.content-body ol:not([class]) { list-style: decimal; }

::selection { background: var(--c-neon); color: #04231a; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--c-neon); outline-offset: 3px; }
a:focus-visible, button:focus-visible { outline-color: var(--c-neon); }

.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;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  z-index: var(--z-skip);
  display: inline-block;
  padding: 10px 18px;
  background: var(--c-neon);
  color: #04231a;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
}

.skip-link:focus { left: 12px; }

.container-base {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.content-body { padding: 48px 0 96px; }
.content-narrow { max-width: var(--narrow); margin-inline: auto; }
.content-wide { max-width: var(--container); margin-inline: auto; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-gray);
}

.breadcrumb a { color: var(--c-gray); transition: color 0.16s var(--ease); }
.breadcrumb a:hover { color: var(--c-deep); }
.breadcrumb span[aria-current="page"] { font-weight: 700; color: var(--c-deep); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-header {
  position: relative;
  background: var(--c-deep);
  color: #fff;
}

.header-topbar {
  background: var(--c-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-topbar .container-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  min-height: 36px;
}

.topbar-slogan {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-slogan::before {
  content: "[SYS]";
  margin-right: 8px;
  color: var(--c-neon);
}

.price-tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 10px;
  border: 1px solid rgba(255, 215, 0, 0.55);
  background: rgba(255, 215, 0, 0.06);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.price-tag:hover {
  border-color: var(--c-gold);
  background: rgba(255, 215, 0, 0.14);
}

.header-mainbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-deep);
}

.header-mainbar .container-base {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #fff;
}

.brand-en { color: var(--c-neon); }
.brand-cn { color: #fff; }

.brand-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1px solid rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.04);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-neon);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 6px rgba(0, 255, 157, 0.85);
}

.site-nav { margin-inline-start: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-bottom-width: 2px;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-index {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
  background: rgba(0, 255, 157, 0.08);
  color: var(--c-neon);
}

.nav-link:hover {
  color: #fff;
  border-color: rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--c-neon);
  border-bottom: 2px solid var(--c-neon);
  background: rgba(0, 255, 157, 0.05);
}

.nav-link[aria-current="page"] .nav-index {
  background: rgba(0, 255, 157, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.18s var(--ease);
}

.nav-toggle:hover { border-color: var(--c-neon); }

.toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-toggle.is-active .toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--c-neon);
}

.nav-toggle.is-active .toggle-line:nth-child(2) { opacity: 0; }

.nav-toggle.is-active .toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--c-neon);
}

.page-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.page-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-neon), var(--c-cyan));
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
}

.site-footer {
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--c-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-col { min-width: 0; }

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 14px;
}

.footer-brand .brand-logo { font-size: 24px; }

.footer-slogan {
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-trust {
  max-width: 30em;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.badge-local {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.05);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-neon);
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.footer-link-list {
  display: grid;
  gap: 9px;
}

.footer-link-list a {
  display: inline-block;
  padding: 2px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}

.footer-link-list a:hover {
  color: var(--c-neon);
  padding-left: 4px;
}

.footer-meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-meta-list li { margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--c-surface);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-block: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom-inner p { margin: 0; }
.footer-bottom [data-year] { color: var(--c-neon); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-primary {
  background: var(--c-neon);
  border-color: var(--c-neon);
  color: #04231a;
}

.btn-primary:hover {
  background: #00d98a;
  border-color: #00d98a;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--c-line);
  color: var(--c-text);
}

.btn-ghost:hover {
  border-color: var(--c-neon);
  color: var(--c-deep);
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--c-deep);
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-index {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid rgba(0, 184, 169, 0.5);
  color: var(--c-cyan);
  background: rgba(0, 184, 169, 0.06);
}

.section-title { margin: 0; }

.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  border-color: rgba(0, 255, 157, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.28), 10px 10px 0 rgba(10, 25, 47, 0.06);
}

.card-dark {
  background: var(--c-surface);
  border-color: var(--c-line);
  color: rgba(255, 255, 255, 0.82);
}

.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 { color: #fff; }

.data-panel {
  padding: 24px;
  background: var(--c-deep);
  border-left: 3px solid var(--c-neon);
  color: #fff;
  font-family: var(--f-mono);
}

.data-panel .data-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.data-panel .data-value {
  display: block;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--c-neon);
}

.data-panel .data-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.mono-num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-deep);
  aspect-ratio: 16 / 9;
}

.media-frame[data-ratio="wide"] { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="tall"] { aspect-ratio: 4 / 5; }

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(0, 255, 157, 0.06) 23px 24px),
              repeating-linear-gradient(90deg, transparent 0 23px, rgba(0, 255, 157, 0.06) 23px 24px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(0, 255, 157, 0.12), transparent 55%),
              radial-gradient(circle at 70% 75%, rgba(0, 184, 169, 0.12), transparent 50%),
              var(--c-deep);
}

.media-placeholder::before {
  content: attr(data-label);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
}

.media-meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  border: 1px solid rgba(0, 255, 157, 0.32);
  background: rgba(10, 25, 47, 0.84);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-neon);
}

.tag-line {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(0, 184, 169, 0.45);
  background: rgba(0, 184, 169, 0.05);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-cyan);
}

.tag-line.on-dark {
  border-color: rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.05);
  color: var(--c-neon);
}

.tag-gold {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.06);
  color: var(--c-gold);
}

.rule {
  height: 1px;
  margin: 40px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--c-line) 18%, var(--c-line) 82%, transparent);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--c-surface);
    border-bottom: 0 solid var(--c-line);
    box-shadow: 0 24px 32px rgba(0, 0, 0, 0.26);
    transition: max-height 0.3s var(--ease), border-bottom-width 0.3s var(--ease);
  }

  .site-nav[data-open] {
    max-height: 460px;
    border-bottom-width: 1px;
  }

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

  .nav-list li { width: 100%; }

  .nav-link {
    width: 100%;
    padding: 13px 12px;
    border: 0;
    border-left: 2px solid transparent;
    font-size: 15px;
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    border-left: 2px solid var(--c-neon);
  }

  .nav-link[aria-current="page"] {
    background: rgba(0, 255, 157, 0.06);
  }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .header-mainbar .container-base { min-height: 60px; }
  .brand-logo { font-size: 18px; }
  .brand-live { display: none; }

  .content-body { padding: 32px 0 72px; }
  .card { padding: 20px; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .data-panel { padding: 20px; }
  .data-panel .data-value { font-size: 32px; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
