```css
/* ============================================================
   男人网站 zczhrc.cn — 完整样式系统
   风格：深蓝商务 + 暖金点缀 / 毛玻璃 / 响应式 / 暗色模式
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg-page: #f4f6fb;
  --bg-card: #ffffff;
  --bg-soft: #edf1f7;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-dark: rgba(15, 23, 42, 0.65);
  --text-primary: #1e2a3a;
  --text-secondary: #2d3f50;
  --text-tertiary: #52677a;
  --text-link: #1a4d8c;
  --text-link-hover: #0c3b6b;
  --text-on-dark: #f2f6fc;
  --text-on-dark-secondary: #cbd8e8;
  --border-color: #c9d4e0;
  --border-light: rgba(0, 0, 0, 0.06);
  --btn-bg: #1a4d8c;
  --btn-bg-hover: #123a68;
  --btn-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(0, 0, 0, 0.06);
  --footer-bg: #101c2c;
  --footer-text: #c9d6e4;
  --footer-heading: #ffffff;
  --faq-q: #1e2a3a;
  --faq-a: #34495e;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --max-width: 1280px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --banner-overlay: linear-gradient(105deg, rgba(8, 28, 52, 0.92) 0%, rgba(16, 42, 74, 0.78) 40%, rgba(26, 77, 140, 0.55) 100%);
  --gold: #d4a853;
  --gold-soft: rgba(212, 168, 83, 0.15);
}

[data-theme="dark"] {
  --bg-page: #0b1220;
  --bg-card: #141f31;
  --bg-soft: #1a2639;
  --bg-glass: rgba(20, 31, 49, 0.75);
  --text-primary: #e8eef5;
  --text-secondary: #d0dae6;
  --text-tertiary: #a0b2c4;
  --text-link: #7cb0e8;
  --text-link-hover: #a5caf2;
  --text-on-dark: #f4f8fc;
  --text-on-dark-secondary: #c0cee0;
  --border-color: #2a3a50;
  --border-light: rgba(255, 255, 255, 0.06);
  --btn-bg: #2f6fd6;
  --btn-bg-hover: #4f8ae0;
  --btn-text: #ffffff;
  --nav-bg: rgba(15, 23, 42, 0.78);
  --nav-border: rgba(255, 255, 255, 0.06);
  --footer-bg: #060d18;
  --footer-text: #b0c4da;
  --footer-heading: #ffffff;
  --faq-q: #e8eef5;
  --faq-a: #c4d0de;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --gold: #e0c07a;
  --gold-soft: rgba(224, 192, 122, 0.12);
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(26, 77, 140, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(212, 168, 83, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, transparent 0%, var(--bg-page) 100%);
  pointer-events: none;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(47, 111, 214, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(224, 192, 122, 0.04) 0%, transparent 40%);
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 2rem 0 1.2rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--btn-bg), var(--gold));
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--text-link-hover);
  border-bottom-color: var(--text-link-hover);
}

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

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

li {
  margin-bottom: 0.4rem;
}

::selection {
  background: rgba(26, 77, 140, 0.2);
  color: var(--text-primary);
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 20px;
  border: 2px solid var(--bg-page);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--btn-bg);
}

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

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--btn-bg), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 77, 140, 0.2);
}

.card:hover::after {
  opacity: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--btn-bg), var(--btn-bg-hover));
  color: var(--btn-text);
  padding: 0.9rem 2.2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 77, 140, 0.25);
  text-align: center;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(26, 77, 140, 0.35);
  color: #fff;
  border-bottom: none;
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 77, 140, 0.2);
}

/* ---------- 导航栏 ---------- */
.nav-bar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--nav-border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-bar.is-scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.6rem 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 0.5rem;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
  border-bottom: none;
}

.logo:hover {
  border-bottom: none;
  color: var(--text-primary);
}

.logo svg {
  filter: drop-shadow(0 2px 8px rgba(26, 77, 140, 0.25));
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: rotate(-5deg) scale(1.05);
}

.logo span {
  background: linear-gradient(135deg, var(--btn-bg), var(--gold));
  color: white;
  padding: 0.15rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 导航链接 */
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  list-style: none;
  margin: 0;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  border-bottom: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--btn-bg), var(--gold));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-link);
  border-bottom: none;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 导航操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 50px;
  padding: 0.25rem 0.25rem 0.25rem 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-box:focus-within {
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px rgba(26, 77, 140, 0.12);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.5rem 0.3rem;
  color: var(--text-primary);
  outline: none;
  width: 130px;
  font-size: 0.9rem;
  transition: width 0.3s ease;
}

.search-box input:focus {
  width: 160px;
}

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

.search-box button {
  background: var(--btn-bg);
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-box button:hover {
  background: var(--btn-bg-hover);
  transform: scale(1.03);
}

/* 主题切换按钮 */
#themeToggle {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

#themeToggle:hover {
  background: var(--btn-bg);
  color: white;
  transform: rotate(20deg) scale(1.05);
}

/* 移动菜单 */
.menu-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.menu-toggle:hover {
  background: var(--btn-bg);
  color: white;
}

/* 移动端导航 */
@media (max-width: 920px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-top: 1px solid var(--nav-border);
    gap: 0.2rem;
    margin: 0.5rem 0 0;
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .nav-links a {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    text-align: center;
  }

  .nav-links a:hover {
    background: var(--bg-soft);
  }

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

  .menu-toggle {
    display: flex;
  }

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

  .nav-actions {
    margin-left: auto;
  }
}

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

/* ---------- Hero Banner ---------- */
.hero {
  background: var(--banner-overlay),
    url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI1MDAiIHZpZXdCb3g9IjAgMCAxNDQwIDUwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiMwYzI4NDQ7c3RvcC1vcGFjaXR5OjEiLz48c3RvcCBvZmZzZXQ9IjUwJSIgc3R5bGU9InN0b3AtY29sb3I6IzFhNGQ4YztzdG9wLW9wYWNpdHk6MSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6IzJjNjA5ODtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZykiLz48L3N2Zz4=');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5.5rem 0 4.5rem;
  margin-bottom: 3rem;
  border-radius: 0 0 40px 40px;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  animation: heroFadeIn 0.8s ease;
}

.hero h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-on-dark-secondary);
  font-size: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
}

.hero .tagline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.6rem;
  border-radius: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.2rem;
  color: #fff;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 网格系统 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* ---------- 徽章 ---------- */
.badge {
  background: linear-gradient(135deg, var(--btn-bg), var(--gold));
  color: white;
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-block;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(26, 77, 140, 0.2);
}

/* ---------- 文章卡片 ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card .meta {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-card .meta::before {
  content: "📅";
  font-size: 0.9rem;
}

.article-card h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0.3rem 0;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

.article-card a {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: none;
  margin-top: auto;
}

.article-card a:hover {
  gap: 0.7rem;
  border-bottom: none;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

th {
  background: var(--bg-soft);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-soft);
  transition: background 0.2s ease;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-weight: 600;
  color: var(--faq-q);
  cursor: pointer;
  padding: 1.2rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-q:hover {
  color: var(--text-link);
}

.faq-q .arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
  color: var(--btn-bg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  color: var(--faq-a);
  padding-left: 1rem;
  opacity: 0;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.5rem;
  padding-right: 0.5rem;
  opacity: 1;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer a {
  color: var(--footer-text);
  transition: color 0.2s ease;
  border-bottom: none;
  line-height: 2.2;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--gold);
  border-bottom: none;
}

.footer h4 {
  color: var(--footer-heading);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.7rem;
}

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

.footer p {
  color: var(--footer-text);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  line-height: 1.9;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--footer-text);
  opacity: 0.8;
}

.footer .grid-3 {
  gap: 2.5rem;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--btn-bg), var(--btn-bg-hover));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(26, 77, 140, 0.35);
  border: none;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(26, 77, 140, 0.45);
}

/* ---------- 工具类 ---------- */
.text-secondary {
  color: var(--text-secondary);
}

.text-tertiary {
  color: var(--text-tertiary);
}

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

.mt-4 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

/* ---------- 滚动动画 ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟类 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---------- 数字统计 ---------- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-primary), var(--btn-bg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 暗色模式调整 ---------- */
[data-theme="dark"] .hero p {
  color: var(--text-on-dark-secondary);
}

[data-theme="dark"] .hero .tagline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .footer {
  background: var(--footer-bg);
}

[data-theme="dark"] .footer .copyright {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .search-box input {
  color: var(--text-primary);
}

[data-theme="dark"] .search-box input::placeholder {
  color: var(--text-tertiary);
}

/* ---------- 响应式优化 ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 3.5rem 0 3rem;
    border-radius: 0 0 24px 24px;
  }

  .card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .search-box {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.5rem 16px;
  }

  .logo {
    font-size: 1.3rem;
  }

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
  }

  .footer {
    padding: 3rem 0 1.2rem;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .nav-bar,
  .hero,
  .back-to-top,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* 焦点可见性 */
:focus-visible {
  outline: 3px solid var(--btn-bg);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 选中颜色 ---------- */
::selection {
  background: var(--btn-bg);
  color: white;
}

/* ---------- 新增：分区标题样式 ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-title .icon {
  font-size: 2rem;
  background: var(--bg-soft);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ---------- 新增：流程/步骤样式 ---------- */
.steps-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid var(--border-color);
  margin-left: 1.2rem;
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.4rem;
  top: 0;
  background: linear-gradient(135deg, var(--btn-bg), var(--gold));
  color: white;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(26, 77, 140, 0.3);
}

.steps-list li:last-child {
  border-left-color: transparent;
}

/* ---------- 新增：友情链接 ---------- */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.friend-links a {
  background: var(--bg-soft);
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.friend-links a:hover {
  background: var(--btn-bg);
  color: white;
  border-color: var(--btn-bg);
}

/* ---------- 新增：装饰性分割线 ---------- */
.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--btn-bg), var(--gold));
  border-radius: 3px;
  margin: 1.5rem 0;
}

/* ---------- 新增：图片圆角与阴影 ---------- */
.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

/* ---------- 新增：代码块样式 ---------- */
code {
  background: var(--bg-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.9em;
  color: var(--text-link);
}

pre {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
}

pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}

/* ---------- 新增：引用块 ---------- */
blockquote {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-primary);
}

blockquote p {
  margin-bottom: 0;
}

/* 确保所有内容在暗色模式下可读 */
[data-theme="dark"] .card {
  background: var(--bg-card);
}

[data-theme="dark"] .footer {
  background: var(--footer-bg);
}

[data-theme="dark"] .nav-bar {
  background: var(--nav-bg);
}

/* 最终一致性保障 */
body,
.nav-bar,
.card,
.footer,
.hero {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
```