/* ===== 字体导入 ===== */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --bg-base: #000000;
  --bg-surface: #121212;
  --bg-raised: #1a1a1a;
  --bg-card: #161616;
  --border: #2a2a2a;
  --border-bright: #3a3a3a;
  --accent-blue: #1e40af;
  --accent-blue-mid: #2563eb;
  --accent-blue-bright: #3b82f6;
  --accent-glow: #60a5fa;
  --accent-neon: #00d4ff;
  --accent-pink: #ec4899;
  --accent-gold: #f59e0b;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #606060;
  --radius-card: 18px;
  --radius-sm: 8px;
  --nav-width: 220px;
  --nav-width-collapsed: 56px;
  --font-head: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 16px rgba(59,130,246,0.25);
  --transition: 0.22s ease;
  color-scheme: dark;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-blue-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-neon); }
a:focus-visible {
  outline: 2px solid var(--accent-neon);
  outline-offset: 3px;
  border-radius: 3px;
}
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; letter-spacing: 0.03em; }

/* ===== 侧边导航 ===== */
.side-nav {
  position: fixed;
  top: 0; left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 900;
  overflow-y: auto;
  overflow-x: hidden;
  transition: width var(--transition), transform var(--transition);
}
.side-nav::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-blue) 40%, var(--accent-blue-mid) 60%, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.nav-brand {
  padding: 18px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  min-height: 64px;
  flex-shrink: 0;
}
.nav-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border-bright);
  text-decoration: none;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.nav-brand-link:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-blue-bright);
}
.nav-logo-img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-blue-bright);
  text-shadow: 0 0 10px var(--accent-blue-bright);
  line-height: 1;
}

.side-nav nav { flex: 1; padding: 12px 0; }
.side-nav nav ul { padding: 0 8px; }
.side-nav nav ul li { margin-bottom: 2px; }
.side-nav nav ul li a {
  display: block;
  padding: 11px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.side-nav nav ul li a:hover {
  background: var(--bg-raised);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-bright);
}
.side-nav nav ul li a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.06) 100%);
  color: var(--accent-blue-bright);
  box-shadow: inset 2px 0 0 var(--accent-blue-bright);
  text-shadow: 0 0 10px rgba(59,130,246,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin: 10px auto 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle:hover span { background: var(--text-primary); }

/* ===== 页面主区域 ===== */
.page-wrap {
  margin-left: var(--nav-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition);
}
.page-wrap > div {
  flex: 1;
  width: 100%;
}

/* ===== 格栅背景装饰 ===== */
.page-wrap > div::before {
  content: '';
  position: fixed;
  top: 0; left: var(--nav-width);
  right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 公共 eyebrow ===== */
.page-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(59,130,246,0.5);
}

/* ===== 页头通用 ===== */
.page-header {
  padding: 48px 40px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.page-date, .page-date-mod {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 16px;
}

/* ===== 内容正文 ===== */
.content-body {
  padding: 32px 40px 40px;
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.content-body h2 {
  font-size: 20px;
  color: var(--text-primary);
  margin: 2em 0 0.75em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content-body h3 { font-size: 17px; color: var(--accent-blue-bright); margin: 1.6em 0 0.6em; }
.content-body p { margin-bottom: 1.1em; color: var(--text-secondary); font-size: 16px; }
.content-body a { color: var(--accent-blue-bright); border-bottom: 1px solid rgba(59,130,246,0.3); }
.content-body a:hover { color: var(--accent-neon); border-bottom-color: var(--accent-neon); }
.content-body ul, .content-body ol {
  padding-left: 20px;
  margin-bottom: 1.1em;
  color: var(--text-secondary);
}
.content-body li { margin-bottom: 0.4em; }
.content-body strong { color: var(--text-primary); font-weight: 600; }
.content-body blockquote {
  border-left: 3px solid var(--accent-blue-mid);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--bg-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}
.content-body code {
  background: var(--bg-raised);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--accent-neon);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 40px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-blue-bright); }
.breadcrumb span[aria-current="page"] { color: var(--text-secondary); }

/* ===== DEFAULT LAYOUT ===== */
.layout-default .content-article {
  position: relative;
  z-index: 1;
}

/* ===== HOME LAYOUT ===== */
.layout-home .page-wrap--home > div::before { display: none; }

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute;
  object-fit: cover;
}
.hero-img-1 {
  top: 0; left: 0;
  width: 58%; height: 70%;
  object-position: top center;
  filter: brightness(0.6);
}
.hero-img-2 {
  bottom: 0; right: 0;
  width: 52%; height: 65%;
  object-position: center;
  filter: brightness(0.55);
}
.hero-slash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.7) 42%,
    rgba(30,64,175,0.45) 55%,
    rgba(0,0,0,0.8) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero-slash::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 48%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--accent-blue-bright), var(--accent-neon), transparent);
  transform: skewX(-8deg);
  opacity: 0.7;
  box-shadow: 0 0 20px var(--accent-blue-bright);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 0 48px 80px 48px;
  max-width: 620px;
}
.hero-content .page-eyebrow { text-align: right; }
.hero-content h1 {
  font-size: clamp(28px, 5vw, 56px);
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(59,130,246,0.4);
  letter-spacing: 0.04em;
}
.hero-sub {
  font-size: 16px;
  color: rgba(240,240,240,0.8);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  min-height: 48px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-mid) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-blue-bright);
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.hero-cta:hover {
  box-shadow: 0 0 24px rgba(59,130,246,0.6);
  transform: translateY(-2px);
  color: #fff;
}

