/* ===== 设计系统变量（浅色商务风 - 原版复刻） ===== */
:root {
  /* 背景色 */
  --background: #FFFFFF;
  --background-secondary: #F8FAFC;
  --background-card: #FFFFFF;
  --background-elevated: #F1F5F9;

  /* 主色 - 深蓝 */
  --primary: #1E40AF;
  --primary-light: #3B82F6;
  --primary-dark: #1E3A8A;
  --primary-foreground: #FFFFFF;

  /* 强调色 - 金色 */
  --accent: #D97706;
  --accent-light: #F59E0B;
  --accent-dark: #B45309;

  /* 语义色 */
  --success: #059669;
  --warning: #D97706;
  --error: #DC2626;
  --info: #0891B2;

  /* 文字色 */
  --foreground: #0F172A;
  --foreground-secondary: #475569;
  --foreground-muted: #94A3B8;

  /* 边框 */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-primary: rgba(30, 64, 175, 0.2);

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 10px 30px rgba(30, 64, 175, 0.1), 0 0 0 1px rgba(30, 64, 175, 0.08);
  --shadow-glow: 0 0 40px rgba(30, 64, 175, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* 全局背景光晕 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 90, 135, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(180, 83, 9, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ===== 工具类 ===== */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.container-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container-page {
    padding: 0 32px;
  }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--foreground-muted);
}

::selection {
  background-color: var(--primary);
  color: white;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground-secondary);
  border-color: transparent;
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.06);
}

.btn-secondary {
  background: var(--background-elevated);
  color: var(--foreground-secondary);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--border-light);
}

.btn-outline {
  background: white;
  color: var(--foreground-secondary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 8px 0;
  font-weight: 500;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* ===== 徽标 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.badge-primary {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: var(--background-elevated);
  color: var(--foreground-secondary);
}

.badge-accent {
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
}

.badge-success {
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground-secondary);
}

/* ===== 头部导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--foreground-secondary);
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.06);
}

.nav a.active {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.08);
}

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

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 112px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-glow-primary {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-bg-glow-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--foreground-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 16px;
  }
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  color: var(--foreground-secondary);
}

.hero-highlight::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.stat-card {
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 30px;
  }
}

.stat-label {
  font-size: 12px;
  color: var(--foreground-muted);
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(248, 250, 252, 0.5);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-desc {
  font-size: 15px;
  color: var(--foreground-secondary);
}

.section-header .btn {
  display: none;
}

@media (min-width: 640px) {
  .section-header .btn {
    display: inline-flex;
  }
}

/* ===== 服务卡片 ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.7;
}

/* ===== 下载卡片 ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.download-card {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.download-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--background-secondary);
}

.download-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
}

.download-cover-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.7;
}

.download-card:hover .download-cover-bg {
  transform: scale(1.05);
}

.download-cover-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  display: flex;
  gap: 6px;
}

.download-cover-type {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
}

.download-body {
  padding: 20px;
}

.download-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.download-card:hover h3 {
  color: var(--primary);
}

.download-desc {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 44px;
}

.download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--foreground-muted);
}

.download-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  transition: transform 0.2s;
  font-weight: 500;
}

.download-card:hover .download-link {
  transform: translateX(4px);
}

/* ===== 文章网格 ===== */
.articles-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .articles-feature-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.article-featured {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .article-featured {
    grid-row: span 2;
  }
}

.article-featured:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.article-featured-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--background-secondary);
}

.article-featured-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
}

.article-featured-cover-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 4px;
  transition: transform 0.5s ease;
}

.article-featured:hover .article-featured-cover-bg {
  transform: scale(1.05);
}

.article-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
}

.article-featured-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-featured-body .badge {
  width: fit-content;
  margin-bottom: 12px;
  font-size: 12px;
}

.article-featured-body h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.article-featured:hover h2 {
  color: var(--primary);
}

.article-featured-body p {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.article-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--foreground-muted);
}

/* 右侧文章列表 */
.article-side-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-side-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-side-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.article-side-cover {
  display: none;
  width: 144px;
  height: 96px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--background-secondary);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .article-side-cover {
    display: flex;
  }
}

.article-side-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.article-date {
  font-size: 12px;
  color: var(--foreground-muted);
}

.article-side-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.article-side-item:hover h3 {
  color: var(--primary);
}

.article-side-body p {
  font-size: 13px;
  color: var(--foreground-secondary);
  line-height: 1.6;
  display: none;
}

