/* ==========================================================================
   PandaM 官方网站与文档中心 — 终极科幻清新风样式系统 (Sci-Fi Fresh Design System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Menlo, Monaco, monospace;

  /* === 终极科幻清新色盘 (深色模式 - 默认) === */
  --bg-cosmos: #030712;               /* 极夜黑深空 */
  --bg-deep: #050c1a;                 /* 冷晶星海蓝 */
  --bg-surface: rgba(8, 20, 40, 0.68); /* 高通透冰晶毛玻璃 */
  --bg-surface-hover: rgba(12, 30, 60, 0.85);
  --bg-hud: rgba(6, 16, 32, 0.8);

  /* 清新霓虹极光三色流 */
  --neon-mint: #00ffb4;               /* 冰川荧光薄荷绿 */
  --neon-cyan: #00f0ff;               /* 极光高亮电光青 */
  --neon-blue: #38bdf8;               /* 极地冰湖蓝 */
  --neon-purple: #818cf8;             /* 量子离子微紫 */

  /* 边框与微光 */
  --hud-border: rgba(0, 240, 255, 0.22);
  --hud-border-bright: rgba(0, 255, 180, 0.55);
  --hud-glow: 0 0 25px rgba(0, 240, 255, 0.25);
  --hud-glow-strong: 0 0 40px rgba(0, 255, 180, 0.45);

  /* 文本阶梯 */
  --text-main: #f0fdff;               /* 光子亮白 */
  --text-muted: #94a3b8;              /* 冷调晨曦灰 */
  --text-dim: #526581;               /* 幽夜星尘灰 */

  /* 渐变系列 */
  --gradient-aurora: linear-gradient(135deg, #00ffb4 0%, #00f0ff 50%, #38bdf8 100%);
  --gradient-scifi-btn: linear-gradient(135deg, #00f0ff 0%, #00ffb4 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 255, 180, 0.06) 0%, rgba(0, 240, 255, 0.03) 100%);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* === 浅色科幻清新模式 (Solar / Laboratory Fresh) === */
[data-theme="light"] {
  --bg-cosmos: #f0f7fc;
  --bg-deep: #e8f2fa;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-hover: rgba(255, 255, 255, 0.98);
  --bg-hud: rgba(240, 248, 255, 0.85);

  --neon-mint: #059669;
  --neon-cyan: #0284c7;
  --neon-blue: #2563eb;
  --neon-purple: #6366f1;

  --hud-border: rgba(2, 132, 199, 0.2);
  --hud-border-bright: rgba(5, 150, 105, 0.5);
  --hud-glow: 0 0 20px rgba(2, 132, 199, 0.15);
  --hud-glow-strong: 0 0 35px rgba(5, 150, 105, 0.25);

  --text-main: #061224;
  --text-muted: #334155;
  --text-dim: #64748b;

  --gradient-aurora: linear-gradient(135deg, #059669 0%, #0284c7 60%, #2563eb 100%);
  --gradient-scifi-btn: linear-gradient(135deg, #0284c7 0%, #059669 100%);
}

/* 全局重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-cosmos);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #08162d 0%, var(--bg-cosmos) 80%);
}

[data-theme="light"] body {
  background: radial-gradient(circle at 50% 0%, #dbeafe 0%, var(--bg-cosmos) 80%);
}

/* ==========================================================================
   科幻动态背景体系：全息透视网格 + 流转极光云雾 + 科技微光
   ========================================================================== */
.bg-cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

/* 流动的极光光雾 */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-ambient::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 180, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: auroraFloat1 18s ease-in-out infinite alternate;
}

.bg-ambient::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.14) 0%, transparent 70%);
  filter: blur(90px);
  animation: auroraFloat2 22s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -30px) scale(1.15); }
  100% { transform: translate(50px, -60px) scale(0.9); }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   科幻专属组件：渐变文字、能量晶体按钮、HUD 科技角标卡片
   ========================================================================== */
