:root {
  --brand: #ff5a3c;
  --brand-dark: #e8431f;
  --brand-light: #ff8566;
  --brand-soft: rgba(255, 90, 60, 0.1);
  --accent: #7c4dff;
  --accent-soft: rgba(124, 77, 255, 0.1);
  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --bg-elevated: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --text: #1c1f2b;
  --text-soft: #4a4f60;
  --text-muted: #7a8094;
  --border: #e6e8f0;
  --shadow-sm: 0 2px 8px rgba(28, 31, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 31, 43, 0.09);
  --shadow-lg: 0 20px 50px rgba(28, 31, 43, 0.14);
  --shadow-brand: 0 12px 30px rgba(255, 90, 60, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #ff5a3c 0%, #ff7a45 38%, #ff9a5a 62%, #ffb37a 100%);
  --grad-brand: linear-gradient(135deg, #ff5a3c 0%, #ff7a45 100%);
  --grad-accent: linear-gradient(135deg, #7c4dff 0%, #b06bff 100%);
  --grad-card: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --brand: #ff6f52;
  --brand-dark: #ff5a3c;
  --brand-light: #ff9a7d;
  --brand-soft: rgba(255, 111, 82, 0.14);
  --accent: #a07cff;
  --accent-soft: rgba(160, 124, 255, 0.16);
  --bg: #0f1117;
  --bg-alt: #161922;
  --bg-elevated: #1b1f2a;
  --glass: rgba(27, 31, 42, 0.68);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #eef0f6;
  --text-soft: #c3c8d6;
  --text-muted: #8b92a5;
  --border: #272c39;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-brand: 0 12px 30px rgba(255, 111, 82, 0.3);
  --grad-hero: linear-gradient(135deg, #7a2a1c 0%, #b83d24 40%, #d9552f 70%, #e8703f 100%);
  --grad-brand: linear-gradient(135deg, #ff6f52 0%, #ff8a5c 100%);
  --grad-card: linear-gradient(160deg, rgba(40, 45, 58, 0.92), rgba(27, 31, 42, 0.6));
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, var(--brand-soft), transparent 42%),
    radial-gradient(circle at 88% 22%, var(--accent-soft), transparent 40%),
    radial-gradient(circle at 50% 100%, var(--brand-soft), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ============ 头部 ============ */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#siteHeader.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
}

.logo svg {
  border-radius: 12px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.4s var(--ease);
}

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

.logo-text {
  letter-spacing: 0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

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

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

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

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

.site-search button {
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad-brand);
  transition: filter 0.25s var(--ease);
}

.site-search button:hover {
  filter: brightness(1.08);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

/* ============ 主内容容器 ============ */
main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

main > section,
main > nav {
  margin: 0 0 28px;
  padding: 32px clamp(20px, 3vw, 40px);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow-md);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Hero 轮播 ============ */
.hero {
  margin-top: 24px !important;
  padding: 0 !important;
  background: var(--grad-hero) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-brand) !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.32), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.18), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 12s ease-in-out infinite;
}

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

.hero-slider {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.hero-slider .slide {
  display: none;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 52px) 68px;
  color: #fff;
  animation: slideFade 0.65s var(--ease);
}

.hero-slider .slide.active {
  display: block;
}

@keyframes slideFade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-slider .slide h1,
.hero-slider .slide h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
  max-width: 900px;
}

.hero-slider .slide h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.6rem);
  line-height: 1.3;
}

.hero-slider .slide h2 {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
}

.hero-slider .slide p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 820px;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
}

.hero-sub {
  font-weight: 500;
}

.hero-note {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: var(--brand-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  background: #fff7f4;
}

.slider-dots {
  position: absolute;
  left: clamp(20px, 4vw, 52px);
  bottom: 26px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease), border-radius 0.3s var(--ease);
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.slider-dots .dot.active {
  width: 30px;
  border-radius: var(--radius-pill);
  background: #fff;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  padding: 14px clamp(18px, 3vw, 32px) !important;
  border-radius: var(--radius) !important;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-muted);
  opacity: 0.6;
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

/* ============ 锚点导航 ============ */
.anchor-nav {
  padding: 16px clamp(16px, 2.5vw, 26px) !important;
  border-radius: var(--radius) !important;
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-nav a {
  display: inline-block;
  padding: 7px 15px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ============ 数据统计 ============ */
.stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.stats:hover {
  box-shadow: none !important;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 16px;
  text-align: center;
  background: var(--grad-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.stat-num {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============ 通用区块排版 ============ */
section > h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  transition: width 0.4s var(--ease);
}

section:hover > h2::after {
  width: 96px;
}

section h3 {
  margin-top: 1.5em;
  padding-left: 14px;
  position: relative;
}

section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 4px;
  height: 1em;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}

section > p,
section > h3 + p {
  max-width: 78ch;
}

/* ============ 新闻 / 文章卡片 ============ */
article {
  position: relative;
  margin: 0 0 18px;
  padding: 22px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

article:hover::before {
  opacity: 1;
}

article h3 {
  margin-top: 0;
  padding-left: 0;
  font-size: 1.12rem;
}

article h3::before {
  display: none;
}

article p {
  margin-bottom: 0.7em;
}

article p:last-child {
  margin-bottom: 0;
}

article .meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8em;
}

article .meta time {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.3s var(--ease), color 0.25s var(--ease);
}

article > a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

article > a:hover {
  gap: 10px;
}

article > a:hover::after {
  transform: translateX(3px);
}

/* 文章网格（宽屏） */
#articles {
  display: block;
}

#articles article {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 10px);
  margin-right: 16px;
}

#articles article:nth-of-type(even) {
  margin-right: 0;
}

#articles > h2 {
  display: block;
  width: 100%;
}