.home-content-body {
  padding: 48px 40px 32px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.home-content-body p { color: var(--text-secondary); font-size: 16px; margin-bottom: 1.1em; }
.home-content-body h2 {
  font-size: 20px;
  margin: 2em 0 0.75em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.home-content-body a { color: var(--accent-blue-bright); }

.home-nav-section {
  padding: 0 40px 64px;
  position: relative;
  z-index: 1;
}
.section-heading {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-heading::before {
  content: '';
  display: inline-block;
  width: 4px; height: 16px;
  background: var(--accent-blue-bright);
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-blue-bright);
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.nav-cards-grid li { list-style: none; }
.nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-card:hover {
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
}
.nav-card-icon { font-size: 24px; line-height: 1; }
.nav-card h3 { font-size: 15px; margin: 0; }
.nav-card h3 a { color: var(--text-primary); text-decoration: none; }
.nav-card h3 a:hover { color: var(--accent-neon); }
.nav-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.nav-card-cta {
  font-size: 12px;
  color: var(--accent-blue-bright);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-top: 4px;
}
.nav-card-cta:hover { color: var(--accent-neon); }

/* ===== GUIDE LAYOUT ===== */
.guide-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 40px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.guide-hero-wrap {
  flex-shrink: 0;
  width: 200px;
}
.guide-hero-img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
}
.guide-header-meta { flex: 1; }
.guide-header-meta h1 {
  font-size: clamp(20px, 2.8vw, 32px);
  margin-bottom: 12px;
}

.guide-children {
  padding: 32px 40px 48px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}
.aside-heading {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.guide-children ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.child-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.child-card:hover {
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.child-card h3 { font-size: 14px; margin-bottom: 8px; }
.child-card h3 a { color: var(--text-primary); }
.child-card h3 a:hover { color: var(--accent-neon); }
.child-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.5; }
.child-card time { font-size: 11px; color: var(--text-muted); }

/* ===== ABOUT LAYOUT ===== */
.about-article {
  position: relative;
  z-index: 1;
}
.about-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: calc(100vh - 80px);
}
.about-visual {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.about-profile-img {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-card);
}
.about-brand-display {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-blue-bright);
  text-shadow: 0 0 10px rgba(59,130,246,0.5);
  text-align: center;
  writing-mode: horizontal-tb;
  word-break: break-all;
}
.about-body {
  padding: 48px 40px 48px;
}
.about-body h1 {
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 24px;
}
.about-body .content-body { padding: 0; }

.about-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.about-link-btn {
  display: inline-block;
  padding: 12px 24px;
  min-height: 44px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-mid) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-blue-bright);
  text-decoration: none;
  transition: box-shadow var(--transition);
}
.about-link-btn:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
  color: #fff;
}
.about-link-btn--ghost {
  background: transparent;
  border-color: var(--border-bright);
  color: var(--text-secondary);
}
.about-link-btn--ghost:hover {
  border-color: var(--accent-blue-bright);
  color: var(--accent-blue-bright);
  box-shadow: none;
}

