/* ===================================================================
   泡泡狗 (PaoPaoGou.lol) 现代设计工具极简风格样式库
   Inspired by Figma & Modern UI Precision Systems
   纯原生 CSS · 零重型库 · 极致秒开
=================================================================== */

:root {
  /* 白天模式 (默认)：工作室极简浅灰白底色与精细灰阶 */
  --bg-body: #F9FAFB;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F3F4F6;
  --bg-surface-hover: #F8FAFC;
  --border-subtle: #E5E7EB;
  --border-focus: #3B82F6;
  --border-hover: #D1D5DB;
  
  /* 精确炭灰排版色系 */
  --text-main: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;

  /* 核心交互标识色彩 (严格限定) */
  --bubble-blue: #3B82F6;
  --bubble-blue-hover: #2563EB;
  --bubble-blue-subtle: rgba(59, 130, 246, 0.08);
  --bubble-blue-border: rgba(59, 130, 246, 0.25);
  
  --warm-amber: #F59E0B;
  --warm-amber-subtle: rgba(245, 158, 11, 0.1);
  --status-emerald: #10B981;
  --status-emerald-subtle: rgba(16, 185, 129, 0.1);

  /* 几何规范：全胶囊与20px容器 */
  --radius-pill: 9999px;
  --radius-container: 20px;
  --radius-inner: 12px;

  /* 阴影规范：超细微阴影，杜绝脏乱渐变 */
  --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  --shadow-elevate: 0 12px 24px -4px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
  --shadow-popover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  /* 弹簧物理缓动曲线 */
  --spring-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  
  --container-max: 1160px;
}

/* 夜间模式 (Dark Mode) - 工作室高质感深灰 */
[data-theme="dark"] {
  --bg-body: #0B0F17;
  --bg-surface: #111827;
  --bg-surface-subtle: #1F2937;
  --bg-surface-hover: #182234;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: #3B82F6;
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --text-main: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  --text-subtle: #6B7280;

  --bubble-blue-subtle: rgba(59, 130, 246, 0.18);
  --bubble-blue-border: rgba(59, 130, 246, 0.38);

  --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-elevate: 0 14px 28px rgba(0, 0, 0, 0.55);
  --shadow-popover: 0 12px 30px rgba(0, 0, 0, 0.65);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  transition: var(--transition-theme);
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

/* ================= 导航条 (Navbar) ================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-theme);
}

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

/* 品牌LOGO：纯几何极简设计，严禁卡通狗 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-glyph {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--bubble-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
}

.brand-glyph::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bubble-blue-subtle);
  color: var(--bubble-blue);
  border: 1px solid var(--bubble-blue-border);
}

/* 导航目录 (首页 + 每个板块 + 推荐资讯) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-item a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.nav-item a:hover {
  color: var(--text-main);
  background: var(--bg-surface-subtle);
}

.nav-item.highlight a {
  color: var(--bubble-blue);
  font-weight: 600;
  background: var(--bubble-blue-subtle);
}

.nav-item.highlight a:hover {
  background: rgba(59, 130, 246, 0.14);
}

/* 头部操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 精致专业昼夜模式切换按钮 */
.theme-switch-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  outline: none;
}

.theme-switch-btn:hover {
  border-color: var(--border-focus);
  color: var(--bubble-blue);
  background: var(--bg-surface-subtle);
}

.theme-switch-btn svg {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.theme-switch-btn .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-switch-btn .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-switch-btn .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-switch-btn .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 按钮规范：全胶囊 Pill-shaped */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--bubble-blue);
  color: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--bubble-blue-hover);
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-subtle);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.02rem;
  min-height: 48px;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
}

/* ================= 主视觉区 (Hero Section) ================= */
.hero {
  padding: 72px 0 60px;
  text-align: center;
}

/* 顶部状态胶囊 */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bubble-blue);
  box-shadow: 0 0 0 3px var(--bubble-blue-subtle);
  animation: pulse-ring 2.2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-headline {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--text-main);
  max-width: 920px;
  margin: 0 auto 18px;
}

.hero-intro {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* 1. Bubble Popover Telemetry (节点横向遥测条) */
.telemetry-container {
  max-width: 860px;
  margin: 0 auto;
}

.telemetry-bar {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  box-shadow: var(--shadow-card);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.telemetry-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hub-pill:hover {
  background: var(--bubble-blue-subtle);
  color: var(--bubble-blue);
}

.hub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-emerald);
}

.hub-ms {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* 浮动微遥测气泡 (Spring Physics Popover) */
.hub-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.96);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-shadow: var(--shadow-popover);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.25s var(--spring-easing);
  z-index: 50;
}

.hub-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--border-subtle) transparent transparent transparent;
}

.hub-pill:hover .hub-popover {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.popover-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.popover-metric strong {
  color: var(--status-emerald);
}

.sparkline-svg {
  width: 48px;
  height: 16px;
}

/* ================= 通用板块规范 ================= */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bubble-blue);
  background: var(--bubble-blue-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

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

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================= 3. Hover-Elevate Bento Grid (核心优势) ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--spring-easing), border-color 0.2s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
  position: relative;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--bubble-blue);
  box-shadow: var(--shadow-elevate);
}

/* 顶部度量徽标与数字计数区 */
.bento-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.bento-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bento-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bubble-blue);
  margin-left: 4px;
}

