```css
/* 全局变量与基础样式 */
:root {
  --primary: #e0245e;
  --primary-light: #ff6b6b;
  --primary-dark: #c0392b;
  --secondary: #feca57;
  --accent: #ffd3a5;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --card-light: #ffffff;
  --card-dark: #252537;
  --text-light: #2d3436;
  --text-dark: #eee;
  --text-muted: #7f8c8d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* 暗色模式 */
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

body.dark-mode .header {
  background: rgba(30, 30, 40, 0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

body.dark-mode .menu a {
  color: #ccc;
}

body.dark-mode .menu a:hover {
  color: var(--primary-light);
}

body.dark-mode .search-box {
  background: #2d2d44;
  border: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .search-box input {
  color: #eee;
}

body.dark-mode .search-box input::placeholder {
  color: #888;
}

body.dark-mode .card,
body.dark-mode .faq-item,
body.dark-mode .article-item,
body.dark-mode .howto-container {
  background: var(--card-dark);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .card p,
body.dark-mode .article-item p {
  color: #aaa;
}

body.dark-mode .card h3,
body.dark-mode .article-item h4 {
  color: #fff;
}

body.dark-mode .faq-question {
  color: #eee;
}

body.dark-mode .faq-answer {
  color: #aaa;
  border-top-color: rgba(255,255,255,0.1);
}

body.dark-mode .section-title::after {
  background: var(--primary-light);
}

body.dark-mode .badge {
  background: rgba(255, 107, 107, 0.15);
  color: var(--primary-light);
}

body.dark-mode .meta {
  color: #888;
}

body.dark-mode .howto-container {
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .howto-container h3 {
  color: #fff;
}

body.dark-mode .howto-container p {
  color: #aaa;
}

body.dark-mode .contact-grid div {
  color: #ccc;
}

body.dark-mode .contact-grid strong {
  color: #fff;
}

body.dark-mode .border-top {
  border-top-color: rgba(255,255,255,0.1);
}

body.dark-mode .logo {
  background: linear-gradient(135deg, #ff6b6b, #ffd3a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .banner {
  background: linear-gradient(145deg, #1e1e2f, #2d2d44);
}

body.dark-mode .stat-number {
  color: var(--accent);
}

body.dark-mode .dark-mode-toggle {
  background: #333;
  color: #ffd3a5;
}

body.dark-mode .lazy-img {
  background: #2d2d44;
}

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

/* 吸顶导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.logo svg {
  flex-shrink: 0;
}

.menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, opacity 0.2s;
  position: relative;
  padding: 4px 0;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f1f2f6;
  border-radius: 30px;
  padding: 8px 16px;
  width: 220px;
  transition: box-shadow 0.3s ease, width 0.3s ease;
}

.search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(224, 36, 94, 0.1);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-light);
}

.search-box input::placeholder {
  color: #999;
}

.search-box svg {
  fill: #666;
  margin-right: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Banner 轮播区域 */
.banner {
  background: linear-gradient(145deg, #1e1e2f, #2d2d44);
  color: white;
  padding: 60px 0;
  margin-bottom: 30px;
  border-radius: 0 0 40px 40px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.banner-text h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ff9a9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.banner-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.8;
}

.banner-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  transition: color 0.3s;
}

.stat-item div:last-child {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 卡片 */
.section-title {
  font-size: 2rem;
  margin: 50px 0 30px;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 100%;
}

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

.card {
  background: var(--card-light);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

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

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

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

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  background: #ffe0e6;
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-right: 8px;
  font-weight: 500;
}

/* FAQ */
.faq-item {
  background: var(--card-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--primary);
  line-height: 1;
}

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

.faq-answer {
  margin-top: 14px;
  color: #444;
  border-top: 1px dashed #ddd;
  padding-top: 12px;
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* 文章 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  background: var(--card-light);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 3px solid var(--primary);
}

.article-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.article-item h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.article-item p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.article-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* HowTo */
.howto-container {
  background: var(--card-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.howto-container:hover {
  box-shadow: var(--shadow-md);
}

.howto-container h3 {
  margin: 16px 0 8px;
  color: var(--primary);
  font-size: 1.1rem;
}

.howto-container h3:first-child {
  margin-top: 0;
}

.howto-container p {
  line-height: 1.7;
  color: #555;
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-grid div {
  padding: 12px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
  transition: background 0.3s;
}

.contact-grid div:hover {
  background: rgba(0,0,0,0.04);
}

.contact-grid strong {
  color: var(--primary);
}

/* 友情链接 */
.border-top {
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

/* 页脚 */
footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 20px;
  margin-top: 60px;
  border-radius: 40px 40px 0 0;
  position: relative;
  overflow: hidden;
}

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

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

.footer-grid h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-grid a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-grid a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-grid p {
  color: #888;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #777;
}

/* 返回顶部 */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(224, 36, 94, 0.3);
  z-index: 999;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(224, 36, 94, 0.4);
}

.back-top svg {
  fill: white;
}

/* 暗黑模式按钮 */
.dark-mode-toggle {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 999;
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

/* 图片懒加载 */
.lazy-img {
  background: #f0f0f0;
  transition: opacity 0.3s;
}

/* 滚动动画 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 移动端菜单 */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 0 0 16px 16px;
    animation: slideDown 0.3s ease;
  }

  body.dark-mode .menu {
    background: rgba(30, 30, 40, 0.95);
  }

  .menu.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .banner-grid {
    flex-direction: column;
    text-align: center;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  .banner-text p {
    margin: 0 auto;
  }

  .banner-stats {
    justify-content: center;
  }

  .search-box {
    width: 150px;
  }

  .search-box input {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .card {
    padding: 20px;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .dark-mode-toggle {
    bottom: 70px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .container {
    padding: 0 16px;
  }

  .banner {
    padding: 40px 0;
    border-radius: 0 0 24px 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 1.6rem;
  }

  .banner-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

  .logo {
    font-size: 1.5rem;
  }

  .search-box {
    width: 120px;
  }

  .search-box svg {
    display: none;
  }

  .article-item {
    padding: 16px;
  }

  .faq-item {
    padding: 16px;
  }

  .howto-container {
    padding: 20px;
  }
}

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

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 选中文本 */
::selection {
  background: rgba(224, 36, 94, 0.2);
  color: var(--text-light);
}

body.dark-mode ::selection {
  background: rgba(255, 107, 107, 0.3);
  color: #fff;
}

/* 链接 */
a {
  transition: color 0.3s;
}

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