/* ===== PRIVACY LAYOUT ===== */
.legal-article { position: relative; z-index: 1; }
.legal-header {
  padding: 48px 40px 32px;
  border-bottom: 1px solid var(--border);
}
.legal-header h1 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 12px; }
.legal-body {
  max-width: 720px;
}
.legal-footer-links {
  padding: 0 40px 48px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.legal-footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.legal-footer-links a:hover { color: var(--accent-blue-bright); border-color: var(--accent-blue-bright); }

/* ===== FAQ LAYOUT ===== */
.faq-article { position: relative; z-index: 1; }
.faq-header {
  padding: 48px 40px 28px;
  border-bottom: 1px solid var(--border);
}
.faq-header h1 { font-size: clamp(22px, 3vw, 36px); margin-bottom: 14px; }
.faq-intro { font-size: 15px; color: var(--text-secondary); max-width: 640px; }

.faq-shortcuts {
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.shortcuts-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.faq-shortcuts a {
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  min-height: 34px;
  display: flex;
  align-items: center;
  transition: border-color var(--transition), color var(--transition);
}
.faq-shortcuts a:hover {
  border-color: var(--accent-blue-bright);
  color: var(--accent-blue-bright);
}
.faq-body { max-width: 780px; }

/* FAQ 手风琴 */
.faq-body details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-surface);
}
.faq-body summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  user-select: none;
}
.faq-body summary::-webkit-details-marker { display: none; }
.faq-body summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent-blue-bright);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-body details[open] summary::after {
  transform: rotate(45deg);
}
.faq-body details > *:not(summary) {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  margin-left: var(--nav-width);
  position: relative;
  z-index: 10;
  transition: margin-left var(--transition);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 28px;
  gap: 8px;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bg-raised);
  -webkit-text-stroke: 1px var(--border-bright);
  text-stroke: 1px var(--border-bright);
  user-select: none;
  line-height: 1;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--accent-blue-bright); }

/* ===== Scroll Reveal 动效 ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease calc(var(--delay, 0ms)), transform 0.5s ease calc(var(--delay, 0ms));
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 响应式：移动端 ===== */
@media (max-width: 768px) {
  :root {
    --nav-width: 0px;
  }

  .side-nav {
    width: 240px;
    transform: translateX(-100%);
    z-index: 950;
  }
  .side-nav.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0,0,0,0.8);
  }

  .nav-toggle {
    display: flex;
    position: fixed;
    top: 12px; left: 12px;
    z-index: 1000;
  }

  .page-wrap {
    margin-left: 0;
  }
  .site-footer {
    margin-left: 0;
  }
  .page-wrap > div::before {
    left: 0;
  }

  .hero { height: 100svh; min-height: 500px; }
  .hero-content {
    padding: 0 20px 60px;
    text-align: right;
    max-width: 100%;
  }
  .hero-img-1 { width: 70%; height: 55%; }
  .hero-img-2 { width: 60%; height: 50%; }

  .home-content-body { padding: 32px 20px 24px; }
  .home-nav-section { padding: 0 20px 48px; }
  .nav-cards-grid { grid-template-columns: 1fr; gap: 14px; }

  .page-header { padding: 32px 20px 24px; }
  .content-body { padding: 24px 20px 32px; }
  .breadcrumb { padding: 12px 20px; }

  .guide-header { flex-direction: column; padding: 28px 20px 20px; gap: 16px; }
  .guide-hero-wrap { width: 100%; }
  .guide-hero-img { width: 100%; height: 180px; max-width: none; }
  .guide-children { padding: 24px 20px 40px; }
  .guide-children ul { grid-template-columns: 1fr; }

  .about-split { grid-template-columns: 1fr; }
  .about-visual {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 20px 24px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-profile-img { max-width: 120px; }
  .about-body { padding: 28px 20px 36px; }
  .about-body h1 { font-size: 22px; }

  .legal-header { padding: 32px 20px 24px; }
  .legal-footer-links { padding: 0 20px 40px; }

  .faq-header { padding: 32px 20px 24px; }
  .faq-shortcuts { padding: 12px 20px; gap: 10px; }

  .footer-inner { padding: 24px 16px 20px; }
  .footer-brand { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 24px; }
  .hero-cta { padding: 12px 22px; font-size: 13px; }
  .about-links { flex-direction: column; }
  .about-link-btn { text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* ===== 侧边栏覆盖层 ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 940;
  backdrop-filter: blur(2px);
}
.nav-overlay.is-visible { display: block; }
