:root {
  --color-bg: #0A0D12;
  --color-surface: #151A22;
  --color-surface-raised: #1A212C;
  --color-neon: #00FF9E;
  --color-blue: #00D4FF;
  --color-silver: #B8C5D9;
  --color-text: #F2F5F8;
  --color-text-secondary: #A8B2BD;
  --color-muted: #6B7A8A;
  --color-border: #26303D;
  --color-live: #FF4756;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "DIN Condensed", "Barlow Condensed", system-ui, -apple-system, "PingFang SC", sans-serif;
  --container-w: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --glow-neon: 0 0 18px rgba(0, 255, 158, 0.35);
  --glow-blue: 0 0 18px rgba(0, 212, 255, 0.3);
}

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

[hidden] {
  display: none !important;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin-block: 0 1em;
}

::selection {
  background: var(--color-neon);
  color: #04120C;
}

:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 3px;
  border-radius: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

/* 滚动阅读进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 260;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__inner {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-neon), var(--color-blue));
  box-shadow: var(--glow-neon);
  transition: width 0.05s linear;
}

/* 跳过链接 */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--color-neon);
  color: #04120C;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
  color: #04120C;
}

/* 页头 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__bar {
  position: relative;
  background: rgba(10, 13, 18, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.header__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon) 0%, var(--color-blue) 65%, transparent 100%);
  opacity: 0.75;
}

.header__inner {
  display: flex;
  flex-direction: column;
}

.header__upper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

/* 品牌块 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--color-neon) 0%, var(--color-blue) 100%);
  color: #04120C;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: var(--glow-neon);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.brand:hover .brand__mark {
  transform: skewX(-6deg) scale(1.04);
  box-shadow: 0 0 24px rgba(0, 255, 158, 0.5);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--color-text);
  white-space: nowrap;
}

.brand__name-accent {
  color: var(--color-blue);
}

.brand__slogan {
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 页头工具区 */
.header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.round-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 12px 0 9px;
  border: 1px solid rgba(0, 255, 158, 0.5);
  background: rgba(0, 255, 158, 0.08);
  color: var(--color-neon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%);
}

.round-badge__label {
  line-height: 1;
}

.round-badge__num {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  box-shadow: var(--glow-blue);
}

.nav-toggle__lines {
  display: grid;
  gap: 4px;
  width: 16px;
  pointer-events: none;
}

.nav-toggle__lines i {
  display: block;
  height: 2px;
  background: var(--color-neon);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle__lines i:nth-child(2) {
  width: 10px;
  margin-left: auto;
}

.nav-toggle__text {
  line-height: 1;
}

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

[data-nav-toggle][aria-expanded="true"] .nav-toggle__lines i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* 下层栏目导航 */
.header__nav {
  border-top: 1px solid rgba(38, 48, 61, 0.65);
}

.header__nav-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.header__nav-scroll::-webkit-scrollbar {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.header__nav-item {
  position: relative;
  flex: 0 0 auto;
}

.header__nav-link {
  display: block;
  min-height: 44px;
  padding: 13px 15px;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease-out);
}

.header__nav-link:hover {
  color: var(--color-text);
}

.header__nav-link:hover::after,
.header__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__nav-link[aria-current="page"] {
  color: var(--color-neon);
}

.header__nav-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 4px;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.header__nav-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  animation: live-pulse 2s var(--ease-inout) infinite;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 71, 86, 0.5);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 7px rgba(255, 71, 86, 0);
  }
}

/* 抽屉导航 */
.drawer-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 170;
  width: min(420px, 100vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.32s var(--ease-out), visibility 0s linear 0.32s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-neon), var(--color-blue));
  opacity: 0.8;
}

.drawer-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s var(--ease-out), visibility 0s;
}

.drawer-nav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 28px;
}

.drawer-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-nav__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.drawer-nav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawer-nav__close:hover {
  border-color: var(--color-neon);
  color: var(--color-neon);
  transform: rotate(90deg);
}

.drawer-nav__body {
  position: relative;
  flex: 1;
  padding: 34px 0 28px;
}

.drawer-nav__bg {
  position: absolute;
  top: -30px;
  right: -18px;
  z-index: 0;
  font-family: var(--font-data);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 158, 0.18);
  pointer-events: none;
  user-select: none;
}

.drawer-nav__slogan {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 30px;
}

.drawer-nav__slogan em {
  color: var(--color-neon);
  font-style: normal;
}

.drawer-nav__list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
}

.drawer-nav__item {
  display: block;
}

.drawer-nav__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 6px;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease, padding-left 0.25s var(--ease-out), border-color 0.2s ease;
}

.drawer-nav__link:hover,
.drawer-nav__link[aria-current="page"] {
  color: var(--color-neon);
  padding-left: 14px;
  border-color: rgba(0, 255, 158, 0.35);
}

.drawer-nav__link[aria-current="page"] .drawer-nav__label::after {
  content: " ›";
  color: var(--color-blue);
}

.drawer-nav__index {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.drawer-nav__link:hover .drawer-nav__index,
.drawer-nav__link[aria-current="page"] .drawer-nav__index {
  color: var(--color-blue);
}

.drawer-nav__label {
  position: relative;
  display: inline-block;
}

.drawer-nav__foot {
  padding: 18px 0 26px;
  border-top: 1px solid var(--color-border);
}

.drawer-nav__meta {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-muted);
}

.drawer-nav__icp {
  margin-top: 8px;
  font-size: 11px;
  color: var(--color-muted);
}

