*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto Mono', 'Noto Sans Mono CJK SC', 'Courier New', monospace;
  background: #0A0F1E;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.22) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #A0B8D0;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.15), transparent 55%),
              radial-gradient(circle at 80% 0%, rgba(0, 255, 135, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #00D4FF; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #00FF87; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
:focus-visible { outline: 2px solid #00FF87; outline-offset: 2px; }
#main-content { scroll-margin-top: var(--header-h, 140px); position: relative; z-index: 1; }
[hidden] { display: none !important; }

:root {
  --bg: #0A0F1E;
  --panel: #111A2E;
  --panel-glass: rgba(18, 26, 46, 0.75);
  --neon-green: #00FF87;
  --electric-blue: #00D4FF;
  --data-orange: #FF6B00;
  --text-white: #FFFFFF;
  --text-secondary: #A0B8D0;
  --grid-line: rgba(0, 212, 255, 0.22);
  --warning-yellow: #F5D547;
  --font-heading: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Roboto Mono', 'Noto Sans Mono CJK SC', 'Courier New', monospace;
  --header-h: 140px;
  --rail-w: 40px;
}

.container { width: min(100% - 48px, 1440px); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 1000;
  background: #00FF87;
  color: #0A0F1E;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 4px 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #0A0F1E; }

.brand-track {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-w);
  height: 100vh;
  background: #111A2E;
  border-right: 1px solid var(--grid-line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.brand-track span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  color: #00FF87;
  letter-spacing: 0.25em;
  font-size: 13px;
  white-space: nowrap;
  text-transform: uppercase;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, #00FF87, #00D4FF);
  z-index: 300;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grid-line);
}
.header-inner {
  margin-left: var(--rail-w);
  max-width: 1440px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 14px;
  gap: 16px;
}
.brand-logo { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 30px;
  color: #00FF87;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.brand-tag {
  font-size: 11px;
  color: #00D4FF;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}
.site-tagline {
  font-size: 14px;
  color: #A0B8D0;
  border-left: 2px solid #FF6B00;
  padding-left: 14px;
  flex: 1;
  max-width: 320px;
}
.header-action { flex-shrink: 0; }

.primary-nav {
  padding: 0 32px;
  border-top: 1px solid var(--grid-line);
}
.nav-list {
  display: flex;
  gap: 32px;
}
.nav-list a {
  display: inline-block;
  padding: 12px 0;
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-list a:hover { color: #00FF87; }
.nav-list a[aria-current="page"] {
  color: #00FF87;
  border-bottom-color: #00FF87;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #00FF87;
  transition: transform 0.2s ease;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: #00FF87;
  color: #0A0F1E;
  border-color: #00FF87;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
  background: transparent;
  color: #00FF87;
}
.btn-ghost {
  background: transparent;
  color: #00D4FF;
  border-color: #00D4FF;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-ghost:hover {
  background: #00D4FF;
  color: #0A0F1E;
}

.site-footer {
  background: #0A0F1E;
  border-top: 2px solid #00D4FF;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  padding: 48px 32px calc(48px - var(--rail-w, 0px)) calc(32px + var(--rail-w, 0px));
  max-width: 1440px;
  border-bottom: 1px solid var(--grid-line);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 30px;
  color: #00FF87;
  text-transform: uppercase;
}
.footer-tagline {
  color: #00D4FF;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-trust {
  color: #A0B8D0;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 360px;
}
.footer-heading {
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grid-line);
}
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a {
  color: #A0B8D0;
  font-size: 14px;
}
.footer-links a:hover, .footer-contact a:hover { color: #FF6B00; }
.footer-contact li { color: #A0B8D0; font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 16px calc(32px + var(--rail-w, 0px)) 16px 32px;
  max-width: 1440px;
  color: #A0B8D0;
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p:last-child { color: #F5D547; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-12 { grid-column: span 12; }
.offset-1 { grid-column-start: 2; }
.offset-2 { grid-column-start: 3; }
.offset-3 { grid-column-start: 4; }

.panel {
  background: #111A2E;
  border: 1px solid var(--grid-line);
  padding: 24px;
}
.clip-corner {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.diagonal-lines {
  background-image: repeating-linear-gradient(45deg, rgba(0, 212, 255, 0.22) 0, rgba(0, 212, 255, 0.22) 1px, transparent 1px, transparent 12px);
}

.breadcrumbs {
  padding: 16px 0;
  display: flex;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: #00D4FF; }
.breadcrumbs a:hover { color: #00FF87; }
.breadcrumbs [aria-current="page"] { color: #FFFFFF; }

.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grid-line);
}
.tab-trigger {
  background: none;
  border: 1px solid transparent;
  border-bottom: 0;
  padding: 12px 22px;
  color: #A0B8D0;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.tab-trigger:hover { color: #00FF87; }
.tab-trigger[aria-selected="true"] {
  color: #00FF87;
  border-color: var(--grid-line);
  background: #111A2E;
}
.tab-panel {
  background: #111A2E;
  border: 1px solid var(--grid-line);
  padding: 24px;
  margin-top: -1px;
}

.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--grid-line);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #00FF87;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.timeline-date {
  color: #FF6B00;
  font-size: 13px;
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--grid-line);
  color: #A0B8D0;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--grid-line);
  color: #FFFFFF;
}
.data-table .highlight {
  color: #FF6B00;
  font-weight: 700;
}

.img-placeholder {
  background: #111A2E;
  border: 1px solid var(--grid-line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #A0B8D0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(0, 212, 255, 0.3) 50%, transparent 55%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.img-placeholder:hover::before { opacity: 1; }
.img-cover { object-fit: cover; width: 100%; height: 100%; }
.img-contain { object-fit: contain; width: 100%; height: 100%; }

.hero-preview {
  min-height: calc(100vh - var(--header-h, 140px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 0;
  position: relative;
}
.hero-preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 4px;
  background: linear-gradient(to right, #00FF87, #00D4FF);
}

@media (min-width: 769px) and (max-width: 1200px) {
  .site-tagline { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .col-span-3, .col-span-4 { grid-column: span 6; }
  .col-span-6, .col-span-8, .col-span-9 { grid-column: span 12; }
  .offset-1, .offset-2, .offset-3 { grid-column-start: auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 110px; --rail-w: 0px; }
  .brand-track { display: none; }
  .header-inner { margin-left: 0; }
  .masthead { flex-wrap: wrap; padding: 12px 16px; gap: 8px; }
  .brand-name { font-size: 24px; }
  .brand-tag { font-size: 10px; }
  .site-tagline { display: none; }
  .header-action { padding: 8px 14px; font-size: 13px; }
  .primary-nav { padding: 0; }
  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 16px 8px;
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--grid-line);
  }
  .primary-nav[data-open="true"] .nav-list { display: flex; }
  .primary-nav[data-open="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .primary-nav[data-open="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
  .primary-nav[data-open="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }
  .grid-12 { grid-template-columns: 1fr; gap: 16px; }
  .col-span-3, .col-span-4, .col-span-6, .col-span-8, .col-span-9, .col-span-12 { grid-column: span 1; }
  .offset-1, .offset-2, .offset-3 { grid-column-start: auto; }
  .tab-list { flex-direction: column; border-bottom: 0; }
  .tab-trigger { border: 1px solid var(--grid-line); border-bottom: 0; }
  .tab-trigger:last-of-type { border-bottom: 1px solid var(--grid-line); }
  .tab-panel { margin-top: 0; }
}

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