```css
/* ============================================================
   半次元漫画 - 主样式表
   风格：二次元渐变 / 圆角卡片 / 毛玻璃 / 响应式 / 暗色模式
   ============================================================ */

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

:root {
  /* 品牌色 */
  --brand: #5B4BFF;
  --brand-2: #FF6B9D;
  --brand-3: #00C2A8;
  --brand-4: #8B5CF6;

  /* 浅色主题 */
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --bg-elevated: #ffffff;
  --fg: #1a1a2e;
  --fg-soft: #44445a;
  --muted: #666680;
  --card: #f7f7fb;
  --border: #e5e5ef;
  --border-strong: #d5d5e5;

  /* 玻璃 */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(91, 75, 255, 0.12);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(91, 75, 255, 0.10);
  --shadow-lg: 0 16px 48px rgba(91, 75, 255, 0.16);
  --shadow-brand: 0 10px 30px rgba(91, 75, 255, 0.30);

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #5B4BFF 0%, #8B5CF6 50%, #FF6B9D 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(91, 75, 255, 0.10), rgba(255, 107, 157, 0.10));
  --grad-accent: linear-gradient(135deg, #5B4BFF, #FF6B9D);

  /* 圆角 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* 尺寸 */
  --container: 1180px;
  --header-h: 64px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-mid: 0.32s;
  --t-slow: 0.6s;
}

/* ---------- 暗色主题 ---------- */
body.dark {
  --bg: #12121a;
  --bg-soft: #1a1a24;
  --bg-elevated: #1c1c28;
  --fg: #e8e8f0;
  --fg-soft: #c8c8d8;
  --muted: #a0a0b4;
  --card: #1c1c28;
  --border: #2a2a3a;
  --border-strong: #3a3a4e;

  --glass-bg: rgba(28, 28, 40, 0.72);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-brand: 0 10px 30px rgba(91, 75, 255, 0.45);

  --grad-brand-soft: linear-gradient(135deg, rgba(91, 75, 255, 0.18), rgba(255, 107, 157, 0.18));
}

/* ---------- HTML / Body ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
  overflow-x: hidden;
}

/* 背景装饰光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(91, 75, 255, 0.06), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(255, 107, 157, 0.06), transparent 40%);
}

body.dark::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(91, 75, 255, 0.12), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(255, 107, 157, 0.10), transparent 40%);
}

/* ---------- 链接与媒体 ---------- */
a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   顶部导航
   ============================================================ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}

header.site-header:hover {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: var(--header-h);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease);
}

.logo:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.logo svg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(91, 75, 255, 0.30);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 6px 18px rgba(91, 75, 255, 0.45);
}

/* 主导航 */
nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

nav.main-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  border-radius: var(--radius-pill);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateX(-50%);
  transition: width var(--t-mid) var(--ease);
}

nav.main-nav a:hover {
  color: var(--brand);
  background: rgba(91, 75, 255, 0.08);
  text-decoration: none;
}

nav.main-nav a:hover::after {
  width: 60%;
}

/* 导航工具栏 */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91, 75, 255, 0.15);
  background: var(--bg-elevated);
}

.search-box input {
  width: 130px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  padding: 4px 0;
}

.search-box input::placeholder {
  color: var(--muted);
}

.search-box button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: background-color var(--t-fast) var(--ease);
}

.search-box button:hover {
  background: rgba(91, 75, 255, 0.10);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  color: #fff;
  background: var(--grad-accent);
  background-size: 160% 160%;
  box-shadow: 0 4px 14px rgba(91, 75, 255, 0.28);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background-position var(--t-slow) var(--ease), opacity var(--t-fast) var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(91, 75, 255, 0.40);
  background-position: 100% 50%;
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(91, 75, 255, 0.08);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* 菜单按钮 */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--fg);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.menu-toggle:hover {
  background: rgba(91, 75, 255, 0.10);
  border-color: var(--brand);
}

/* ============================================================
   Hero Banner
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  color: #fff;
  background: var(--grad-brand);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero p.lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  opacity: 0.95;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-cta .btn {
  padding: 13px 28px;
  font-size: 15px;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-cta .btn:hover {
  background: #fff;
  color: var(--brand-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.hero-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
}

/* 数据统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.stat {
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.stat .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat .lbl {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.92;
}

/* 轮播 */
.carousel {
  position: relative;
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.slides {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.slide {
  min-width: 100%;
  padding: 28px 32px 44px;
}

.slide h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.slide p {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.94;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  width: 24px;
  background: #fff;
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

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

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

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.6;
}

/* ============================================================
   目录 TOC
   ============================================================ */
.toc {
  margin: 8px 0 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.toc h3 {
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.toc ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.toc a {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  padding: 2px 0;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.toc a:hover {
  color: var(--brand);
  text-decoration: none;
  transform: translateX(3px);
}

/* ============================================================
   通用区块
   ============================================================ */
section.block {
  padding: 68px 0;
  position: relative;
}

section.block.alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--grad-accent);
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
}

/* ============================================================
   网格布局
   ============================================================ */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   卡片
   ============================================================ */
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 75, 255, 0.35);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--fg);
}

.card h4 {
  font-size: 15px;
  margin: 16px 0 8px;
  color: var(--brand);
  font-weight: 700;
}

.card h4:first-of-type {
  margin-top: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.card p + p {
  margin-top: 10px;
}

.card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-accent);
  transform: translateY(-50%);
}

/* ============================================================
   文章列表
   ============================================================ */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 75, 255, 0.35);
  box-shadow: var(--shadow-lg);
}

.article-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}

.article-card .meta span:first-child {
  display: inline-block;
  padding: 1px 10px;
  border-radius: var(--radius-pill);
  background: rgba(91, 75, 255, 0.10);
  color: var(--brand);
  font-weight: 600;
}

.article-card h3 {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--fg);
  transition: color var(--t-fast) var(--ease);
}

.article-card:hover h3 {
  color: var(--brand);
}

.article-card p {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

.article-card .read {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.article-card .read:hover {
  gap: 10px;
  color: var(--brand-2);
  text-decoration: none;
}

/* ============================================================
   FAQ 手风琴
   ============================================================ */
.faq-item {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.faq-item:hover {
  border-color: rgba(91, 75, 255, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--fg);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.faq-q:hover {
  color: var(--brand);
  background: rgba(91, 75, 255, 0.05);
}

.faq-q .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(91, 75, 255, 0.10);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--grad-accent);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  transition: max-height var(--t-slow) var(--ease), padding var(--t-mid) var(--ease);
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 22px 20px;
}

/* ============================================================
   HowTo 步骤
   ============================================================ */
.howto-step {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.howto-step:last-child {
  margin-bottom: 0;
}

.step-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(91, 75, 255, 0.30);
  transition: transform var(--t-mid) var(--ease);
}

.howto-step:hover .step-num {
  transform: scale(1.08) rotate(-6deg);
}

.step-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--fg);
}

.step-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info h3::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.contact-info dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 12px;
  font-size: 15px;
}

.contact-info dt {
  color: var(--muted);
}

.contact-info dd {
  color: var(--fg);
  font-weight: 500;
  word-break: break-word;
}

.contact-info h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--brand);
}

.contact-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

.map-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--grad-brand-soft);
  overflow: hidden;
  text-align: center;
  color: var(--brand);
  font-weight: 600;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.map-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.map-box svg {
  border-radius: var(--radius-sm);
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  padding: 26px 18px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 75, 255, 0.35);
  box-shadow: var(--shadow-lg);
}

.team-card svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(91, 75, 255, 0.22);
  transition: transform var(--t-mid) var(--ease);
}

.team-card:hover svg {
  transform: scale(1.06);
}

.team-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--fg);
}

.team-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   标签与徽章
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  margin: 2px 4px 2px 0;
  border-radius: var(--radius-xs);
  font-size: 13px;
  background: rgba(91, 75, 255, 0.10);
  color: var(--brand);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.tag:hover {
  background: var(--brand);
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 2px 12px;
  margin-left: 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--grad-accent);
  vertical-align: middle;
}

/* 新闻卡片中的 meta 段落 */
.card .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ============================================================
   滚动动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 逐项延迟 */
.reveal.visible:nth-child(2) { transition-delay: 0.06s; }
.reveal.visible:nth-child(3) { transition-delay: 0.12s; }
.reveal.visible:nth-child(4) { transition-delay: 0.18s; }
.reveal.visible:nth-child(5) { transition-delay: 0.24s; }
.reveal.visible:nth-child(6) { transition-delay: 0.30s; }

/* 尊重动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero {
    animation: none;
  }
}

/* ============================================================
   返回顶部
   ============================================================ */
#backTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

#backTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 34px rgba(91, 75, 255, 0.50);
}

#backTop:active {
  transform: translateY(-1px) scale(1);
}

/* ============================================================
   页脚
   ============================================================ */
footer.site-footer {
  padding: 54px 0 26px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.footer-grid p {
  line-height: 1.9;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.footer-grid a:hover {
  color: var(--brand);
  padding-left: 4px;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  line-height: 2;
}

.footer-bottom p + p {
  margin-top: 4px;
}

/* ============================================================
   响应式 - 平板
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav.main-nav ul {
    gap: 2px;
  }

  nav.main-nav a {
    padding: 6px 9px;
    font-size: 14px;
  }

  .search-box input {
    width: 110px;
  }
}

/* ============================================================
   响应式 - 移动端
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --header-h: 60px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .article-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .toc ul {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 移动导航 */
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 20px 22px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: navSlideDown var(--t-mid) var(--ease);
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav.main-nav.open {
    display: block;
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  nav.main-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  nav.main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .search-box {
    padding: 4px 4px 4px 12px;
  }

  .search-box input {
    width: 90px;
  }

  .search-box button {
    padding: 4px 8px;
  }

  section.block {
    padding: 52px 0;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .slide {
    padding: 24px 22px 42px;
  }

  .slide h3 {
    font-size: 18px;
  }

  .contact-info {
    padding: 24px;
  }
}

/* ============================================================
   响应式 - 小屏手机
   ============================================================ */
@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 17px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .nav-tools {
    gap: 6px;
  }

  .search-box {
    display: none;
  }

  .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .btn-ghost {
    padding: 8px 12px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 16px 12px;
  }

  .stat .num {
    font-size: 24px;
  }

  .stat .lbl {
    font-size: 12px;
  }

  .toc {
    padding: 18px;
  }

  .toc ul {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 54px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 12px 20px;
  }

  .carousel {
    margin-top: 26px;
  }

  .slide {
    padding: 20px 18px 40px;
  }

  .slide h3 {
    font-size: 16px;
  }

  .slide p {
    font-size: 14px;
  }

  .card {
    padding: 20px;
  }

  .article-card {
    padding: 20px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-a {
    padding: 0 18px;
  }

  .faq-item.open .faq-a {
    padding: 0 18px 18px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-info dl {
    grid-template-columns: 80px 1fr;
    gap: 10px;
    font-size: 14px;
  }

  .map-box {
    min-height: 200px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .team-card {
    padding: 20px 12px;
  }

  .team-card svg {
    width: 60px;
    height: 60px;
  }

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

  .howto-step {
    gap: 14px;
  }

  .step-num {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  #backTop {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .section-head {
    margin-bottom: 32px;
  }
}

/* ============================================================
   打印样式
   ============================================================ */
@media print {
  header.site-header,
  #backTop,
  .hero-cta,
  .carousel,
  .carousel-dots,
  footer.site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    background: #f0f0f5;
    color: #000;
    padding: 20px 0;
    animation: none;
  }

  .card,
  .article-card,
  .faq-item {
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
```