/* ===== 字体引入 ===== */
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Cabin:wght@400;500;600;700&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --c-primary: #6514ff;
  --c-accent: #bf00ff;
  --c-dark: #1c1726;
  --c-dark2: #251e34;
  --c-dark3: #2f2740;
  --c-dark4: #3d3357;
  --c-light: #f0eaff;
  --c-muted: #b8a8d8;
  --c-text: #e8e0f8;
  --c-text-dim: #9988bb;
  --c-border: rgba(101, 20, 255, 0.25);
  --c-glass-bg: rgba(37, 30, 52, 0.7);
  --c-glass-border: rgba(191, 0, 255, 0.2);
  --font-display: 'Amatic SC', 'Ma Shan Zheng', cursive;
  --font-body: 'Cabin', 'Noto Sans SC', system-ui, sans-serif;
  --radius: 10px;
  --nav-h: 110px;
  --announce-h: 40px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  line-height: 1.6;
}

body {
  background-color: var(--c-dark);
  color: var(--c-text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--c-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-light); }
a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ===== 动画关键帧 ===== */
@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes floatUp {
  0% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===== 公告条 ===== */
.top-announce {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-primary));
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 50;
}

/* ===== 导航：aside > nav > ul > li > a ===== */
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 23, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid rgba(101, 20, 255, 0.15);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-light);
  text-decoration: none;
}
.brand-logo:hover { color: var(--c-accent); }

.logo-img { width: 36px; height: 36px; border-radius: 6px; }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  overflow: hidden;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem 2rem;
  align-items: center;
}

.main-nav li a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--c-dark3);
  color: var(--c-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--c-border);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  min-height: 40px;
  white-space: nowrap;
}

.main-nav li a:hover,
.main-nav li a[aria-current="page"] {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 1rem 0 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--c-text-dim);
  list-style: none;
}
.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 0.4rem;
  color: var(--c-primary);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-accent); }

/* ===== Hero（首页）===== */
.hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 20, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 20, 255, 0.15) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridShift 8s linear infinite;
  z-index: 0;
}
.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(191, 0, 255, 0.18) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 2rem 2rem;
  animation: floatUp 0.8s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(191, 0, 255, 0.4);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 按钮 ===== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 44px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(101, 20, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101, 20, 255, 0.55);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}
.btn-secondary:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  min-height: 40px;
}

/* ===== 玻璃卡片 ===== */
.glass-card {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(101, 20, 255, 0.25);
  border-color: rgba(191, 0, 255, 0.4);
}

/* ===== 子页卡片网格 section > article×n ===== */
.child-grid {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(101, 20, 255, 0.15);
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-light);
  line-height: 1.2;
}

.cards-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.child-card .card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}

.card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}
.card-title a { color: var(--c-light); }
.card-title a:hover { color: var(--c-accent); }

.card-desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
}

.card-date {
  font-size: 0.78rem;
  color: var(--c-text-dim);
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-top: 0.4rem;
}
.card-link:hover { color: var(--c-accent); }

/* ===== 正文容器：article > section > div ===== */
.page-content-wrap,
.about-content-wrap,
.privacy-content-col {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.prose-section {}

.prose-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-text);
}

.prose-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-light);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--c-border);
  line-height: 1.2;
}

.prose-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--c-accent);
  margin: 2rem 0 0.8rem;
  line-height: 1.2;
}

.prose-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-light);
  margin: 1.5rem 0 0.5rem;
}

.prose-body p {
  margin-bottom: 1.2rem;
}

.prose-body a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-body a:hover { color: var(--c-light); }

.prose-body ul, .prose-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
  list-style: disc;
}
.prose-body ol { list-style: decimal; }
.prose-body li { margin-bottom: 0.5rem; }

.prose-body strong { color: var(--c-light); font-weight: 700; }
.prose-body em { color: var(--c-accent); font-style: italic; }

.prose-body code {
  background: var(--c-dark3);
  color: var(--c-accent);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose-body pre {
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.prose-body pre code { background: none; padding: 0; }

.prose-body blockquote {
  border-left: 4px solid var(--c-primary);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  background: rgba(101, 20, 255, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-muted);
  font-style: italic;
}

.prose-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.prose-body th {
  background: var(--c-dark3);
  color: var(--c-accent);
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--c-primary);
}
.prose-body td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.prose-body tr:hover td { background: rgba(101, 20, 255, 0.06); }

.prose-body time {
  color: var(--c-text-dim);
  font-size: 0.88em;
}

/* ===== 文章头部 ===== */
.article-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
}

.article-header-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(191, 0, 255, 0.1);
  border: 1px solid rgba(191, 0, 255, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
}

.article-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--c-light);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-text-dim);
}
.meta-label { color: var(--c-text-dim); }
.meta-sep { color: var(--c-primary); }
.article-meta time { color: var(--c-muted); }

/* ===== 指南页布局 ===== */
.guide-main {
  min-height: calc(100vh - var(--nav-h));
}

.guide-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

.guide-content-col { min-width: 0; }

.guide-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.sidebar-block { padding: 1.5rem; }

