:root {
  --bg: #0f0f1a;
  --bg-alt: #16162a;
  --surface: rgba(30, 30, 52, 0.65);
  --surface-solid: #1e1e34;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ececf5;
  --text-soft: #b6b6cc;
  --text-mute: #8585a0;
  --brand: #e94560;
  --brand-2: #7b5cff;
  --brand-3: #ff8a5c;
  --accent: #39d0d8;
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 45%, #3d1a35 100%);
  --gradient-brand: linear-gradient(120deg, #e94560 0%, #7b5cff 100%);
  --gradient-soft: linear-gradient(120deg, rgba(233, 69, 96, 0.16), rgba(123, 92, 255, 0.16));
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 8px 32px rgba(233, 69, 96, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 68px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f4fb;
    --bg-alt: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #ffffff;
    --border: rgba(20, 20, 50, 0.08);
    --border-strong: rgba(20, 20, 50, 0.16);
    --text: #1c1c2e;
    --text-soft: #4a4a63;
    --text-mute: #77778f;
    --gradient-hero: linear-gradient(135deg, #e8e6ff 0%, #ffe3ee 50%, #ffe9d9 100%);
    --gradient-soft: linear-gradient(120deg, rgba(233, 69, 96, 0.1), rgba(123, 92, 255, 0.1));
    --shadow-sm: 0 4px 16px rgba(40, 30, 80, 0.08);
    --shadow-md: 0 12px 40px rgba(40, 30, 80, 0.12);
    --shadow-glow: 0 8px 32px rgba(233, 69, 96, 0.2);
    color-scheme: light;
  }
}

*,
*::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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(123, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(233, 69, 96, 0.12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

h1 {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 4px;
  background: var(--gradient-brand);
  box-shadow: 0 0 16px rgba(233, 69, 96, 0.5);
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  color: var(--text);
}

h4 {
  font-size: 1.05rem;
  color: var(--brand-2);
}

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

ul, ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45em;
}

li::marker {
  color: var(--brand);
}

/* ============ 头部导航 ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--surface-solid);
}

.header-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
}

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

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

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

#main-nav {
  margin-left: auto;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-nav li {
  margin: 0;
}

#main-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#main-nav a:hover {
  color: var(--text);
  background: var(--gradient-soft);
  transform: translateY(-1px);
}

#menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

#menu-toggle:hover {
  background: var(--gradient-soft);
  transform: scale(1.05);
}

/* ============ 主内容容器 ============ */
main {
  display: block;
}

main > section,
main > nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

main > section {
  padding-top: 56px;
  padding-bottom: 56px;
}

main > section > p:first-of-type {
  font-size: 1.02rem;
}

/* ============ Hero 首屏 ============ */
#hero {
  max-width: none;
  padding: 0;
  margin: 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

#hero::before,
#hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  animation: floatBlob 14s ease-in-out infinite alternate;
}

#hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.55), transparent 70%);
  top: -140px;
  left: -80px;
}

#hero::after {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.5), transparent 70%);
  bottom: -200px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes floatBlob {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -30px, 0) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 22px 72px;
  text-align: center;
}

.hero-inner h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-lead {
  max-width: 820px;
  margin: 0 auto 2em;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: var(--text-soft);
  animation: fadeUp 0.8s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  animation: fadeUp 0.8s 0.22s var(--ease) both;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 13px 30px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(233, 69, 96, 0.45);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  color: var(--text);
  transform: translateY(-3px) scale(1.03);
  background: var(--surface-solid);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.32s var(--ease) both;
}

.stat {
  padding: 22px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.4);
}

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

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

/* ============ 面包屑 ============ */
#breadcrumb {
  padding-top: 22px;
  padding-bottom: 0;
}

#breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-mute);
}

#breadcrumb li {
  margin: 0;
}

#breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--text-mute);
}

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

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

/* ============ 通用区块卡片化 ============ */
#intro,
#products,
#services,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#team,
#contact,
#sitemap,
#links,
#legal {
  position: relative;
}

#intro > p,
#products > p,
#services > p,
#solutions > p,
#cases > p,
#news > p,
#articles > p,
#faq > p,
#howto > p,
#team > p,
#contact > p,
#legal > p {
  max-width: 900px;
}

/* 卡片式容器：给主要模块加毛玻璃卡片 */
#intro,
#products,
#services,
#solutions,
#cases,
#news,
#faq,
#howto,
#team,
#contact,
#legal {
  margin-top: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
  padding-left: 34px;
  padding-right: 34px;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

