:root {
  --brand: #1f3a5f;
  --brand-2: #e8853a;
  --brand-3: #2f5a8f;
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --fg: #23282d;
  --fg-soft: #333333;
  --muted: #5b6670;
  --line: #e5e8ec;
  --card: #f7f9fb;
  --card-hover: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31, 58, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 58, 95, 0.1);
  --shadow-lg: 0 16px 40px rgba(31, 58, 95, 0.16);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --header-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.dark {
  --bg: #12171d;
  --bg-soft: #1a222c;
  --fg: #dfe6ee;
  --fg-soft: #c3ced9;
  --muted: #93a1b0;
  --line: #2a3441;
  --card: #1a222c;
  --card-hover: #202a36;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --glass: rgba(26, 34, 44, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --brand: #4f8fd0;
  --brand-2: #f0a05a;
  --brand-3: #3a6ea8;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--brand-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ============ 头部导航 ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.logo:hover {
  color: var(--brand);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav a {
  color: var(--fg);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

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

.nav a:hover {
  color: var(--brand-2);
}

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

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  background: var(--bg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(232, 133, 58, 0.15);
}

.search-box input {
  border: none;
  outline: none;
  width: 130px;
  font-size: 14px;
  background: transparent;
  color: var(--fg);
  font-family: inherit;
}

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

.search-box button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--brand);
  font-size: 14px;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.search-box button:hover {
  background: var(--brand);
  color: #fff;
}

.icon-btn,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--fg);
  font-family: inherit;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover,
.menu-toggle:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

/* ============ Banner 轮播 ============ */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f3a5f 0%, #2f5a8f 55%, #3f6fa8 100%);
  color: #fff;
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.banner::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(232, 133, 58, 0.45) 0%,
    rgba(232, 133, 58, 0) 70%
  );
  animation: floatBlob 14s ease-in-out infinite;
}

.banner::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(120, 180, 255, 0.4) 0%,
    rgba(120, 180, 255, 0) 70%
  );
  animation: floatBlob 18s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 24px) scale(1.08);
  }
}

.slides {
  position: relative;
  height: 340px;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease),
    transform 0.8s var(--ease);
  transform: scale(1.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide h2 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 12px;
  border: none;
  padding: 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.slide p {
  font-size: 16px;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto;
  color: #eaf1f8;
}

.slide .cta {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--brand-2), #f2a35f);
  color: #fff;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(232, 133, 58, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.slide .cta:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(232, 133, 58, 0.55);
  filter: brightness(1.05);
}

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

.banner-dots span {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.banner-dots span:hover {
  background: rgba(255, 255, 255, 0.75);
}

.banner-dots span.active {
  width: 26px;
  background: #fff;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--muted);
}

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

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

.breadcrumb span {
  color: var(--fg);
}

/* ============ 容器与区块 ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

section {
  margin-bottom: 44px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

h1 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--brand);
  letter-spacing: 0.3px;
}

h2 {
  font-size: 23px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--brand);
  border-left: 5px solid var(--brand-2);
  padding-left: 12px;
  position: relative;
}

h3 {
  font-size: 18px;
  margin: 18px 0 8px;
  color: var(--fg);
  line-height: 1.5;
}

h4 {
  font-size: 16px;
  margin: 12px 0 6px;
  color: var(--fg);
  line-height: 1.5;
}

p {
  margin-bottom: 12px;
  color: var(--fg-soft);
}

.lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--fg);
  background: linear-gradient(
    135deg,
    rgba(31, 58, 95, 0.06),
    rgba(232, 133, 58, 0.06)
  );
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

/* ============ 网格与卡片 ============ */
.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 133, 58, 0.08),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--card-hover);
  border-color: rgba(232, 133, 58, 0.4);
}

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

.card h3 {
  margin-top: 0;
  color: var(--brand);
  position: relative;
}

.card p {
  margin-bottom: 0;
  font-size: 15px;
  position: relative;
}

/* ============ 标签 ============ */
.tag {
  display: inline-block;
  background: rgba(31, 58, 95, 0.08);
  color: var(--brand);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-right: 6px;
  margin-bottom: 6px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.tag:hover {
  background: var(--brand);
  color: #fff;
}

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

.stat {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.stat::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: translateX(-50%);
  transition: width 0.4s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 133, 58, 0.35);
}

.stat:hover::after {
  width: 60%;
}

.stat .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-2);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat .label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============ 文章列表 ============ */
.article-item {
  border-bottom: 1px dashed var(--line);
  padding: 18px 0;
  transition: padding-left 0.3s var(--ease);
}

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

.article-item:hover {
  padding-left: 6px;
}

.article-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.article-item h3 a {
  color: var(--fg);
  transition: color 0.25s var(--ease);
}