@media (min-width: 768px) {
  .article-side-body p {
    display: block;
  }
}

.article-side-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--foreground-muted);
  margin-top: 8px;
}

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

.article-side-meta .read-link {
  color: var(--primary);
  font-weight: 500;
  transition: transform 0.2s;
}

.article-side-item:hover .read-link {
  transform: translateX(2px);
}

/* 移动端查看更多 */
.mobile-view-all {
  margin-top: 32px;
  text-align: center;
}

@media (min-width: 640px) {
  .mobile-view-all {
    display: none;
  }
}

/* ===== 视频网格 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.video-card {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.video-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--background-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cover-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.play-icon {
  position: relative;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  transition: all 0.3s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.1);
  background: white;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.video-body {
  padding: 14px 16px 18px;
}

.video-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.video-card:hover h3 {
  color: var(--primary);
}

.video-views {
  font-size: 12px;
  color: var(--foreground-muted);
}

/* ===== 专题网格 ===== */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-card {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.topic-cover {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.topic-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.topic-count {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 10;
  font-size: 13px;
  font-weight: 500;
  color: white;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.topic-body {
  padding: 20px;
}

.topic-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.topic-card:hover h3 {
  color: var(--primary);
}

.topic-body p {
  font-size: 14px;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 32px;
  }
}

.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  background: white;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 56px 0 24px;
}

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

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #64748B;
  margin-bottom: 14px;
}

.footer h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: #94A3B8;
  font-size: 14px;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* ===== 页面Header ===== */
.page-header {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(30, 64, 175, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .badge {
  margin-bottom: 12px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 12px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .page-header h1 { font-size: 40px; }
}

.page-header p {
  font-size: 15px;
  color: var(--foreground-secondary);
  position: relative;
  z-index: 2;
}

/* ===== 列表页布局 ===== */
.list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .list-layout {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
}

.list-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.list-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.list-stat-icon {
  font-size: 24px;
}

.list-stat-num {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.list-stat-label {
  font-size: 12px;
  color: var(--foreground-muted);
  margin-top: 2px;
}

/* 侧边栏 */
.sidebar {
  display: none;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
  }
}

.sidebar-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--foreground);
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hot-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.hot-item:hover {
  background: var(--background-secondary);
}

.hot-num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--background-elevated);
  color: var(--foreground-muted);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hot-num-1 {
  background: #FEF3C7;
  color: #D97706;
}
.hot-num-2 {
  background: #E0E7FF;
  color: #4F46E5;
}
.hot-num-3 {
  background: #FEE2E2;
  color: #DC2626;
}

.hot-title {
  font-size: 13px;
  color: var(--foreground-secondary);
  line-height: 1.5;
}

.hot-item:hover .hot-title {
  color: var(--primary);
}

.hot-views {
  font-size: 11px;
  color: var(--foreground-muted);
  white-space: nowrap;
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.08));
  border-color: var(--border-primary);
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--foreground);
}

.sidebar-cta p {
  font-size: 13px;
  color: var(--foreground-secondary);
  line-height: 1.6;
}

/* ===== 筛选栏 ===== */
.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
}

.filter-item {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--foreground-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-item:hover {
  color: var(--primary);
  background: white;
}

.filter-item.active {
  background: white;
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--foreground-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.pagination button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 文章详情 ===== */
.article-detail {
  padding: 32px 0 60px;
  position: relative;
  z-index: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr 260px;
    gap: 48px;
  }
}

.detail-main {
  min-width: 0;
}

.detail-sidebar {
  display: none;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .detail-sidebar {
    display: flex;
  }
}

.toc-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.toc-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--foreground);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--foreground-secondary);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  line-height: 1.5;
}

.toc-list li a:hover {
  background: var(--background-secondary);
  color: var(--primary);
}

.toc-info-card {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(217, 119, 6, 0.06));
  border-color: var(--border-light);
}

.breadcrumb {
  font-size: 13px;
  color: var(--foreground-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

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

.breadcrumb .sep {
  color: var(--border);
}

.article-detail-header {
  margin-bottom: 28px;
}

.article-detail-header h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin: 12px 0 16px;
}

@media (min-width: 768px) {
  .article-detail-header h1 { font-size: 32px; }
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--foreground-muted);
  flex-wrap: wrap;
}

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

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.article-detail-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 6px;
  position: relative;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--foreground-secondary);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--foreground);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content strong {
  color: var(--foreground);
  font-weight: 600;
}

