/* ============================================================
   360软件管家 - 全新小清新风格系统 v2.0
   设计理念：温暖极简 · 精致留白 · 舒适阅读
   色彩：暖白基调 + 柔蓝主色 + 薄荷绿点缀
   排版：衬线标题 + 无衬线正文
   更新：2026-06-22
   ============================================================ */

/* ===== Design Tokens ===== */
:root {
  /* 主色 - 柔和蓝 */
  --primary: #5B8DEF;
  --primary-dark: #4A7AE0;
  --primary-light: #7BA5F5;
  --primary-subtle: rgba(91, 141, 239, 0.08);
  --primary-glow: rgba(91, 141, 239, 0.25);

  /* 辅色 - 薄荷绿 */
  --secondary: #6FCF97;
  --secondary-dark: #5BBF85;
  --secondary-light: #8FDCAF;
  --secondary-subtle: rgba(111, 207, 151, 0.1);

  /* 暖色点缀 */
  --warm: #FF9F6E;
  --warm-light: #FFB892;
  --warm-subtle: rgba(255, 159, 110, 0.1);

  /* 背景系统 */
  --bg-body: #F7F8FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFD;
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-footer: #1A2332;
  --bg-soft: #F0F3F8;
  --bg-warm: #FDF8F4;
  --bg-green-soft: #F2F9F5;

  /* 文字系统 */
  --text-heading: #1A2332;
  --text-body: #4A5568;
  --text-secondary: #7A8599;
  --text-muted: #A0ABC0;
  --text-white: #FFFFFF;
  --text-link: var(--primary);

  /* 边框与分割 */
  --border: #E8EDF4;
  --border-light: #F0F3F8;

  /* 阴影系统 */
  --shadow-xs: 0 1px 3px rgba(26, 35, 50, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 35, 50, 0.12);
  --shadow-xl: 0 16px 60px rgba(26, 35, 50, 0.16);
  --shadow-glow: 0 8px 32px var(--primary-glow);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* 尺寸 */
  --max-width: 1200px;
  --max-width-article: 760px;
  --header-height: 72px;
  --sidebar-width: 320px;

  /* 过渡 */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", Georgia, "Times New Roman", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica Neue, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-body);
  overflow-x: hidden;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D0D5E0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

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

/* ===== Typography System ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: 1.35;
  font-weight: 700;
}
h1 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: 0.02em; }
h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.01em; }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

p { margin-bottom: 1.2em; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header .section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Section with soft background */
.section-soft {
  background: var(--bg-soft);
}
.section-warm {
  background: var(--bg-warm);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-spring);
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(-1px);
}
.btn:hover::after {
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px var(--primary-glow);
  color: var(--text-white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--text-white);
}
.btn-secondary:hover {
  box-shadow: 0 8px 30px rgba(111, 207, 151, 0.4);
  color: var(--text-white);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-heading);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}
.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
  box-shadow: none;
}

/* ===== Tag / Badge ===== */
.tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-subtle);
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.tag:hover {
  background: var(--primary);
  color: #fff;
}

.tag-green {
  color: var(--secondary-dark);
  background: var(--secondary-subtle);
}
.tag-green:hover {
  background: var(--secondary);
  color: #fff;
}

/* ===== Section Title Decorative ===== */
.section-title-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.section-title-deco .line {
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  opacity: 0.4;
}

/* ============================================================
   HEADER - 毛玻璃导航
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 20px rgba(26, 35, 50, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-box {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #6C63FF 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.nav a:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}
.nav a.active {
  color: var(--primary);
  background: var(--primary-subtle);
  font-weight: 600;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  transition: var(--transition-spring) !important;
}
.nav-download:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(111, 207, 151, 0.4) !important;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger:hover {
  background: var(--bg-soft);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb .sep {
  margin: 0 8px;
  color: #D0D5E0;
}
.breadcrumb .current {
  color: var(--text-body);
  font-weight: 500;
}

/* ============================================================
   HERO - 全新设计（含软件模拟界面）
   ============================================================ */
.hero {
  padding-top: calc(var(--header-height) + 20px);
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F0F4FF 0%, #F7F8FA 40%, #F2F9F5 100%);
}

/* 背景装饰光晕 */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(91, 141, 239, 0.08);
  top: -200px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(111, 207, 151, 0.06);
  bottom: -150px;
  left: -100px;
}
.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 159, 110, 0.05);
  top: 40%;
  right: 30%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Left */
