/* =============================================
   完美体育 Site Kit · /assets/site.css
   深紫控制台 / 荧光绿数据流 / 金属银仪表线
   ============================================= */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --color-primary: #3B1F7A;
  --color-accent: #39FF14;
  --color-silver: #C0C0C0;
  --color-bg-dark: #1A0F2E;
  --color-bg-deep: #120A20;
  --color-bg-light: #F2F0F7;
  --color-surface: #FFFFFF;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-light: #1A1A2E;
  --color-text-muted: #6E6A7A;
  --font-headline: 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'IBM Plex Mono', 'Space Grotesk', Consolas, monospace;
  --font-editorial: 'Source Serif', 'Noto Serif SC', Georgia, serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --header-height: 70px;
  --container-max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px -32px rgba(26, 15, 46, 0.35);
  --shadow-glow: 0 8px 32px rgba(57, 255, 20, 0.35);
  --grid-line: rgba(192, 192, 192, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: var(--color-bg-light);
  color: var(--color-text-on-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary); }

img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { list-style: none; }

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--color-accent); color: var(--color-bg-dark); }

/* ---------- 2. 基础排版与工具 ---------- */
.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

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

.data-text {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
}

.prose {
  max-width: 68ch;
}
.prose p { margin-bottom: 1em; }
.prose ul,
.prose ol {
  list-style: revert;
  padding-left: 1.4em;
  margin-bottom: 1em;
}
.prose h2, .prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; }

/* ---------- 3. 章节骨架 ---------- */
.page-section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}
.page-section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.page-section--light {
  background-color: var(--color-bg-light);
  color: var(--color-text-on-light);
}
.page-section--primary {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(57, 255, 20, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(255, 255, 255, 0.08), transparent 50%),
    var(--color-primary);
  color: var(--color-text-on-dark);
}
.page-section--grid {
  background-color: var(--color-bg-dark);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--color-text-on-dark);
}

/* ---------- 4. 标题区 ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-title {
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.section-desc {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 60ch;
}
.page-section--dark .section-desc,
.page-section--primary .section-desc {
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}
.page-section--dark .eyebrow,
.page-section--primary .eyebrow {
  color: var(--color-accent);
}
.eyebrow--editorial {
  font-family: var(--font-editorial);
  font-size: 17px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ---------- 5. 按钮 ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button--primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-glow);
}
.button--primary:hover {
  box-shadow: 0 12px 40px rgba(57, 255, 20, 0.45);
}
.button--ghost {
  background: transparent;
  color: inherit;
  border-color: var(--color-silver);
}
.button--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.button-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.button:hover .button-arrow { transform: translateX(4px); }

/* ---------- 6. 卡片 ---------- */
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid rgba(192, 192, 192, 0.45);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 32px 70px -30px rgba(26, 15, 46, 0.45);
}
.card--dark {
  background: linear-gradient(150deg, rgba(59, 31, 122, 0.72), rgba(26, 15, 46, 0.92));
  border-color: rgba(192, 192, 192, 0.22);
  color: var(--color-text-on-dark);
  box-shadow: none;
}
.card--flat { box-shadow: none; }
.card--accent-corner::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 56px;
  height: 56px;
  border-radius: 0 var(--radius-lg) 0 40px;
  background: var(--color-accent);
  opacity: 0.9;
}

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(59, 31, 122, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(59, 31, 122, 0.16);
}
.tag[data-index]::before {
  content: attr(data-index);
  font-weight: 700;
  opacity: 0.7;
}
.tag--accent {
  background: rgba(57, 255, 20, 0.14);
  color: #176b0a;
  border-color: rgba(57, 255, 20, 0.4);
}
.tag--dark {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-text-on-dark);
  border-color: rgba(192, 192, 192, 0.3);
}
.tag--silver {
  background: linear-gradient(145deg, rgba(192, 192, 192, 0.18), rgba(192, 192, 192, 0.05));
  color: #5a5a6a;
  border-color: rgba(192, 192, 192, 0.5);
}

/* ---------- 8. 栅格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.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)); }
.grid--feature { grid-template-columns: 1.2fr 0.8fr; }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-data);
  font-size: 13px;
}
.breadcrumb-link { color: var(--color-text-muted); }
.breadcrumb-link:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-silver); }
.breadcrumb [aria-current="page"] {
  color: var(--color-text-on-light);
  font-weight: 600;
}
.page-section--dark .breadcrumb-link { color: rgba(255, 255, 255, 0.6); }
.page-section--dark .breadcrumb-link:hover { color: var(--color-accent); }
.page-section--dark .breadcrumb [aria-current="page"] { color: var(--color-text-on-dark); }
.page-section--dark .breadcrumb-sep { color: rgba(192, 192, 192, 0.4); }

/* ---------- 10. 数据组件 ---------- */
.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}
.metric-value {
  font-family: var(--font-data);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-on-light);
}
.metric-label {
  font-family: var(--font-data);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}
