/* ==========================================================================
   SpeedCat(闪电猫) - Volt-Lime Pathway-Trace & Interactive Guide UI
   纯原生 CSS，零外部依赖，支持黑夜主视觉（碳黑+伏特青柠）与日间建筑白双模式
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* 旗舰暗夜主题：深碳黑画布 + 枪灰卡片 + 伏特青柠 + 冰蓝等宽标签 */
  --bg-body: #0f1215;
  --bg-subtle: #12161a;
  --bg-card: #161a1f;
  --bg-card-elevated: #1b2027;
  --bg-glass: rgba(15, 18, 21, 0.78);
  --bg-toggle: rgba(22, 26, 31, 0.62);
  --bg-toggle-hover: rgba(32, 38, 46, 0.86);
  --bg-table-head: #1a1f26;
  --bg-table-stripe: rgba(255, 255, 255, 0.018);

  --text-primary: #f5f7fa;
  --text-secondary: #9aa4b2;
  --text-muted: #687382;
  --text-on-volt: #0b0e11;

  --volt: #d4f82c;
  --volt-hover: #e3ff59;
  --volt-soft: rgba(212, 248, 44, 0.1);
  --volt-border: rgba(212, 248, 44, 0.36);
  --volt-glow: rgba(212, 248, 44, 0.22);

  --ice: #7dd3fc;
  --ice-soft: rgba(125, 211, 252, 0.1);

  --border-color: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.15);
  --route-line: rgba(255, 255, 255, 0.11);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 56px -14px rgba(0, 0, 0, 0.72);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1180px;
  --header-height: 68px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --transition-theme: 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* 日间建筑白模式：高对比极简清晰 */
  --bg-body: #f5f7f9;
  --bg-subtle: #edf1f5;
  --bg-card: #ffffff;
  --bg-card-elevated: #f8fafc;
  --bg-glass: rgba(245, 247, 249, 0.82);
  --bg-toggle: rgba(255, 255, 255, 0.65);
  --bg-toggle-hover: rgba(255, 255, 255, 0.94);
  --bg-table-head: #eef2f6;
  --bg-table-stripe: #fafbfc;

  --text-primary: #0f1215;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-volt: #0b0e11;

  --volt: #d4f82c;
  --volt-hover: #c5eb1c;
  --volt-soft: rgba(132, 204, 22, 0.14);
  --volt-border: rgba(101, 163, 13, 0.45);
  --volt-glow: rgba(132, 204, 22, 0.22);

  --ice: #0284c7;
  --ice-soft: rgba(2, 132, 199, 0.1);

  --border-color: rgba(15, 18, 21, 0.09);
  --border-strong: rgba(15, 18, 21, 0.18);
  --route-line: rgba(15, 18, 21, 0.14);

  --shadow-sm: 0 1px 2px rgba(15, 18, 21, 0.05);
  --shadow-md: 0 10px 26px -8px rgba(15, 18, 21, 0.09);
  --shadow-lg: 0 22px 48px -14px rgba(15, 18, 21, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* 锚点定位偏移与抵达高亮过渡 */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

@keyframes sectionArrive {
  0% {
    box-shadow: inset 0 2px 0 0 var(--volt);
  }
  100% {
    box-shadow: inset 0 2px 0 0 transparent;
  }
}

.section-arrived {
  animation: sectionArrive 1.1s ease-out;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--border-color);
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  margin-bottom: 44px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
}

.mono-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 8px var(--volt-glow);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

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

/* ==========================================================================
   顶部导航栏 & 右上角精致透明昼夜切换按钮
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--volt);
  color: var(--text-on-volt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--volt-glow);
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
  transition: color 0.22s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.nav-news {
  color: var(--ice);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 精致透明化昼夜切换按钮 */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-toggle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background-color var(--transition-theme),
    border-color 0.25s ease,
    color var(--transition-theme),
    box-shadow 0.25s ease;
}

.theme-toggle:hover {
  background: var(--bg-toggle-hover);
  border-color: var(--volt-border);
  box-shadow: 0 0 0 3px var(--volt-soft);
}

.theme-icon-wrap {
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  position: absolute;
  width: 15px;
  height: 15px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}

.icon-sun {
  opacity: 0;
  transform: rotate(70deg) scale(0.45);
  color: #f59e0b;
}

.icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--volt);
}