.gradient-text {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(0, 240, 255, 0.3);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-scifi-btn);
  color: #030814;
  box-shadow: 0 0 25px rgba(0, 255, 180, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 180, 0.65), 0 6px 20px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--hud-border);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--neon-cyan);
  box-shadow: var(--hud-glow);
  transform: translateY(-2px);
}

.btn-sci-glow {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  backdrop-filter: blur(12px);
}

.btn-sci-glow:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-mint);
  color: var(--neon-mint);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  font-size: 16px;
}

.theme-toggle-btn:hover {
  border-color: var(--neon-mint);
  color: var(--neon-mint);
  box-shadow: 0 0 15px rgba(0, 255, 180, 0.3);
}

/* ==========================================================================
   导航栏 (Navbar) — 科幻悬浮玻璃舰桥
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(5, 12, 26, 0.82);
  border-bottom: 1px solid var(--hud-border);
  transition: all 0.3s ease;
}

[data-theme="light"] .navbar {
  background: rgba(240, 247, 252, 0.88);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 255, 180, 0.4));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.1) rotate(-5deg);
}

.nav-title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-version {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(0, 255, 180, 0.12);
  color: var(--neon-mint);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 255, 180, 0.35);
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 0 8px rgba(0, 255, 180, 0.2);
}

.nav-docs-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.nav-subtitle {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.nav-ext-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-family: var(--font-mono);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   首页 — 英雄展区 (Hero Section) · 未来科技全息主控台
   ========================================================================== */
.hero-section {
  padding: 95px 0 75px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

/* 顶部状态胶囊 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(0, 255, 180, 0.08);
  border: 1px solid rgba(0, 255, 180, 0.35);
  border-radius: var(--radius-full);
  color: var(--neon-mint);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 255, 180, 0.15);
  letter-spacing: 0.5px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-mint);
  box-shadow: 0 0 12px var(--neon-mint), 0 0 20px var(--neon-mint);
  animation: pulseNeon 2s infinite;
}

@keyframes pulseNeon {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 8px var(--neon-mint); }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 20px var(--neon-mint), 0 0 30px var(--neon-cyan); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 8px var(--neon-mint); }
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 610px;
}

.hero-desc strong {
  color: var(--neon-cyan);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.quick-install-box {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 500px;
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.quick-install-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--gradient-aurora);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-mint);
}

.quick-cmd {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  padding: 6px 15px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(0, 255, 180, 0.2);
  border-color: var(--neon-mint);
  color: var(--neon-mint);
  box-shadow: 0 0 15px rgba(0, 255, 180, 0.35);
}

/* 英雄区超级科幻全息视窗 (Hero Sci-Fi Window) */
.hero-window {
  background: #050b16;
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.18);
  overflow: hidden;
  position: relative;
}

.hero-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-mint), var(--neon-cyan), transparent);
  box-shadow: 0 0 12px var(--neon-mint);
}