.bento-status-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.bento-card:hover .bento-status-pill {
  background: var(--bubble-blue-subtle);
  color: var(--bubble-blue);
  border-color: var(--bubble-blue-border);
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

.bento-specs {
  list-style: none;
  margin-top: auto;
}

.bento-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.spec-check {
  width: 14px;
  height: 14px;
  color: var(--status-emerald);
  flex-shrink: 0;
}

/* ================= 流媒体图卡 & AI 支持图卡 (严谨无卡通/无花哨) ================= */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ecosystem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.ecosystem-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-elevate);
}

.ecosystem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ecosystem-title {
  font-size: 1.45rem;
  font-weight: 750;
  color: var(--text-main);
}

.ecosystem-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.badge-stream {
  background: rgba(239, 68, 68, 0.09);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-ai {
  background: var(--bubble-blue-subtle);
  color: var(--bubble-blue);
  border: 1px solid var(--bubble-blue-border);
}

.ecosystem-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* 标签网格：纯文字 + 状态微圆点，严禁花哨卡通与大图标 */
.spec-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.spec-tag {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.spec-tag:hover {
  border-color: var(--bubble-blue);
  background: var(--bg-surface);
}

.spec-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--status-emerald);
}

.ecosystem-footer-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ================= 2. Elastic Pill Switcher (价格表与弹性切换器) ================= */
.billing-switcher-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.elastic-switcher {
  position: relative;
  display: inline-flex;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-subtle);
}

.switcher-btn {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.switcher-btn.active {
  color: var(--text-main);
}

.switcher-btn .discount-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--warm-amber);
  color: #FFFFFF;
}

/* 弹性液态滑块指示器 (Elastic liquid stretch-and-snap indicator) */
.elastic-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.32s var(--spring-easing), width 0.28s ease;
  z-index: 1;
}

/* 套餐对比网格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.pricing-card.featured {
  border: 2px solid var(--bubble-blue);
  box-shadow: 0 8px 24px var(--bubble-blue-subtle);
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bubble-blue);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-summary {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.plan-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bubble-blue);
}

.plan-val {
  font-size: 2.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.plan-cycle {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plan-features-list li.dim {
  color: var(--text-subtle);
}

.plan-features-list li svg {
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ================= 用户评价 (Precision Minimalist Reviews) ================= */
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.review-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.verified-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--status-emerald-subtle);
  color: var(--status-emerald);
}

.stars-pill {
  font-size: 0.78rem;
  color: var(--warm-amber);
  letter-spacing: 2px;
}

.review-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.author-glyph {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bubble-blue);
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ================= 常见问题 (FAQ Accordion) ================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: var(--border-hover);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  outline: none;
}

.faq-icon-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  transition: transform 0.25s var(--spring-easing);
  flex-shrink: 0;
}

.faq-card.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--bubble-blue);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-card.active .faq-content {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* ================= 底部精炼 CTA 横幅 ================= */
.pre-footer-banner {
  padding: 60px 0 80px;
}

.banner-container-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.banner-head {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.banner-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ================= 页脚规范 (严格只保留四个标题) ================= */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  text-align: center;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link-pill {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link-pill:hover {
  color: var(--bubble-blue);
  background: var(--bg-surface-subtle);
}

.footer-copy-text {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ================= 推荐资讯及子页面专用布局 ================= */
.subpage-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.subpage-header-box {
  margin-bottom: 40px;
  text-align: center;
}

.subpage-title-main {
  font-size: 2.3rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.subpage-intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.article-list-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 30px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

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

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

.article-title-link {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
  display: block;
}

.article-title-link:hover {
  color: var(--bubble-blue);
}

.article-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= 移动端响应式 (@media) ================= */
@media (max-width: 992px) {
  .bento-grid,
  .pricing-grid,
  .reviews-row {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    box-shadow: var(--shadow-popover);
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .spec-tag-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .telemetry-bar {
    border-radius: var(--radius-container);
    padding: 10px;
  }

  .hub-pill {
    width: 100%;
    justify-content: space-between;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 12px;
  }

  .spec-tag-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= 深度 SEO 长文阅读器样式 ================= */
.article-reader-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-hero-header {
  margin-bottom: 36px;
  text-align: left;
}

.article-breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
}

.article-breadcrumbs a:hover {
  color: var(--bubble-blue);
}

.article-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

/* 目录 (TOC - Table of Contents) */
.article-toc-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-item {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.toc-item a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-item a:hover {
  color: var(--bubble-blue);
  transform: translateX(3px);
}

.toc-item.sub {
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 文章正文排版 */
.article-prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-prose p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 44px 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-prose h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-main);
  margin: 28px 0 14px;
}

.article-prose ul, .article-prose ol {
  padding-left: 24px;
  margin-bottom: 22px;
  color: var(--text-secondary);
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose blockquote {
  background: var(--bg-surface-subtle);
  border-left: 4px solid var(--bubble-blue);
  border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.article-prose strong {
  color: var(--text-main);
  font-weight: 700;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-inner);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.article-table th {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.internal-link {
  color: var(--bubble-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.internal-link:hover {
  color: var(--bubble-blue-hover);
}

/* 文章内部 FAQ 模块 */
.article-faq-section {
  margin: 48px 0;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.article-faq-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.faq-qna-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 20px 24px;
  margin-bottom: 14px;
}

.faq-qna-q {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-qna-a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 文章底部转化卡片 */
.article-cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 36px 30px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-card);
}

.article-cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* 相关阅读模块 */
.article-related-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.related-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-container);
  padding: 20px;
  transition: var(--transition-smooth);
}

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

.related-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: block;
  line-height: 1.45;
}

.related-card-title:hover {
  color: var(--bubble-blue);
}

.related-card-date {
  font-size: 0.78rem;
  color: var(--text-subtle);
}