/* 抽屉遮罩 */
.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(3, 5, 8, 0.68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.is-nav-open {
  overflow: hidden;
}

/* 页脚 */
.footer {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon) 0%, var(--color-blue) 60%, rgba(0, 212, 255, 0) 100%);
  opacity: 0.8;
}

.footer::after {
  content: "29";
  position: absolute;
  right: -30px;
  bottom: -60px;
  font-family: var(--font-data);
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 197, 217, 0.1);
  pointer-events: none;
  user-select: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer__brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__brand {
  display: inline-flex;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--color-text);
  line-height: 1.1;
}

.footer__brand:hover {
  color: var(--color-text);
}

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

.footer__slogan {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-blue);
}

.footer__desc {
  margin-top: 10px;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-muted);
}

.footer__round-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-neon);
  border: 1px solid rgba(0, 255, 158, 0.4);
  background: rgba(0, 255, 158, 0.06);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.footer__nav {
  min-width: 0;
}

.footer__contact {
  min-width: 0;
}

.footer__heading {
  position: relative;
  padding-left: 14px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-neon);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: var(--glow-neon);
}

.footer__list {
  display: grid;
  gap: 8px;
}

.footer__list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__list a:hover {
  color: var(--color-neon);
  padding-left: 4px;
}

.footer__contact-list {
  display: grid;
  gap: 10px;
}

.footer__contact-item {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  word-break: break-all;
}

.footer__contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer__baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-muted);
}

.footer__copyright {
  font-size: 12px;
}

.footer__icp {
  font-size: 12px;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-live);
}

.footer__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  animation: live-pulse 2s var(--ease-inout) infinite;
}

/* 标题体系 */
h1, .h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2, .h2 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h3, .h3 {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.2;
}

h4, .h4 {
  font-size: 17px;
  font-weight: 700;
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-muted);
}

.text-neon {
  color: var(--color-neon);
}

.text-blue {
  color: var(--color-blue);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--color-neon);
  background: transparent;
  color: var(--color-neon);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: rgba(0, 255, 158, 0.1);
  color: var(--color-neon);
  box-shadow: var(--glow-neon);
}

.btn--primary {
  background: var(--color-neon);
  color: #04120C;
  border-color: transparent;
}

.btn--primary:hover {
  background: #00FF9E;
  color: #04120C;
  box-shadow: var(--glow-neon);
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  clip-path: none;
}

.btn--ghost:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  box-shadow: var(--glow-blue);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "//";
  margin: 0 10px;
  color: var(--color-neon);
  font-size: 12px;
  opacity: 0.7;
}

.breadcrumb__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--color-neon);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--color-neon);
  font-weight: 600;
}

/* 页面首屏 */
.page-header {
  position: relative;
  padding: 48px 0 24px;
}

.page-header__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-neon);
}

.page-header__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-blue));
}

.page-header__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.page-header__lead {
  max-width: 64ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* 章节 */
.section {
  padding: 56px 0;
}

.section--tint {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.section__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.section__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--color-text);
}

.section__desc {
  max-width: 64ch;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 10px;
}

/* 网格 */
.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));
}

/* 卡片 */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--color-surface-raised);
  border-color: rgba(0, 255, 158, 0.5);
  box-shadow: var(--glow-neon);
}

.card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
}

.card__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.card__meta {
  font-size: 12px;
  color: var(--color-muted);
}

/* 数据数字 */
.data-num {
  font-family: var(--font-data);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-neon);
}

/* 图片占位容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 255, 158, 0.1), rgba(0, 212, 255, 0.08)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 9px),
    var(--color-surface);
  aspect-ratio: 4 / 3;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(0, 255, 158, 0.18);
  pointer-events: none;
}

.media::after {
  content: "IMG";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(184, 197, 217, 0.35);
  pointer-events: none;
}

.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media:has(img)::after {
  content: "";
}

.media--16-9 {
  aspect-ratio: 16 / 9;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media--hero {
  aspect-ratio: 21 / 9;
}

.media--pano {
  aspect-ratio: 21 / 10;
}

/* 装饰 */
.diag-stripes {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 10px
  );
}

.glow-line {
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--color-neon), var(--color-blue));
  box-shadow: var(--glow-neon);
}

.speed-line {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-counter] {
  font-family: var(--font-data);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* 主内容 */
#main-content {
  display: block;
  min-height: 60vh;
}

#main-content:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: -4px;
}

/* 响应式 */
@media (max-width: 1023px) {
  .header__nav {
    display: none;
  }

  .header__upper {
    min-height: 68px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

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

@media (max-width: 639px) {
  .header__upper {
    min-height: 60px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__slogan {
    max-width: 150px;
  }

  .nav-toggle__text {
    display: none;
  }

  .round-badge {
    display: none;
  }

  .drawer-nav {
    width: 100vw;
  }

  .drawer-nav__inner {
    padding: 0 20px;
  }

  .drawer-nav__body {
    padding: 24px 0 20px;
  }

  .drawer-nav__slogan {
    font-size: 24px;
  }

  .drawer-nav__link {
    font-size: 18px;
    padding: 13px 4px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer__status {
    margin-left: 0;
  }

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

  .section {
    padding: 40px 0;
  }

  .page-header {
    padding: 32px 0 20px;
  }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .header__overlay,
  .drawer-nav {
    transition: opacity 0.001s ease, transform 0.001s ease, visibility 0.001s ease;
  }
}