.article-content a {
  color: var(--primary);
  border-bottom: 1px solid rgba(30, 64, 175, 0.2);
}

.article-content ul,
.article-content ol {
  margin: 14px 0 14px 24px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.article-content code {
  padding: 2px 6px;
  background: var(--background-elevated);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  color: #DC2626;
}

.article-content pre {
  background: #1E293B;
  color: #E2E8F0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.article-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(30, 64, 175, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--foreground-secondary);
}

.article-content blockquote p {
  margin: 0;
  font-size: 14px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content th {
  background: var(--background-secondary);
  font-weight: 600;
  color: var(--foreground);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.tag-item {
  padding: 4px 12px;
  background: var(--background-secondary);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--foreground-secondary);
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}

.action-group {
  display: flex;
  gap: 10px;
}

.related-posts {
  margin-top: 40px;
}

.related-posts h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.related-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.related-item-cover {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.related-item-body {
  padding: 12px 14px 16px;
}

.related-item-body h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--foreground-secondary);
}

.related-item:hover h4 {
  color: var(--primary);
}

/* ===== 定制页 ===== */
.custom-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.custom-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.custom-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .custom-hero h1 { font-size: 42px; }
}

.custom-hero p {
  font-size: 16px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step {
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-primary);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 14px;
}

.step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: var(--foreground-muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.service-card {
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--border-light);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: var(--primary);
  position: relative;
  box-shadow: var(--shadow-card-hover);
}

@media (min-width: 768px) {
  .service-card.featured {
    transform: scale(1.04);
    z-index: 10;
  }
}

.service-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 24px;
}

.price small {
  font-size: 14px;
  color: var(--foreground-muted);
  font-weight: 400;
  margin-left: 2px;
}

.service-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}

.service-card ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--foreground-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 关于页 ===== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.about-stat {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.about-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-primary);
}

.about-stat .num {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.about-stat .label {
  font-size: 14px;
  color: var(--foreground-secondary);
}

/* ===== 联系页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--foreground-secondary);
}

.contact-form {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== 移动端底部导航 ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 1000;
}

.mobile-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px;
  font-size: 11px;
  color: var(--foreground-secondary);
  text-decoration: none;
  gap: 3px;
  transition: color 0.2s;
}

.mobile-nav-item .icon {
  font-size: 20px;
}

.mobile-nav-item.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 60px; }

  /* 导航 */
  .nav-desktop { display: none !important; }
  .nav { display: none !important; }

  /* 容器和间距 */
  .container-page { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Hero */
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero p { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-tags { flex-wrap: wrap; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 11px; }

  /* 区块标题 */
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; }

  /* 卡片网格 */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .articles-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-side-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .article-side-item { flex-direction: column; }
  .article-side-cover { width: 100%; height: 100px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .topics-grid { grid-template-columns: 1fr; gap: 16px; }

  /* 页面头 */
  .page-header { padding: 60px 0 32px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 14px; }

  /* 文章列表页 */
  .list-layout { grid-template-columns: 1fr; }
  .list-sidebar { display: none; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding: 8px 12px; gap: 8px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-item { flex-shrink: 0; padding: 6px 14px; font-size: 13px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-card { padding: 14px 12px; }
  .stat-card .num { font-size: 18px; }
  .stat-card .label { font-size: 11px; }

  /* 列表页文章卡片 */
  .article-side-item { padding: 12px; gap: 12px; }
  .article-side-item h3 { font-size: 14px; }
  .article-side-meta { font-size: 11px; }

  /* 详情页 */
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { display: none; }
  .article-detail-cover { height: 200px; border-radius: var(--radius-xl); }
  .article-content h1 { font-size: 22px; }
  .article-content h2 { font-size: 18px; }
  .article-content h3 { font-size: 16px; }
  .article-content p { font-size: 15px; line-height: 1.8; }
  .article-content img { margin: 16px 0; border-radius: var(--radius-lg); }

  /* 面包屑 */
  .breadcrumb { font-size: 12px; padding: 12px 0; }

  /* 标签 */
  .tag-cloud a { padding: 6px 12px; font-size: 12px; }

  /* 相关文章 */
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .related-item-cover { height: 140px; }

  /* 定制页 */
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tech-item { padding: 14px 8px; }
  .tech-name { font-size: 14px; }
  .tech-desc { font-size: 11px; }

  /* 关于页 */
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-stat { padding: 16px; }
  .about-stat .num { font-size: 24px; }

  /* CTA */
  .cta-section h2 { font-size: 22px; }
  .cta-section p { font-size: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* 亮点标签 */
  .highlight-tags { justify-content: center; }
}

/* ===== 技术栈 ===== */
.tech-item {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.tech-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.tech-desc {
  font-size: 12px;
  color: var(--foreground-muted);
}

/* ===== FAQ ===== */
.faq-item {
  padding: 20px 24px;
  margin-bottom: 12px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.faq-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--foreground);
}

.faq-item p {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.7;
}

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--border));
}

.tl-item {
  position: relative;
  padding-bottom: 32px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--background);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.tl-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.tl-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--foreground);
}

