/* ============================================================
   竞博JBO 中国官网 · site.css
   技术蓝图 / 命令栏导航 / 粗野主义 / 赛博竞速
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg-deep: #0B0F19;
  --bg-panel: #161B26;
  --bg-raised: #1B2231;
  --text-primary: #E5E7EB;
  --text-secondary: #9CA3AF;
  --accent: #00FF9D;
  --accent-soft: rgba(0, 255, 157, 0.08);
  --accent-mid: rgba(0, 255, 157, 0.16);
  --warn: #FF5C00;
  --cyan: #66FCF1;
  --border: #374151;
  --border-soft: rgba(55, 65, 81, 0.55);
  --font-display: 'Orbitron', 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'SF Mono', ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  --header-h: 64px;
  --container: 1280px;
  --shadow-panel: 0 16px 40px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset 与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(55, 65, 81, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 65, 81, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
  overflow-x: hidden;
}

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

main,
#main-content {
  display: block;
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 18px;
  }
}

.section {
  position: relative;
  padding: 88px 0;
}

.section + .section {
  border-top: 1px solid var(--border-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 56px;
}

.tech-grid {
  background-image:
    linear-gradient(rgba(55, 65, 81, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 65, 81, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(55, 65, 81, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 65, 81, 0.14) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

/* ---------- 编号章节标题 ---------- */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.section-header-body {
  padding-top: 10px;
}

.section-index {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--border);
}

@supports (-webkit-text-stroke: 1px var(--border)) {
  .section-index {
    color: transparent;
    -webkit-text-stroke: 2px var(--border);
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 10px;
  max-width: 520px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  font-family: var(--font-mono);
  color: var(--border);
}

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

.breadcrumb a:hover {
  color: var(--accent);
}

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

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 300;
  pointer-events: none;
  transition: transform 100ms linear;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 500;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  box-shadow: 0 8px 32px rgba(0, 255, 157, 0.4);
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: none;
}

/* ---------- 页头命令栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.86);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(11, 15, 25, 0.97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.42);
}

.header-inner {
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand:hover .brand-name {
  color: var(--accent);
}

.brand-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: color 0.2s;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  transition: color 0.2s;
}

.brand-name strong {
  color: var(--accent);
  font-weight: 900;
}

.brand-sub {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---------- 搜索链接 ---------- */
.header-search-link {
  flex: 1;
  max-width: 480px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: rgba(22, 27, 38, 0.72);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.header-search-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-primary);
}

.search-icon {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.search-text {
  flex: 1;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-kbd {
  flex-shrink: 0;
  border: 1px solid var(--border);
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---------- 汉堡按钮 ---------- */
.nav-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover,
.nav-toggle.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav-toggle-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text-primary);
  transition: top 0.25s var(--ease-out), transform 0.25s var(--ease-out), opacity 0.2s, background 0.2s;
}

.nav-toggle-line:nth-child(1) {
  top: 13px;
}

.nav-toggle-line:nth-child(2) {
  top: 20px;
}

.nav-toggle-line:nth-child(3) {
  top: 27px;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
  background: var(--accent);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
  background: var(--accent);
}

/* ---------- 全屏命令面板 ---------- */
.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(55, 65, 81, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 65, 81, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-panel);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s linear 0.45s;
}

.nav-panel[data-open] {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

.nav-panel-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.nav-col-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-col-label::before {
  content: attr(data-col-index);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 6px;
  letter-spacing: 0.08em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li + li {
  border-top: 1px solid var(--border-soft);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 8px 14px 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s var(--ease-out);
}

.nav-link::before {
  content: attr(data-nav-index);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 3px 6px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--accent);
  padding-left: 16px;
}

.nav-link:hover::before {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
  padding-left: 16px;
}

.nav-link[aria-current="page"]::before {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
}

.nav-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s var(--ease-out);
}

.nav-quick-link span:last-child {
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform 0.2s var(--ease-out);
}

