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

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background: #0A0B0A;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

:root {
  --color-black: #0A0B0A;
  --color-green: #00FF88;
  --color-green-dark: #00CC66;
  --color-orange: #FF6B00;
  --color-orange-dark: #E65C00;
  --color-silver: #C0C0C0;
  --color-gray-dark: #1E1E1E;
  --color-gray: #6E6E6E;
  --color-white: #FFFFFF;

  --font-headline: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-body: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'Roboto Mono', 'Courier New', Consolas, 'Liberation Mono', monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --content-width: 1200px;
  --header-height: 148px;
  --line-silver: 1px solid rgba(192, 192, 192, 0.16);
  --line-green: 1px solid rgba(0, 255, 136, 0.28);
  --shadow-panel: 0 4px 24px rgba(0, 0, 0, 0.45);
  --radius: 2px;
}

::selection {
  background: #00FF88;
  color: #0A0B0A;
}

:focus-visible {
  outline: 2px solid #00FF88;
  outline-offset: 3px;
}

#main-content {
  outline: none;
  scroll-margin-top: var(--header-height);
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #00FF88;
  color: #0A0B0A;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transform: translateY(-220%);
  transition: transform 0.18s ease;
}

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

/* ---------- 滚动进度条 ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 210;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.progress-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00FF88 0%, #00CC66 100%);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.55);
  transition: width 80ms linear;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 10, 0.96);
  border-bottom: var(--line-silver);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.masthead {
  position: relative;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.05) 0%, transparent 60%);
}

.masthead__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.masthead__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-self: center;
  min-width: 0;
}

.masthead__meta-item {
  font-size: 0.68rem;
  font-family: var(--font-data);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E6E6E;
  white-space: nowrap;
}

.masthead__brand {
  display: inline-flex;
  align-items: flex-start;
  justify-self: center;
  gap: 8px;
  min-width: 0;
}

.masthead__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.masthead__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #00FF88;
  color: #0A0B0A;
  font-family: var(--font-data);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skewX(-10deg);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.3);
  border-radius: 1px;
}

.masthead__logo-text {
  font-family: var(--font-headline);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.masthead__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  margin-top: 4px;
  border: 1px solid #FF6B00;
  color: #FF6B00;
  font-family: var(--font-data);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  transform: skewX(-8deg);
}

.masthead__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-self: center;
  min-width: 0;
}

/* ---------- 导航 ---------- */
.site-nav {
  background: rgba(30, 30, 30, 0.55);
}

.site-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-list__item {
  position: relative;
}

.nav-link {
  position: relative;
  display: block;
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #C0C0C0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 2px;
  background: #FF6B00;
  transform: skewX(-24deg) scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.nav-link:hover {
  color: #00FF88;
}

.nav-link:hover::before {
  transform: skewX(-24deg) scaleX(1);
}

.nav-link[aria-current="page"] {
  color: #FFFFFF;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 2px;
  background: #00FF88;
  transform: skewX(-24deg);
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

.nav-link[aria-current="page"]:hover::before {
  opacity: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #C0C0C0;
  background: transparent;
  border: var(--line-silver);
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  border-color: #00FF88;
  color: #00FF88;
}

.nav-toggle__bar {
  position: relative;
  width: 16px;
  height: 2px;
  background: #00FF88;
  transition: background 0.2s ease;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00FF88;
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle__bar::before {
  top: -5px;
}

.nav-toggle__bar::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  border: 1px solid rgba(192, 192, 192, 0.35);
  background: transparent;
  color: #FFFFFF;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  border-color: #00FF88;
  color: #00FF88;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.15);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.3);
}

.btn--primary {
  background: #00FF88;
  border-color: #00FF88;
  color: #0A0B0A;
  font-weight: 700;
}

.btn--primary:hover {
  background: #00CC66;
  border-color: #00CC66;
  color: #0A0B0A;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
}

.btn--ghost {
  border-color: rgba(0, 255, 136, 0.35);
  color: #00FF88;
}

.btn--ghost:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.2);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

/* ---------- 章节与文字 ---------- */
.section {
  position: relative;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.section-head {
  position: relative;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: #FFFFFF;
}

.section-title__num {
  font-family: var(--font-data);
  font-size: 0.62em;
  font-weight: 400;
  color: #FF6B00;
  vertical-align: super;
  margin-right: 4px;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 255, 136, 0.25);
  transform: skewX(-12deg);
  font-size: 0.7rem;
  font-family: var(--font-data);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #00FF88;
  background: rgba(0, 255, 136, 0.05);
}

.note-vert {
  position: absolute;
  top: 4px;
  right: 0;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: #6E6E6E;
  text-transform: uppercase;
  border-right: 1px solid rgba(192, 192, 192, 0.2);
  padding-right: 8px;
  white-space: nowrap;
}

.paragraph {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #C0C0C0;
  max-width: 68ch;
}

.data-font {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- 数据组件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__value {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: #00FF88;
}

.stat__value--orange {
  color: #FF6B00;
}

.stat__value--white {
  color: #FFFFFF;
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E6E6E;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-family: var(--font-data);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00FF88;
}

.tag--orange {
  border-color: rgba(255, 107, 0, 0.5);
  color: #FF6B00;
}

.tag--ghost {
  border-color: rgba(192, 192, 192, 0.3);
  color: #C0C0C0;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: var(--space-3);
  background: #1E1E1E;
  border: 1px solid rgba(192, 192, 192, 0.16);
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.card--solid {
  background: #0A0B0A;
  border-color: rgba(0, 255, 136, 0.3);
}

.card__title {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E6E6E;
}

.card__body {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #C0C0C0;
}

.card__footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(192, 192, 192, 0.12);
  font-size: 0.75rem;
  color: #6E6E6E;
}

/* ---------- 栅格 ---------- */
.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

/* ---------- 分隔与装饰 ---------- */
.divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.4), transparent);
  margin: var(--space-5) 0;
}