.tl-content p {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.7;
}

/* ===== 真实封面图片 ===== */
.article-side-cover img,
.article-featured-cover img,
.download-cover img,
.video-cover img,
.topic-cover img,
.related-item-cover img,
.article-detail-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: inherit;
}

.video-cover .play-icon,
.video-cover .video-duration {
  z-index: 3;
}

.topic-cover .topic-count {
  position: relative;
  z-index: 3;
}

.article-featured-badge {
  z-index: 3;
}

.download-cover-tags,
.download-cover-type {
  z-index: 3;
}

/* ===== 列表页 - 文章卡片（左图右文） ===== */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.post-card {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.post-card-cover {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-cover img {
  transform: scale(1.05);
}

.post-card-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-card-cat {
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 12px;
}

.post-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.post-card:hover .post-card-title {
  color: var(--primary);
}

.post-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--foreground-secondary);
  margin-bottom: auto;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--foreground-muted);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-weight: 500;
  color: var(--foreground-secondary);
}

/* ===== 列表页 - 下载卡片（网格） ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.download-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.download-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.download-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.download-card:hover .download-card-cover img {
  transform: scale(1.05);
}

.download-card-cover-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.download-card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.download-card-price {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.download-card-body {
  padding: 18px;
}

.download-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.download-card:hover .download-card-title {
  color: var(--primary);
}

.download-card-desc {
  font-size: 13px;
  color: var(--foreground-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.download-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--foreground-muted);
}

.download-card-stats {
  display: flex;
  gap: 12px;
}

.download-card-link {
  color: var(--primary);
  font-weight: 500;
}

/* ===== 列表页 - 视频卡片（网格） ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.video-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.video-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card-cover img {
  transform: scale(1.05);
}

.video-card-cover-bg {
  position: absolute;
  inset: 0;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-play-btn span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.video-card:hover .video-play-btn span {
  transform: scale(1.1);
  background: var(--primary);
  color: white;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  z-index: 2;
}

.video-card-body {
  padding: 16px 18px 18px;
}

.video-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.video-card:hover .video-card-title {
  color: var(--primary);
}

.video-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--foreground-muted);
}

/* ===== 专题列表 ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.topic-card-lg {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-card-lg:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.topic-card-lg-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.topic-card-lg-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.topic-card-lg:hover .topic-card-lg-cover img {
  transform: scale(1.05);
}

.topic-card-lg-cover-bg {
  position: absolute;
  inset: 0;
}

.topic-card-lg-count {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 2;
  color: white;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.topic-card-lg-body {
  padding: 20px 24px 24px;
}

.topic-card-lg-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.topic-card-lg:hover .topic-card-lg-title {
  color: var(--primary);
}

.topic-card-lg-desc {
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.7;
}


/* ===== 文章列表 - 3列卡片网格 ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.post-card-grid {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.post-card-grid:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.post-card-grid-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card-grid-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card-grid:hover .post-card-grid-cover img {
  transform: scale(1.06);
}

.post-card-grid-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.post-card-grid-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.post-card-grid-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-grid-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.post-card-grid:hover .post-card-grid-title {
  color: var(--primary);
}

.post-card-grid-excerpt {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--foreground-secondary);
  margin-bottom: auto;
}

.post-card-grid-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--foreground-muted);
}

.post-card-grid-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== 下载列表 - 3列卡片（精致封面） ===== */
.download-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.download-card-3 {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.download-card-3:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.download-card-3-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.download-card-3-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.download-card-3:hover .download-card-3-cover img {
  transform: scale(1.06);
}

.download-cover-design {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.download-cover-design::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}

.download-cover-design::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -40px;
  left: -40px;
}

