/* ==========================================================================
   UniSearch Website - video-shotcraft Visual Style & Color Scheme
   Light Mode (Default Warm Ivory Craft) & Dark Mode (Obsidian Dark)
   ========================================================================== */

:root,
[data-theme="light"] {
  /* 浅色模式 - video-shotcraft 暖纸墨迹与工坊风格 (Warm Ivory Paper & Ink Craft) */
  --bg: #f7f5f0;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9f6;
  --bg-tile: #f0ede5;
  --bg-pill: rgba(36, 22, 7, 0.05);
  --bg-glass: rgba(247, 245, 240, 0.88);
  --bg-input: #ffffff;
  --bg-window-body: #f4f1ea;
  --bg-window-card: #ffffff;
  --bg-window-header: #ece8df;
  --bg-terminal: #181714;
  --bg-section-alt: #efece5;
  --bg-footer: #efece4;
  --text-footer: #1a1917;
  --text-footer-muted: #5c5850;

  /* 文字色彩 (Deep Ink & Warm Slate) */
  --text: #1a1917;
  --text-secondary: #5c5850;
  --muted: #8c867a;
  --text-dim: #b0aa9e;
  --text-inverse: #ffffff;

  /* 主强调色 (Warm Amber & Gold Bronze Accent) */
  --accent: #c47c20;
  --accent-hover: #ab6814;
  --accent-light: rgba(196, 124, 32, 0.12);
  --accent-border: rgba(196, 124, 32, 0.3);
  --accent-border-glow: rgba(196, 124, 32, 0.55);
  --accent-ink: #ffffff;
  --accent-gradient: linear-gradient(135deg, #df8b24 0%, #b36b15 100%);
  --accent-glow: 0 0 24px rgba(196, 124, 32, 0.25);

  /* 状态强调色 */
  --color-blue: #2563eb;
  --color-green: #059669;
  --color-purple: #7c3aed;
  --color-red: #dc2626;
  --color-cyan: #0284c7;

  /* 边框与分割线 */
  --line: rgba(36, 22, 7, 0.1);
  --line-highlight: rgba(36, 22, 7, 0.22);
  --line-subtle: rgba(36, 22, 7, 0.06);

  /* 阴影系统 */
  --shadow-subtle: 0 2px 10px rgba(36, 22, 7, 0.04);
  --shadow-card: 0 4px 16px -2px rgba(36, 22, 7, 0.06), 0 2px 6px rgba(36, 22, 7, 0.04);
  --shadow-card-hover: 0 14px 30px -4px rgba(36, 22, 7, 0.1), 0 0 20px rgba(196, 124, 32, 0.12);
  --shadow-dropdown: 0 12px 32px rgba(36, 22, 7, 0.14);
  --shadow-window: 0 24px 60px -10px rgba(36, 22, 7, 0.14), 0 0 30px rgba(196, 124, 32, 0.08);

  /* 背景网格透明度 */
  --grid-line-color: rgba(36, 22, 7, 0.035);
  --bg-glow-color: rgba(196, 124, 32, 0.08);
}

/* 深色模式 - video-shotcraft 黑曜石风格 (Obsidian Dark Theme) */
[data-theme="dark"] {
  --bg: #0e0e0c;
  --bg-surface: #14130f;
  --bg-card: #181714;
  --bg-card-hover: #22201a;
  --bg-tile: #14130f;
  --bg-pill: rgba(240, 237, 229, 0.06);
  --bg-glass: rgba(14, 14, 12, 0.85);
  --bg-input: #12110e;
  --bg-window-body: #161511;
  --bg-window-card: #1a1914;
  --bg-window-header: #100f0c;
  --bg-terminal: #080806;
  --bg-section-alt: #0b0b09;
  --bg-footer: #080806;
  --text-footer: #f0ede5;
  --text-footer-muted: #807b70;

  --text: #f0ede5;
  --text-secondary: #b5b0a5;
  --muted: #807b70;
  --text-dim: #5c574e;
  --text-inverse: #0e0e0c;

  --accent: #d3923c;
  --accent-hover: #e5a852;
  --accent-light: rgba(211, 146, 60, 0.12);
  --accent-border: rgba(211, 146, 60, 0.28);
  --accent-border-glow: rgba(211, 146, 60, 0.45);
  --accent-ink: #241607;
  --accent-gradient: linear-gradient(135deg, #f5c07a 0%, #d3923c 100%);
  --accent-glow: 0 0 28px rgba(211, 146, 60, 0.22);

  --color-blue: #4a9eff;
  --color-green: #34d399;
  --color-purple: #a78bfa;
  --color-red: #f87171;
  --color-cyan: #38bdf8;

  --line: rgba(240, 237, 229, 0.12);
  --line-highlight: rgba(240, 237, 229, 0.22);
  --line-subtle: rgba(240, 237, 229, 0.06);

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(211, 146, 60, 0.08);
  --shadow-dropdown: 0 16px 40px rgba(0, 0, 0, 0.75);
  --shadow-window: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(211, 146, 60, 0.06);

  --grid-line-color: rgba(240, 237, 229, 0.02);
  --bg-glow-color: rgba(211, 146, 60, 0.12);
}

:root {
  /* 圆角 */
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-card-lg: 22px;
  --radius-sm: 8px;
  --radius-md: 12px;

  /* 字体系统 */
  --font-sans: "Plus Jakarta Sans", "Avenir Next", Avenir, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* 动画 */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* 全局背景微光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% -10%, var(--bg-glow-color) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(196, 124, 32, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(74, 158, 255, 0.02) 0%, transparent 50%);
}

/* 细腻网格背景纹理 */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Header 导航栏 (毛玻璃)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 2px 8px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-border);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* 主题切换开关 (Theme Toggle Button) */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-highlight);
  transform: translateY(-1px);
}

