* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #e94560;
  --accent-hover: #ff5a75;
  --accent-glow: rgba(233, 69, 96, 0.4);
  --light: #f0f2f5;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-solid: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --gradient-1: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gradient-2: linear-gradient(135deg, #2d1b69 0%, #1a1a2e 50%, #e94560 100%);
  --gradient-3: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #533483 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

body.dark {
  --primary: #0a0a14;
  --primary-light: #12121f;
  --accent: #e94560;
  --accent-hover: #ff5a75;
  --accent-glow: rgba(233, 69, 96, 0.3);
  --light: #0f0f1a;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --white: #1a1a2e;
  --card-bg: rgba(30, 30, 46, 0.85);
  --card-bg-solid: #1e1e2e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.45);
  --glass-bg: rgba(30, 30, 46, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.8;
  transition: background var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 导航栏 ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 16px rgba(0, 0, 0, 0.12);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

body.dark .navbar {
  background: rgba(10, 10, 20, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 2px 16px rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  transition: opacity var(--transition-fast);
}

.nav-brand:hover {
  text-decoration: none;
  opacity: 0.9;
  color: #fff;
}

.nav-brand svg {
  width: 36px;
  height: 36px;
  transition: transform var(--transition-base);
}

.nav-brand:hover svg {
  transform: rotate(-6deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 12px;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(233, 69, 96, 0.5);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.search-box input {
  border: none;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
  width: 140px;
  font-family: inherit;
}

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

.search-box button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.search-box button:hover {
  color: #fff;
  transform: scale(1.1);
}

.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: #fff;
  color: #fff;
  transform: rotate(20deg);
  box-shadow: 0 0 12px rgba(233, 69, 96, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: transform var(--transition-fast);
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* ========== Banner轮播 ========== */
.banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--primary);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide > div {
  max-width: 700px;
  animation: bannerFadeUp 0.8s ease both;
}

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

.banner-slide h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.banner-slide p {
  font-size: 1.1rem;
  opacity: 0.85;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-base);
}

.banner-dots span:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.banner-dots span.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ========== 面包屑 ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* ========== 数字动画区 ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
}

/* ========== 通用section ========== */
section {
  padding: 56px 0;
}

section h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  padding-left: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), #533483);
  border-radius: 2px;
}

section h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--text);
  font-weight: 600;
}

section h4 {
  font-size: 1rem;
  margin: 16px 0 8px;
  color: var(--text-light);
  font-weight: 600;
}

section p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ========== 卡片网格 ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #533483, #0f3460);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.15);
}

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

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

.card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.8;
}

.card p a {
  color: var(--accent);
  font-weight: 500;
}

.card p a:hover {
  text-decoration: underline;
}

/* ========== 文章列表 ========== */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.article-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.article-card .thumb {
  height: 160px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
  overflow: hidden;
}

.article-card:hover .thumb svg {
  transform: scale(1.08);
}

.article-card .thumb svg {
  width: 80px;
  height: 80px;
  transition: transform var(--transition-slow);
}

.article-card .body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.article-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 0;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.article-card .read-more:hover {
  text-decoration: none;
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* ========== FAQ ========== */
.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.12);
}

.faq-item.open {
  border-color: rgba(233, 69, 96, 0.2);
}

.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
  gap: 16px;
}

.faq-question:hover {
  background: rgba(233, 69, 96, 0.04);
}

.faq-question .icon {
  font-size: 1.3rem;
  transition: transform var(--transition-base), color var(--transition-fast);
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  font-weight: 300;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
  padding: 0 22px;
}

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

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 0;
}

/* ========== HowTo ========== */
.howto-step {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px 24px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #533483);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.step-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== 团队/联系 ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(83, 52, 131, 0.1));
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--accent-glow);
}

.team-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.contact-item .ci-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 600;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* ========== 页脚 ========== */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0 24px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

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

.footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul a:hover {
  color: #fff;
  text-decoration: none;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.9;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ========== 返回顶部 ========== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #533483);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--accent-glow);
  z-index: 999;
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
  opacity: 0;
}

.back-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ========== 滚动动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

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

  .banner {
    height: 360px;
  }

  .banner-slide h2 {
    font-size: 1.8rem;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 20px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  body.dark .nav-links {
    background: rgba(10, 10, 20, 0.97);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

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

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

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

  .banner {
    height: 300px;
  }

  .banner-slide h2 {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }

  .banner-slide p {
    font-size: 0.95rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 28px 0;
  }

  .stat-item {
    padding: 20px 14px;
  }

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

  .stat-label {
    font-size: 0.82rem;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

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

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

  section {
    padding: 40px 0;
  }

  section h2 {
    font-size: 1.3rem;
  }

  section h3 {
    font-size: 1.1rem;
  }

  .howto-step {
    padding: 18px 16px;
    gap: 14px;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .nav-brand {
    font-size: 1.1rem;
  }

  .nav-brand svg {
    width: 30px;
    height: 30px;
  }

  .search-box {
    padding: 3px 8px;
  }

  .search-box input {
    width: 70px;
    font-size: 0.82rem;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .banner {
    height: 240px;
  }

  .banner-slide h2 {
    font-size: 1.15rem;
  }

  .banner-slide p {
    font-size: 0.85rem;
  }

  .banner-dots span {
    width: 8px;
    height: 8px;
  }

  .banner-dots span.active {
    width: 22px;
  }

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

  .stat-item {
    padding: 16px 10px;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }

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

  section {
    padding: 32px 0;
  }

  section h2 {
    font-size: 1.15rem;
    padding-left: 12px;
  }

  section p {
    font-size: 0.9rem;
  }

  .card {
    padding: 20px 16px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.open .faq-answer {
    padding: 0 16px 16px;
  }

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

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

  .howto-step {
    padding: 16px 14px;
    gap: 12px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .step-content h4 {
    font-size: 0.92rem;
  }

  .step-content p {
    font-size: 0.82rem;
  }

  .article-card .thumb {
    height: 140px;
  }

  .article-card .body {
    padding: 14px 16px 16px;
  }

  .article-card h3 {
    font-size: 0.92rem;
  }

  .article-card p {
    font-size: 0.82rem;
  }

  .back-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(233, 69, 96, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(233, 69, 96, 0.5);
}

body.dark ::-webkit-scrollbar-thumb {
  background: rgba(233, 69, 96, 0.25);
}

body.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(233, 69, 96, 0.45);
}

/* ========== 选中文字 ========== */
::selection {
  background: rgba(233, 69, 96, 0.25);
  color: var(--text);
}

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

/* ========== 减少动画偏好 ========== */
@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-in {
    opacity: 1;
    transform: none;
  }
}

/* ========== 打印样式 ========== */
@media print {
  .navbar,
  .banner,
  .back-top,
  .theme-toggle,
  .search-box,
  .mobile-menu-btn {
    display: none !important;
  }

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

  .card,
  .article-card,
  .faq-item,
  .howto-step {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}