```css

/* ===== 51漫画 专属样式表 ===== */
/* 设计风格：暖阳治愈 · 手绘质感 · 柔和光影 */

/* ---------- 基础重置与全局变量 ---------- */
:root {
  --color-primary: #c44b2b;
  --color-primary-dark: #a63c1f;
  --color-primary-light: #e07a5f;
  --color-accent: #f5a623;
  --color-bg: #fefaf7;
  --color-surface: #ffffff;
  --color-text: #2d2a26;
  --color-text-soft: #6b5d53;
  --color-border: #e9d8cc;
  --color-hero-start: #ffe8da;
  --color-hero-end: #ffd9c0;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 40px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
}

/* 暗黑模式变量覆盖 */
body.dark {
  --color-bg: #1e1c1a;
  --color-surface: #2c2925;
  --color-text: #ece5de;
  --color-text-soft: #b8a79a;
  --color-border: #4a403a;
  --color-hero-start: #2f2a26;
  --color-hero-end: #3a3530;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* ---------- 全局样式 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

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

/* 通用区块 */
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.section h2 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  border-radius: 4px;
}

.section h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.section p {
  margin-bottom: 12px;
  color: var(--color-text-soft);
}

/* 通用网格 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 卡片通用样式 */
.card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.article-card {
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.article-card h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.article-card .time {
  color: var(--color-text-soft);
  font-size: 0.85rem;
  opacity: 0.8;
}

.article-card p {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- 头部导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 247, 240, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

body.dark header {
  background: rgba(44, 41, 37, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  position: relative;
  opacity: 0.85;
}

.nav-menu a:hover {
  background: linear-gradient(135deg, rgba(196, 75, 43, 0.1), rgba(245, 166, 35, 0.1));
  color: var(--color-primary);
  opacity: 1;
  transform: translateY(-1px);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.search-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.15);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 130px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.search-box input::placeholder {
  color: var(--color-text-soft);
  opacity: 0.6;
}

.search-box button {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.search-box button:hover {
  transform: scale(1.08);
}

.theme-toggle {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.theme-toggle:hover {
  transform: rotate(20deg) scale(1.05);
  border-color: var(--color-accent);
}

.mobile-menu {
  display: none;
  font-size: 1.6rem;
}

.mobile-menu button {
  font-size: 1.8rem;
  color: var(--color-text);
  padding: 4px 8px;
}

/* 移动导航 */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
}

.mobile-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-nav a:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* ---------- Hero 区 ---------- */
.hero {
  background: linear-gradient(145deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 3%) scale(1.05); }
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
  position: relative;
}

body.dark .hero h1 {
  color: #f0b49d;
}

.hero p {
  font-size: 1.3rem;
  max-width: 750px;
  margin: 0 auto 30px;
  color: var(--color-text-soft);
  line-height: 1.8;
  position: relative;
}

/* 按钮 */
.btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(196, 75, 43, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 75, 43, 0.4);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::after {
  left: 100%;
}

/* ---------- 轮播 ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-height: 380px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  z-index: 5;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.prev { left: 15px; }
.next { right: 15px; }

/* ---------- 品牌介绍区 ---------- */
#about .grid-2 {
  gap: 30px;
}

#about .card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

#about .card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

#about .card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  border-radius: 3px;
}

/* 联系信息卡片 */
#about .container > div:last-child {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-accent);
}

/* ---------- 产品区 ---------- */
.grid-3 .card {
  text-align: left;
  position: relative;
  overflow: hidden;
}

.grid-3 .card::before {
  content: '✦';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0.3;
}

.grid-3 .card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.grid-3 .card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 解决方案 */
#solutions {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 247, 240, 0.5) 100%);
}

/* ---------- 案例与评价 ---------- */
#testimonials .grid-2 .card {
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
}

#testimonials .container > div:last-child {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 25px 30px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

#testimonials .container > div:last-child p {
  font-style: italic;
  padding-left: 15px;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 10px;
}

/* ---------- 文章区 ---------- */
#articles {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 247, 240, 0.3) 100%);
}

#articles .grid-3 {
  gap: 25px;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card .time {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-surface);
  margin-bottom: 16px;
  border-radius: 14px;
  padding: 18px 24px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.1);
}

.faq-item.active {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(255, 247, 240, 0.5), var(--color-surface));
}

.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}

.faq-question span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  opacity: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  margin-top: 12px;
  opacity: 1;
}

/* ---------- HowTo 教程 ---------- */
.howto-section {
  background: linear-gradient(145deg, rgba(255, 247, 240, 0.8), var(--color-surface));
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.howto-section h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.howto-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  border-radius: 4px;
}

.howto-section p {
  margin-bottom: 14px;
  line-height: 1.8;
  color: var(--color-text-soft);
}

.howto-section strong {
  color: var(--color-primary);
}

/* ---------- 联系与地图 ---------- */
#contact {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 247, 240, 0.4) 100%);
}

#contact .container > p {
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
}

#contact svg {
  margin-top: 30px;
  transition: transform 0.3s ease;
}

#contact svg:hover {
  transform: scale(1.01);
}

/* ---------- 页脚 ---------- */
footer {
  background: linear-gradient(135deg, #2b211c 0%, #3a2d25 100%);
  color: #e8dcd2;
  padding: 50px 0 30px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

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

.footer a {
  color: #dbb9a5;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.footer a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #b8a79a;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(196, 75, 43, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196, 75, 43, 0.4);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .search-box input {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 50px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .search-box {
    display: none;
  }
  
  .theme-toggle {
    margin-left: auto;
  }
  
  .header-flex {
    gap: 10px;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  
  .footer-grid h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .howto-section {
    padding: 25px;
  }
  
  .carousel-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .article-card {
    padding: 18px;
  }
  
  .faq-item {
    padding: 15px 18px;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
  }
}

/* ---------- 暗黑模式细节优化 ---------- */
body.dark .card,
body.dark .article-card,
body.dark .faq-item,
body.dark .howto-section {
  background: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark .search-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .search-box input {
  color: var(--color-text);
}

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

body.dark .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .mobile-nav {
  background: var(--color-surface);
}

body.dark .mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

body.dark #about .container > div:last-child,
body.dark #testimonials .container > div:last-child {
  background: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark .howto-section {
  background: linear-gradient(145deg, rgba(44, 41, 37, 0.9), rgba(44, 41, 37, 0.7));
}

body.dark .footer {
  background: linear-gradient(135deg, #1a1614 0%, #2b211c 100%);
}

body.dark .footer a {
  color: #b8a79a;
}

body.dark .footer a:hover {
  color: #fff;
}

/* ---------- 打印样式 ---------- */
@media print {
  header,
  .carousel,
  .back-to-top,
  .mobile-menu,
  .theme-toggle,
  .search-box {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .section {
    border-bottom: 1px solid #ddd;
  }
  
  .card,
  .article-card,
  .faq-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ---------- 选中文本样式 ---------- */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- 焦点可见性 ---------- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- 减少动效偏好 ---------- */
@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;
  }
}

```