```css
/* ==========================================================================
   深夜视频 - 动漫迷聚集地，番剧讨论与资源分享
   fibolms.cn
   完整样式表 (style.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础重置与CSS变量
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 品牌色板 - 暗色主题 */
  --brand-dark: #0d1117;
  --brand-deep: #161b22;
  --brand-deeper: #010409;
  --brand-accent: #ff6b6b;
  --brand-accent-hover: #ee5a24;
  --brand-accent2: #feca57;
  --brand-accent3: #48dbfb;
  --brand-accent4: #a29bfe;
  --brand-text: #e6edf3;
  --brand-text-muted: #8b949e;
  --brand-text-subtle: #6e7681;
  --brand-border: #30363d;
  --brand-border-light: #21262d;
  --brand-card: #1c2128;
  --brand-card-hover: #22272e;
  --brand-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  --brand-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --brand-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
  --brand-shadow-accent: 0 4px 16px rgba(255, 107, 107, 0.35);
  --brand-shadow-accent-lg: 0 8px 28px rgba(255, 107, 107, 0.5);

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #ff6b6b, #ee5a24);
  --gradient-secondary: linear-gradient(135deg, #feca57, #ff6b6b);
  --gradient-tertiary: linear-gradient(135deg, #48dbfb, #a29bfe);
  --gradient-text: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  --gradient-dark: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  --gradient-card: linear-gradient(145deg, #1c2128 0%, #161b22 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* 圆角 */
  --brand-radius: 16px;
  --brand-radius-sm: 10px;
  --brand-radius-xs: 6px;
  --brand-radius-lg: 24px;
  --brand-radius-full: 999px;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", "Courier New", monospace;

  /* 布局 */
  --header-height: 68px;
  --container-max: 1200px;
  --container-padding: 20px;

  /* 过渡 */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* 毛玻璃 */
  --glass-bg: rgba(13, 17, 23, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
}

/* 亮色主题 */
body.light-mode {
  --brand-dark: #f6f8fa;
  --brand-deep: #ffffff;
  --brand-deeper: #eaeef2;
  --brand-text: #1f2328;
  --brand-text-muted: #57606a;
  --brand-text-subtle: #8c959f;
  --brand-border: #d0d7de;
  --brand-border-light: #e1e4e8;
  --brand-card: #ffffff;
  --brand-card-hover: #f6f8fa;
  --brand-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --brand-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --brand-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --brand-shadow-accent: 0 4px 16px rgba(255, 107, 107, 0.25);
  --brand-shadow-accent-lg: 0 8px 28px rgba(255, 107, 107, 0.35);

  --gradient-dark: linear-gradient(180deg, #f6f8fa 0%, #ffffff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f6f8fa 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);

  --glass-bg: rgba(246, 248, 250, 0.78);
  --glass-border: rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   2. HTML与Body基础
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--brand-dark);
  color: var(--brand-text);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 背景装饰光晕 */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-slow);
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 219, 251, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-slow);
}

body.light-mode::before {
  background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, transparent 70%);
}

body.light-mode::after {
  background: radial-gradient(circle, rgba(72, 219, 251, 0.05) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   3. 链接与基础元素
   -------------------------------------------------------------------------- */
a {
  color: var(--brand-accent3);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: rgba(255, 107, 107, 0.3);
  color: var(--brand-text);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-border);
  border-radius: 5px;
  border: 2px solid var(--brand-dark);
}

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

/* --------------------------------------------------------------------------
   4. 容器
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   5. 吸顶导航 - 毛玻璃效果
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  height: var(--header-height);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header:hover {
  box-shadow: var(--brand-shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-text);
  white-space: nowrap;
  transition: transform var(--transition-bounce);
  flex-shrink: 0;
}

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

.logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform var(--transition-bounce), filter var(--transition-base);
}

.logo:hover svg {
  transform: rotate(-5deg) scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.5));
}

.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--brand-text-muted);
  font-size: 0.925rem;
  padding: 6px 12px;
  border-radius: var(--brand-radius-xs);
  transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);
  white-space: nowrap;
  position: relative;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.main-nav a:hover,
.main-nav a.active {
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--brand-accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background-color: var(--brand-deep);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm);
  padding: 0 10px;
  height: 38px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.search-box:focus-within {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
  background-color: var(--brand-card);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--brand-text);
  font-size: 0.875rem;
  width: 150px;
  padding: 0 6px;
  transition: width var(--transition-base);
}

.search-box input:focus {
  width: 180px;
}

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

.search-box button {
  color: var(--brand-text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition-base), transform var(--transition-fast);
}

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

/* 主题切换按钮 */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--brand-radius-sm);
  border: 1px solid var(--brand-border);
  background-color: var(--brand-deep);
  color: var(--brand-text-muted);
  transition: border-color var(--transition-base), color var(--transition-base), transform var(--transition-bounce), box-shadow var(--transition-base);
}

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

.theme-toggle:active {
  transform: rotate(20deg) scale(0.95);
}

/* 移动菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--brand-radius-sm);
  border: 1px solid var(--brand-border);
  background-color: var(--brand-deep);
  color: var(--brand-text-muted);
  transition: border-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);
}

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

.mobile-menu-btn:active {
  transform: scale(0.92);
}

/* --------------------------------------------------------------------------
   6. 移动导航
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--brand-shadow);
  animation: slideDown 0.3s ease;
}

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

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

.mobile-nav a {
  color: var(--brand-text-muted);
  padding: 10px 12px;
  border-radius: var(--brand-radius-xs);
  font-size: 0.95rem;
  transition: background-color var(--transition-base), color var(--transition-base), padding-left var(--transition-base);
  font-weight: 500;
}

.mobile-nav a:hover {
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--brand-accent);
  padding-left: 18px;
}

/* --------------------------------------------------------------------------
   7. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  border-bottom: 1px solid var(--brand-border);
  position: relative;
  z-index: 1;
}

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

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--brand-text-subtle);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand-text-muted);
  transition: color var(--transition-base);
}

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

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

/* --------------------------------------------------------------------------
   8. Hero Banner 轮播 - 渐变背景
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-border);
}

.hero-slider {
  position: relative;
  height: 480px;
  background-color: var(--brand-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* 渐变遮罩层 */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.2) 0%, rgba(13, 17, 23, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

body.light-mode .hero-slide::after {
  background: linear-gradient(180deg, rgba(246, 248, 250, 0.1) 0%, rgba(246, 248, 250, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  margin: 0 auto;
  animation: heroFadeIn 0.8s ease both;
}

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

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #feca57 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: -0.02em;
}

.hero-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #48dbfb 60%, #a29bfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 107, 0.18);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #feca57;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--brand-radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--brand-radius-full);
  font-size: 1rem;
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
  box-shadow: var(--brand-shadow-accent);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--brand-shadow-accent-lg);
  color: #fff;
}

.hero-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-cta svg {
  transition: transform var(--transition-base);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background var(--transition-base), transform var(--transition-bounce), width var(--transition-base);
  border: none;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot.active {
  background: var(--brand-accent);
  transform: scale(1.3);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(255, 107, 107, 0.6);
}

/* --------------------------------------------------------------------------
   9. 通用区块
   -------------------------------------------------------------------------- */
.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--brand-border);
  position: relative;
  z-index: 1;
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-text);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-header p {
  color: var(--brand-text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.section-header .accent-line {
  width: 56px;
  height: 3px;
  background: var(--gradient-secondary);
  margin: 16px auto 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.section-header .accent-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: lineShine 2.5s ease infinite;
}

@keyframes lineShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   10. 卡片网格系统
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* --------------------------------------------------------------------------
   11. 通用卡片 - 圆角+毛玻璃
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--brand-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 28px 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow);
  border-color: rgba(255, 107, 107, 0.3);
  background-color: var(--brand-card-hover);
}

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

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-text);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.card p {
  color: var(--brand-text-muted);
  font-size: 0.925rem;
  line-height: 1.75;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--brand-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  margin-bottom: 16px;
  color: var(--brand-accent);
  transition: transform var(--transition-bounce), background-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(255, 107, 107, 0.18);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

/* 卡片内链接列表 */
.card ul li {
  margin-bottom: 8px;
}

.card ul li a {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-base), padding-left var(--transition-base);
  display: inline-block;
}

.card ul li a:hover {
  color: var(--brand-accent);
  padding-left: 6px;
}

/* --------------------------------------------------------------------------
   12. 数据统计
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 20px 12px;
  border-radius: var(--brand-radius);
  transition: transform var(--transition-base), background-color var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 107, 107, 0.04);
}

.stat-item .stat-number {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

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

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

.article-card {
  background-color: var(--brand-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-tertiary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow);
  border-color: rgba(72, 219, 251, 0.3);
}

.article-card:hover::after {
  transform: scaleY(1);
}

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

.article-card .article-meta .tag {
  background: rgba(72, 219, 251, 0.1);
  color: var(--brand-accent3);
  padding: 3px 12px;
  border-radius: var(--brand-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.article-card:hover .article-meta .tag {
  background: rgba(72, 219, 251, 0.18);
  transform: scale(1.05);
}

.article-card .article-meta time {
  font-variant-numeric: tabular-nums;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.45;
}

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

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

.article-card p {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 14px;
}

.article-card .read-more {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap var(--transition-base), color var(--transition-base);
}

.article-card .read-more:hover {
  gap: 10px;
  color: var(--brand-accent-hover);
}

/* --------------------------------------------------------------------------
   14. FAQ 折叠
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--brand-border);
  transition: background-color var(--transition-base);
}

.faq-item:first-child {
  border-top: 1px solid var(--brand-border);
}

.faq-item:hover {
  background-color: rgba(255, 107, 107, 0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 8px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-text);
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.faq-question:hover {
  color: var(--brand-accent);
  padding-left: 12px;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.1);
  color: var(--brand-accent);
  font-size: 1.1rem;
  transition: transform var(--transition-bounce), background-color var(--transition-base);
  line-height: 1;
}

.faq-question:hover .faq-icon {
  background: rgba(255, 107, 107, 0.2);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease, opacity 0.35s ease;
  padding: 0 8px;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 8px 22px;
  opacity: 1;
}

.faq-answer p {
  color: var(--brand-text-muted);
  font-size: 0.925rem;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   15. HowTo 步骤
   -------------------------------------------------------------------------- */
.howto-steps {
  max-width: 800px;
  margin: 0 auto;
  counter-reset: step;
}

.howto-step {
  position: relative;
  padding: 0 0 32px 56px;
  border-left: 2px solid var(--brand-border);
  margin-left: 16px;
  transition: border-color var(--transition-base);
}

.howto-step:hover {
  border-left-color: var(--brand-accent);
}

.howto-step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -17px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--brand-dark);
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
  z-index: 1;
}

.howto-step:hover::before {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px var(--brand-dark), 0 0 20px rgba(255, 107, 107, 0.4);
}

.howto-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-text);
  transition: color var(--transition-base);
}

.howto-step:hover h4 {
  color: var(--brand-accent);
}

.howto-step p {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   16. 团队介绍
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-member {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--brand-radius);
  border: 1px solid transparent;
  transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.team-member:hover {
  transform: translateY(-6px);
  background-color: var(--brand-card);
  border-color: var(--brand-border);
  box-shadow: var(--brand-shadow);
}

.team-member .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--gradient-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
  box-shadow: 0 4px 16px rgba(72, 219, 251, 0.25);
}

.team-member:hover .avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 28px rgba(72, 219, 251, 0.4);
}

.team-member h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--brand-text);
}

.team-member p {
  color: var(--brand-text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. 客户评价
   -------------------------------------------------------------------------- */
.testimonial-card {
  background-color: var(--brand-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 107, 107, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  transition: color var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow);
  border-color: rgba(254, 202, 87, 0.3);
}

.testimonial-card:hover::before {
  color: rgba(255, 107, 107, 0.25);
  transform: scale(1.1);
}

.testimonial-card p {
  color: var(--brand-text-muted);
  font-size: 0.925rem;
  line-height: 1.85;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

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

.testimonial-author .author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
}

.testimonial-author .author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-text);
  font-weight: 600;
}

.testimonial-author .author-info span {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
}

/* --------------------------------------------------------------------------
   18. 联系方式
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 20px;
  background-color: var(--brand-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow);
  border-color: rgba(72, 219, 251, 0.3);
}

.contact-item .contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--brand-radius-sm);
  background: rgba(72, 219, 251, 0.1);
  color: var(--brand-accent3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce), background-color var(--transition-base);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(72, 219, 251, 0.2);
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--brand-text);
}

.contact-item p {
  color: var(--brand-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   19. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-deep);
  background-image: var(--gradient-dark);
  border-top: 1px solid var(--brand-border);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}

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

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--brand-text);
  position: relative;
  padding-bottom: 8px;
}

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

.footer-col p,
.footer-col a {
  color: var(--brand-text-muted);
  font-size: 0.875rem;
  line-height: 1.85;
}

.footer-col a {
  transition: color var(--transition-base), padding-left var(--transition-base);
  display: inline-block;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

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

.footer-bottom a {
  color: var(--brand-text-muted);
  transition: color var(--transition-base);
}

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

/* --------------------------------------------------------------------------
   20. 返回顶部按钮
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--brand-shadow-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-bounce), box-shadow var(--transition-base);
  z-index: 900;
}

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

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

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

.back-to-top svg {
  transition: transform var(--transition-base);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   21. 滚动动画
   -------------------------------------------------------------------------- */
.fade-in {
  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-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟动画 */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   22. 懒加载占位
   -------------------------------------------------------------------------- */
.lazy-img {
  background: linear-gradient(
    90deg,
    var(--brand-card) 25%,
    rgba(255, 255, 255, 0.04) 50%,
    var(--brand-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lazy-img.loaded {
  animation: none;
  background: none;
}

/* --------------------------------------------------------------------------
   23. 亮色模式特殊处理
   -------------------------------------------------------------------------- */
body.light-mode .hero-content h1 {
  background: linear-gradient(135deg, #0d1117 0%, #ee5a24 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-content h2 {
  background: linear-gradient(135deg, #0d1117 0%, #0984e3 60%, #6c5ce7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-content p {
  color: rgba(13, 17, 23, 0.75);
}

body.light-mode .hero-badge {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ee5a24;
}

body.light-mode .hero-dot {
  background: rgba(13, 17, 23, 0.2);
}

body.light-mode .hero-dot.active {
  background: var(--brand-accent);
}

body.light-mode .site-header {
  background-color: var(--glass-bg);
}

body.light-mode .mobile-nav {
  background-color: var(--glass-bg);
}

body.light-mode .card {
  background-image: none;
}

body.light-mode .article-card {
  background-image: none;
}

body.light-mode .testimonial-card {
  background-image: none;
}

body.light-mode .contact-item {
  background-image: none;
}

body.light-mode .site-footer {
  background-image: none;
}

body.light-mode .howto-step::before {
  box-shadow: 0 0 0 4px var(--brand-dark);
}

body.light-mode .howto-step:hover::before {
  box-shadow: 0 0 0 4px var(--brand-dark), 0 0 20px rgba(255, 107, 107, 0.3);
}

body.light-mode ::-webkit-scrollbar-track {
  background: #f6f8fa;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: #d0d7de;
  border-color: #f6f8fa;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: #8c959f;
}

/* --------------------------------------------------------------------------
   24. 锚点偏移
   -------------------------------------------------------------------------- */
[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* --------------------------------------------------------------------------
   25. 响应式布局
   -------------------------------------------------------------------------- */

/* 平板 - 900px */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

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

  .search-box {
    display: none;
  }

  .hero-slider {
    height: 400px;
  }

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

/* 手机横屏 - 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --container-padding: 16px;
  }

  .hero-slider {
    height: 380px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 18px;
  }

  .card {
    padding: 24px 20px;
  }

  .article-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .contact-item {
    padding: 18px 16px;
  }

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

/* 手机竖屏 - 480px */
@media (max-width: 480px) {
  :root {
    --header-height: 56px;
    --container-padding: 14px;
    --brand-radius: 14px;
    --brand-radius-sm: 8px;
  }

  html {
    font-size: 15px;
  }

  .header-inner {
    gap: 10px;
  }

  .logo {
    font-size: 1.05rem;
    gap: 8px;
  }

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

  .hero-slider {
    height: 340px;
  }

  .hero-content {
    padding: 0 18px;
  }

  .hero-content h1 {
    font-size: 1.55rem;
    margin-bottom: 12px;
  }

  .hero-content h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .hero-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .hero-dots {
    bottom: 14px;
    gap: 8px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active {
    width: 22px;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 22px 18px;
  }

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

  .card p {
    font-size: 0.875rem;
  }

  .card-icon {
    width: 42px;
    height: 42px;
  }

  .article-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-card {
    padding: 18px;
  }

  .article-card h3 {
    font-size: 0.98rem;
  }

  .article-card p {
    font-size: 0.85rem;
  }

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

  .stat-item .stat-number {
    font-size: 1.6rem;
  }

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

  .faq-question {
    font-size: 0.92rem;
    padding: 16px 4px;
    gap: 12px;
  }

  .faq-answer p {
    font-size: 0.875rem;
  }

  .howto-step {
    padding: 0 0 28px 48px;
    margin-left: 12px;
  }

  .howto-step::before {
    width: 30px;
    height: 30px;
    left: -15px;
    font-size: 0.78rem;
  }

  .howto-step h4 {
    font-size: 0.95rem;
  }

  .howto-step p {
    font-size: 0.85rem;
  }

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

  .team-member {
    padding: 20px 12px;
  }

  .team-member .avatar {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .team-member h4 {
    font-size: 0.92rem;
  }

  .team-member p {
    font-size: 0.78rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .contact-item .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-item h4 {
    font-size: 0.9rem;
  }

  .contact-item p {
    font-size: 0.82rem;
  }

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

  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.82rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 0.75rem;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .breadcrumb {
    font-size: 0.78rem;
    padding: 10px 0;
  }

  .mobile-nav {
    padding: 12px 14px;
  }

  .mobile-nav a {
    padding: 9px 10px;
    font-size: 0.9rem;
  }
}

/* 超小屏幕 - 360px */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.35rem;
  }

  .hero-content h2 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

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

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

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

  .hero-slide {
    transition: none;
  }
}

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

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

  body::before,
  body::after {
    display: none;
  }

  .section {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
  }

  .card,
  .article-card,
  .testimonial-card,
  .contact-item {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  .howto-step::before {
    background: #333 !important;
    box-shadow: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .hero-slider {
    height: auto;
    min-height: 200px;
  }

  .hero-slide {
    position: relative;
    opacity: 1;
    display: none;
  }

  .hero-slide.active {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   28. 高对比度模式支持
   -------------------------------------------------------------------------- */
@media (prefers-contrast: high) {
  :root {
    --brand-border: #555;
    --brand-text-muted: #aaa;
  }

  .card {
    border-width: 2px;
  }

  .main-nav a.active {
    background-color: var(--brand-accent);
    color: #fff;
  }
}

/* --------------------------------------------------------------------------
   29. 工具类
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* --------------------------------------------------------------------------
   30. 键盘导航焦点增强
   -------------------------------------------------------------------------- */
:focus:not(:focus-visible) {
  outline: none;
}

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

/* --------------------------------------------------------------------------
   31. 选中文本样式
   -------------------------------------------------------------------------- */
::selection {
  background-color: rgba(255, 107, 107, 0.3);
  color: var(--brand-text);
}

::-moz-selection {
  background-color: rgba(255, 107, 107, 0.3);
  color: var(--brand-text);
}

/* --------------------------------------------------------------------------
   32. 平滑滚动优化
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* --------------------------------------------------------------------------
   33. 触摸设备优化
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .card:hover,
  .article-card:hover,
  .testimonial-card:hover,
  .contact-item:hover,
  .team-member:hover {
    transform: none;
  }

  .card:active,
  .article-card:active,
  .testimonial-card:active,
  .contact-item:active {
    transform: scale(0.98);
  }

  .hero-cta:hover {
    transform: none;
  }

  .hero-cta:active {
    transform: scale(0.97);
  }
}

/* --------------------------------------------------------------------------
   34. 加载状态
   -------------------------------------------------------------------------- */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--brand-border);
  border-top-color: var(--brand-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   35. 空状态
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--brand-text-muted);
}

.empty-state svg {
  margin: 0 auto 16px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   36. 分隔线
   -------------------------------------------------------------------------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-border), transparent);
  margin: 32px 0;
  border: none;
}

/* --------------------------------------------------------------------------
   37. 徽章
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--brand-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 107, 107, 0.1);
  color: var(--brand-accent);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.badge.success {
  background: rgba(72, 219, 251, 0.1);
  color: var(--brand-accent3);
  border-color: rgba(72, 219, 251, 0.2);
}

.badge.warning {
  background: rgba(254, 202, 87, 0.1);
  color: var(--brand-accent2);
  border-color: rgba(254, 202, 87, 0.2);
}

/* --------------------------------------------------------------------------
   38. 进度条
   -------------------------------------------------------------------------- */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--brand-border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar .progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-slow);
}

/* --------------------------------------------------------------------------
   39. 标签云
   -------------------------------------------------------------------------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud .tag-item {
  padding: 6px 14px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  color: var(--brand-text-muted);
  font-size: 0.85rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tag-cloud .tag-item:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   40. 最终优化 - 防止布局偏移
   -------------------------------------------------------------------------- */
img {
  content-visibility: auto;
}

.hero-slider {
  contain: layout style paint;
}

.card,
.article-card,
.testimonial-card {
  contain: layout style;
}

/* 平滑字体渲染 */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 防止长文本溢出 */
.card p,
.article-card p,
.testimonial-card p,
.faq-answer p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* 表格响应式 */
table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--brand-border);
}

table th {
  font-weight: 600;
  color: var(--brand-text);
}

table td {
  color: var(--brand-text-muted);
}

/* 代码块 */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 2px 6px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 4px;
  color: var(--brand-accent);
}

pre {
  background: var(--brand-deeper);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

pre code {
  background: none;
  padding: 0;
  color: var(--brand-text);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   结束
   -------------------------------------------------------------------------- */
```