/* ==========================================================================
   TabFlow 官网样式表 (macOS Modern Aesthetic)
   设计风格：Apple macOS 设计语言，微光漫反射、毛玻璃材质、双层阴影、精致按键
   ========================================================================== */

/* ---- 设计令牌 (Design Tokens) ---- */
:root {
  --bg-main: #fbfbfd;
  --bg-alt: #f5f5f7;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --accent-glow: rgba(0, 113, 227, 0.18);
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(255, 255, 255, 0.8);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);
  --shadow-window: 0 32px 80px -16px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 980px;
  
  --max-w: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---- 深色模式令牌 (Dark Mode) ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #000000;
    --bg-alt: #121214;
    --bg-card: rgba(28, 28, 30, 0.7);
    --bg-card-hover: rgba(44, 44, 46, 0.8);
    --bg-glass: rgba(22, 22, 24, 0.8);
    
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    
    --accent: #2997ff;
    --accent-hover: #47a4ff;
    --accent-soft: rgba(41, 151, 255, 0.12);
    --accent-glow: rgba(41, 151, 255, 0.25);
    
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.12);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
    --shadow-window: 0 32px 80px -16px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  body {
    background-color: #000000;
    background-image: 
      radial-gradient(100% 700px at 50% -50px, rgba(0, 113, 227, 0.24) 0%, rgba(99, 102, 241, 0.14) 50%, rgba(0, 0, 0, 0) 100%),
      linear-gradient(180deg, #060b18 0%, #0a081a 400px, #000000 900px);
    background-repeat: no-repeat;
  }
}

/* ---- 基础排版与重置 ---- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: #fbfbfd;
  background-image: 
    radial-gradient(100% 700px at 50% -50px, #e8f1ff 0%, #f2f3ff 45%, rgba(251, 251, 253, 0) 100%),
    linear-gradient(180deg, #eef5ff 0%, #f6f8fe 320px, #fbfbfd 850px);
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 顶部导航栏 (毛玻璃 + 现代悬浮) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 20px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

/* 语言切换器微调 */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-switch svg {
  position: absolute;
  left: 10px;
  pointer-events: none;
  color: var(--text-secondary);
}
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-alt);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 6px 12px 6px 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}
.lang-switch select:hover {
  border-color: var(--text-tertiary);
}
.lang-switch select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 顶部导航专属轻量按钮与双商店选择浮层 */
.nav-download-wrap {
  position: relative;
  display: inline-block;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 20px;
  background-color: var(--text-primary);
  color: var(--bg-main) !important;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.nav-btn:hover {
  opacity: 0.88;
}
.nav-btn .chevron-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.75;
}
.nav-download-wrap:hover .chevron-icon,
.nav-download-wrap.active .chevron-icon {
  transform: rotate(180deg);
}

.nav-download-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
}
.nav-download-wrap:hover .nav-download-menu,
.nav-download-wrap.active .nav-download-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.store-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.store-item:hover {
  background-color: var(--bg-alt);
}
.store-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-item-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.store-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}
.store-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.25;
}