.hero-text {
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(91, 141, 239, 0.1);
  border: 1px solid rgba(91, 141, 239, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  animation: fadeInUp 0.6s ease 0.1s backwards;
}
.hero-title .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #6C63FF 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .highlight-warm {
  color: var(--warm);
  -webkit-text-fill-color: var(--warm);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-item .icon {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-xs);
}
.hero-trust-item .info {
  display: flex;
  flex-direction: column;
}
.hero-trust-item .num {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  font-family: var(--font-serif);
}
.hero-trust-item .label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Hero Right - 软件模拟界面 */
.hero-mockup {
  animation: fadeInUp 0.8s ease 0.3s backwards;
  display: flex;
  justify-content: center;
  align-items: center;
}

.software-window {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(26, 35, 50, 0.15), 0 0 0 1px rgba(26, 35, 50, 0.04);
  overflow: hidden;
  transition: var(--transition);
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}
.software-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 30px 100px rgba(26, 35, 50, 0.2);
}

/* Window Title Bar */
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #F8F9FB;
  border-bottom: 1px solid var(--border-light);
  cursor: default;
}
.window-dots {
  display: flex;
  gap: 7px;
}
.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.window-dot.red { background: #FF5F56; }
.window-dot.yellow { background: #FFBD2E; }
.window-dot.green { background: #27C93F; }

.window-title {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.window-action {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Window Content */
.window-body {
  display: flex;
  height: 300px;
}

/* Sidebar */
.window-sidebar {
  width: 72px;
  background: #FAFBFC;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 2px;
}
.window-sidebar-item {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 10px;
}
.window-sidebar-item .icon { font-size: 18px; line-height: 1; }
.window-sidebar-item:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}
.window-sidebar-item.active {
  background: var(--primary-subtle);
  color: var(--primary);
}
.window-sidebar-item.active .icon { color: var(--primary); }

/* Main Content Area */
.window-content {
  flex: 1;
  padding: 16px 18px;
  overflow: hidden;
}
.window-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.window-search span { color: var(--text-muted); }

.window-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Software cards in mockup */
.window-soft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.window-soft-item {
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.window-soft-item:hover {
  background: var(--bg-card);
  border-color: var(--border);
  transform: translateY(-1px);
}
.window-soft-item .icon {
  font-size: 22px;
  margin-bottom: 6px;
}
.window-soft-item .name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-heading);
}
.window-soft-item .size {
  font-size: 10px;
  color: var(--text-muted);
}

/* Bottom status bar in window */
.window-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-green-soft);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--secondary-dark);
}
.window-status .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(111, 207, 151, 0.2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
}

