/* ===== 宝威体育 - 完整样式表 ===== */
/* 全局重置与基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f4f7fc;
  color: #1a2a3a;
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

body.dark {
  background: #0b1a33;
  color: #e0e8f0;
}

/* 链接 */
a {
  color: #1a5c8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f0c040;
}

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

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

/* ===== 头部 ===== */
header {
  background: linear-gradient(135deg, #0b1a33, #1a3a5c);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  flex-wrap: wrap;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #f0c040, #f5d060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

/* 导航 */
.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  color: #c0d0e0;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: #f0c040;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav a:hover::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover,
.nav a.active {
  background: rgba(240, 192, 64, 0.15);
  color: #f0c040;
}

/* 菜单按钮 */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid #f0c040;
  color: #f0c040;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #f0c040;
  color: #0b1a33;
}

/* ===== 英雄区域 ===== */
.hero {
  background: linear-gradient(135deg, #0b1a33 0%, #1a3a5c 50%, #2a5a7c 100%);
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(240, 192, 64, 0.08), transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, -20px) rotate(5deg); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(240, 192, 64, 0.15), transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #f0c040, #f5d060, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 32px;
  color: #c0d8f0;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  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 ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(240, 192, 64, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #f0c040;
  color: #f0c040;
}

.btn-outline:hover {
  background: #f0c040;
  color: #0b1a33;
  transform: translateY(-2px);
}

/* ===== 通用段落 ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0b1a33;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f0c040, #e5b030);
  margin: 12px auto 0;
  border-radius: 4px;
}

.dark .section-title {
  color: #f0c040;
}

.dark .section-title::after {
  background: linear-gradient(90deg, #f5d060, #f0c040);
}

.section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: #4a6a8a;
  max-width: 700px;
  margin: 0 auto 48px;
}

.dark .section-sub {
  color: #a0b8d0;
}

/* ===== 网格系统 ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

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

/* ===== 卡片 ===== */
.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(240, 192, 64, 0.05));
  pointer-events: none;
}