@media (prefers-color-scheme: dark) {
  .nav-download-menu {
    background: rgba(30, 30, 34, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .store-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }
}

/* ---- 按钮系统 (Buttons) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background-color: #0071e3;
  color: #ffffff !important;
  border-color: transparent;
}
.btn-primary:hover {
  background-color: #0077ed;
}
.btn-primary:active {
  background-color: #0062c4;
}

.btn-secondary {
  background-color: #f5f5f7;
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.08);
}
.btn-secondary:hover {
  background-color: #e8e8ed;
  border-color: rgba(0, 0, 0, 0.14);
}
.btn-secondary:active {
  background-color: #dedee3;
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f5f5f7;
  }
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.2);
  }
  .btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.18);
  }
}

.btn-lg {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
}
.btn-icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  flex-shrink: 0;
}

/* ---- 英雄区 (Hero Section) ---- */
.hero {
  padding: 84px 0 64px;
  text-align: center;
  position: relative;
  background: radial-gradient(85% 70% at 50% 15%, rgba(0, 113, 227, 0.12) 0%, rgba(99, 102, 241, 0.07) 50%, transparent 100%);
}
@media (prefers-color-scheme: dark) {
  .hero {
    background: radial-gradient(85% 70% at 50% 15%, rgba(41, 151, 255, 0.18) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
  }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); }
  50% { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 113, 227, 0.18);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.05);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  animation: pulseDot 2.4s infinite ease-in-out;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero h1 .text-gradient {
  background: linear-gradient(135deg, #0071e3 0%, #4f46e5 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.hero-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ---- 英雄区主角窗口 (Hero Window Showcase) ---- */
.hero-visual {
  margin-top: 56px;
  position: relative;
}
.hero-visual-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 75%;
  background: radial-gradient(circle at 35% 45%, rgba(0, 113, 227, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 65% 55%, rgba(139, 92, 246, 0.18) 0%, transparent 65%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.mac-window {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7) inset,
              0 32px 80px -16px rgba(0, 0, 0, 0.18),
              0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  .mac-window {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset,
                0 36px 90px -16px rgba(0, 0, 0, 0.85),
                0 0 0 1px rgba(255, 255, 255, 0.14);
  }
}
.mac-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset,
              0 42px 100px -16px rgba(0, 0, 0, 0.24),
              0 0 0 1px rgba(0, 0, 0, 0.1);
}
.mac-titlebar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 246, 248, 0.88) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
@media (prefers-color-scheme: dark) {
  .mac-titlebar {
    background: linear-gradient(180deg, rgba(38, 38, 42, 0.88) 0%, rgba(26, 26, 28, 0.88) 100%);
  }
}
.mac-dots {
  display: flex;
  gap: 7px;
}
.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -1px 1px rgba(0, 0, 0, 0.18);
  position: relative;
}
.mac-dot.close { background: radial-gradient(circle at 50% 30%, #ff6e65, #e0443e); border: 0.5px solid rgba(0, 0, 0, 0.15); }
.mac-dot.min { background: radial-gradient(circle at 50% 30%, #ffd043, #dea123); border: 0.5px solid rgba(0, 0, 0, 0.15); }
.mac-dot.max { background: radial-gradient(circle at 50% 30%, #34d058, #1aab29); border: 0.5px solid rgba(0, 0, 0, 0.15); }
.mac-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mac-window img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 区块通用样式 (Sections) ---- */
.section {
  padding: 104px 0;
  position: relative;
}
.section-alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

/* 各板块主题色无缝环境光流淌 (无物理分割，自然交融) */
#features {
  background: radial-gradient(75% 65% at 50% 50%, rgba(99, 102, 241, 0.07) 0%, rgba(0, 199, 218, 0.05) 50%, transparent 100%);
}
#showcase {
  background: radial-gradient(80% 65% at 50% 50%, rgba(0, 113, 227, 0.06) 0%, rgba(99, 102, 241, 0.04) 55%, transparent 100%);
}
#shortcuts {
  background: radial-gradient(75% 60% at 50% 50%, rgba(99, 102, 241, 0.065) 0%, rgba(0, 113, 227, 0.04) 55%, transparent 100%);
}
#faq {
  background: radial-gradient(80% 70% at 50% 65%, rgba(0, 113, 227, 0.08) 0%, rgba(139, 92, 246, 0.06) 55%, transparent 100%);
}

@media (prefers-color-scheme: dark) {
  #features {
    background: radial-gradient(75% 65% at 50% 50%, rgba(139, 92, 246, 0.1) 0%, rgba(0, 199, 218, 0.06) 50%, transparent 100%);
  }
  #showcase {
    background: radial-gradient(80% 65% at 50% 50%, rgba(41, 151, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 55%, transparent 100%);
  }
  #shortcuts {
    background: radial-gradient(75% 60% at 50% 50%, rgba(139, 92, 246, 0.09) 0%, rgba(41, 151, 255, 0.05) 55%, transparent 100%);
  }
  #faq {
    background: radial-gradient(80% 70% at 50% 65%, rgba(41, 151, 255, 0.14) 0%, rgba(139, 92, 246, 0.08) 55%, transparent 100%);
  }
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ---- Bento Grid 特性卡片 (Bento Features) ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bento-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.25);
}
@media (prefers-color-scheme: dark) {
  .bento-card {
    background: rgba(28, 28, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  }
  .bento-card:hover {
    background: rgba(38, 38, 42, 0.85);
    border-color: rgba(41, 151, 255, 0.3);
  }
}
.bento-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.25s ease;
}
.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.06);
}
.bento-icon-wrapper svg {
  width: 24px;
  height: 24px;
}
/* Bento 四大系统色彩光谱 */
.bento-theme-blue .bento-icon-wrapper {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(0, 199, 218, 0.18));
  color: #0071e3;
  border: 1px solid rgba(0, 113, 227, 0.16);
}
.bento-theme-purple .bento-icon-wrapper {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.18));
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.16);
}
.bento-theme-amber .bento-icon-wrapper {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(251, 191, 36, 0.2));
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.16);
}
.bento-theme-green .bento-icon-wrapper {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(52, 211, 153, 0.18));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.16);
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ---- 双栏图文详情区 (Deep-dive Showcase) ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}
.feature-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--text-primary);
}
.feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.feature-list li svg {
  width: 18px;
  height: 18px;
  color: #34c759;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- 快捷键卡片 (Shortcuts Cheatsheet) ---- */
.shortcuts-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-sm);
}
.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.shortcut-item:last-child {
  border-bottom: none;
}
.shortcut-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}
.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 6px;
}
kbd {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f6 100%);
  color: var(--text-primary);
  border: 1px solid #d2d2d7;
  border-bottom: 2.5px solid #a8a8b0;
  border-radius: 7px;
  padding: 5px 12px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
@media (prefers-color-scheme: dark) {
  kbd {
    background: linear-gradient(180deg, #2c2c2e 0%, #1e1e20 100%);
    border: 1px solid #3e3e42;
    border-bottom: 2.5px solid #161618;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

/* ---- 常见问题 (FAQ Accordion) ---- */
.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: all 0.2s ease;
}
.faq-card[open] {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 113, 227, 0.25);
}
.faq-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}
.faq-card summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- 底部转化横幅 (Bottom CTA) ---- */
.cta-banner {
  margin: 80px auto 0;
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---- 页脚 (Site Footer) ---- */
.site-footer {
  border-top: none;
  padding: 56px 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 13px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}
.footer-brand img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-tertiary);
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* ---- 隐私 / 帮助 子页面 Prose 排版 ---- */
.page-hero {
  padding: 64px 0 16px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.prose h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.prose p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 16px;
}
.prose ul {
  color: var(--text-secondary);
  padding-left: 24px;
  margin: 0 0 20px;
}
.prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--text-primary);
}
.prose .note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  margin: 24px 0;
}

/* ---- 响应式适配 (Responsive) ---- */
@media (max-width: 860px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 56px 0 40px;
  }
  .section {
    padding: 60px 0;
  }
  .nav-links {
    display: none; /* 移动端精简导航 */
  }
  .hero-visual {
    margin-top: 36px;
  }
}