.window-header {
  background: #03070f;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #f43f5e; box-shadow: 0 0 6px #f43f5e; }
.dot-yellow { background-color: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
.dot-green { background-color: #00ffb4; box-shadow: 0 0 8px #00ffb4; }

.window-title {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.window-badge {
  font-size: 11px;
  color: var(--neon-mint);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.window-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 6px var(--neon-mint);
}

.window-code {
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
  color: #e2e8f0;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.04) 0%, transparent 60%);
}

/* 高亮配色 */
.hl-keyword { color: #f43f5e; font-weight: bold; }
.hl-func { color: #38bdf8; }
.hl-type { color: #00ffb4; font-weight: 600; }
.hl-string { color: #fbbf24; }
.hl-comment { color: #526581; font-style: italic; }
.hl-num { color: #fb923c; }
.hl-prop { color: #e2e8f0; }

/* ==========================================================================
   核心特性区 — Bento 便当盒 (科幻 HUD 晶体卡片)
   ========================================================================== */
.section {
  padding: 95px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--neon-mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  font-family: var(--font-mono);
  padding: 3px 12px;
  background: rgba(0, 255, 180, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 255, 180, 0.25);
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

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

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* 卡片四角微光科技装饰（Reticle Accents） */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--hud-border-bright);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.2);
}

.bento-card:hover::before {
  opacity: 1;
  border-color: var(--neon-mint);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 180, 0.12);
  border: 1px solid rgba(0, 255, 180, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--neon-mint);
  box-shadow: 0 0 20px rgba(0, 255, 180, 0.2);
}

.card-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.card-icon.purple {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.35);
  color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
}

.card-icon.cyan {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.card-title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* 性能对比条 */
.bench-metric-wrap {
  background: rgba(3, 7, 18, 0.7);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--hud-border);
}

.bench-row {
  margin-bottom: 14px;
}

.bench-row:last-child {
  margin-bottom: 0;
}

.bench-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.bench-bar-bg {
  height: 9px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.bench-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-pandam {
  width: 95%;
  background: var(--gradient-aurora);
  box-shadow: 0 0 14px var(--neon-mint);
}

.fill-c {
  width: 88%;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

/* 特性 2x3 网格 */
.features-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .features-subgrid {
    grid-template-columns: 1fr;
  }
}

.feature-compact-card {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.feature-compact-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 240, 255, 0.18);
}

.feature-compact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-compact-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-compact-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.feature-compact-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* 规划中特性 (敬请期待) */
.features-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .features-soon-grid {
    grid-template-columns: 1fr;
  }
}

.feature-soon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  background: rgba(8, 20, 42, 0.4);
  position: relative;
  transition: all 0.3s ease;
}

.feature-soon-card:hover {
  border-color: rgba(0, 255, 180, 0.5);
  background: rgba(8, 20, 42, 0.6);
}

.feature-soon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-compact-icon.soon {
  opacity: 0.55;
  filter: grayscale(0.5);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-compact-title.soon {
  color: var(--text-muted);
  font-size: 16.5px;
}

.soon-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 版本与历史卡片容器 */
.version-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  position: relative;
  backdrop-filter: blur(20px);
  margin-bottom: 24px;
}

.version-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 180, 0.12);
  border: 1px solid rgba(0, 255, 180, 0.3);
  color: var(--neon-mint);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 16px;
}

.version-empty-tip {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
  padding: 16px 20px;
  border-left: 3px solid var(--neon-cyan);
  background: rgba(0, 240, 255, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* 双版本下载卡片网格 */
.download-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .download-dual-grid {
    grid-template-columns: 1fr;
  }
}

.download-release-item {
  background: rgba(4, 9, 20, 0.85);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  transition: all 0.3s;
}

.download-release-item.active {
  border-color: var(--neon-mint);
  box-shadow: 0 0 25px rgba(0, 255, 180, 0.2);
}

.download-release-item.disabled {
  opacity: 0.65;
  border-style: dashed;
}

.contact-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hud-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 6px;
}

.contact-link-pill:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   官方 IDE 展台 (未来座舱风格)
   ========================================================================== */
.ide-section {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 20, 42, 0.45) 50%, transparent 100%);
}

.ide-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 240, 255, 0.15);
  margin-bottom: 48px;
  position: relative;
  backdrop-filter: blur(20px);
}

.ide-img-wrap {
  width: 100%;
  max-height: 640px;
  overflow: hidden;
  background: #040812;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ide-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ide-screenshot:hover {
  transform: scale(1.015);
}

.ide-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ide-feature-item {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
}

.ide-feature-item:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.2);
}

.ide-feature-item h4 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ide-feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   首页 — 在线教学全景导引卡片群
   ========================================================================== */
.docs-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.doc-path-card {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  position: relative;
}

.doc-path-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.25);
}

.doc-path-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--neon-mint);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.doc-path-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-path-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.doc-path-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neon-mint);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.doc-path-card:hover .doc-path-link {
  gap: 10px;
}