.btn-star-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-pill);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition-fast);
}

.btn-star-header:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-highlight);
  transform: translateY(-1px);
}

.btn-star-header .icon-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.star-count-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  margin-left: 2px;
}

.btn-primary-header {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(196, 124, 32, 0.25);
}

.btn-primary-header:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 130px;
  padding-bottom: 70px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, var(--bg-glow-color) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 顶部 Kicker 胶囊 */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-subtle);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.pill-arrow {
  font-weight: bold;
  opacity: 0.7;
}

/* 主标题 */
.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 860px;
  margin-bottom: 20px;
}

.highlight-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 副标题 */
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* CTA 按钮组 */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.download-dropdown-wrapper {
  position: relative;
  display: inline-flex;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(196, 124, 32, 0.35);
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow), 0 8px 28px rgba(196, 124, 32, 0.4);
}

.btn-hero-primary .os-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-ink);
  flex-shrink: 0;
}

.btn-text-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main-text {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-sub-text {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 500;
}

.btn-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-left: 4px;
  color: var(--accent-ink);
  opacity: 0.85;
  transition: transform var(--transition-fast);
}

.btn-dropdown-toggle svg {
  width: 16px;
  height: 16px;
}

.btn-dropdown-toggle:hover {
  opacity: 1;
}

/* 下拉菜单 */
.download-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  background: var(--bg-surface);
  border: 1px solid var(--line-highlight);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dropdown);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.download-dropdown-menu.active {
  display: flex;
  animation: dropdown-fade-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  text-align: left;
}

.dropdown-item:hover {
  background: var(--bg-pill);
}

.dropdown-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.dropdown-item span {
  font-size: 0.74rem;
  color: var(--muted);
}

/* 次级按钮 */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-hero-secondary .github-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-hero-secondary .star-icon {
  font-size: 1rem;
}

/* 特性标签条 */
.hero-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.feature-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-subtle);
}

.feature-tag-item .tag-icon {
  font-size: 0.9rem;
}

/* ==========================================================================
   Showcase Window (Studio Terminal Mockup)
   ========================================================================== */