/* Floating element on window */
.window-float-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, var(--warm) 0%, #FF7E5F 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(255, 159, 110, 0.4);
  animation: float-badge 3s ease-in-out infinite;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.window-wrapper {
  position: relative;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURES - Bento Grid 本托网格
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.bento-card:hover::before {
  opacity: 1;
}

.bento-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}
.bento-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--warm), var(--warm-light));
}
.bento-card:nth-child(4)::before {
  background: linear-gradient(90deg, #6C63FF, #8B83FF);
}

.bento-card .bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.bento-card:nth-child(1) .bento-icon { background: var(--primary-subtle); }
.bento-card:nth-child(2) .bento-icon { background: var(--secondary-subtle); }
.bento-card:nth-child(3) .bento-icon { background: var(--warm-subtle); }
.bento-card:nth-child(4) .bento-icon { background: rgba(108, 99, 255, 0.08); }

.bento-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Feature stats row */
.feature-stats {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.feature-stats .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.feature-stats .stat strong {
  color: var(--text-heading);
  font-weight: 700;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4A7AE0 40%, #6C63FF 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 8px;
}
.stat-item .stat-number {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.stat-item .stat-label {
  font-size: 15px;
  opacity: 0.8;
  font-weight: 400;
}

/* ============================================================
   CATEGORIES - 分类展示
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  text-decoration: none;
  text-align: center;
}
.cat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--bg-card-hover);
}
.cat-item .cat-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.cat-item:hover .cat-icon {
  background: var(--primary);
}
.cat-item:hover .cat-icon {
  font-size: 26px;
}
.cat-item .cat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}
.cat-item .cat-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  text-decoration: none;
  display: block;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.article-card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  position: relative;
  overflow: hidden;
}
.article-card-image .card-bg-deco {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: radial-gradient(circle at 30% 40%, var(--primary) 0%, transparent 60%);
}

.article-card:nth-child(1) .article-card-image { background: linear-gradient(135deg, #E8F0FE, #DCE8FA); }
.article-card:nth-child(2) .article-card-image { background: linear-gradient(135deg, #E0F7EC, #D0F0E0); }
.article-card:nth-child(3) .article-card-image { background: linear-gradient(135deg, #FDF0E8, #FCE8D8); }
.article-card:nth-child(4) .article-card-image { background: linear-gradient(135deg, #EDE8FF, #E0D8FA); }
.article-card:nth-child(5) .article-card-image { background: linear-gradient(135deg, #E8F0FE, #DCE8FA); }
.article-card:nth-child(6) .article-card-image { background: linear-gradient(135deg, #E0F7EC, #D0F0E0); }

.article-card-body {
  padding: 22px;
}
.article-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.article-card-tags .tag {
  font-size: 11px;
  padding: 3px 10px;
}
.article-card-body h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover .article-card-body h3 {
  color: var(--primary);
}
.article-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.article-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.article-card-meta .date {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-inner {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.sidebar-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}
.sidebar-card-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Download Module in Sidebar */
.download-card {
  background: linear-gradient(160deg, #F0F4FF 0%, #F5F8FF 100%);
  border: 1px solid rgba(91, 141, 239, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.download-card .dc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #6C63FF 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.download-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.download-card .dc-version {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.download-card .dc-specs {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}
.download-card .dc-stats {
  font-size: 14px;
  color: var(--warm);
  font-weight: 600;
  margin-bottom: 18px;
}
.download-card .dc-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-spring);
  letter-spacing: 0.5px;
}
.download-card .dc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 207, 151, 0.35);
  color: #fff;
}
.download-card .dc-safe {
  font-size: 12px;
  color: var(--secondary-dark);
  margin-top: 10px;
  font-weight: 500;
}

/* Hot Articles */
.hot-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.hot-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hot-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  line-height: 1.5;
}
.hot-list a:hover {
  color: var(--primary);
}
.hot-list .hot-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-body);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.hot-list li:nth-child(1) .hot-num,
.hot-list li:nth-child(2) .hot-num,
.hot-list li:nth-child(3) .hot-num {
  background: var(--primary);
  color: #fff;
}

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-body);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   ARTICLE PAGE - 全新文章排版
   ============================================================ */

/* Reading Progress */
.reading-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--warm) 100%);
  z-index: 999;
  transition: width 0.1s linear;
}

/* Article Layout */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 40px;
  padding-top: 24px;
}

.article-content {
  min-width: 0;
}

/* Article Header */
.article-header {
  margin-bottom: 32px;
}
.article-header .article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.article-header .article-category .tag {
  font-size: 12px;
}
.article-header .article-date {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.article-meta-bar span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* TOC - 文章目录 */
.article-toc {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 32px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary);
}
.article-toc .toc-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-toc .toc-list {
  padding: 0;
}
.article-toc .toc-list li {
  list-style: none !important;
  margin-bottom: 6px !important;
}
.article-toc .toc-list a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  padding-left: 14px;
  border-left: 2px solid transparent;
  transition: var(--transition);
  line-height: 1.5;
}
.article-toc .toc-list a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 18px;
}
.article-toc .toc-list .toc-h2 { font-weight: 500; }
.article-toc .toc-list .toc-h3 { padding-left: 28px !important; font-size: 13px; }
.article-toc .toc-list .toc-h3:hover { padding-left: 32px !important; }

/* Article Body - 核心阅读区 */
.article-body {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-body);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-body strong {
  color: var(--text-heading);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.2em;
  padding-left: 24px;
}
.article-body ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
}
.article-body ol li {
  list-style: decimal;
  margin-bottom: 8px;
  padding-left: 4px;
}
.article-body ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* Blockquote */
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  position: relative;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Tip / Note Box */
.article-body .tip-box {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  border-left: 4px solid;
}
.article-body .tip-box.tip {
  background: var(--secondary-subtle);
  border-color: var(--secondary);
  color: #2D6B4F;
}
.article-body .tip-box.note {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: #3A5E9E;
}
.article-body .tip-box.warning {
  background: var(--warm-subtle);
  border-color: var(--warm);
  color: #8B5E3A;
}