#intro:hover,
#products:hover,
#services:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#faq:hover,
#howto:hover,
#team:hover,
#contact:hover,
#legal:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

#articles,
#sitemap,
#links {
  margin-top: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
  padding-left: 34px;
  padding-right: 34px;
}

/* ============ 文章卡片 ============ */
#articles article {
  position: relative;
  margin: 0 0 22px;
  padding: 26px 28px 22px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#articles article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

#articles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 92, 255, 0.35);
}

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

#articles article h3 {
  margin-bottom: 0.35em;
  transition: color 0.3s var(--ease);
}

#articles article:hover h3 {
  color: var(--brand);
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin-bottom: 0.9em;
}

#articles article p:not(.article-meta) {
  margin-bottom: 1em;
  text-align: justify;
}

#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  padding: 5px 0;
  position: relative;
}

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

#articles article > a:hover::after {
  transform: translateX(5px);
}

/* ============ FAQ 折叠面板 ============ */
#faq details {
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#faq details[open] {
  border-color: rgba(233, 69, 96, 0.35);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--brand);
  border-radius: 50%;
  background: var(--gradient-soft);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

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

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

#faq details p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  animation: fadeIn 0.4s var(--ease);
}

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

/* ============ 使用教程 / 团队 / 联系 ============ */
#howto h3,
#team h3,
#contact h3,
#legal h3 {
  margin-top: 1.6em;
  padding-bottom: 0.4em;
  border-bottom: 1px dashed var(--border-strong);
}

#howto h3:first-of-type,
#team h3:first-of-type,
#contact h3:first-of-type,
#legal h3:first-of-type {
  margin-top: 0.6em;
}

#contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

#contact li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

#contact li::before {
  content: "◆";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 0.8rem;
}

#contact li:hover {
  transform: translateX(6px);
  border-color: rgba(233, 69, 96, 0.4);
}

/* ============ 站点地图 / 友情链接 ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-3px);
  color: var(--brand);
  border-color: rgba(233, 69, 96, 0.4);
  background: var(--gradient-soft);
}

/* ============ 页脚 ============ */
#site-footer {
  margin-top: 60px;
  padding: 48px 22px 36px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.8;
}

.footer-inner p:first-child {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-inner p:last-child {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

/* ============ 返回顶部 ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, box-shadow 0.35s var(--ease);
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 40px rgba(233, 69, 96, 0.5);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  #main-nav ul {
    gap: 0;
  }
  #main-nav a {
    padding: 8px 9px;
    font-size: 0.85rem;
  }
}

@media (max-width: 920px) {
  #menu-toggle {
    display: grid;
    place-items: center;
  }

  #main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  #main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 20px;
  }

  #main-nav a {
    padding: 13px 16px;
    font-size: 0.96rem;
    border-radius: var(--radius-sm);
  }

  .hero-inner {
    padding: 64px 22px 56px;
  }

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

  #intro,
  #products,
  #services,
  #solutions,
  #cases,
  #news,
  #faq,
  #howto,
  #team,
  #contact,
  #legal,
  #articles,
  #sitemap,
  #links {
    padding-left: 24px;
    padding-right: 24px;
    border-radius: var(--radius);
  }

  main > section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

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

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  main > section,
  main > nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  main > section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #intro,
  #products,
  #services,
  #solutions,
  #cases,
  #news,
  #faq,
  #howto,
  #team,
  #contact,
  #legal,
  #articles,
  #sitemap,
  #links {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: var(--radius);
  }

  .hero-inner {
    padding: 48px 16px 44px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 38px;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 140px;
    min-width: 0;
    padding: 12px 20px;
    font-size: 0.92rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat {
    padding: 16px 8px;
    border-radius: var(--radius-sm);
  }

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

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 4px;
  }

  #articles article {
    padding: 20px 18px 18px;
  }

  #articles article p:not(.article-meta) {
    text-align: left;
  }

  #faq summary {
    padding: 15px 48px 15px 16px;
    font-size: 0.94rem;
  }

  #faq details p {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }

  #back-to-top {
    right: 14px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  #site-footer {
    padding: 36px 16px 28px;
  }
}

/* ============ 无障碍 / 减弱动画 ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

::selection {
  background: rgba(233, 69, 96, 0.35);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}