.article-item h3 a:hover {
  color: var(--brand-2);
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.article-item p {
  font-size: 15px;
  color: var(--fg-soft);
  margin-bottom: 8px;
}

.article-item > p:last-child a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  display: inline-block;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.article-item > p:last-child a:hover {
  color: var(--brand-2);
  transform: translateX(4px);
}

/* ============ FAQ 手风琴 ============ */
.faq-list {
  margin-top: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(232, 133, 58, 0.45);
}

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

.faq-q {
  width: 100%;
  text-align: left;
  background: var(--card);
  border: none;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  font-family: inherit;
  line-height: 1.6;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-q:hover {
  background: rgba(232, 133, 58, 0.08);
  color: var(--brand-2);
}

.faq-q span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 58, 95, 0.08);
  color: var(--brand);
  font-size: 14px;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.faq-item.open .faq-q span {
  background: var(--brand-2);
  color: #fff;
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
  padding: 0 18px;
}

.faq-a p {
  padding: 14px 0;
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  border-top: 1px dashed var(--line);
}

.faq-item.open .faq-a {
  max-height: 600px;
}

/* ============ 步骤列表 ============ */
.steps {
  counter-reset: step;
  list-style: none;
  margin-top: 8px;
}

.steps li {
  position: relative;
  padding: 14px 0 14px 52px;
  border-bottom: 1px dashed var(--line);
  color: var(--fg-soft);
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li:hover {
  padding-left: 58px;
  color: var(--fg);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.steps li:hover::before {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--brand-2), #f2a35f);
}

/* ============ 信息表格 ============ */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.info-table th,
.info-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  background: var(--card);
  color: var(--brand);
  width: 140px;
  font-weight: 600;
  white-space: nowrap;
}

.info-table td {
  color: var(--fg-soft);
  transition: background-color 0.25s var(--ease);
}

.info-table tbody tr:hover td {
  background: rgba(232, 133, 58, 0.05);
}

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

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

/* ============ 页脚 ============ */
.footer {
  background: linear-gradient(180deg, #16263d 0%, #101c2c 100%);
  color: #c8d2de;
  padding: 40px 0 20px;
  font-size: 14px;
  position: relative;
  margin-top: 20px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3), var(--brand-2));
}

.footer a {
  color: #c8d2de;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer a:hover {
  color: #fff;
  padding-left: 3px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 28px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 15px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer p {
  color: #a9b7c7;
  font-size: 14px;
  line-height: 1.85;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #a9b7c7;
}

.footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #8fa0b3;
  text-align: center;
}

.footer-bottom p {
  color: #8fa0b3;
  font-size: 13px;
  margin: 0;
}

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: none;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.back-top.show {
  display: block;
  animation: popIn 0.35s var(--ease);
}

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============ 暗色模式细节 ============ */
body.dark .header {
  background: rgba(18, 23, 29, 0.85);
}

body.dark .search-box,
body.dark .icon-btn,
body.dark .menu-toggle {
  background: var(--bg-soft);
  color: var(--fg);
}

body.dark .nav {
  background: var(--bg-soft);
}

body.dark .card::before {
  background: linear-gradient(
    135deg,
    rgba(240, 160, 90, 0.1),
    transparent 55%
  );
}

body.dark .lead {
  background: linear-gradient(
    135deg,
    rgba(79, 143, 208, 0.1),
    rgba(240, 160, 90, 0.08)
  );
}

body.dark .tag {
  background: rgba(79, 143, 208, 0.16);
}

body.dark .faq-q span {
  background: rgba(79, 143, 208, 0.16);
}

body.dark .info-table th {
  background: var(--card);
}

body.dark .banner {
  background: linear-gradient(135deg, #16263d 0%, #1f3a5f 55%, #2a4d7a 100%);
}

body.dark .footer {
  background: linear-gradient(180deg, #0e1620 0%, #0a1017 100%);
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .nav {
    gap: 16px;
    font-size: 14px;
  }

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

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

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

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

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

  .slides {
    height: 300px;
  }

  .slide h2 {
    font-size: 24px;
  }

  .slide p {
    font-size: 15px;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 21px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 14px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s var(--ease);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
  }

  .nav a:last-child {
    border-bottom: none;
  }

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

  .menu-toggle {
    display: block;
  }

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

  .logo {
    font-size: 16px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .nav-wrap {
    padding: 8px 14px;
    gap: 10px;
  }

  .container {
    padding: 0 14px 32px;
  }

  .breadcrumb {
    padding: 12px 14px;
  }

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

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

  .stat {
    padding: 16px 10px;
  }

  .stat .num {
    font-size: 24px;
  }

  .stat .label {
    font-size: 12px;
  }

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

  .slides {
    height: 320px;
  }

  .slide {
    padding: 16px;
  }

  .slide h2 {
    font-size: 20px;
  }

  .slide p {
    font-size: 14px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 19px;
    padding-left: 10px;
    border-left-width: 4px;
  }

  h3 {
    font-size: 16px;
  }

  .lead {
    font-size: 15px;
    padding: 16px 16px 16px 18px;
  }

  .card {
    padding: 16px;
  }

  .info-table {
    font-size: 14px;
  }

  .info-table th,
  .info-table td {
    padding: 10px 10px;
  }

  .info-table th {
    width: 96px;
    white-space: normal;
  }

  .faq-q {
    font-size: 14px;
    padding: 13px 14px;
  }

  .faq-a {
    padding: 0 14px;
  }

  .faq-a p {
    font-size: 14px;
  }

  .steps li {
    padding-left: 46px;
    font-size: 14px;
  }

  .steps li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .back-top {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .search-box {
    display: none;
  }

  .slide h2 {
    font-size: 18px;
  }

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

/* ============ 减少动效偏好 ============ */
@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 {
  .header,
  .banner,
  .back-top,
  .footer,
  .search-box,
  .icon-btn,
  .menu-toggle {
    display: none !important;
  }

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

  .card,
  .faq-item,
  .info-table {
    box-shadow: none;
    border-color: #ccc;
  }

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