:root {
  --bg: #0B0F14;
  --panel: #1A1F2B;
  --neon: #39FF14;
  --cyan: #00E5FF;
  --white: #FFFFFF;
  --gray: #A8B2C3;
  --line: #2A3444;
  --warn: #FFB800;
  --success: #00FF88;

  --font-display: 'Impact', 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --width-page: 1280px;
  --width-header: 1440px;
  --radius-card: 2px;
  --radius-pill: 999px;
  --space-gutter: 24px;
  --space-section: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 300ms;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.032) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: var(--neon);
  color: #0B0F14;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #0B0F14;
}

.container {
  width: 100%;
  max-width: var(--width-page);
  margin: 0 auto;
  padding-left: var(--space-gutter);
  padding-right: var(--space-gutter);
}

.section {
  padding: var(--space-section) 0;
}

.section--tight {
  padding: 48px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding-bottom: 12px;
}

.section-index {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  white-space: nowrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  text-transform: uppercase;
}

.section-desc {
  font-size: 16px;
  color: var(--gray);
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
}

.grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-gutter);
}

.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gutter);
}

.grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.btn:hover {
  border-color: var(--cyan);
  color: var(--white);
  background: rgba(0, 229, 255, 0.08);
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--neon);
  border-color: var(--neon);
  color: #0B0F14;
  font-weight: 800;
  box-shadow: 0 0 0 rgba(57, 255, 20, 0);
}

.btn-accent:hover {
  background: transparent;
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.25);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--gray);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-pill);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  transition:
    border-color var(--speed) var(--ease),
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.media-frame::before {
  content: 'IMG';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(168, 178, 195, 0.5);
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 1;
}

.media-frame > * {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.stat--accent {
  border-left: 3px solid var(--neon);
}

.stat--accent .stat-value {
  color: var(--neon);
}

.stat--cyan {
  border-left: 3px solid var(--cyan);
}

.stat--cyan .stat-value {
  color: var(--cyan);
}

.dash-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-list li {
  padding-left: 20px;
  position: relative;
  color: var(--gray);
}

.dash-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  padding: 16px 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--line);
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
}

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

.breadcrumbs [aria-current='page'] {
  color: var(--white);
  font-weight: 600;
}

.note {
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  font-size: 14px;
  color: var(--gray);
  border-radius: 2px;
}

.note--warn {
  border-left-color: var(--warn);
  background: rgba(255, 184, 0, 0.06);
}

.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table-wrap th {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.04);
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

[data-count] {
  font-variant-numeric: tabular-nums;
}

[id='main-content'] {
  padding-top: 96px;
  scroll-margin-top: 90px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  pointer-events: none;
}

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

.site-header-inner {
  position: relative;
  max-width: var(--width-header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(15, 20, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--neon);
  color: #0B0F14;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(168, 178, 195, 0.08);
}

.nav-link[aria-current='page'] {
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon);
}

.header-cta {
  flex-shrink: 0;
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  transition: border-color var(--speed) var(--ease);
}

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

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.nav-toggle[aria-expanded='true'] {
  border-color: var(--neon);
}

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

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

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

.site-footer {
  position: relative;
  background: #070A0E;
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
  margin-top: 48px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}

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

.footer-brand-col,
.footer-links-col,
.footer-contact-col {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-trust {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid rgba(57, 255, 20, 0.25);
  background: rgba(57, 255, 20, 0.07);
  border-radius: 2px;
}

.footer-coord {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray);
  opacity: 0.8;
  margin-top: 12px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: color var(--speed) var(--ease);
}

.footer-links a::before {
  content: '/';
  color: var(--neon);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--gray);
}

.footer-service {
  font-size: 13px;
  color: var(--gray);
  opacity: 0.75;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 14px;
  color: var(--gray);
}

.footer-copy {
  margin: 0;
}

.footer-icp {
  color: var(--gray);
}

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

  html.js [data-reveal][data-revealed='true'] {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed) var(--ease);
  }

  .site-nav[data-open='true'] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-link {
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

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

  #main-content {
    padding-top: 80px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-head {
    gap: 10px;
    flex-wrap: wrap;
  }

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

  .brand-tagline {
    display: none;
  }

  .site-header {
    padding: 8px 8px;
  }

  .site-header-inner {
    padding-left: 12px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .brand-name {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .scroll-progress {
    display: none;
  }
}