.sidebar-block-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.sidebar-nav-list li + li { margin-top: 0.5rem; }
.sidebar-nav-list a {
  display: block;
  font-size: 0.88rem;
  color: var(--c-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(101, 20, 255, 0.1);
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-nav-list a:hover {
  color: var(--c-accent);
  padding-left: 0.4rem;
}

.sidebar-cta p { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 1rem; }

/* ===== 关于页 ===== */
.about-main { min-height: calc(100vh - var(--nav-h)); }

.about-hero {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(101, 20, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(191, 0, 255, 0.2) 0%, transparent 50%),
    linear-gradient(rgba(101, 20, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 20, 255, 0.08) 1px, transparent 1px);
  background-size: auto auto, auto auto, 32px 32px, 32px 32px;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}

.about-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--c-light);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.about-stats-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  min-width: 160px;
  flex: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--c-muted);
}

.about-nav-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 2rem 4rem;
}

/* ===== 隐私政策页 ===== */
.privacy-main { min-height: calc(100vh - var(--nav-h)); }

.privacy-header-block {
  position: relative;
  padding: 4rem 2rem 3rem;
  text-align: center;
  overflow: hidden;
}

.privacy-header-deco {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(101, 20, 255, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(101, 20, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 20, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.privacy-h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--c-light);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.privacy-lead {
  position: relative;
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-layout-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

.privacy-toc-col {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.privacy-toc-card, .privacy-links-card { padding: 1.2rem 1.4rem; }

.toc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.toc-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--c-muted);
}

.toc-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  min-width: 24px;
}

.privacy-quick-links li + li { margin-top: 0.5rem; }
.privacy-quick-links a {
  font-size: 0.88rem;
  color: var(--c-muted);
  display: block;
  padding: 0.35rem 0;
}
.privacy-quick-links a:hover { color: var(--c-accent); }

.privacy-content-col { min-width: 0; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-dark2);
  border-top: 1px solid var(--c-border);
  margin-top: 2rem;
}

.footer-top-block {
  background: linear-gradient(135deg, rgba(101, 20, 255, 0.15), rgba(191, 0, 255, 0.1));
  border-bottom: 1px solid var(--c-border);
  padding: 3rem 2rem;
}

.footer-subscribe {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.footer-form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-light);
  margin-bottom: 0.6rem;
}

.footer-subscribe p {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 1.4rem;
}

.subscribe-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.65rem 1rem;
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-height: 44px;
  outline: none;
  transition: border-color var(--transition);
}
.subscribe-form input[type="email"]:focus {
  border-color: var(--c-primary);
}
.subscribe-form input[type="email"]::placeholder { color: var(--c-text-dim); }

.subscribe-form button {
  padding: 0.65rem 1.6rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.subscribe-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(101, 20, 255, 0.4);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.footer-brand-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-light);
  display: block;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.footer-links-col h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-col a {
  font-size: 0.88rem;
  color: var(--c-muted);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
  padding: 0.25rem 0;
}
.footer-links-col a:hover {
  color: var(--c-accent);
  padding-left: 0.3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--c-border);
  max-width: 100%;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--c-text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--c-text-dim);
}
.footer-bottom-links a:hover { color: var(--c-accent); }

/* ===== 跳过链接 ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--c-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { left: 1rem; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .guide-layout-wrap {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.2rem 3rem;
  }
  .guide-sidebar-col {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .guide-sidebar-col .sidebar-block {
    flex: 1 1 240px;
  }

  .privacy-layout-wrap {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.2rem 3rem;
  }
  .privacy-toc-col {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .privacy-toc-col .glass-card {
    flex: 1 1 200px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 90px; }

  .nav-toggle { display: flex; }

  .main-nav {
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }
  .main-nav.is-open {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem 1.2rem;
  }
  .main-nav li a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
    min-height: 44px;
  }

  .brand-row { padding: 0.65rem 1.2rem; }

  .hero-content { padding: 1.5rem 1.2rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary { width: 100%; max-width: 280px; }

  .child-grid { padding: 2.5rem 1.2rem; }
  .cards-wrap { grid-template-columns: 1fr; }

  .page-content-wrap,
  .about-content-wrap,
  .privacy-content-col { padding: 2rem 1.2rem; }

  .about-hero { padding: 3rem 1.2rem; }
  .about-stats-row { gap: 1rem; padding: 1.5rem 1.2rem; }
  .stat-item { padding: 1.2rem 1rem; }

  .privacy-header-block { padding: 3rem 1.2rem 2rem; }

  .footer-top-block { padding: 2rem 1.2rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.2rem;
  }
  .footer-bottom-links { justify-content: center; }

  .subscribe-form { flex-direction: column; align-items: center; }
  .subscribe-form input[type="email"] { width: 100%; max-width: 340px; flex: none; }
  .subscribe-form button { width: 100%; max-width: 340px; }

  .about-nav-links { flex-direction: column; align-items: center; }
  .about-nav-links .btn-primary,
  .about-nav-links .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }

  .brand-text { font-size: 1.4rem; }

  .hero-h1 { letter-spacing: 0; }

  .section-heading h2 { font-size: 1.6rem; }

  .stat-item { min-width: 120px; }
  .stat-num { font-size: 2rem; }

  .footer-form-title { font-size: 1.6rem; }
}

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