.download-cover-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.download-cover-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.download-cover-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
}

.download-card-3-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.download-card-3-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.download-card-3:hover .download-card-3-title {
  color: var(--primary);
}

.download-card-3-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--foreground-secondary);
  margin-bottom: auto;
}

.download-card-3-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--foreground-muted);
}

.download-card-3-stats {
  display: flex;
  gap: 14px;
}

/* ===== 视频列表 - 3列卡片（精致封面） ===== */
.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.video-card-3 {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.video-card-3:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.video-card-3-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-card-3-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card-3:hover .video-card-3-cover img {
  transform: scale(1.06);
}

.video-cover-design {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-cover-design::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.video-play-circle {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  padding-left: 4px;
  transition: all 0.3s ease;
}

.video-card-3:hover .video-play-circle {
  transform: scale(1.1);
  background: var(--primary);
  color: white;
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  z-index: 3;
}

.video-card-3-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-card-3-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.video-card-3:hover .video-card-3-title {
  color: var(--primary);
}

.video-card-3-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 12.5px;
  color: var(--foreground-muted);
}

.video-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--background-secondary);
  border-radius: 6px;
  font-weight: 500;
  font-size: 11.5px;
}


/* 修复：真实图片盖住占位图 */
.post-card-grid-cover img,
.download-card-3-cover img,
.video-card-3-cover img,
.topic-card-lg-cover img {
  position: relative;
  z-index: 1;
}

.post-card-grid-cover-placeholder,
.download-cover-design,
.video-cover-design,
.topic-card-lg-cover-bg {
  z-index: 0;
}

/* 下载详情页按钮区 */
.download-action-bar {
  margin: 28px 0 36px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-50, #eff6ff) 0%, var(--accent-50, #fffbeb) 100%);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.dl-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dl-code {
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.8);
  padding: 2px 10px;
  border-radius: 6px;
}

/* ========== 下载详情页新版 ========== */

.dl-hero {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.04) 0%, transparent 100%);
  padding: 0 0 40px;
  margin-bottom: 40px;
}

.dl-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .dl-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.dl-hero-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--background-secondary);
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
}

.dl-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.dl-hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dl-info-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.dl-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-info-label {
  font-size: 12px;
  color: var(--muted);
}

.dl-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.dl-action-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.dl-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-action-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: var(--background);
}

.dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dl-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600, #1d4ed8) 100%);
  border-color: var(--primary);
  color: white;
}

.dl-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

.dl-btn-outline {
  background: var(--surface);
  color: var(--foreground);
}

.dl-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--background-secondary);
  color: var(--muted);
}

.dl-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dl-btn-outline .dl-btn-icon,
.dl-btn-disabled .dl-btn-icon {
  background: var(--background-secondary);
}

.dl-btn-info {
  flex: 1;
  min-width: 0;
}

.dl-btn-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.dl-meta-code {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
  display: block;
}

.dl-btn-outline .dl-meta-code,
.dl-btn-disabled .dl-meta-code {
  color: var(--muted);
  opacity: 1;
}

.dl-btn-arrow {
  font-size: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

.dl-btn-primary .dl-btn-arrow {
  color: white;
}

/* 相关推荐 */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.section-title-sm {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-sm::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.related-dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .related-dl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.related-dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.related-dl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-200, #bfdbfe);
}

.related-dl-cover {
  aspect-ratio: 16 / 10;
  background: var(--background-secondary);
  position: relative;
  overflow: hidden;
}

.related-dl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.related-dl-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  padding: 10px 12px 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.related-dl-meta {
  font-size: 11px;
  color: var(--muted);
  padding: 0 12px 12px;
  display: flex;
  justify-content: space-between;
}


/* ========== 下载详情页 - 左右双栏 ========== */

.dl-detail {
  padding: 24px 0 60px;
}

.dl-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-detail-header {
  margin-bottom: 28px;
}

.dl-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dl-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--foreground);
  margin: 0 0 14px;
}

.dl-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* 双栏布局 */
.dl-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .dl-layout {
    grid-template-columns: 1fr;
  }
}

/* 主内容区 */
.dl-main {
  min-width: 0;
}

.dl-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--background-secondary);
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.dl-cover-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 4px;
  z-index: 0;
}