/* Image placeholder */
.article-body .img-block {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 28px 0;
  border: 1px dashed var(--border);
  position: relative;
  overflow: hidden;
}
.article-body .img-block .img-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.article-body .img-block .img-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Inline code */
.article-body code {
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-heading);
  border: 1px solid var(--border-light);
}

/* Divider */
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 36px 0;
}

/* Article Download Tip */
.article-dl-tip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--bg-green-soft) 0%, #F5FBF7 100%);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 28px 0;
  border: 1px solid rgba(111, 207, 151, 0.2);
  transition: var(--transition);
}
.article-dl-tip:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-dl-tip .adt-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(111, 207, 151, 0.3);
}
.article-dl-tip .adt-text {
  flex: 1;
}
.article-dl-tip .adt-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.article-dl-tip .adt-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.article-dl-tip .adt-btn {
  flex-shrink: 0;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-spring);
  white-space: nowrap;
}
.article-dl-tip .adt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 207, 151, 0.35);
  color: #fff;
}

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, var(--bg-green-soft) 0%, #F5FBF7 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  border: 1px solid rgba(111, 207, 151, 0.15);
}
.article-cta .cta-icon {
  font-size: 42px;
  margin-bottom: 12px;
}
.article-cta h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.article-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Related Posts */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border-light);
}
.related-section h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  text-decoration: none;
  display: block;
  transition: var(--transition);
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.related-card h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.related-card:hover h4 {
  color: var(--primary);
}
.related-card .rc-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.page-title-area {
  margin-bottom: 28px;
}
.page-title-area h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-title-area p {
  font-size: 15px;
  color: var(--text-secondary);
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-bar a {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}
.filter-bar a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}
.filter-bar a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.soft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.soft-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  align-items: center;
}
.soft-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.soft-card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.soft-card-info {
  flex: 1;
  min-width: 0;
}
.soft-card-info h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.soft-card-info h3 a {
  color: var(--text-heading);
}
.soft-card-info h3 a:hover {
  color: var(--primary);
}
.soft-card-info .desc {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.soft-card-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.soft-card-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.pagination a,
.pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-header-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}
.detail-header-card .dh-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #6C63FF 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 24px var(--primary-glow);
}
.detail-header-card .dh-info { flex: 1; }
.detail-header-card .dh-info h1 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.detail-header-card .dh-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.detail-header-card .dh-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail-header-card .dh-btn-area {
  flex-shrink: 0;
}

.detail-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}
.detail-section h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}
.detail-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}
.detail-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 12px;
}

.feature-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-body);
}
.feature-checklist li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Screenshot */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.screenshot-item {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 28px;
}

/* Changelog timeline */
.changelog { position: relative; padding-left: 28px; }
.changelog::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.changelog-item {
  position: relative;
  padding-bottom: 24px;
}
.changelog-item:last-child { padding-bottom: 0; }
.changelog-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--primary-light);
}
.changelog-item .cl-version {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  font-family: var(--font-serif);
}
.changelog-item .cl-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.changelog-item ul {
  padding-left: 16px;
}
.changelog-item ul li {
  list-style: disc;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-list-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.blog-list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-list-item .bli-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-list-item h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-list-item h2 a {
  color: var(--text-heading);
}
.blog-list-item h2 a:hover {
  color: var(--primary);
}
.blog-list-item .bli-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.blog-list-item .bli-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  user-select: none;
  transition: var(--transition);
  gap: 12px;
}
.faq-q:hover { background: var(--bg-body); }
.faq-q .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-q .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-a {
  max-height: 500px;
}
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 0;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   FEATURES SHOWCASE PAGE (category.html 重构版)
   ============================================================ */

.feature-showcase {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Hero */
.showcase-hero {
  text-align: center;
  padding: 48px 0 40px;
}
.showcase-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.showcase-hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #6C63FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.showcase-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}
.showcase-hero .showcase-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Quick nav tabs */
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding: 0;
}
.feature-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-spring);
  box-shadow: var(--shadow-xs);
}
.feature-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.feature-tab .tab-icon {
  font-size: 16px;
}

/* Feature Module */
.feature-module {
  margin-bottom: 60px;
  scroll-margin-top: 90px;
}
.feature-module-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}
.feature-module-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.feature-module-header .fm-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.feature-module-header .fm-text h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}
.feature-module-header .fm-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Sub-feature cards grid */
.fm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fm-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.fm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}
.fm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.fm-card:hover::before { opacity: 1; }