.dark .card {
  background: rgba(20, 40, 70, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.dark .card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  transition: transform 0.3s ease;
}

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

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

.dark .card h3 {
  color: #f0c040;
}

.card p {
  color: #2a4a6a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dark .card p {
  color: #a0b8d0;
}

/* ===== Banner 轮播 ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0b1a33;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide {
  display: none;
  padding: 40px;
  text-align: center;
  color: #fff;
  width: 100%;
}

.banner-slide.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

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

.banner-slide h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #f0c040, #f5d060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-slide p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #c0d8f0;
}

.banner-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 16px 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4a6a8a;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #f0c040;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(240, 192, 64, 0.5);
}

.dot:hover {
  background: #6a8aaa;
}

/* ===== 计数器 ===== */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

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

.dark .counter-item {
  background: rgba(20, 40, 70, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.counter-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f0c040;
  line-height: 1.2;
}

.counter-label {
  color: #4a6a8a;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.95rem;
}

.dark .counter-label {
  color: #a0b8d0;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dark .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
  background: rgba(240, 192, 64, 0.03);
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0b1a33;
  transition: color 0.3s ease;
}

.dark .faq-question {
  color: #f0c040;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: #2a4a6a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dark .faq-answer {
  color: #a0b8d0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 12px;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

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

/* ===== 文章卡片 ===== */
.article-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
}

.dark .article-card {
  background: rgba(20, 40, 70, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #0b1a33;
  transition: color 0.3s ease;
}

.dark .article-card h3 {
  color: #f0c040;
}

.article-card .date {
  font-size: 0.85rem;
  color: #6a8aaa;
  margin-bottom: 8px;
}

.article-card p {
  color: #2a4a6a;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.dark .article-card p {
  color: #a0b8d0;
}

.read-more {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(240, 192, 64, 0.3);
  color: #0b1a33;
}

/* ===== HowTo 教程 ===== */
.howto-step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.howto-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.howto-step:hover .step-num {
  transform: scale(1.1);
}

.howto-step h4 {
  font-size: 1.1rem;
  color: #0b1a33;
  margin-bottom: 4px;
}

.dark .howto-step h4 {
  color: #f0c040;
}

.howto-step p {
  color: #2a4a6a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dark .howto-step p {
  color: #a0b8d0;
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(135deg, #0b1a33, #1a2a4a);
  color: #a0b8d0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: #f0c040;
  margin-bottom: 16px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

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

.footer a {
  color: #a0b8d0;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f0c040;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  display: inline;
  margin: 0 8px;
}

/* ===== 二维码占位 ===== */
.qrcode {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #2a4a6a, #1a3a5c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
  color: #f0c040;
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid rgba(240, 192, 64, 0.2);
  transition: all 0.3s ease;
}

.qrcode:hover {
  border-color: #f0c040;
  box-shadow: 0 0 20px rgba(240, 192, 64, 0.1);
}

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

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

.back-top:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 192, 64, 0.4);
}

/* ===== 暗黑模式切换 ===== */
.dark-mode-toggle {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0b1a33;
  color: #f0c040;
  border: 2px solid #f0c040;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 80;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark .dark-mode-toggle {
  background: #f0c040;
  color: #0b1a33;
  border-color: #0b1a33;
}

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

/* ===== 搜索框 ===== */
.search-box {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 32px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid #c0d0e0;
  background: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.dark .search-box input {
  background: #0b1a33;
  border-color: #2a4a6a;
  color: #e0e8f0;
}

.search-box input:focus {
  border-color: #f0c040;
  box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.15);
}

.search-box button {
  padding: 12px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(240, 192, 64, 0.3);
}

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

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 玻璃效果背景 ===== */
.bg-glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark .bg-glass {
  background: rgba(10, 30, 50, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ===== 团队网格 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.dark .team-card {
  background: rgba(20, 40, 70, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #f0c040, #e5b030);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #0b1a33;
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
}

/* ===== 合作伙伴网格 ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.partner-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  color: #2a4a6a;
  transition: all 0.3s ease;
}

.dark .partner-item {
  background: rgba(20, 40, 70, 0.4);
  color: #a0b8d0;
  border-color: rgba(255, 255, 255, 0.06);
}

.partner-item:hover {
  background: linear-gradient(135deg, #f0c040, #e5b030);
  color: #0b1a33;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.2);
}

/* ===== 评价卡片 ===== */
.testimonial-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.dark .testimonial-card {
  background: rgba(20, 40, 70, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 600;
  color: #f0c040;
  margin-top: 12px;
}

/* ===== Schema 隐藏元素 ===== */
.schema-hidden {
  display: none;
}

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

@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
  }
  
  .nav.open {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .counter-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero {
    padding: 60px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .banner-slide h2 {
    font-size: 1.6rem;
  }
  
  .back-top {
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .dark-mode-toggle {
    top: 80px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .counter-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .card {
    padding: 24px;
  }
  
  .howto-step {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .banner-slider {
    min-height: 240px;
  }
  
  .banner-slide {
    padding: 24px;
  }
  
  .counter-number {
    font-size: 2rem;
  }
}

/* ===== 打印样式 ===== */
@media print {
  header,
  .back-top,
  .dark-mode-toggle,
  .menu-toggle,
  .search-box {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .card,
  .article-card,
  .testimonial-card,
  .team-card,
  .partner-item,
  .counter-item {
    background: #f8f8f8;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero h1 {
    -webkit-text-fill-color: #0b1a33;
    color: #0b1a33;
  }
}

/* ===== 辅助功能 ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ===== 暗色模式下的额外微调 ===== */
.dark .card-icon {
  background: linear-gradient(135deg, #f0c040, #d4a020);
}

.dark .btn-primary {
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.2);
}

.dark .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(240, 192, 64, 0.3);
}

.dark .read-more {
  color: #0b1a33;
}

.dark .read-more:hover {
  color: #0b1a33;
}

/* ===== 自定义滚动条 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

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

.dark ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.dark ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2a4a6a, #1a3a5c);
}

/* ===== 选中文本样式 ===== */
::selection {
  background: rgba(240, 192, 64, 0.3);
  color: #0b1a33;
}

.dark ::selection {
  background: rgba(240, 192, 64, 0.4);
  color: #0b1a33;
}