```css
/* ===== 基础重置 ===== */
*, *::before, *::after {
  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, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f4f8;
  color: #1e293b;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.3s ease;
}

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

/* ===== 吸顶导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(76, 201, 240, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: background 0.4s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4cc9f0, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #4cc9f0;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 0 30px rgba(76, 201, 240, 0.3);
}

.logo span {
  -webkit-text-fill-color: #4cc9f0;
  font-size: 2rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4cc9f0, #a78bfa);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: #4cc9f0;
}

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

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

.search-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: #4cc9f0;
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.15);
}

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

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

.search-box svg {
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  flex-shrink: 0;
}

.dark-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.dark-toggle:hover {
  background: rgba(76, 201, 240, 0.2);
  transform: rotate(20deg) scale(1.05);
}

.dark-toggle svg {
  width: 20px;
  height: 20px;
  fill: #fbbf24;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.banner-text {
  flex: 1;
  min-width: 300px;
}

.banner-text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(120deg, #fff 30%, #4cc9f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(76, 201, 240, 0.2);
}

.banner-text h1 span {
  color: #4cc9f0;
  -webkit-text-fill-color: #4cc9f0;
  position: relative;
}

.banner-text h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(76, 201, 240, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.banner-text p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.8;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4cc9f0, #3ba8d6);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  color: #0f0c29;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(76, 201, 240, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(76, 201, 240, 0.4);
  background: linear-gradient(135deg, #5dd4ff, #4cc9f0);
}

.btn-outline {
  border: 2px solid #4cc9f0;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  color: #4cc9f0;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(76, 201, 240, 0.1);
  border-color: #5dd4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 201, 240, 0.2);
}

.banner-visual {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.banner-visual svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

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

/* ===== 数字动画区 ===== */
.stats {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1a1a2e, #4cc9f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-item p {
  color: #64748b;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 50px;
  color: #0f172a;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4cc9f0, #a78bfa);
  border-radius: 4px;
}

.section-title span {
  color: #4cc9f0;
  position: relative;
}

/* ===== 网格布局 ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

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

/* ===== 卡片 ===== */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

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

.icon-bg {
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card:hover .icon-bg {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #4cc9f0, #a78bfa);
}

.icon-bg svg {
  width: 32px;
  height: 32px;
  fill: #1a1a2e;
  transition: fill 0.3s ease;
}

.card:hover .icon-bg svg {
  fill: #fff;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.card p {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== 文章卡片 ===== */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.article-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4cc9f0, #a78bfa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

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

.article-card h3 {
  color: #1e293b;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.article-card:hover h3 {
  color: #4cc9f0;
}

.article-meta {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.article-card p {
  margin: 12px 0;
  color: #475569;
  line-height: 1.7;
}

.read-more {
  color: #4cc9f0;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.read-more:hover {
  gap: 12px;
  color: #3ba8d6;
}

/* ===== FAQ ===== */
.faq-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 0 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(76, 201, 240, 0.3);
}

.faq-q {
  font-weight: 700;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f172a;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.faq-q:hover {
  color: #4cc9f0;
}

.faq-q::after {
  content: '+';
  font-size: 1.8rem;
  color: #4cc9f0;
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  color: #475569;
  line-height: 1.8;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(76, 201, 240, 0.4);
}

.faq-item.active .faq-a {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-item.active .faq-q::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item.active .faq-q {
  color: #4cc9f0;
}

/* ===== HowTo ===== */
.howto-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #e2e8f0;
  padding: 50px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(76, 201, 240, 0.2);
}

.howto-box::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.howto-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #4cc9f0;
}

.howto-box p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #cbd5e1;
}

.howto-box ol {
  padding-left: 24px;
  margin: 20px 0;
}

.howto-box li {
  margin-bottom: 14px;
  line-height: 1.8;
  position: relative;
  padding-left: 8px;
}

.howto-box li strong {
  color: #4cc9f0;
}

.howto-box li::marker {
  color: #4cc9f0;
  font-weight: 700;
}

/* ===== 联系区 ===== */
#contact .container > div {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

#contact p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #475569;
}

#contact p strong {
  color: #0f172a;
  display: inline-block;
  min-width: 100px;
}

/* ===== 页脚 ===== */
.footer-links {
  background: linear-gradient(135deg, #0f172a, #1a1a2e);
  color: #94a3b8;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4cc9f0, #a78bfa);
}

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

.footer-grid h4 {
  color: #e2e8f0;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #4cc9f0;
  border-radius: 2px;
}

.footer-grid a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: #4cc9f0;
  padding-left: 8px;
}

.copyright {
  background: #0b1120;
  color: #64748b;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #4cc9f0, #3ba8d6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(76, 201, 240, 0.3);
  z-index: 999;
  border: none;
}

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

.to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(76, 201, 240, 0.4);
}

.to-top svg {
  width: 22px;
  height: 22px;
  fill: #0f0c29;
}

/* ===== 暗黑模式 ===== */
body.dark {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark .card,
body.dark .article-card,
body.dark .faq-item,
body.dark #contact .container > div {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

body.dark .card:hover,
body.dark .article-card:hover,
body.dark .faq-item:hover {
  background: rgba(30, 41, 59, 0.98);
}

body.dark .section-title {
  color: #f1f5f9;
}

body.dark .stat-item h3 {
  background: linear-gradient(135deg, #fff, #4cc9f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .stat-item p {
  color: #94a3b8;
}

body.dark .card h3,
body.dark .article-card h3,
body.dark .faq-q {
  color: #f1f5f9;
}

body.dark .card p,
body.dark .article-card p,
body.dark .faq-a,
body.dark #contact p {
  color: #94a3b8;
}

body.dark #contact p strong {
  color: #e2e8f0;
}

body.dark .stats {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark .stat-item {
  background: rgba(30, 41, 59, 0.5);
}

body.dark .stat-item:hover {
  background: rgba(30, 41, 59, 0.9);
}

body.dark .icon-bg {
  background: linear-gradient(135deg, #1e293b, #334155);
}

body.dark .icon-bg svg {
  fill: #4cc9f0;
}

body.dark .card:hover .icon-bg {
  background: linear-gradient(135deg, #4cc9f0, #a78bfa);
}

body.dark .card:hover .icon-bg svg {
  fill: #fff;
}

body.dark .article-meta {
  color: #64748b;
}

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

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

/* ===== SVG 图片 ===== */
.svg-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .banner-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .banner-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(76, 201, 240, 0.2);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .search-box input {
    width: 100px;
  }
  
  .search-box {
    padding: 6px 14px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-list {
    grid-template-columns: 1fr;
  }
  
  .howto-box {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 50px 0;
  }
  
  .banner {
    padding: 50px 0;
  }
  
  .banner-text h1 {
    font-size: 1.8rem;
  }
  
  .banner-text p {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-outline {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-cta {
    gap: 8px;
  }
  
  .dark-toggle {
    width: 38px;
    height: 38px;
  }
  
  .to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #contact .container > div {
    padding: 24px;
  }
  
  .article-card {
    padding: 20px;
  }
  
  .card {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .search-box {
    display: none;
  }
  
  .nav-cta {
    gap: 6px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
}

/* ===== 无障碍 ===== */
@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;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4cc9f0, #a78bfa);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3ba8d6, #9061f9);
}

body.dark ::-webkit-scrollbar-track {
  background: #1e293b;
}

/* ===== 选中颜色 ===== */
::selection {
  background: rgba(76, 201, 240, 0.3);
  color: #1a1a2e;
}

/* ===== 焦点样式 ===== */
:focus-visible {
  outline: 3px solid rgba(76, 201, 240, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}
```