.hero-showcase-window {
  width: 100%;
  max-width: 1020px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.hero-product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-showcase-window > .window-header,
.hero-showcase-window > .window-body {
  display: none;
}

.real-ui-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(18, 24, 38, 0.72);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 24, 38, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.window-header {
  height: 44px;
  background: var(--bg-window-header);
  border-bottom: 1px solid var(--line-subtle);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.ctrl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.window-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.win-logo-mini {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.window-actions-dummy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.pet-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: 1px solid var(--accent-border);
}

.dummy-status {
  color: var(--color-green);
  font-weight: 600;
}

.window-body {
  padding: 24px;
  background: var(--bg-window-body);
}

/* 模拟搜索输入栏 */
.mockup-search-container {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 20px;
  gap: 12px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: border-color var(--transition-fast);
}

.mockup-search-container:hover {
  border-color: var(--accent-border-glow);
}

.mockup-search-icon {
  font-size: 1.1rem;
  color: var(--accent);
}

.mockup-search-input {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.cursor-blink {
  color: var(--accent);
  font-weight: bold;
  margin-left: 2px;
  animation: blink 1s infinite step-start;
}

@keyframes blink {
  50% { opacity: 0; }
}

.mockup-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

/* 模拟三联工作流卡片 */
.mockup-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mock-card {
  background: var(--bg-window-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-subtle);
}

.mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.badge-blue, .badge-green, .badge-purple, .badge-orange {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.badge-blue { background: rgba(37, 99, 235, 0.12); color: var(--color-blue); border: 1px solid rgba(37, 99, 235, 0.25); }
.badge-green { background: rgba(5, 150, 105, 0.12); color: var(--color-green); border: 1px solid rgba(5, 150, 105, 0.25); }
.badge-purple { background: rgba(124, 58, 237, 0.12); color: var(--color-purple); border: 1px solid rgba(124, 58, 237, 0.25); }
.badge-orange { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }

.card-time, .card-speed, .card-status {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted);
}

.card-speed {
  color: var(--accent);
  font-weight: 700;
}

.mock-chip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-chip-list .chip {
  font-size: 0.76rem;
  background: var(--bg-pill);
  border: 1px solid var(--line-subtle);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.connector-progress-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.conn-prog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  gap: 8px;
}

.conn-prog-row .conn-name {
  color: var(--text);
  font-weight: 500;
  width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conn-prog-row .prog-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-pill);
  border-radius: 3px;
  overflow: hidden;
}

.conn-prog-row .prog-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
}

.conn-prog-row .conn-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 600;
}

.mock-summary-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.mock-graph-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.graph-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-purple);
  border-radius: 4px;
}

/* ==========================================================================
   Section 通用排版体系
   ========================================================================== */
section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   Connectors Ecosystem Section (library.html 风格)
   ========================================================================== */
.connectors-section {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

/* 顶部搜索与筛选控制栏 */
.connectors-controls-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.connector-search-box {
  width: 100%;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.connector-search-box .search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  fill: var(--muted);
  pointer-events: none;
}

.connector-search-input {
  width: 100%;
  padding: 10px 40px 10px 44px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.connector-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.connector-search-input::placeholder {
  color: var(--muted);
}

.connector-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: none;
  padding: 4px;
}

.connector-search-clear.visible {
  display: block;
}

.connector-search-clear:hover {
  color: var(--text);
}

/* 分类 Tab (Pill Buttons) */
.connector-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.conn-tab {
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.conn-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--line-highlight);
}

.conn-tab.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(196, 124, 32, 0.3);
}

/* 信源卡片网格 */
.connectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.conn-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.conn-card:hover {
  border-color: var(--accent-border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.conn-card.hidden {
  display: none !important;
}

.conn-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-tile);
  border: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.conn-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.conn-icon-box .text-icon {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}

/* 彩色背景微调 */
.bg-red-light .text-icon { color: var(--color-red); }
.bg-pink-light .text-icon { color: #ec4899; }
.bg-blue-light .text-icon { color: var(--color-blue); }
.bg-cyan-light .text-icon { color: var(--color-cyan); }
.bg-purple-light .text-icon { color: var(--color-purple); }
.bg-green-light .text-icon { color: var(--color-green); }
.bg-orange-light .text-icon { color: #ea580c; }

.conn-info {
  flex: 1;
}

.conn-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.conn-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.conn-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-red);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.conn-badge.badge-ai {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}

/* 搜索无结果提示 */
.no-results-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}

.no-results-message.visible {
  display: block;
}

/* ==========================================================================
   Features Bento Grid 核心能力 (包含最新迭代能力)
   ========================================================================== */
.features-section {
  background: var(--bg);
}

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

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.bento-card:hover {
  border-color: var(--accent-border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

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

.bento-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Bento 内部可视化 */
.visual-workflow-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tile);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: auto;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.flow-arrow {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}

.bento-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.bento-feature-list li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  background: var(--bg-pill);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.export-logos-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.export-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-subtle);
}