/* 侧边栏 */
.dl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.side-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-card-title::before {
  content: "";
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* 下载卡片 */
.side-dl-card {
  border-color: var(--primary-200, #bfdbfe);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.04), var(--surface));
}

.side-dl-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: var(--background);
}

.side-dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.side-dl-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600, #1d4ed8) 100%);
  border-color: var(--primary);
  color: white;
}

.side-dl-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.side-dl-btn-outline {
  color: var(--foreground);
}

.side-dl-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--background-secondary);
  color: var(--muted);
}

.side-dl-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.side-dl-btn-outline .side-dl-icon,
.side-dl-btn-disabled .side-dl-icon {
  background: var(--background-secondary);
}

.side-dl-text {
  flex: 1;
  min-width: 0;
}

.side-dl-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

.side-dl-code {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
  display: block;
}

.side-dl-btn-outline .side-dl-code,
.side-dl-btn-disabled .side-dl-code {
  color: var(--muted);
  opacity: 1;
}

.side-dl-arrow {
  font-size: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* 资源信息表 */
.side-info-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.side-info-tbl tr {
  border-bottom: 1px dashed var(--border-light);
}

.side-info-tbl tr:last-child {
  border-bottom: none;
}

.side-info-tbl td {
  padding: 8px 0;
}

.side-info-tbl td:first-child {
  color: var(--muted);
  width: 70px;
}

.side-info-tbl td:last-child {
  color: var(--foreground);
  font-weight: 500;
  text-align: right;
}

/* 热门下载 */
.hot-dl-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hot-dl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.hot-dl-item:hover {
  background: var(--background-secondary);
}

.hot-dl-rank {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--background-secondary);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hot-dl-rank.rank-top {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.hot-dl-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-dl-num {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

/* 相关推荐 */
.rel-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.rel-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rel-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dl-title {
    font-size: 24px;
  }
}

.rel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.rel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-200, #bfdbfe);
}

.rel-card-cover {
  aspect-ratio: 16 / 10;
  background: var(--background-secondary);
  position: relative;
  overflow: hidden;
}

.rel-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.rel-card-body {
  padding: 12px 14px 14px;
}

.rel-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  margin-bottom: 8px;
}

.rel-card-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}


/* ========== 左图右文列表布局 ========== */
.list-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-item {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.list-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: #c7d2fe;
}

.list-item-cover {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  min-height: 180px;
}

.list-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.list-item:hover .list-item-cover img {
  transform: scale(1.05);
}

.list-item-cover-ph {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  z-index: 0;
}

.list-item-cover-icon {
  font-size: 56px;
}

.list-item-play {
  font-size: 48px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.list-item-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

.list-item-cover-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-glass {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(4px);
}

.list-item-body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.list-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.list-item-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
  transition: color .2s;
}

.list-item:hover .list-item-title {
  color: var(--primary-color);
}

.list-item-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.list-item-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text-secondary);
}

.author-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.list-item-more {
  margin-left: auto;
  color: var(--primary-color);
  font-weight: 500;
  transition: transform .2s;
}

.list-item:hover .list-item-more {
  transform: translateX(4px);
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .list-items {
    gap: 12px;
  }

  .list-item {
    flex-direction: row;
    border-radius: 10px;
  }

  .list-item-cover {
    width: 150px;
    min-height: auto;
  }

  .list-item-cover-ph {
    font-size: 28px;
  }

  .list-item-cover-icon {
    font-size: 32px;
  }

  .list-item-play {
    font-size: 28px;
  }

  .list-item-body {
    padding: 10px 14px;
    gap: 6px;
  }

  .list-item-title {
    font-size: 14px;
    line-height: 1.4;
    -webkit-line-clamp: 2 !important;
  }

  .list-item-desc {
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 1 !important;
  }

  .list-item-meta {
    font-size: 11px;
    gap: 8px;
  }

  .list-item-more {
    display: none;
  }

  .list-item-cover-badges {
    top: 6px;
    left: 6px;
  }

  .list-item-duration {
    right: 6px;
    bottom: 6px;
    font-size: 10px;
    padding: 1px 5px;
  }
}

@media (max-width: 380px) {
  .list-item-cover {
    width: 100px;
    min-height: 90px;
  }

  .list-item-body {
    padding: 8px 10px;
  }

  .list-item-title {
    font-size: 13px;
  }
}

/* ========== 三栏列表布局 ========== */
.list-layout-3col {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 24px;
  align-items: start;
}

.sidebar-left .sidebar-card {
  margin-bottom: 20px;
}