.docs-portal-banner {
  background: linear-gradient(135deg, rgba(0, 255, 180, 0.12) 0%, rgba(0, 240, 255, 0.12) 100%), var(--bg-surface);
  border: 1px solid rgba(0, 255, 180, 0.4);
  border-radius: var(--radius-lg);
  padding: 42px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--hud-glow-strong);
  backdrop-filter: blur(20px);
}

.docs-portal-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
}

.docs-portal-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   独立文档页面 (docs.html) 专用宽幅阅读工作区
   ========================================================================== */
.docs-standalone-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.docs-navbar {
  height: 66px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--hud-border);
}

.docs-nav-container {
  height: 100%;
  max-width: 100%;
  padding: 0 30px;
}

.docs-nav-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.docs-breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

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

.breadcrumb-item {
  color: var(--text-muted);
}

.breadcrumb-item.active {
  color: var(--neon-cyan);
  font-weight: 700;
}

.docs-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.docs-top-search {
  position: relative;
  display: flex;
  align-items: center;
}

.docs-top-search svg {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

.docs-top-search input {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-sm);
  padding: 9px 52px 9px 38px;
  color: var(--text-main);
  font-size: 13.5px;
  width: 290px;
  outline: none;
  transition: all 0.25s;
}

.docs-top-search input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  width: 350px;
}

.search-shortcut {
  position: absolute;
  right: 12px;
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-dim);
}

/* 搜索结果下拉弹出浮层 (Search Dropdown Overlay) */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 460px;
  max-height: 480px;
  overflow-y: auto;
  background: rgba(6, 15, 32, 0.95);
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(24px);
  z-index: 1000;
  padding: 10px;
  display: none;
}

[data-theme="light"] .search-results-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--neon-blue);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.search-result-header {
  padding: 8px 12px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--neon-mint);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.search-result-item {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.search-result-item:hover, .search-result-item.selected {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.3);
}

.search-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.search-result-cat {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.search-result-snippet {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-highlight {
  color: var(--neon-mint);
  font-weight: bold;
  background: rgba(0, 255, 180, 0.15);
  padding: 0 2px;
  border-radius: 2px;
}

.search-no-result {
  padding: 24px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* 文档主三栏弹性布局 */
.docs-workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 66px);
}

/* 1. 左侧目录树 */
.docs-tree-sidebar {
  width: 310px;
  flex-shrink: 0;
  border-right: 1px solid var(--hud-border);
  background: rgba(5, 12, 26, 0.75);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  backdrop-filter: blur(24px);
}

.tree-sidebar-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hud-border);
}

.tree-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.doc-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(0, 255, 180, 0.15);
  color: var(--neon-mint);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 255, 180, 0.3);
}

.docs-tree-nav {
  padding: 16px 14px;
}

.docs-category-group {
  margin-bottom: 24px;
}

.docs-category-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  font-family: var(--font-mono);
}

.docs-category-list {
  list-style: none;
  margin-top: 6px;
}

.docs-tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13.5px;
  cursor: pointer;
  margin-bottom: 3px;
  transition: all 0.2s ease;
}

.docs-tree-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.docs-tree-item.active {
  background: rgba(0, 240, 255, 0.14);
  color: var(--neon-cyan);
  font-weight: 700;
  border-left: 3px solid var(--neon-mint);
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.08);
}

/* 2. 中间正文阅读区 */
.docs-article-pane {
  flex: 1;
  overflow-y: auto;
  padding: 44px 70px 90px;
  scroll-behavior: smooth;
}

.docs-article-inner {
  max-width: 920px;
  margin: 0 auto;
}

.docs-article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.docs-article-body h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--text-main);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hud-border);
}

.docs-article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 44px 0 18px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin: 30px 0 14px;
}

.docs-article-body p {
  margin-bottom: 20px;
}

.docs-article-body hr {
  border: none;
  border-top: 1px solid var(--hud-border);
  margin: 38px 0;
}

.docs-article-body blockquote {
  border-left: 3px solid var(--neon-cyan);
  background: rgba(0, 240, 255, 0.06);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
  color: #e2e8f0;
}

