*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0, 255, 136, 0.28); color: #fff; }

:root {
  --c-bg: #0A1B3A;
  --c-card: #112A52;
  --c-neon: #00FF88;
  --c-orange: #FF4D32;
  --c-silver: #9BB0CC;
  --c-white: #FFFFFF;
  --c-gold: #FFC700;
  --c-amber: #FF9E00;
  --grad-neon: linear-gradient(135deg, #00FF88 0%, #00CC66 100%);
  --grad-orange: linear-gradient(135deg, #FF9E00 0%, #FF4D32 100%);
  --font-head: "PingFang SC", "Microsoft YaHei", Impact, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1240px;
  --header-h: 84px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 8px 24px rgba(2, 10, 26, 0.35);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { width: 100%; flex: 1; }
#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }
#main-content:focus { outline: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { line-height: 1.75; }
a { color: inherit; }
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
.section { padding-block: clamp(64px, 10vw, 120px); }
.section--tight { padding-block: 44px; }
.page-title { margin-bottom: 16px; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.page-lead { color: var(--c-silver); font-size: 18px; line-height: 1.8; max-width: 680px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.btn--primary { background: var(--grad-neon); color: #062014; box-shadow: 0 6px 20px rgba(0, 255, 136, 0.22); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 255, 136, 0.35); }
.btn--ghost { border: 1px solid rgba(155, 176, 204, 0.45); color: var(--c-white); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--c-neon); color: var(--c-neon); }
.btn--orange { background: var(--grad-orange); color: #fff; box-shadow: 0 6px 20px rgba(255, 77, 50, 0.22); }
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 77, 50, 0.32); }

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.07);
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-neon);
  letter-spacing: 0.02em;
}

.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-card);
  aspect-ratio: 16 / 9;
}
.img-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--portrait { aspect-ratio: 3 / 4; }
.img-frame[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(5, 12, 28, 0.82));
  font-size: 13px;
  color: var(--c-silver);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-silver);
  margin-bottom: 28px;
}
.breadcrumbs a { transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--c-neon); }
.breadcrumbs > span:last-child { color: var(--c-white); font-weight: 600; }
.breadcrumbs__sep { font-family: var(--font-data); color: var(--c-silver); opacity: 0.4; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--c-neon);
  color: #062014;
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 19, 42, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(0, 255, 136, 0.16);
  box-shadow: 0 8px 30px rgba(3, 8, 20, 0.45);
}
.site-header.is-scrolled::after { transform: scaleX(0.65); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--c-neon);
  background: var(--c-bg);
  border-radius: 8px;
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.28);
  transition: transform 0.3s var(--ease);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: var(--grad-orange);
}
a:hover .brand__mark { transform: rotate(135deg); }
.brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand__tag {
  display: inline-block;
  margin-left: 2px;
  padding: 2px 9px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.06);
  color: var(--c-neon);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.main-nav { position: static; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-silver);
  transition: color 0.2s, background 0.2s;
}
.main-nav__num {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--c-neon);
  opacity: 0.75;
  font-weight: 400;
}
.main-nav__link:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.05); }
.main-nav__link[aria-current="page"] { color: var(--c-white); }
.main-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-neon);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.55);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(155, 176, 204, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--c-silver);
  font-size: 13px;
}
.header-search__icon { opacity: 0.75; flex-shrink: 0; }
.header-search__text { white-space: nowrap; }
.header-lang {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 6px;
  color: var(--c-neon);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.28);
}
.nav-toggle__bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-white);
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s;
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #081731, #0A1B3A);
  border-top: 1px solid rgba(0, 255, 136, 0.14);
}
.footer-accent {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-neon) 0%, transparent 35%, var(--c-orange) 70%, transparent 100%);
  opacity: 0.8;
}
.footer-inner { padding: 64px 32px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-about { color: var(--c-silver); font-size: 14px; max-width: 420px; margin-bottom: 16px; }
.footer-trust {
  padding: 12px 16px;
  border-left: 3px solid var(--c-neon);
  border-radius: 0 8px 8px 0;
  background: rgba(0, 255, 136, 0.05);
  color: var(--c-silver);
  font-size: 13px;
  line-height: 1.7;
}
.footer-col { min-width: 0; }
.footer-col--nav { order: 2; }
.footer-col--legal { order: 3; }
.footer-col--contact { order: 4; }
.footer-heading { margin-bottom: 16px; font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.footer-heading::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  margin-top: 8px;
  background: var(--c-neon);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  display: inline-block;
  color: var(--c-silver);
  font-size: 14px;
  transition: color 0.15s, padding-left 0.15s;
}
.footer-links a:hover { color: var(--c-neon); padding-left: 6px; }
.footer-note { margin-top: 16px; color: var(--c-silver); font-size: 12px; opacity: 0.7; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--c-silver); }
.footer-contact li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  background: var(--c-orange);
  transform: rotate(45deg);
}
.footer-contact a { color: var(--c-silver); transition: color 0.15s; }
.footer-contact a:hover { color: var(--c-neon); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(155, 176, 204, 0.12);
  font-size: 13px;
  color: var(--c-silver);
}
.footer-copy, .footer-icp { margin: 0; }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-neon);
}
.footer-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .header-search__text { display: none; }
  .header-search { padding: 8px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .container { padding-inline: 20px; }
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .brand__tag { display: none; }
  .brand__name { font-size: 20px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    z-index: 990;
    margin-left: 0;
    padding: 36px 24px 60px;
    background: rgba(7, 15, 32, 0.98);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav[data-open] { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 6px;
    border-bottom: 1px solid rgba(155, 176, 204, 0.12);
    border-radius: 0;
    font-size: 24px;
    font-weight: 900;
  }
  .main-nav__num { font-size: 12px; }
  .main-nav__link[aria-current="page"]::after { left: 54px; right: auto; width: 24px; bottom: 8px; }
  html.nav-lock { overflow: hidden; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { padding: 44px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; }
  .footer-col--nav, .footer-col--legal, .footer-col--contact { order: initial; }
  .footer-col--nav { order: 1; }
  .footer-col--legal { order: 2; }
  .footer-col--contact { order: 3; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .footer-status__dot, .brand__mark { animation: none; }
}
