:root {
  --bg: #f0f4fa;
  --bg-alt: #e8eef7;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --text-primary: #0b1a2f;
  --text-secondary: #3a4d63;
  --text-muted: #6b7f95;
  --accent: #1e6f9f;
  --accent-light: #3a8ec9;
  --accent-soft: #e1eef9;
  --accent-glow: rgba(30, 111, 159, 0.18);
  --gradient-start: #1e6f9f;
  --gradient-mid: #2b8fc4;
  --gradient-end: #5fa8d3;
  --border: #d9e2ec;
  --border-light: #eaf0f6;
  --shadow-sm: 0 2px 8px rgba(11, 26, 47, 0.04);
  --shadow: 0 8px 24px rgba(11, 26, 47, 0.06), 0 2px 6px rgba(11, 26, 47, 0.03);
  --shadow-lg: 0 20px 48px rgba(11, 26, 47, 0.1), 0 4px 12px rgba(11, 26, 47, 0.04);
  --shadow-glow: 0 8px 32px rgba(30, 111, 159, 0.22);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 68px;
}

body.dark {
  --bg: #080e15;
  --bg-alt: #0d1520;
  --surface: #131f2e;
  --surface-glass: rgba(19, 31, 46, 0.72);
  --surface-glass-strong: rgba(19, 31, 46, 0.9);
  --text-primary: #eef4fc;
  --text-secondary: #b0c4de;
  --text-muted: #7a8ea8;
  --accent: #5fa8d3;
  --accent-light: #7fc0e6;
  --accent-soft: #1a2b3c;
  --accent-glow: rgba(95, 168, 211, 0.2);
  --gradient-start: #1a3a55;
  --gradient-mid: #1e5a85;
  --gradient-end: #2b7fb5;
  --border: #22344a;
  --border-light: #1a2a3d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 8px 32px rgba(95, 168, 211, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, var(--accent-glow), transparent 55%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: var(--accent-light);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px var(--accent-glow));
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width var(--transition);
}

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

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

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 4px 4px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 0.88rem;
  outline: none;
  color: var(--text-primary);
  width: 150px;
  font-family: inherit;
}

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

.search-box button {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border: none;
  border-radius: var(--radius-full);
  padding: 7px 16px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.08);
}

.search-box button:active {
  transform: translateY(0);
}

.theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: rotate(18deg) scale(1.06);
  box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

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

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

.breadcrumb span {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== 首屏 Hero ===== */
.hero {
  padding: 44px 0 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.7rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-item {
  position: relative;
}

.stat-item .num {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item .label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.hero-visual {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 55%);
  pointer-events: none;
}

.hero-visual:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.hero-visual svg {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
}

/* ===== Banner 轮播 · 渐变 ===== */
.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
}

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

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.carousel-slide h3 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.carousel-slide p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.7;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 3;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--transition), width var(--transition), transform var(--transition);
}

.carousel-dots span:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.15);
}

.carousel-dots span.active {
  background: #fff;
  width: 26px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* ===== 通用 Section ===== */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.section-sub {
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ===== 卡片网格 · 圆角 + 毛玻璃 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--accent);
  background: var(--surface-glass-strong);
}

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

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.card p a {
  color: var(--accent);
  font-weight: 500;
}

.card p a:hover {
  text-decoration: underline;
}

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

.article-item {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.article-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--accent);
}

.article-item h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.45;
  transition: color var(--transition);
}

.article-item:hover h4 {
  color: var(--accent-light);
}

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

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.7;
  flex: 1;
}

.read-more {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
  align-self: flex-start;
}

.read-more:hover {
  color: var(--accent-light);
  gap: 8px;
}

/* ===== FAQ 手风琴 ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

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

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  transition: background var(--transition), color var(--transition);
  font-size: 0.98rem;
  color: var(--text-primary);
  user-select: none;
}

.faq-question:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.faq-question span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.faq-item.open .faq-question {
  background: var(--accent-soft);
  color: var(--accent);
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  animation: faqFadeIn 0.35s ease;
}

.faq-item.open .faq-answer {
  display: block;
}

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

/* ===== HowTo 步骤 ===== */
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.howto-step {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-light);
}

.howto-step strong {
  color: var(--accent);
  font-weight: 700;
}

/* ===== 公司信息与 EEAT ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.company-info p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.company-info strong {
  color: var(--text-primary);
  width: 100px;
  display: inline-block;
  font-weight: 600;
}

.trust-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.trust-badge span {
  background: var(--accent-soft);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  cursor: default;
}

.trust-badge span:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
  background: var(--surface);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border);
  padding: 52px 0 24px;
  margin-top: 48px;
  transition: background var(--transition), border-color var(--transition);
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color var(--transition), transform var(--transition);
}

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

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 40px rgba(30, 111, 159, 0.35);
  filter: brightness(1.1);
}

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

/* ===== 滚动动画 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  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;
}

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

/* ===== 响应式：平板 ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-visual {
    max-width: 560px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

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

/* ===== 响应式：手机横屏/平板竖屏 ===== */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 28px;
  }

  .stat-item .num {
    font-size: 1.8rem;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .nav-links {
    display: none;
  }

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

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--surface-glass-strong);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    animation: menuSlideDown 0.3s ease;
  }

  .nav-links.active a {
    font-size: 1rem;
    padding: 6px 0;
  }

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

  .carousel-slide {
    padding: 32px 36px;
  }

  .carousel-slide h3 {
    font-size: 1.4rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

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

/* ===== 响应式：小手机 ===== */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 22px;
  }

  .stat-item .num {
    font-size: 1.55rem;
  }

  .stat-item .label {
    font-size: 0.78rem;
  }

  .search-box {
    display: none;
  }

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

  .carousel-slide {
    padding: 26px 22px;
  }

  .carousel-slide h3 {
    font-size: 1.2rem;
  }

  .carousel-slide p {
    font-size: 0.9rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }

  .card {
    padding: 24px 20px;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  .article-item {
    padding: 22px 20px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-sub {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

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

  .faq-answer {
    padding: 0 18px 18px;
    padding-top: 14px;
    font-size: 0.9rem;
  }

  .howto-step {
    padding: 18px 20px;
    font-size: 0.9rem;
  }

  .company-info strong {
    width: auto;
    display: block;
    margin-bottom: 2px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }
}

/* ===== 减少动画偏好 ===== */
@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-up {
    opacity: 1;
    transform: none;
  }
}

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

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

  .card,
  .article-item,
  .faq-item,
  .howto-step {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}