.docs-article-body ul, .docs-article-body ol {
  margin: 18px 0 22px 26px;
}

.docs-article-body li {
  margin-bottom: 9px;
}

.docs-article-body strong {
  color: var(--text-main);
}

.docs-article-body code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  padding: 2px 7px;
  border-radius: 4px;
}

/* 优雅表格 */
.docs-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--hud-border);
}

.docs-article-body th {
  background: rgba(0, 240, 255, 0.08);
  color: var(--text-main);
  padding: 13px 18px;
  font-weight: 800;
  text-align: left;
  border-bottom: 1px solid var(--hud-border);
}

.docs-article-body td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.docs-article-body tr:last-child td {
  border-bottom: none;
}

/* 代码块容器 */
.code-block-wrapper {
  background: #050a14;
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  margin: 24px 0 30px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
}

.code-block-header {
  background: #03060c;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.code-lang-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-mint);
  font-weight: 700;
  text-transform: uppercase;
}

.copy-btn.mini {
  padding: 4px 12px;
  font-size: 11.5px;
}

.code-block-wrapper pre {
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
}

.code-block-wrapper code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

/* 翻页导航 */
.docs-pagination {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 65px;
  padding-top: 32px;
  border-top: 1px solid var(--hud-border);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  flex: 1;
}

.pagination-btn:hover {
  border-color: var(--neon-cyan);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--hud-glow);
}

.pagination-btn.prev { justify-content: flex-start; }
.pagination-btn.next { justify-content: flex-end; }

.pagination-arrow {
  font-size: 20px;
  color: var(--neon-mint);
}

.pagination-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.pagination-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

/* 3. 右侧文章大纲 (TOC) */
.docs-toc-sidebar {
  width: 250px;
  flex-shrink: 0;
  border-left: 1px solid var(--hud-border);
  background: rgba(5, 12, 26, 0.55);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  backdrop-filter: blur(24px);
}

.toc-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.toc-nav-list {
  list-style: none;
  flex-grow: 1;
}

.toc-item {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toc-item.h3 {
  padding-left: 22px;
  font-size: 12.5px;
}

.toc-item:hover {
  color: var(--neon-cyan);
}

.toc-item.active {
  color: var(--neon-cyan);
  font-weight: 700;
  background: rgba(0, 240, 255, 0.1);
}

.toc-bottom-tips {
  margin-top: 26px;
}

.tip-card {
  background: rgba(0, 255, 180, 0.08);
  border: 1px solid rgba(0, 255, 180, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.tip-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--neon-mint);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   下载专区与页脚
   ========================================================================== */
.download-card {
  background: linear-gradient(135deg, rgba(0, 255, 180, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%), var(--bg-surface);
  border: 1px solid rgba(0, 255, 180, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--hud-glow-strong);
  backdrop-filter: blur(20px);
}

.download-badge {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 5px 16px;
  background: rgba(0, 255, 180, 0.15);
  color: var(--neon-mint);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  font-weight: 800;
  border: 1px solid rgba(0, 255, 180, 0.35);
}

.download-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.download-desc {
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  font-size: 16.5px;
  line-height: 1.75;
}

.download-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.file-info-badge {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--hud-border);
  padding: 70px 0 35px;
  background: rgba(3, 7, 18, 0.96);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 55px;
}

.footer-brand-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.75;
  max-width: 340px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: var(--text-dim);
}

.starry-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   响应式断点
   ========================================================================== */
@media (max-width: 1100px) {
  .docs-toc-sidebar {
    display: none;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.col-span-2 {
    grid-column: span 1;
  }
  .ide-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .docs-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .docs-workspace {
    flex-direction: column;
    height: auto;
  }
  .docs-tree-sidebar {
    width: 100%;
    max-height: 250px;
    border-right: none;
    border-bottom: 1px solid var(--hud-border);
  }
  .docs-article-pane {
    padding: 32px 24px;
  }
  .docs-portal-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 40px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .ide-features-grid {
    grid-template-columns: 1fr;
  }
  .docs-preview-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