.slant-line {
  display: block;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, #00FF88, #00CC66);
  transform: skewX(-24deg);
  margin: var(--space-3) 0;
  opacity: 0.85;
}

.slant-line--orange {
  width: 120px;
  background: linear-gradient(90deg, #FF6B00, #E65C00);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: var(--space-3);
  font-size: 0.78rem;
  color: #6E6E6E;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: #6E6E6E;
}

.breadcrumb__link {
  color: #C0C0C0;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: #00FF88;
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: #1E1E1E;
  border: 1px solid rgba(192, 192, 192, 0.14);
  border-radius: 2px;
}

.img-frame::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.img-frame--wide::before {
  padding-top: 42.85%;
}

.img-frame--tall::before {
  padding-top: 125%;
}

.img-frame--square::before {
  padding-top: 100%;
}

.img-frame > img,
.img-frame > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E6E6E;
  background: repeating-linear-gradient(
    -45deg,
    rgba(192, 192, 192, 0.03),
    rgba(192, 192, 192, 0.03) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0A0B0A;
  border-top: 1px solid rgba(192, 192, 192, 0.1);
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
  margin-bottom: var(--space-3);
}

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

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.footer-brand__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #00FF88;
  color: #0A0B0A;
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 900;
  transform: skewX(-8deg);
}

.footer-brand__logo-text {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.footer-brand__desc {
  max-width: 40ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #6E6E6E;
}

.footer-brand__trust {
  margin-top: 14px;
  font-size: 0.74rem;
  font-family: var(--font-data);
  letter-spacing: 0.06em;
  color: #00FF88;
}

.footer-nav__title,
.footer-contact__title {
  margin-bottom: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6E6E6E;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-nav__item {
  line-height: 1.35;
}

.footer-nav__link {
  display: inline-block;
  font-size: 0.84rem;
  color: #C0C0C0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav__link:hover {
  color: #00FF88;
  padding-left: 5px;
}

.footer-nav__note {
  margin-top: 16px;
  max-width: 26ch;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #6E6E6E;
  border-left: 2px solid #FF6B00;
  padding-left: 10px;
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
}

.footer-contact__item {
  margin-bottom: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #C0C0C0;
}

.footer-contact__label {
  display: block;
  font-size: 0.64rem;
  font-family: var(--font-data);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom__icp {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: #6E6E6E;
}

.footer-copy {
  font-size: 0.75rem;
  color: #6E6E6E;
}

.footer-copy [data-year] {
  font-family: var(--font-data);
  color: #C0C0C0;
}

/* ---------- 桌面细化 ---------- */
@media (min-width: 768px) {
  .section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

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

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

/* ---------- 平板 ---------- */
@media (max-width: 1023px) {
  .masthead__row {
    grid-template-columns: 1fr auto;
  }

  .masthead__meta {
    display: none;
  }

  .masthead__brand {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
}

/* ---------- 手机 ---------- */
@media (max-width: 767px) {
  :root {
    --header-height: 136px;
  }

  .masthead__row {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .masthead__brand {
    align-items: flex-start;
  }

  .masthead__logo-text {
    font-size: 1.32rem;
  }

  .masthead__logo-mark {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .masthead__badge {
    font-size: 0.54rem;
    margin-top: 2px;
  }

  .masthead__actions {
    gap: 6px;
  }

  .btn--sm {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .site-nav__row {
    justify-content: flex-start;
    min-height: 0;
    padding: 8px 0;
  }

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

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 4px;
  }

  [data-nav][data-open] .nav-list {
    display: flex;
  }

  .nav-list__item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.08);
  }

  .nav-link::before,
  .nav-link[aria-current="page"]::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .note-vert {
    display: none;
  }
}

/* ---------- 小屏手机 ---------- */
@media (max-width: 479px) {
  .masthead__actions .btn--sm {
    padding: 6px 10px;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .masthead__logo-mark {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .masthead__logo-text {
    font-size: 1.18rem;
  }

  .masthead__logo {
    gap: 10px;
  }
}

/* ---------- 减弱动效 ---------- */
@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;
  }

  .progress-bar__fill {
    transition: none;
  }
}