/* ============ 客户评价 ============ */
blockquote {
  position: relative;
  margin: 0 0 16px;
  padding: 20px 24px 20px 56px;
  background: var(--grad-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: 16px;
  top: 4px;
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand);
  opacity: 0.55;
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* ============ 教程列表 ============ */
#howto ol {
  counter-reset: howto;
  display: grid;
  gap: 12px;
  margin: 0 0 1.2em;
  padding: 0;
}

#howto ol li {
  position: relative;
  counter-increment: howto;
  padding: 14px 18px 14px 58px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(howto);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* ============ 常见问题 ============ */
#faq details {
  margin: 0 0 12px;
  padding: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#faq details:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  background: var(--grad-card);
}

#faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq details[open] summary {
  color: var(--brand);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--grad-brand);
  color: #fff;
}

#faq summary:hover {
  color: var(--brand);
}

#faq details > p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--text-soft);
  animation: faqFade 0.4s var(--ease);
}

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

/* ============ 联系信息 ============ */
address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 0 0 1.2em;
}

address p {
  margin: 0;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

address p:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

address a {
  font-weight: 600;
  word-break: break-all;
}

/* ============ 站点地图 / 链接列表 ============ */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

#sitemap li a,
#links li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-align: center;
  transition: all 0.28s var(--ease);
}

#sitemap li a:hover,
#links li a:hover,
#sitemap li a:focus-visible,
#links li a:focus-visible {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}

/* ============ 页脚 ============ */
footer {
  margin-top: 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 32px;
}

.footer-col h3 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 1.02rem;
  color: var(--text);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}

.footer-col p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-col ul a:hover {
  color: var(--brand);
  padding-left: 6px;
}

.footer-copy {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

.footer-copy a {
  color: var(--text-muted);
}

.footer-copy a:hover {
  color: var(--brand);
}

/* ============ 返回顶部 ============ */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, filter 0.25s var(--ease);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#backToTop:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .main-nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }
  .site-search input {
    width: 130px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  .main-nav.open {
    max-height: 640px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
  }

  .main-nav a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-search {
    display: none;
  }

  main > section,
  main > nav {
    padding: 26px 20px;
    border-radius: var(--radius);
  }

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

  #articles article {
    display: block;
    width: 100%;
    margin-right: 0;
  }

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

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

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

  main {
    padding: 0 12px;
  }

  main > section,
  main > nav {
    padding: 22px 16px;
    margin-bottom: 16px;
    border-radius: var(--radius);
  }

  .hero {
    margin-top: 14px !important;
    border-radius: var(--radius) !important;
  }

  .hero-slider {
    min-height: 0;
  }

  .hero-slider .slide {
    padding: 30px 18px 62px;
  }

  .hero-cta {
    padding: 11px 24px;
    font-size: 0.92rem;
  }

  .slider-dots {
    left: 18px;
    bottom: 22px;
  }

  .stats {
    gap: 10px;
  }

  .stat-item {
    padding: 18px 10px;
  }

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

  .anchor-nav ul {
    gap: 6px;
  }

  .anchor-nav a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  article {
    padding: 18px 16px;
  }

  #faq summary {
    padding: 14px 48px 14px 16px;
    font-size: 0.93rem;
  }

  #faq details > p {
    padding: 0 16px 16px;
  }

  blockquote {
    padding: 18px 16px 18px 46px;
  }

  address {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 36px 16px 24px;
  }

  .footer-col:first-child {
    grid-column: auto;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  #sitemap li a,
  #links li a {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  #backToTop {
    right: 14px;
    bottom: 16px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }
}

@media print {
  #siteHeader,
  #backToTop,
  .anchor-nav,
  .slider-dots,
  .hero-cta {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section,
  main > nav,
  article,
  blockquote {
    box-shadow: none;
    border: 1px solid #ddd;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}