.nav-quick-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
  padding-left: 12px;
}

.nav-quick-link:hover span:last-child {
  transform: translateX(4px);
}

.nav-contact-line {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-contact-note {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
}

.nav-col-contact .btn {
  margin-top: 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease-out), color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-color: var(--accent);
  transition: width 0.22s var(--ease-out), height 0.22s var(--ease-out);
}

.btn::before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}

.btn::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 32px rgba(0, 255, 157, 0.28);
}

.btn:hover::before,
.btn:hover::after {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--bg-deep);
  color: var(--accent);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-ghost::before,
.btn-ghost::after {
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: none;
}

.btn-ghost:hover::before,
.btn-ghost:hover::after {
  border-color: var(--accent);
}

.btn-light {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-light::before,
.btn-light::after {
  border-color: var(--text-primary);
}

.btn-light:hover {
  background: var(--text-primary);
  color: var(--bg-deep);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: var(--bg-raised);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 255, 157, 0.14);
}

.card-accent {
  background: linear-gradient(160deg, rgba(0, 255, 157, 0.1) 0%, transparent 42%), var(--bg-panel);
}

.card-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.card-title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s var(--ease-out);
}

.card-link:hover {
  gap: 12px;
}

/* ---------- 响应式网格 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- 状态标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
}

.chip-accent {
  border-color: rgba(0, 255, 157, 0.5);
  color: var(--accent);
  background: var(--accent-soft);
}

.chip-warn {
  border-color: rgba(255, 92, 0, 0.5);
  color: var(--warn);
  background: rgba(255, 92, 0, 0.08);
}

/* ---------- 图片占位 ---------- */
.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
  background-color: var(--bg-panel);
  background-image:
    linear-gradient(rgba(0, 255, 157, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--border);
}

.image-placeholder::after {
  content: attr(data-caption);
  padding: 8px 14px;
  background: rgba(11, 15, 25, 0.86);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ph-16x9 {
  aspect-ratio: 16 / 9;
}

.ph-4x3 {
  aspect-ratio: 4 / 3;
}

.ph-1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg-panel);
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-col-title span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-trust {
  margin-top: 16px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list a {
  display: inline-block;
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}

.footer-link-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-sub-label {
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-link-list-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list-sub a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link-list-sub a:hover {
  color: var(--accent);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-list li:nth-child(-n+2) {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-icp {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 150;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-mono);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 32px rgba(0, 255, 157, 0.35);
}

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

html.js [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .nav-panel-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

  .nav-col-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 32px;
  }

  .nav-col-contact .nav-col-label {
    flex: 0 0 100%;
  }

  .nav-col-contact .nav-contact-line {
    flex: 0 0 auto;
  }

  .nav-contact-note {
    flex: 0 0 100%;
    margin-top: 12px;
  }

  .nav-col-contact .btn {
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding: 0 18px;
    gap: 12px;
  }

  .brand-sub {
    display: none;
  }

  .header-search-link {
    flex: 0 1 40px;
    height: 40px;
    max-width: none;
    padding: 0;
    justify-content: center;
  }

  .search-text,
  .search-kbd {
    display: none;
  }

  .nav-panel-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 18px 48px;
  }

  .nav-col-contact {
    grid-column: auto;
    display: block;
  }

  .nav-col-contact .btn {
    margin-top: 20px;
  }

  .nav-link {
    font-size: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-inner {
    padding: 40px 18px 20px;
  }

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

  .footer-col-brand {
    grid-column: auto;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }
}

/* ---------- 动效减弱 ---------- */
@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;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .scroll-progress {
    transition: none;
  }

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

  html.js [data-reveal][data-revealed] {
    opacity: 1;
    transform: none;
  }

  .nav-panel,
  .nav-panel[data-open] {
    clip-path: none;
    transition: none;
    opacity: 0;
    visibility: hidden;
  }

  .nav-panel[data-open] {
    opacity: 1;
    visibility: visible;
  }
}