[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(-70deg) scale(0.45);
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn-sm {
  min-height: 36px;
  padding: 0 15px;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 0.96rem;
}

.btn-volt {
  background: var(--volt);
  color: var(--text-on-volt);
  box-shadow: 0 0 24px -4px var(--volt-glow);
}

.btn-volt:hover {
  background: var(--volt-hover);
  box-shadow: 0 0 32px -2px var(--volt-glow);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--volt-border);
  background: var(--bg-card-elevated);
}

/* ==========================================================================
   主视觉区 (Hero) - Pathway-Linked Editorial Layout
   ========================================================================== */
.hero {
  position: relative;
  padding: 68px 0 56px;
  background-image:
    radial-gradient(ellipse 60% 45% at 80% 10%, var(--volt-soft), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 0%, var(--ice-soft), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.hero-title {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}

.hero-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--volt);
  margin-bottom: 10px;
}

[data-theme="light"] .hero-brand-line {
  color: #4d7c0f;
}

.hero-subtitle {
  font-size: 1.03rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.hero-meta-strip span strong {
  color: var(--text-primary);
  margin-right: 4px;
}

/* 右侧暗色工作台画框（纯 CSS/SVG 建筑光影，零外部图片延迟） */
.workspace-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(155deg, #171c22 0%, #0d1014 100%);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #f5f7fa;
}

.workspace-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.workspace-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #9aa4b2;
}

.win-dots {
  display: inline-flex;
  gap: 6px;
}

.win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.win-dots i:first-child {
  background: #d4f82c;
}

.workspace-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d4f82c;
}

.workspace-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4f82c;
  box-shadow: 0 0 8px rgba(212, 248, 44, 0.7);
}

.workspace-stage {
  position: relative;
  display: grid;
  gap: 12px;
}

.trace-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.trace-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(212, 248, 44, 0.14);
  color: #d4f82c;
  border: 1px solid rgba(212, 248, 44, 0.3);
}

.trace-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.trace-sub {
  font-size: 0.74rem;
  color: #8b95a5;
}

.trace-ms {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #7dd3fc;
}

.workspace-foot {
  position: relative;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7f8a99;
}

/* ==========================================================================
   Pathway-Pulse 呼吸光轨微交互卡片（零抖动）
   ========================================================================== */
@keyframes perimeterPulse {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.pathway-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color 0.28s ease, background-color var(--transition-theme), box-shadow 0.28s ease;
  overflow: hidden;
}

/* 顶部与边框伏特青柠脉冲光轨（hover 触发，绝无位移抖动） */
.pathway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 248, 44, 0.12) 25%,
    #d4f82c 50%,
    rgba(125, 211, 252, 0.35) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.pathway-card:hover {
  border-color: var(--volt-border);
  box-shadow: 0 0 28px -12px var(--volt-glow);
}

.pathway-card:hover::before {
  opacity: 1;
  animation: perimeterPulse 1.8s linear infinite;
}

.pathway-card:hover .card-index,
.pathway-card:hover .card-arrow {
  color: var(--volt);
}

[data-theme="light"] .pathway-card:hover .card-index,
[data-theme="light"] .pathway-card:hover .card-arrow {
  color: #4d7c0f;
}

/* 4-Column Utility Strip（连接，从理解开始 / 桌面 & 移动 / 速度 & 响应 / 观察 → 排查） */
.pathway-wrap {
  margin-top: 44px;
  position: relative;
}

.utility-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.utility-card {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utility-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ice);
}

.card-arrow {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.utility-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.utility-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 细微结构路由连线 */
.routing-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ice);
  letter-spacing: 0.08em;
}

.routing-bridge::before,
.routing-bridge::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--route-line), var(--volt-border), var(--route-line), transparent);
}

/* 非对称 5 平台 Bento 矩阵（01 / DESKTOP 到 05 / WEB） */
.bento-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bento-card {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 158px;
}