.card--dark .metric,
.page-section--dark .metric {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.card--dark .metric-value,
.page-section--dark .metric-value { color: var(--color-text-on-dark); }
.card--dark .metric-label,
.page-section--dark .metric-label { color: var(--color-silver); }

.timeline {
  position: relative;
  display: grid;
  gap: 36px;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary) 70%, transparent);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(57, 255, 20, 0.18);
}
.timeline-time {
  display: block;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.page-section--dark .timeline-time { color: var(--color-accent); }

/* ---------- 11. 标签页 ---------- */
.tabs { display: grid; gap: 24px; }
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.45);
}
.tab-button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.tab-button:hover {
  color: var(--color-text-on-light);
  border-color: var(--color-silver);
}
.tab-button[aria-selected="true"] {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px -8px rgba(59, 31, 122, 0.6);
}
.page-section--dark .tab-button { color: rgba(255, 255, 255, 0.65); }
.page-section--dark .tab-button:hover {
  color: #fff;
  border-color: rgba(192, 192, 192, 0.5);
}
.page-section--dark .tab-button[aria-selected="true"] {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-color: var(--color-accent);
}
.page-section--dark .tab-bar { border-bottom-color: rgba(192, 192, 192, 0.25); }
.tab-panel { min-height: 160px; }
.tab-panel[hidden] { display: none; }
@keyframes tab-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.tab-panel:not([hidden]) { animation: tab-in 0.32s var(--ease); }

/* ---------- 12. 图片帧 ---------- */
.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-bg-dark), var(--color-primary));
  border: 1px solid rgba(192, 192, 192, 0.3);
}
.image-frame--wide { aspect-ratio: 16 / 9; }
.image-frame--portrait { aspect-ratio: 3 / 4; }
.image-frame--hero { aspect-ratio: 16 / 10; }
.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.image-frame::after {
  content: attr(data-coord);
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: rgba(26, 15, 46, 0.78);
  border: 1px solid rgba(57, 255, 20, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.image-frame:not([data-coord])::after { display: none; }
.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.image-frame:hover img { transform: scale(1.04); }

/* ---------- 13. 进场显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(26, 15, 46, 0.98), rgba(26, 15, 46, 0.94));
  border-bottom: 1px solid rgba(192, 192, 192, 0.22);
  box-shadow: 0 12px 40px -22px rgba(0, 0, 0, 0.55);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 22px;
  border-radius: 0 0 14px 14px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

.scroll-progress {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-silver) 90%);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
  min-height: var(--header-height);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--color-accent), #18a854);
  color: var(--color-bg-dark);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  transform: skewX(-6deg);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.4);
}
.brand-mark::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-silver);
  border: 2px solid var(--color-bg-dark);
}
.brand-name {
  font-family: var(--font-headline);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

.main-nav { margin-left: 10px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { margin: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-index {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  opacity: 0.75;
}
.nav-text { display: inline-block; }
.nav-link:hover {
  color: var(--color-text-on-dark);
  background: rgba(59, 31, 122, 0.65);
}
.nav-link[aria-current="page"] {
  color: var(--color-accent);
  background: rgba(57, 255, 20, 0.1);
  border-color: rgba(57, 255, 20, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}
.status-label { font-size: 12px; letter-spacing: 0.05em; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.9);
  animation: status-pulse 2.2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.cta-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 22px rgba(57, 255, 20, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(57, 255, 20, 0.5);
}
.cta-button:hover::before { left: 130%; }
.cta-icon {
  font-family: var(--font-data);
  font-size: 17px;
  line-height: 1;
}
.cta-text { display: inline-block; line-height: 1; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(192, 192, 192, 0.32);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.nav-toggle:hover {
  border-color: var(--color-accent);
  background: rgba(57, 255, 20, 0.08);
}
.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  margin-inline: auto;
}
.nav-toggle-bar {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text-on-dark);
  transition: transform 0.28s var(--ease), opacity 0.2s, top 0.28s var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 6px; }
.nav-toggle-bar:nth-child(3) { top: 12px; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-deep) 100%);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--color-text-on-dark);
  border-top: 1px solid rgba(59, 31, 122, 0.9);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: min(560px, 80vw);
  background: linear-gradient(90deg, var(--color-accent), rgba(57, 255, 20, 0.15), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 7vw, 88px) 0 40px;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 18px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark--footer {
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-radius: 14px;
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 32ch;
  padding-left: 14px;
  border-left: 2px solid var(--color-accent);
}
.footer-time-sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.status-dot--footer {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex-shrink: 0;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 18px;
}
.footer-col--legal {
  border-left: 1px solid rgba(192, 192, 192, 0.14);
  padding-left: 24px;
}
.footer-col--contact {
  border-left: 1px solid rgba(192, 192, 192, 0.14);
  padding-left: 24px;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.18);
}
.footer-heading::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
}

.footer-link-list {
  display: grid;
  gap: 10px;
}
.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
}
.contact-item {
  display: grid;
  gap: 2px;
}
.contact-label {
  font-family: var(--font-data);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-silver);
}
.contact-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(192, 192, 192, 0.14);
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.48);
}
.footer-copyright { margin-right: auto; }
.footer-icp { color: rgba(255, 255, 255, 0.38); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 17px; }
}

@media (max-width: 1120px) {
  .header-status { display: none; }
}

@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px clamp(16px, 4vw, 40px) 28px;
    background: linear-gradient(180deg, rgba(26, 15, 46, 0.99), rgba(18, 10, 32, 0.99));
    border-bottom: 1px solid rgba(192, 192, 192, 0.18);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
  }
  .nav-index { min-width: 26px; }
  .header-actions { gap: 10px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--legal,
  .footer-col--contact {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 62px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .brand-name { font-size: 16px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-copyright { margin-right: 0; }
}

@media (max-width: 480px) {
  .cta-text {
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .cta-button { padding: 11px 16px; }
  .header-inner { gap: 10px; }
}

/* ---------- 17. 栅格响应 ---------- */
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4, .grid--feature { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 18. 焦点与降级 ---------- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@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 !important;
    transform: none !important;
  }
  .status-dot { animation: none; }
  .cta-button::before { display: none; }
}