.export-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ==========================================================================
   Architecture 系统架构
   ========================================================================== */
.architecture-section {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--line-subtle);
}

.arch-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.arch-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.arch-step-card:hover {
  border-color: var(--accent-border-glow);
  transform: translateY(-3px);
}

.arch-step-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.arch-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.arch-step-head h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.arch-step-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.arch-summary-banner {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.summary-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.summary-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Download Hub 下载专区
   ========================================================================== */
.download-section {
  background: var(--bg);
}

.download-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.download-platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.download-platform-card:hover {
  border-color: var(--accent-border-glow);
  box-shadow: var(--shadow-card-hover);
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.platform-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-tile);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.platform-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.platform-ver {
  font-size: 0.78rem;
  color: var(--muted);
}

.arch-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.arch-option {
  background: var(--bg-tile);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.arch-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.arch-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.download-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-download-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-channel-github {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 12px rgba(196, 124, 32, 0.3);
}

.btn-channel-github:hover {
  background: var(--accent-hover);
  box-shadow: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-channel-github svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-ink);
}

.btn-channel-mirror {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-subtle);
}

.btn-channel-mirror:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-highlight);
  transform: translateY(-1px);
}

.install-tips-box {
  background: var(--bg-tile);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.tips-head {
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.code-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-terminal);
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 8px;
  gap: 8px;
}

.code-copy-row code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #f5c07a;
  overflow-x: auto;
  white-space: nowrap;
}

.btn-copy-code {
  padding: 4px 10px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-code:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* 开发者源码构建盒子 */
.source-code-box {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.source-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.source-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.source-code-block {
  flex: 1;
  max-width: 580px;
  background: var(--bg-terminal);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.source-code-block code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #f5c07a;
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   Community & Star Callout
   ========================================================================== */
.opensource-section {
  background: var(--bg-section-alt);
}

.star-callout-card {
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 0 60px rgba(196, 124, 32, 0.04);
}

.star-callout-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 124, 32, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.star-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}

.star-card-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.star-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.star-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-star-huge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(196, 124, 32, 0.35);
  transition: all var(--transition-fast);
}

.btn-star-huge:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.btn-star-huge svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-ink);
}

.btn-issue-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.btn-issue-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-highlight);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  background: var(--bg);
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--line-highlight);
}

.faq-item.active {
  border-color: var(--accent-border-glow);
}

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

.faq-item.active .faq-question {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--muted);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-footer);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-footer-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-footer);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-footer-muted);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-footer-muted);
}

.footer-contact-list code {
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--bg-pill);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line-subtle);
}

.footer-contact-list a {
  color: var(--accent);
}

.footer-contact-list a:hover {
  text-decoration: underline;
}

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

.footer-disclaimer {
  max-width: 600px;
  font-size: 0.74rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-terminal);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0ede5;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent);
  font-weight: 800;
}

/* ==========================================================================
   Responsive 响应式适配
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-col-2 {
    grid-column: span 2;
  }
  .arch-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-dropdown);
  }
  .main-nav.mobile-active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-showcase-window {
    display: none;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-2 {
    grid-column: span 1;
  }
  .download-cards-container {
    grid-template-columns: 1fr;
  }
  .source-code-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .arch-flow-grid {
    grid-template-columns: 1fr;
  }
  .arch-summary-banner {
    grid-template-columns: 1fr;
  }
}