/* 分类导航 */
.cat-nav {
  display: flex;
  flex-direction: column;
}

.cat-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all .2s;
  margin-bottom: 2px;
}

.cat-nav a:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.cat-nav a.active {
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary-color);
  font-weight: 500;
}

.cat-nav a em {
  font-style: normal;
  opacity: .4;
  font-size: 12px;
}

.cat-nav a:hover em,
.cat-nav a.active em {
  opacity: 1;
}

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

.tag-cloud-item {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
}

.tag-cloud-item:hover {
  background: var(--primary-color);
  color: #fff;
}

/* 最新更新 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.latest-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
  text-decoration: none;
  color: inherit;
}

.latest-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-title {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color .2s;
}

.latest-item:hover .latest-title {
  color: var(--primary-color);
}

.latest-date {
  font-size: 11px;
  color: var(--muted);
}

/* 三栏响应式 */
@media (max-width: 1100px) {
  .list-layout-3col {
    grid-template-columns: 200px 1fr 250px;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .list-layout-3col {
    grid-template-columns: 1fr 260px;
  }
  .sidebar-left {
    display: none;
  }
}

@media (max-width: 640px) {
  .list-layout-3col {
    grid-template-columns: 1fr;
  }
  .sidebar-right {
    display: none;
  }
}


/* ========== v15 配色优化 ========== */
:root {
  --bg-page: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
}

body {
  background: var(--bg-page);
  color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

/* ========== v15 正文排版升级 ========== */
.article-content p,
.article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content h2 {
  position: relative;
  padding-left: 14px;
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 18px;
  color: var(--text-primary);
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), #60a5fa);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--text-primary);
}

.article-content p {
  margin: 0 0 18px;
}

.article-content img {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 12px 0;
}

/* ========== v15 彩色角标系统 ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.badge-tag-ea { background: rgba(30, 64, 175, 0.1); color: #1e40af; }
.badge-tag-tutorial { background: rgba(16, 185, 129, 0.1); color: #059669; }
.badge-tag-tip { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.badge-tag-new { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.badge-tag-video { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
.badge-tag-free { background: rgba(16, 185, 129, 0.1); color: #059669; }
.badge-tag-vip { background: rgba(245, 158, 11, 0.1); color: #d97706; }

/* 卡片角标（左上角） */
.card-corner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  gap: 4px;
}

/* ========== v15 右侧悬浮快捷栏 ========== */
.floating-bar {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-bar-item {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--text-secondary);
  position: relative;
}

.floating-bar-item:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
}

.floating-bar-item .fb-tip {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, right .2s;
}

.floating-bar-item:hover .fb-tip {
  opacity: 1;
  right: 54px;
}

.floating-bar-item .fb-tip::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #1e293b;
}

/* 微信二维码弹窗 */
.fb-wechat-qr {
  position: absolute;
  right: 54px;
  bottom: 0;
  width: 140px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  text-align: center;
}

.floating-bar-item:hover .fb-wechat-qr {
  opacity: 1;
  pointer-events: auto;
}

.fb-wechat-qr img {
  width: 116px;
  height: 116px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 6px;
}

.fb-wechat-qr p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .floating-bar {
    right: 12px;
    bottom: 70px;
    gap: 6px;
  }
  .floating-bar-item {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
  }
  .floating-bar-item .fb-tip { display: none; }
}

/* ========== v15 下载详情页 EA 参数表 ========== */
.dl-info-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.dl-info-card-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.dl-info-table {
  width: 100%;
  border-collapse: collapse;
}

.dl-info-table tr {
  border-bottom: 1px solid var(--border-color);
}

.dl-info-table tr:last-child {
  border-bottom: none;
}

.dl-info-table th {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  background: var(--bg-secondary);
  width: 90px;
  white-space: nowrap;
}

.dl-info-table td {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.dl-info-table td .val-good {
  color: #059669;
}

.dl-info-table td .val-warn {
  color: #d97706;
}

.dl-info-table td .val-badge {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(30, 64, 175, 0.1);
  color: #1e40af;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* ========== 修复移动端封面图不显示 ========== */
.list-item-cover {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.list-item-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.list-item-cover-ph {
  z-index: 0;
}

/* ========== 视频播放器 ========== */
.video-player-wrap {
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-player::-webkit-media-controls {
  background: rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .video-player-wrap {
    border-radius: 8px;
    margin-bottom: 16px;
  }
}