.fm-card .fm-card-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.fm-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.fm-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Color variants for each module */
.feature-module:nth-child(2) .fm-card-icon { background: var(--secondary-subtle); }
.feature-module:nth-child(2) .fm-card::before { background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); }
.feature-module:nth-child(3) .fm-card-icon { background: var(--warm-subtle); }
.feature-module:nth-child(3) .fm-card::before { background: linear-gradient(90deg, var(--warm), var(--warm-light)); }
.feature-module:nth-child(4) .fm-card-icon { background: rgba(108, 99, 255, 0.08); }
.feature-module:nth-child(4) .fm-card::before { background: linear-gradient(90deg, #6C63FF, #8B83FF); }
.feature-module:nth-child(5) .fm-card-icon { background: rgba(230, 162, 60, 0.08); }
.feature-module:nth-child(5) .fm-card::before { background: linear-gradient(90deg, var(--warning), #F0C060); }

/* Feature highlight box */
.fm-highlight {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
}
.feature-module:nth-child(2) .fm-highlight { border-left-color: var(--secondary); }
.feature-module:nth-child(3) .fm-highlight { border-left-color: var(--warm); }
.feature-module:nth-child(4) .fm-highlight { border-left-color: #6C63FF; }
.feature-module:nth-child(5) .fm-highlight { border-left-color: var(--warning); }

.fm-highlight .fmh-icon { font-size: 32px; flex-shrink: 0; }
.fm-highlight .fmh-text { flex: 1; }
.fm-highlight .fmh-text strong { display: block; font-size: 15px; color: var(--text-heading); margin-bottom: 4px; }
.fm-highlight .fmh-text p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.fm-highlight .fmh-btn {
  flex-shrink: 0;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-spring);
  white-space: nowrap;
}
.fm-highlight .fmh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: #fff;
}

/* Toolbox grid */
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.toolbox-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition-spring);
  cursor: default;
}
.toolbox-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.toolbox-item .tb-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
.toolbox-item .tb-name { font-size: 14px; font-weight: 600; color: var(--text-heading); }
.toolbox-item .tb-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Data highlight in showcase */
.showcase-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
  margin-bottom: 48px;
}
.showcase-data-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
}
.showcase-data-item .sd-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.showcase-data-item .sd-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Showcase CTA */
.showcase-cta {
  background: linear-gradient(135deg, var(--bg-green-soft) 0%, #F5FBF7 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(111, 207, 151, 0.15);
  margin-top: 40px;
}
.showcase-cta .sc-icon { font-size: 48px; margin-bottom: 16px; }
.showcase-cta h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.showcase-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-mockup { order: -1; }
  .software-window {
    max-width: 380px;
    transform: none;
  }
  .software-window:hover { transform: translateY(-4px); }

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

  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-inner {
    position: static;
  }
  .sidebar-card.download-sticky {
    position: static;
  }

  .detail-header-card {
    flex-direction: column;
    text-align: center;
  }

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

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

  /* Showcase responsive */
  .fm-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbox-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-data { grid-template-columns: repeat(2, 1fr); }
  .fm-highlight { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    gap: 4px;
    align-items: stretch;
  }
  .nav.mobile-open .nav-download {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + 10px); }
  .hero-inner { padding: 20px 16px; }

  .bento-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .article-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 8px; }
  .stat-item .stat-number { font-size: 28px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }

  .soft-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-body blockquote { padding: 16px 18px; }

  .article-dl-tip {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .blog-list-item h2 { font-size: 17px; }
  .article-toc { padding: 16px 18px; }
  .detail-section { padding: 20px; }
  .detail-header-card { padding: 24px; }

  .article-layout { padding-left: 16px; padding-right: 16px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }

  /* Showcase responsive */
  .fm-grid { grid-template-columns: 1fr; }
  .toolbox-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-data { grid-template-columns: repeat(2, 1fr); }
  .feature-tabs { gap: 8px; }
  .feature-tab { padding: 8px 16px; font-size: 13px; }
  .showcase-hero h1 { font-size: 24px; }
  .showcase-cta { padding: 32px 20px; }
  .fm-highlight { flex-direction: column; text-align: center; }
  .fm-highlight .fmh-btn { width: 100%; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-checklist { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 20px; }
  .hero-title { font-size: 26px; }
  .container { padding: 0 12px; }
}
