:root {
  --navy-900: #0A1A2F;
  --navy-800: #122B4E;
  --navy-700: #1A3A66;
  --orange-500: #FF6B35;
  --orange-400: #FF8A65;
  --gold-400: #F5B841;
  --slate-100: #E8ECF1;
  --slate-200: #DCE1E8;
  --text-ink: #1A2530;
  --text-muted: #6B7A8D;
  --title-font: "Archivo Black", "Noto Sans SC", sans-serif;
  --body-font: "Noto Sans SC", "Source Sans 3", sans-serif;
  --header-w: 288px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 10px 30px rgba(10, 26, 47, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-ink);
  background: var(--slate-100);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol, menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--title-font);
  line-height: 1.25;
  color: var(--text-ink);
}

p {
  margin: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  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: 8px;
  left: 8px;
  z-index: 1300;
  padding: 10px 18px;
  background: var(--orange-500);
  color: var(--navy-900);
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

/* ---------- 滚动进度条 ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- 头部 / 侧边导航框架 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: var(--header-w);
  display: flex;
  background: var(--navy-900);
  color: var(--slate-100);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  height: 100%;
  padding: 32px 24px 24px;
  overflow-y: auto;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-100);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--orange-500);
  color: var(--navy-900);
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

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

.brand-name {
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 1.1;
  color: var(--slate-100);
}

.brand-sub {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(232, 236, 241, 0.5);
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(232, 236, 241, 0.16);
  border-radius: 4px;
}

.nav-toggle:hover {
  border-color: rgba(232, 236, 241, 0.4);
}

.toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--slate-100);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-link {
  display: block;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  color: rgba(232, 236, 241, 0.72);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--slate-100);
  border-left-color: var(--orange-400);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link[aria-current="page"] {
  color: var(--slate-100);
  border-left-color: var(--orange-500);
}

.header-foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 236, 241, 0.12);
}

.head-foot-note {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(232, 236, 241, 0.5);
}

.head-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-400);
  transition: color 0.2s;
}

.head-foot-link:hover {
  color: var(--orange-500);
}

.head-foot-link::before {
  content: "";
  width: 16px;
  height: 1px;
  flex: none;
  background: var(--orange-500);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--slate-100);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 48px) 28px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-100);
}

.footer-brand .brand-name {
  font-size: 20px;
}

.footer-desc {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 236, 241, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(232, 236, 241, 0.1);
  border-bottom: 1px solid rgba(232, 236, 241, 0.1);
}

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--title-font);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold-400);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-list a {
  color: rgba(232, 236, 241, 0.7);
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--orange-400);
}

.footer-contact {
  color: rgba(232, 236, 241, 0.55);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(232, 236, 241, 0.45);
}

.footer-trust {
  color: rgba(232, 236, 241, 0.35);
}

/* ---------- 通用容器与章节 ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-ink);
}

.section-sub {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--orange-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--orange-400);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--slate-100);
}

.btn-outline:hover {
  border-color: var(--orange-500);
  background: rgba(255, 107, 53, 0.12);
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  padding: 20px 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: var(--orange-500);
}

.breadcrumb-link[aria-current="page"] {
  color: var(--text-ink);
  font-weight: 600;
}

/* ---------- 数据卡片 ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.data-card {
  position: relative;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.data-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange-400);
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--title-font);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.card-title {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--text-ink);
}

.card-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- 数据指标 ---------- */

.stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat-item {
  padding: 18px 16px;
  background: var(--navy-800);
  border-left: 3px solid var(--orange-500);
  color: var(--slate-100);
}

.stat-value {
  font-family: var(--title-font);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  color: var(--slate-100);
}

.stat-label {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(232, 236, 241, 0.6);
}

/* ---------- 可展开内容组 ---------- */

.panel {
  border-bottom: 1px solid var(--slate-200);
}

.panel:first-of-type {
  border-top: 1px solid var(--slate-200);
}

.panel-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-ink);
  text-align: left;
}

.panel-trigger::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--slate-200);
  color: var(--orange-500);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.panel-trigger:hover::after {
  border-color: var(--orange-500);
  background: var(--orange-500);
  color: var(--navy-900);
}

.panel[data-open="true"] .panel-trigger::after {
  content: "−";
}

.panel-content {
  display: none;
  padding: 0 0 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.panel[data-open="true"] .panel-content {
  display: block;
}

/* ---------- 入场显现 ---------- */

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(14px);
}

/* ---------- 响应式：主内容偏移 ---------- */

@media (min-width: 1024px) {
  #main-content,
  .site-footer {
    margin-left: var(--header-w);
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    min-height: 64px;
    border-bottom: 1px solid rgba(232, 236, 241, 0.1);
  }

  .header-inner {
    gap: 0;
    padding: 10px 16px;
    overflow: visible;
  }

  .header-top {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex: none;
    background: var(--navy-800);
    border-bottom: 1px solid var(--navy-700);
    box-shadow: 0 16px 32px rgba(10, 26, 47, 0.35);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    padding: 8px 16px 16px;
  }

  .header-foot {
    display: none;
  }

  #main-content,
  .site-footer {
    margin-left: 0;
  }

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

  .footer-bottom {
    gap: 6px 16px;
    flex-direction: column;
  }
}

/* ---------- 动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-progress {
    transition: none;
  }

  [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }
}
