:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8f5e;
  --secondary: #2d3436;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text: #2d3436;
  --text-light: #636e72;
  --border: #e9ecef;
  --border-glass: rgba(255, 255, 255, 0.35);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(255, 107, 53, 0.18);
  --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #c44a1f 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 143, 94, 0.04) 100%);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #1a1a2e;
  --bg-alt: #16213e;
  --bg-glass: rgba(26, 26, 46, 0.72);
  --text: #e8e8e8;
  --text-light: #a0a0b0;
  --border: #2a2a4a;
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 32px rgba(255, 107, 53, 0.25);
  --gradient-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 143, 94, 0.06) 100%);
}

* {
  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", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  transition: background 0.3s ease;
}

h1, h2, h3, h4 {
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 1rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.8rem; }

p { margin-bottom: 1rem; }

.text-center { text-align: center; }
.text-light { color: var(--text-light); }

/* ===== 导航 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  background: var(--bg-glass);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo svg {
  width: 36px;
  height: 36px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

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

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

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

.search-box input::placeholder {
  color: var(--text-light);
}

.search-box button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-light);
  display: flex;
  align-items: center;
  transition: var(--transition);
  padding: 0;
}

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

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(20deg) scale(1.05);
}

.mobile-menu-btn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--bg-alt);
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

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

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border);
}

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

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

.breadcrumb [aria-current] {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Banner 轮播 ===== */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: #fff;
  padding: 80px 0;
  isolation: isolate;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

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

.banner-slide.active {
  display: block;
}

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

.banner h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.banner p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #f0f0f0;
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.banner-dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.banner-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.banner-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}

.banner-dots button.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

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

.stat-item {
  padding: 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--gradient-soft);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* ===== 卡片网格 ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

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

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-meta span {
  padding: 2px 10px;
  background: var(--gradient-soft);
  border-radius: 20px;
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--text);
}

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

.article-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 8px;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg);
}

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

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  font-family: inherit;
  line-height: 1.5;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s ease;
  flex-shrink: 0;
  color: var(--primary);
}

.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;
  padding: 0 24px;
}

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

.faq-answer p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin: 0;
}

/* ===== HowTo 步骤 ===== */
.steps {
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

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

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transition: var(--transition);
}

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

.step h4 {
  margin-bottom: 6px;
}

.step p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0;
}

/* ===== 客户评价 ===== */
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

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

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== 联系信息 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-item {
  text-align: center;
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.contact-item:hover::after {
  opacity: 1;
}

.contact-item svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.contact-item:hover svg {
  transform: scale(1.15) translateY(-2px);
}

.contact-item h4 {
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0;
  position: relative;
  z-index: 1;
  word-break: break-word;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--secondary);
  color: #ccc;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

[data-theme="dark"] .footer {
  background: #0f0f1a;
}

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

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

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  color: #999;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.footer a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 16px;
  line-height: 1.7;
}

.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: #777;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #777;
}

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

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5);
}

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

/* ===== 图片懒加载 ===== */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner h1 {
    font-size: 2.4rem;
  }
  .search-box input {
    width: 110px;
  }
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .section {
    padding: 50px 0;
  }

  .banner {
    padding: 56px 0;
  }

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

  .banner p {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
  }

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

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
  }

  .nav-links a:hover {
    background: var(--gradient-soft);
  }

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

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

  .search-box {
    display: none;
  }

  .grid-3,
  .grid-2,
  .article-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .stat-item {
    padding: 16px;
  }

  .step {
    padding: 20px;
    gap: 16px;
  }

  .step:hover {
    transform: translateY(-2px);
  }

  .card {
    padding: 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .banner h1 {
    font-size: 1.7rem;
  }

  .banner-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
    padding: 13px 24px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

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

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

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

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

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

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

  .testimonial {
    padding: 22px;
  }
}

/* ===== 无障碍与动效偏好 ===== */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

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

  .section {
    padding: 20px 0;
  }

  .card,
  .article-card,
  .step,
  .faq-item {
    break-inside: avoid;
    box-shadow: none;
  }
}