.bento-span-3 {
  grid-column: span 3;
}

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

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ice);
  transition: color 0.25s ease;
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.bento-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   产品核心优势（3个图文卡片）
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-visual {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--volt-soft);
  border: 1px solid var(--volt-border);
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .feature-visual {
  color: #3f6212;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

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

/* ==========================================================================
   流媒体图卡 & AI 支持图卡（无通用机器人图标）
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.showcase-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.showcase-head h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 8px 0 6px;
}

.showcase-head p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.app-tile {
  padding: 13px 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.22s ease;
}

.app-tile:hover {
  border-color: var(--volt-border);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
}

.b-nf { background: #dc2626; }
.b-dp { background: #1d4ed8; }
.b-yt { background: #e11d48; }
.b-hb { background: #6d28d9; }
.b-sp { background: #16a34a; }
.b-tk { background: #27272a; }

.b-oa { background: #0f766e; }
.b-cl { background: #c2410c; }
.b-gm { background: #2563eb; }
.b-cr { background: #334155; }
.b-mj { background: #4338ca; }
.b-gh { background: #1e293b; }

.app-name {
  font-size: 0.86rem;
  font-weight: 700;
}

.app-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   套餐价格与详细对比表（参考闪电猫真实线上套餐）
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.plan-card {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-featured {
  border-color: var(--volt-border);
  box-shadow: 0 0 36px -14px var(--volt-glow);
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-pill {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--volt);
  color: var(--text-on-volt);
  font-size: 0.7rem;
  font-weight: 800;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 800;
}

.plan-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  min-height: 40px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 0;
}

.plan-price .currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-price .amount {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 8px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--volt);
  font-weight: 700;
}

[data-theme="light"] .plan-features li::before {
  color: #4d7c0f;
}

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

/* 参数对比表 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.compare-table thead th {
  background: var(--bg-table-head);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--bg-table-stripe);
}

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

.col-volt {
  color: var(--volt);
  font-weight: 700;
}

[data-theme="light"] .col-volt {
  color: #3f6212;
}

.pricing-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   用户评价 & 常见问题 (FAQ)
   ========================================================================== */
.review-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-rating {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--volt);
  letter-spacing: 0.06em;
}

[data-theme="light"] .review-rating {
  color: #4d7c0f;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--volt-soft);
  border: 1px solid var(--volt-border);
  color: var(--volt);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .avatar {
  color: #3f6212;
}

.reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
}

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

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--volt-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-family: var(--font-mono);
  color: var(--ice);
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--volt);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* CTA 横幅 */
.cta-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--volt-border);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-elevated) 100%);
  padding: 44px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  margin: 8px 0 8px;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 560px;
}

/* ==========================================================================
   页脚（严格只保留四个标题，均在新页面打开）
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-subtle);
  padding: 36px 0;
  transition: background-color var(--transition-theme);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 4px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--volt);
}

[data-theme="light"] .footer-nav a:hover {
  color: #4d7c0f;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   子页面与推荐资讯页样式
   ========================================================================== */
.page-hero {
  padding: 56px 0 36px;
  background-image: radial-gradient(ellipse 60% 50% at 20% 0%, var(--volt-soft), transparent 70%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin: 10px 0 10px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 680px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ice);
  margin-bottom: 8px;
}

.doc-content {
  padding: 48px 0 72px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 20px;
}

.doc-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.doc-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.doc-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 12px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-secondary);
}

.sitemap-links {
  list-style: none !important;
  padding-left: 0 !important;
}

.sitemap-links a {
  color: var(--ice);
  font-weight: 500;
}

.sitemap-links a:hover {
  text-decoration: underline;
}

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

.news-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ice);
}

.news-card h2 {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--volt);
  margin-top: 6px;
}

[data-theme="light"] .news-card-link {
  color: #3f6212;
}

/* ==========================================================================
   长篇 SEO 科普文章排版（面包屑 / 侧边目录 / 正文 / 提示框 / 相关阅读）
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ice);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.toc-list a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc-list a:hover {
  color: var(--text-primary);
  border-left-color: var(--volt);
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 38px;
}

.article-body section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.article-body section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-body h2 {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

.article-body p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
}

.article-body a.inline-link {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

[data-theme="light"] .article-body a.inline-link {
  color: #3f6212;
}

.article-body ul,
.article-body ol {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 16px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border-left: 3px solid var(--volt);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.article-callout strong {
  color: var(--text-primary);
}

.article-table-wrap {
  margin: 18px 0 22px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.88rem;
}

.article-table th,
.article-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.article-table th {
  background: var(--bg-table-head);
  color: var(--text-primary);
  font-weight: 700;
}

.article-table td {
  color: var(--text-secondary);
}

.related-section {
  margin-top: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.related-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   响应式适配（手机端完美单栏显示，按钮适合手指点击）
   ========================================================================== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }
}
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 768px) {
  .grid-3,
  .grid-2,
  .pricing-grid,
  .news-grid,
  .related-grid,
  .utility-strip,
  .bento-matrix {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 24px 18px;
  }

  .bento-span-3,
  .bento-span-2 {
    grid-column: span 1;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }

  .cta-banner .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 44px 0 48px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .brand-sub,
  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
  }

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

  .showcase-card,
  .doc-card {
    padding: 22px 18px;
  }

  .showcase-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .showcase-foot .btn {
    width: 100%;
  }
}
