```css
/* ============================================
   jmcomic 漫画藏宝阁 - 完整样式表
   风格：暗夜藏宝阁 · 渐变琉璃 + 毛玻璃质感
   响应式 + 暗色模式 + 滚动/悬浮动画
   ============================================ */

/* ---------- CSS变量（浅色/暗色双主题） ---------- */
:root {
  /* 色彩系统 — 浅色 */
  --bg: #f5f3ef;
  --bg-gradient: radial-gradient(circle at 10% 20%, rgba(240, 201, 135, 0.08) 0%, transparent 30%),
                 radial-gradient(circle at 90% 10%, rgba(30, 58, 95, 0.06) 0%, transparent 35%),
                 linear-gradient(145deg, #faf7f2 0%, #eef2f6 100%);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-solid: #ffffff;
  --bg-header: rgba(13, 27, 42, 0.85);
  --bg-footer: #0a1622;
  --text-primary: #1e2a3a;
  --text-secondary: #3a4a5f;
  --text-title: #0b1e33;
  --text-link: #1e5a8a;
  --text-accent: #b8860b;
  --border-light: rgba(13, 27, 42, 0.12);
  --btn-bg: #1e3a5f;
  --btn-text: #ffffff;
  --nav-bg: rgba(10, 22, 35, 0.9);
  --nav-text: #eef4f8;
  --card-shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
  --faq-bg: rgba(240, 201, 135, 0.1);
  --code-bg: rgba(13, 27, 42, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --hero-grad: linear-gradient(135deg, #0b1e2e 0%, #1e3a5f 50%, #2d4b6e 100%);
  --footer-text: #bdd3e8;
  --scrollbar-track: #e8ecef;
  --scrollbar-thumb: #1e3a5f;
}

[data-theme="dark"] {
  --bg: #0a1118;
  --bg-gradient: radial-gradient(circle at 20% 20%, rgba(240, 201, 135, 0.05) 0%, transparent 25%),
                 radial-gradient(circle at 80% 80%, rgba(30, 58, 95, 0.08) 0%, transparent 30%),
                 linear-gradient(145deg, #0c141d 0%, #0f1a24 100%);
  --bg-card: rgba(23, 33, 43, 0.7);
  --bg-card-solid: #131e28;
  --bg-header: rgba(7, 13, 20, 0.85);
  --bg-footer: #060b10;
  --text-primary: #d6e2f0;
  --text-secondary: #a8b9d0;
  --text-title: #ffffff;
  --text-link: #8ab4e8;
  --text-accent: #f0c987;
  --border-light: rgba(255, 255, 255, 0.1);
  --btn-bg: #2d4b6e;
  --btn-text: #ffffff;
  --nav-bg: rgba(7, 13, 20, 0.92);
  --nav-text: #f0f4f8;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --faq-bg: rgba(240, 201, 135, 0.07);
  --code-bg: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(15, 23, 32, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --hero-grad: linear-gradient(135deg, #060d14 0%, #0f1e2e 60%, #1c3a56 100%);
  --footer-text: #9db4c8;
  --scrollbar-track: #0d141c;
  --scrollbar-thumb: #2d4b6e;
}

/* ---------- 基础重置与全局 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.75;
  transition: background-color 0.4s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

::selection {
  background: rgba(240, 201, 135, 0.35);
  color: var(--text-title);
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-light);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
}

h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

h4 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-secondary);
  font-weight: 600;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--text-accent);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(240, 201, 135, 0.3);
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--text-title);
  font-weight: 700;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ---------- 导航栏 + 毛玻璃效果 ---------- */
.navbar {
  background-color: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: var(--nav-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

.navbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 0.5rem;
}

.logo {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f0c987 0%, #e8b45a 50%, #f5d9a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(240, 201, 135, 0.2));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.menu > a {
  color: var(--nav-text);
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.menu > a::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #f0c987;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.menu > a:hover::before {
  width: 60%;
}

.menu > a:hover {
  color: #f0c987;
  background: rgba(240, 201, 135, 0.08);
  text-shadow: none;
}

/* 搜索框 */
.search-box {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 0.15rem 0.15rem 0.15rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.search-box:focus-within {
  border-color: rgba(240, 201, 135, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.search-box input {
  padding: 0.35rem 0.3rem;
  border: none;
  background: transparent;
  color: var(--nav-text);
  min-width: 140px;
  outline: none;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-box button {
  background: linear-gradient(135deg, #f0c987, #e0b060);
  border: none;
  padding: 0.4rem 1.1rem;
  border-radius: 40px;
  font-weight: 700;
  color: #0d1b2a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.search-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(240, 201, 135, 0.3);
}

/* 暗色切换按钮 */
.dark-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--nav-text);
  padding: 0.35rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.dark-toggle:hover {
  background: rgba(240, 201, 135, 0.2);
  border-color: rgba(240, 201, 135, 0.5);
  transform: translateY(-1px);
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--nav-text);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.1rem 0.7rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero 渐变Banner ---------- */
.hero {
  background: var(--hero-grad);
  color: white;
  padding: 3.5rem clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.3);
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(240, 201, 135, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0c987 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 800px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .btn {
  background: linear-gradient(135deg, #f0c987, #e8b45a);
  color: #0d1b2a;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 30px rgba(240, 201, 135, 0.25);
  transition: all 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(240, 201, 135, 0.4);
  text-decoration: none;
}

/* ---------- 卡片系统（毛玻璃） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(240, 201, 135, 0.25);
}

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

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.card .more {
  color: var(--text-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.card .more:hover {
  gap: 8px;
}

/* ---------- FAQ 折叠面板 ---------- */
.faq-item {
  background: var(--faq-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--text-accent);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(240, 201, 135, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 1rem;
}

.faq-question span {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-accent);
  flex-shrink: 0;
}

.faq-item.open .faq-question span {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 0.8rem;
  color: var(--text-primary);
  display: none;
  line-height: 1.7;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border-light);
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlide 0.3s ease;
}

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

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

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

th {
  background: linear-gradient(135deg, #1e3a5f, #2d4b6e);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card-solid);
  transition: background 0.2s ease;
}

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

tr:nth-child(even) td {
  background: var(--faq-bg);
}

tr:hover td {
  background: rgba(240, 201, 135, 0.05);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.breadcrumb span {
  color: var(--text-secondary);
}

.breadcrumb span:last-child {
  color: var(--text-accent);
  font-weight: 500;
}

/* ---------- 文章列表 ---------- */
.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.article-list li:hover {
  transform: translateX(6px);
  border-color: rgba(240, 201, 135, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.article-list strong {
  color: var(--text-accent);
  font-weight: 500;
  font-size: 0.85rem;
  min-width: 90px;
}

.article-list a {
  flex: 1;
  font-weight: 500;
}

.tag {
  background: linear-gradient(135deg, rgba(240, 201, 135, 0.2), rgba(240, 201, 135, 0.1));
  color: var(--text-accent);
  padding: 0.15rem 0.8rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(240, 201, 135, 0.2);
  white-space: nowrap;
}

/* ---------- 通用按钮 ---------- */
.btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* ---------- 页脚 ---------- */
footer {
  background-color: var(--bg-footer);
  color: var(--footer-text);
  margin-top: 4rem;
  padding: 3rem 0 0;
  position: relative;
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--text-accent);
}

footer a {
  color: var(--footer-text);
  transition: color 0.3s ease, padding-left 0.3s ease;
  font-size: 0.9rem;
}

footer a:hover {
  color: #f0c987;
  padding-left: 4px;
  text-decoration: none;
}

footer p {
  color: var(--footer-text);
  font-size: 0.9rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.2);
}

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--btn-bg), #2d4b6e);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#backTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #f0c987, #e0b060);
  color: #0d1b2a;
}

/* ---------- 区块通用样式 ---------- */
section {
  margin: 2.5rem 0;
  scroll-margin-top: 90px;
}

section#brand-intro p {
  max-width: 900px;
}

/* 服务卡片特殊样式 */
#services .card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#services .card h3 {
  font-size: 1.25rem;
}

/* 解决方案区块 */
#solution > div {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  padding: 1.8rem;
  transition: all 0.4s ease;
}

#solution > div:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: rgba(240, 201, 135, 0.2);
}

/* 联系区块 */
#contact {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2.5rem;
  margin: 3rem 0;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
}

#contact h2 {
  margin-top: 0;
}

#contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 滚动动画（滚动条出现时触发） ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .faq-item, .article-list li, #contact, #solution > div {
  animation: fadeInUp 0.6s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
  }

  .menu {
    gap: 0.8rem;
  }
}

@media (max-width: 900px) {
  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem 0;
    background: var(--nav-bg);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 0.5rem;
    padding: 1rem;
  }

  .menu.open {
    display: flex;
    animation: fadeSlide 0.3s ease;
  }

  .menu-toggle {
    display: block;
  }

  .menu > a {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
  }

  .search-box {
    width: 100%;
    margin-top: 0.5rem;
  }

  .search-box input {
    flex: 1;
    min-width: 0;
  }

  .dark-toggle {
    width: 100%;
    text-align: center;
    margin-top: 0.3rem;
  }

  .navbar .container {
    flex-wrap: wrap;
    position: relative;
  }

  .navbar .container > div:first-child {
    margin-right: auto;
  }

  .hero {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

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

@media (max-width: 600px) {
  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

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

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

  .card {
    padding: 1.4rem;
  }

  .article-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .article-list strong {
    min-width: auto;
  }

  #contact {
    padding: 1.5rem;
  }

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

  .breadcrumb {
    font-size: 0.8rem;
  }

  .search-box {
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    padding: 0;
  }

  .search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0.6rem 1rem;
  }

  .search-box button {
    width: 100%;
    padding: 0.5rem;
  }

  .dark-toggle {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .menu-toggle {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }
}

/* ---------- 无障碍与打印优化 ---------- */
@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;
  }
}

@media print {
  .navbar, #backTop, .dark-toggle, .search-box, .menu-toggle {
    display: none !important;
  }

  body {
    background: white;
    font-size: 12pt;
  }

  .card, .faq-item, #contact {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  a {
    color: #000;
  }
}

/* ---------- 焦点可见性 ---------- */
:focus-visible {
  outline: 3px solid rgba(240, 201, 135, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 图片占位符 ---------- */
.svg-img {
  background: linear-gradient(135deg, #1e2c38, #2d4b6e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0c987;
  font-weight: bold;
  width: 100%;
  height: 160px;
  margin-bottom: 1rem;
  border: 1px solid rgba(240, 201, 135, 0.2);
  transition: transform 0.3s ease;
}

.svg-img:hover {
  transform: scale(1.02);
}

.svg-img svg {
  width: 100%;
  height: 100%;
}

/* ---------- 工具类 ---------- */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }

/* ---------- 动画增强 ---------- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(240, 201, 135, 0.1); }
  50% { box-shadow: 0 0 40px rgba(240, 201, 135, 0.2); }
}

.logo {
  animation: glowPulse 4s ease-in-out infinite;
}

/* 悬停时卡片图标动画 */
.card h3 {
  transition: transform 0.3s ease;
}

.card:hover h3 {
  transform: translateX(4px);
}

/* 链接下划线动画 */
.menu > a {
  position: relative;
}

/* 收藏按钮模拟 */
.btn-outline {
  background: transparent;
  border: 2px solid var(--text-accent);
  color: var(--text-accent);
}

.btn-outline:hover {
  background: var(--text-accent);
  color: white;
}

/* 隐藏滚动条但保留滚动功能 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 暗色模式过渡优化 */
body, .navbar, .card, .faq-item, .article-list li, #contact, footer {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* 新增：滚动进度条 */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #f0c987, #e8b45a);
  z-index: 1001;
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

/* 玻璃拟态通用类 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
}

/* 标题装饰 */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: '◆';
  color: var(--text-accent);
  font-size: 0.8em;
  margin-right: 8px;
  vertical-align: middle;
}

/* 卡片图标 */
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s ease;
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

/* 列表装饰 */
.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  padding: 0.4rem 0;
  padding-left: 1.8rem;
  position: relative;
}

.custom-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--text-accent);
  font-weight: bold;
}

/* 联系信息高亮 */
.contact-highlight {
  background: linear-gradient(135deg, rgba(240, 201, 135, 0.1), transparent);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

/* 表格响应式 */
@media (max-width: 600px) {
  .table-wrap {
    border-radius: 8px;
  }
  
  th, td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* 大屏优化 */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
}

/* 打印时隐藏动画 */
@media print {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 安全区域适配 */
@supports (padding: max(0px)) {
  .navbar .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  
  #backTop {
    bottom: max(30px, env(safe-area-inset-bottom));
    right: max(30px, env(safe-area-inset-right));
  }
}
```