:root {
  --brand-primary: #2d5f8b;
  --brand-secondary: #e07a5f;
  --brand-accent: #f2a65a;
  --brand-teal: #3d8b7d;
  --brand-light: #f4f1de;
  --brand-dark: #1e3a4d;
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --bg-body: #ffffff;
  --bg-card: #f9f7f4;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --border-light: #e0dbd2;
  --border-glass: rgba(255, 255, 255, 0.45);
  --shadow-sm: 0 2px 8px rgba(45, 95, 139, 0.08);
  --shadow-md: 0 4px 16px rgba(45, 95, 139, 0.12);
  --shadow-lg: 0 12px 40px rgba(45, 95, 139, 0.18);
  --gradient-banner: linear-gradient(135deg, #2d5f8b 0%, #3d8b7d 55%, #e07a5f 100%);
  --gradient-btn: linear-gradient(135deg, #2d5f8b 0%, #3d8b7d 100%);
  --gradient-btn-hover: linear-gradient(135deg, #1e3a4d 0%, #2d5f8b 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

::selection {
  background: var(--brand-primary);
  color: #fff;
}

a {
  color: var(--brand-primary);
  transition: color var(--transition);
}

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

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

/* ========== 导航吸顶 + 毛玻璃 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-dark);
  text-decoration: none;
  transition: transform var(--transition);
}

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

.logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}

.logo:hover svg {
  transform: rotate(-6deg);
}

.logo span {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-primary);
}

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

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: 40px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(45, 95, 139, 0.12);
}

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

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

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  color: var(--brand-primary);
  transition: transform var(--transition);
}

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

.dark-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition);
  color: var(--text-primary);
}

.dark-toggle:hover {
  background: var(--border-light);
  transform: rotate(20deg) scale(1.08);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 4px 8px;
  transition: transform var(--transition);
}

.mobile-menu-btn:active {
  transform: scale(0.9);
}

/* ========== 暗黑模式 ========== */
body.dark-mode {
  --bg-body: #0d151c;
  --bg-card: #18242e;
  --bg-glass: rgba(13, 21, 28, 0.78);
  --text-primary: #e0e6ed;
  --text-secondary: #9fb0c0;
  --border-light: #253644;
  --border-glass: rgba(255, 255, 255, 0.08);
  --brand-light: #1a2a37;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --gradient-banner: linear-gradient(135deg, #14212c 0%, #1c3a38 55%, #3a2620 100%);
}

body.dark-mode .site-header {
  background: var(--bg-glass);
}

body.dark-mode .logo span {
  background: linear-gradient(135deg, #6fa8d0 0%, #6fc0ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .banner-content h2 {
  color: #eef4fa;
}

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

body.dark-mode .card h3,
body.dark-mode .article-content h3 a,
body.dark-mode .faq-question,
body.dark-mode .howto-step h4,
body.dark-mode .testimonial-author,
body.dark-mode .team-member h4 {
  color: #cfe0ee;
}

body.dark-mode .card h4 {
  color: #7fb3d9;
}

/* ========== Banner 渐变轮播 ========== */
.banner-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 24px 0;
  background: var(--gradient-banner);
  min-height: 300px;
  box-shadow: var(--shadow-lg);
}

.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.banner-slide {
  display: none;
  padding: 48px 40px;
  align-items: center;
  gap: 32px;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

.banner-slide.active {
  display: flex;
  flex-wrap: wrap;
  animation: bannerFade 0.7s ease;
}

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

.banner-content {
  flex: 1 1 300px;
}

.banner-content h2 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.banner-content p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 520px;
}

.banner-svg {
  flex: 0 0 210px;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
  animation: floatY 5s ease-in-out infinite;
}

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

.banner-svg svg {
  width: 210px;
  height: 210px;
}

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

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

.banner-dots span.active {
  background: #ffffff;
  width: 26px;
  border-radius: 6px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  background: #ffffff;
  color: var(--brand-primary);
  padding: 11px 26px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn:hover {
  background: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
}

/* ========== 数字统计 ========== */
.stats-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  min-width: 110px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(45, 95, 139, 0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

.breadcrumb a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ========== 区块通用 ========== */
.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 1.65rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  line-height: 1.35;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
  margin-top: 10px;
  border-radius: 2px;
  transition: width var(--transition-slow);
}

.section:hover .section-title::after {
  width: 88px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 720px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ========== 卡片（圆角 + 毛玻璃 + hover） ========== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(45, 95, 139, 0.25);
}

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

.card h3 {
  font-size: 1.18rem;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card h4 {
  font-size: 1rem;
  color: var(--brand-primary);
  margin: 14px 0 6px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin-left: 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.card ul li {
  margin-bottom: 5px;
}

.card ul li::marker {
  color: var(--brand-secondary);
}

/* ========== 文章列表 ========== */
.article-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: padding-left var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
}

.article-item:hover {
  padding-left: 10px;
  background: rgba(45, 95, 139, 0.03);
}

.article-item:last-child {
  border-bottom: none;
}

.article-date {
  flex: 0 0 80px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: right;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.article-content {
  flex: 1;
}

.article-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  line-height: 1.45;
}

.article-content h3 a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.article-content h3 a:hover {
  color: var(--brand-primary);
}

.article-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.read-more {
  font-size: 0.85rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: transform var(--transition), color var(--transition);
}

.read-more:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* ========== FAQ ========== */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: background var(--transition);
}

.faq-item:hover {
  background: rgba(45, 95, 139, 0.02);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 1rem;
  gap: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

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

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 0 8px;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-top: 12px;
  padding-bottom: 4px;
  opacity: 1;
}

/* ========== HowTo 步骤 ========== */
.howto-steps {
  counter-reset: step;
}

.howto-step {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin-bottom: 28px;
  transition: transform var(--transition);
}

.howto-step:hover {
  transform: translateX(4px);
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(45, 95, 139, 0.28);
  transition: transform var(--transition-slow);
}

.howto-step:hover::before {
  transform: scale(1.12);
}

.howto-step h4 {
  font-size: 1.02rem;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.howto-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========== 客户评价 ========== */
.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

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

.testimonial::before {
  content: '\201C';
  font-size: 3.2rem;
  color: var(--brand-secondary);
  opacity: 0.28;
  position: absolute;
  top: 6px;
  left: 16px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding-left: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  padding-left: 16px;
}

/* ========== 团队 ========== */
.team-member {
  text-align: center;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 95, 139, 0.25);
  transition: transform var(--transition-slow);
}

.team-member:hover .team-avatar {
  transform: scale(1.08) rotate(4deg);
}

.team-member h4 {
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.team-member p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ========== 页脚 ========== */
.site-footer {
  background: linear-gradient(160deg, #1e3a4d 0%, #152a37 100%);
  color: #c8d6e0;
  padding: 52px 0 24px;
  margin-top: 52px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand-secondary);
  border-radius: 2px;
}

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

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

.footer-col ul li a {
  color: #a9bfcf;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}

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

.footer-col p {
  font-size: 0.88rem;
  color: #a9bfcf;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #8fa8bb;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: #a9bfcf;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ========== 返回顶部 ========== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 99;
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-lg);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

/* ========== 懒加载占位 ========== */
.lazy-svg {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: block;
  width: 100%;
  height: auto;
}

/* ========== 滚动动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

/* ========== 响应式：平板 ========== */
@media (max-width: 992px) {
  .banner-slide {
    padding: 40px 30px;
  }
  .banner-content h2 {
    font-size: 1.6rem;
  }
  .banner-svg {
    flex: 0 0 170px;
  }
  .banner-svg svg {
    width: 170px;
    height: 170px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}

/* ========== 响应式：手机 ========== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }
  .header-inner {
    padding: 10px 0;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
  }
  .nav-links.open {
    display: flex;
    animation: menuDown 0.3s ease;
  }
  @keyframes menuDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-links a {
    padding: 8px 4px;
    font-size: 0.95rem;
  }
  .mobile-menu-btn {
    display: block;
    order: 3;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .search-box input {
    width: 100px;
  }
  .banner-section {
    border-radius: var(--radius-lg);
    min-height: auto;
  }
  .banner-slide {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px 40px;
    min-height: auto;
  }
  .banner-content h2 {
    font-size: 1.4rem;
  }
  .banner-content p {
    font-size: 0.92rem;
    margin-left: auto;
    margin-right: auto;
  }
  .banner-svg {
    flex: 0 0 auto;
    order: -1;
  }
  .banner-svg svg {
    width: 130px;
    height: 130px;
  }
  .stats-bar {
    gap: 8px;
    padding: 24px 12px;
  }
  .stat-item {
    min-width: 44%;
    padding: 8px 4px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }
  .card {
    padding: 20px;
    border-radius: var(--radius-md);
  }
  .article-item {
    flex-direction: column;
    gap: 4px;
  }
  .article-date {
    text-align: left;
    flex: none;
  }
  .howto-step {
    padding-left: 48px;
  }
  .howto-step::before {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

/* ========== 响应式：小屏手机 ========== */
@media (max-width: 420px) {
  .container {
    padding: 0 14px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .logo svg {
    width: 30px;
    height: 30px;
  }
  .search-box {
    padding: 5px 10px;
  }
  .search-box input {
    width: 76px;
    font-size: 0.82rem;
  }
  .dark-toggle {
    width: 34px;
    height: 34px;
  }
  .banner-content h2 {
    font-size: 1.2rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.88rem;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-item {
    min-width: 100%;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .card h3 {
    font-size: 1.05rem;
  }
}

/* ========== 动效降级 ========== */
@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;
  }
  .banner-svg {
    animation: none;
  }
}

/* ========== 打印样式 ========== */
@media print {
  .site-header,
  .back-to-top,
  .banner-section,
  .stats-bar,
  .header-actions,
  .mobile-menu-btn {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .card,
  .testimonial {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}