/* ==========================================================================
   星梭VPN (XingSuo VPN) - 核心样式表
   零重型依赖 · 纯原生 CSS · 极致秒开与丝滑动效
   ========================================================================== */

/* --- 1. CSS 变量与设计系统 --- */
:root {
  /* 品牌色系 */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --accent-cyan: #06b6d4;
  --accent-purple: #7c3aed;
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  --gradient-glow: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(124,58,237,0.15) 100%);
  --badge-bg: rgba(37, 99, 235, 0.08);
  --badge-border: rgba(37, 99, 235, 0.2);

  /* 默认白天模式 (Light Mode) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;

  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 20px 40px -8px rgba(37, 99, 235, 0.18);

  --hero-glow: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(37,99,235,0.12) 0%, rgba(248,250,252,0) 80%);
  --toggle-bg: rgba(241, 245, 249, 0.8);
  --toggle-border: rgba(203, 213, 225, 0.6);
  --toggle-indicator: #2563eb;

  /* 品牌指挥中心专属色系 */
  --cyan-electric: #00e5ff;
  --blue-cobalt: #2563eb;
  --gold-amber: #fbbf24;
  --obsidian-abyssal: #04070e;
  --hud-glass: rgba(10, 16, 28, 0.72);
  --hud-border: rgba(0, 229, 255, 0.22);
  --hud-glow: 0 0 25px rgba(0, 229, 255, 0.12);

  /* 尺寸与过渡 */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 暗夜模式 (Command-Center Dark Mode) --- */
html[data-theme="dark"],
body.theme-dark {
  --bg-body: #04070e;
  --bg-surface: #0a101c;
  --bg-surface-elevated: #0f1728;
  --bg-glass: rgba(10, 16, 28, 0.85);
  --border-light: rgba(0, 229, 255, 0.16);
  --border-subtle: rgba(0, 229, 255, 0.32);

  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.8);
  --shadow-hover: 0 20px 40px -8px rgba(0, 229, 255, 0.25);

  --hero-glow: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 229, 255, 0.15) 0%, rgba(37, 99, 235, 0.1) 40%, rgba(4, 7, 14, 0) 80%);
  --toggle-bg: rgba(15, 23, 42, 0.8);
  --toggle-border: rgba(0, 229, 255, 0.4);
  --toggle-indicator: #00e5ff;
  --badge-bg: rgba(0, 229, 255, 0.1);
  --badge-border: rgba(0, 229, 255, 0.28);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", 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);
  min-height: 100vh;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- 3. 布局容器 --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-elevated);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html[data-theme="dark"] .section-tag,
body.theme-dark .section-tag {
  color: #60a5fa;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 4. 导航栏 (Header & Navbar) --- */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar-wrap .container {
  max-width: 1360px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.brand-logo span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.brand-text-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar > nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  display: inline-block;
  padding: 6px 4px;
  transition: var(--transition);
}

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

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active,
body.theme-dark .nav-links a:hover,
body.theme-dark .nav-links a.active {
  color: var(--cyan-electric);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* --- 精致高质感昼夜切换按钮 --- */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.theme-switch-btn:hover {
  transform: translateY(-1px);
  border-color: var(--toggle-indicator);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
}

.theme-switch-btn svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

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

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  color: #60a5fa;
}

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

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  flex-shrink: 0;
  cursor: pointer;
}

/* --- 5. 按钮规范 (CTA Buttons) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
  filter: brightness(1.06);
}

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

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-md {
  padding: 12px 26px;
  font-size: 1rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.btn-block {
  width: 100%;
}

/* --- 6. 主视觉区 (Hero Section) --- */
.hero {
  padding: 110px 0 80px 0;
  background-image: var(--hero-glow);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-logo-wrap {
  margin: 0 auto 20px auto;
  display: inline-block;
  position: relative;
}

.hero-logo-img {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.35);
  animation: hero-float 4s ease-in-out infinite;
  display: block;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title .text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 38px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
}

.trust-item svg {
  color: #10b981;
}

/* --- 7. 核心优势卡片 (Core Advantages - 3 Cards) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-subtle);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

html[data-theme="dark"] .feature-icon-box,
body.theme-dark .feature-icon-box {
  color: #60a5fa;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-specs {
  list-style: none;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}

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

.feature-specs li:last-child {
  margin-bottom: 0;
}

.feature-specs svg {
  color: #10b981;
  flex-shrink: 0;
}

/* --- 8. 流媒体解锁专区卡片 (Streaming Media Showcase) --- */
.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.showcase-info h2,
.showcase-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.showcase-info p {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.streaming-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.streaming-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.streaming-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.media-logo-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.media-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.media-brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-brand-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: #10b981;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}

.media-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* --- 9. AI 生产力专属加速卡片 (AI Support Showcase) --- */
.ai-card {
  margin-top: 36px;
}

.ai-card .showcase-card {
  grid-template-columns: 1.1fr 1fr;
}

.ai-chips-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ai-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.ai-chip:hover {
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

.ai-chip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ai-chip-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chip-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.ai-chip-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* --- 10. 套餐价格对比表 (Pricing Plans) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* 热门推荐卡片 */
.price-card.featured {
  border: 2px solid var(--primary);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
}

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

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

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.price-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.price-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-features li.disabled svg {
  color: var(--text-muted);
}

/* --- 11. 用户口碑评价 (User Reviews) --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 24px;
  flex-grow: 1;
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

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

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

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 22px;
}

/* --- 13. 底部行动转化卡片 (Pre-footer CTA) --- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px auto;
}

.btn-white {
  background: #ffffff;
  color: #1d4ed8 !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* --- 14. 页脚规范 (Footer) --- */
/* 用户需求：页脚只保留这四个标题（网站地图，关于我们，服务条款，隐私政策），内容打开新的页面展示 */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 36px 0;
  text-align: center;
  transition: var(--transition);
}

.footer-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-nav-link:hover {
  color: var(--primary);
  background-color: var(--bg-surface-elevated);
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- 15. 子页面专用样式 (About / Terms / Privacy / Sitemap) --- */
.subpage-hero {
  padding: 72px 0 48px 0;
  background-image: var(--hero-glow);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.subpage-content {
  padding: 64px 0 96px 0;
}

.legal-article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 36px 0 16px 0;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--text-main);
}

.legal-article p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.legal-article ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-article li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.alert-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.alert-box.alert-security {
  border-left-color: #10b981;
}

.alert-box.alert-warning {
  border-left-color: #ef4444;
}

/* 网站地图样式 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sitemap-block {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.sitemap-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.sitemap-list {
  list-style: none;
}

.sitemap-list li {
  margin-bottom: 12px;
}

.sitemap-list a {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --- 16. 响应式适配 (@media 移动端优化) --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-card,
  .ai-card .showcase-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 1080px) {
  /* 导航栏折叠为抽屉式汉堡菜单 (防止中等屏幕多链接挤压折行) */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 10px 14px;
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--bg-surface-elevated);
    color: var(--primary);
  }

  html[data-theme="dark"] .nav-links a:hover,
  html[data-theme="dark"] .nav-links a.active,
  body.theme-dark .nav-links a:hover,
  body.theme-dark .nav-links a.active {
    color: var(--cyan-electric);
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .hero {
    padding: 72px 0 54px 0;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-list {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding-left: 16px;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .streaming-visual-grid,
  .ai-chips-container,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    padding: 32px 24px;
  }

  .cta-banner {
    padding: 44px 24px;
  }

  .cta-banner h2 {
    font-size: 1.85rem;
  }

  .legal-article {
    padding: 32px 20px;
  }

  .footer-nav-container {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    min-height: 48px; /* 适合手指点击 */
  }
}

/* ==========================================================================
   3D 指挥中心 (3D Command-Center HUD) 核心样式
   深邃黑曜石 · 3D WebGL 球体 · 荧光青与琥珀金能量线 · 磨砂 Squircle 悬浮 HUD
   ========================================================================== */

/* 1. 荧光青药丸按钮 (Navbar CTA) */
.btn-hud-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan-electric) !important;
  border: 1px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-hud-cyan:hover {
  background: var(--cyan-electric);
  color: #04070e !important;
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.65);
  transform: translateY(-2px);
}

.brand-highlight {
  background: linear-gradient(135deg, #00e5ff 0%, #2563eb 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2. 3D 全景指挥台容器 (Hero 3D Stage) */
.hero-3d-stage {
  position: relative;
  width: 100%;
  margin: 32px auto 0 auto;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(10, 16, 28, 0.85) 0%, rgba(4, 7, 14, 0.98) 100%);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-glow), inset 0 0 40px rgba(0, 229, 255, 0.05);
  padding: 32px 24px 40px 24px;
  overflow: hidden;
}

/* 顶部状态条 */
.stage-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.2);
  font-size: 0.82rem;
  color: var(--cyan-electric);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.telemetry-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.telemetry-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-electric);
  box-shadow: 0 0 10px var(--cyan-electric);
  animation: pulse-dot 1.8s infinite;
}

/* 3D 球体视口与浮动 HUD 网格 */
.stage-main-layout {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  gap: 20px;
  align-items: center;
  min-height: 500px;
}

/* 球体居中展示画布 */
.stage-center-globe {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 480px;
  cursor: grab;
  touch-action: none;
}

#globe-canvas:active {
  cursor: grabbing;
}

.globe-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 3. 悬浮 Squircle HUD 面板 (带 1px 荧光转角边框) */
.hud-squircle {
  position: relative;
  background: var(--hud-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hud-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  z-index: 2;
}

.hud-squircle:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.15);
}

/* 1px 荧光青与金角标 */
.hud-squircle::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--cyan-electric);
  border-left: 2px solid var(--cyan-electric);
  border-top-left-radius: 16px;
  pointer-events: none;
}

.hud-squircle::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--gold-amber);
  border-right: 2px solid var(--gold-amber);
  border-bottom-right-radius: 16px;
  pointer-events: none;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan-electric);
}

.hud-header-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HUD 1: 全球实时吞吐量面板 */
.throughput-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.throughput-number {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #fff;
  line-height: 1;
}

.throughput-unit {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-electric);
}

.throughput-canvas-wrap {
  width: 100%;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.03);
  overflow: hidden;
}

#throughput-sparkline {
  width: 100%;
  height: 100%;
  display: block;
}

.throughput-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.78rem;
}

.meta-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-box-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.meta-box-val {
  color: #fff;
  font-weight: 700;
  font-family: monospace;
}

/* HUD 2: 星梭节点探测器 (Shuttle Node Explorer) */
.hud-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.node-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: left;
}

.node-btn:hover,
.node-btn.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan-electric);
  color: #fff;
  transform: translateX(4px);
}

.node-city {
  display: flex;
  align-items: center;
  gap: 6px;
}

.node-ping {
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  color: var(--gold-amber);
  background: rgba(251, 191, 36, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* HUD 3: 实时协议与安全状态 */
.hud-status-module {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 20px;
  background: var(--hud-glass);
  border: 1px solid var(--hud-border);
  border-radius: 14px;
}

.status-cell {
  border-right: 1px solid rgba(0, 229, 255, 0.15);
  padding-right: 12px;
}

.status-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.status-cell-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.status-cell-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-cell-val svg {
  color: var(--cyan-electric);
}

/* 4. 路由诊断控制台 (Route Diagnostic Console) */
.diagnostic-terminal-box {
  margin-top: 24px;
  background: #020408;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  background: #080c14;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

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

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--cyan-electric);
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #94a3b8;
  min-height: 150px;
}

.terminal-line {
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hop-tag {
  color: var(--cyan-electric);
  font-weight: 700;
}

.hop-latency {
  color: var(--gold-amber);
  margin-left: auto;
  font-weight: 700;
}

.terminal-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 229, 255, 0.02);
  border-top: 1px dashed rgba(0, 229, 255, 0.15);
}

.btn-trace-run {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--cyan-electric);
  color: var(--cyan-electric);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-trace-run:hover {
  background: var(--cyan-electric);
  color: #04070e;
  box-shadow: 0 0 16px var(--cyan-electric);
}

/* 5. 推荐资讯专页样式 (Articles Grid) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.article-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-electric);
  box-shadow: var(--shadow-hover);
}

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

.article-cat {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

html[data-theme="dark"] .article-cat,
body.theme-dark .article-cat {
  color: var(--cyan-electric);
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-summary {
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-points {
  padding: 12px 14px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-points .point-item {
  color: var(--cyan-electric);
}

.article-action {
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}

.article-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

html[data-theme="dark"] .article-link,
body.theme-dark .article-link {
  color: var(--cyan-electric);
}

.article-link:hover {
  text-decoration: underline;
}

.insights-cta-banner {
  text-align: center;
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
}

.insights-cta-banner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.insights-cta-banner p {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 24px;
}

/* 6. 响应式微调 (Command Center Mobile View) */
@media (max-width: 992px) {
  .stage-main-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stage-center-globe {
    height: 380px;
    order: -1;
  }
  .hud-status-module {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-3d-stage {
    padding: 20px 14px 28px 14px;
  }
  .stage-telemetry-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hud-status-module {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   深度长篇 SEO 文章排版与组件系统 (Long-form SEO Article System)
   文章目录 (TOC) · 常见问题解答 (FAQ) · 相关阅读 · 内链指引 · 表格与代码块
   ========================================================================== */

.article-detail-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 96px 24px;
}

/* 面包屑导航 */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-sub);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.separator {
  color: var(--border-subtle);
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 600;
}

/* 文章头部与元数据 */
.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-main-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.article-lead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-sub);
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--cyan-electric);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}

/* 交互式文章目录 (TOC - Table of Contents) */
.article-toc {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.article-toc::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan-electric);
  border-left: 2px solid var(--cyan-electric);
  border-top-left-radius: 12px;
}

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

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

.toc-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.toc-list li a {
  color: var(--text-sub);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: var(--transition);
}

.toc-list li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

html[data-theme="dark"] .toc-list li a:hover,
body.theme-dark .toc-list li a:hover {
  color: var(--cyan-electric);
}

.toc-sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
}

.toc-sub-list li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

/* 正文核心内容排版 */
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text-main);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 88px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.2em;
  background: var(--gradient-brand);
  border-radius: 4px;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--text-main);
  scroll-margin-top: 88px;
}

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

.article-body ul, .article-body ol {
  padding-left: 26px;
  margin-bottom: 24px;
  color: var(--text-sub);
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

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

/* 内链高亮指示 */
.inline-site-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

html[data-theme="dark"] .inline-site-link,
body.theme-dark .inline-site-link {
  color: var(--cyan-electric);
}

/* 测评与参数对比表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

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

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

.comparison-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table tr:hover td {
  background: var(--bg-surface-elevated);
}

/* 文章中嵌入的 CTA 卡片 */
.article-cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--hud-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 44px 0;
  text-align: center;
  box-shadow: var(--hud-glow);
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-cta-box p {
  color: var(--text-sub);
  max-width: 600px;
  margin: 0 auto 24px auto;
  font-size: 0.98rem;
}

/* 文章 FAQ 专属版块 */
.article-faq-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.article-faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 18px;
}

.article-faq-q {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.article-faq-q::before {
  content: "Q:";
  color: var(--cyan-electric);
  font-weight: 900;
}

.article-faq-a {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 相关阅读版块 (Related Articles) */
.related-articles-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.related-articles-section h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 22px;
}

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

.related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-electric);
  box-shadow: var(--shadow-sm);
}

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

.related-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.85rem;
  }
  .article-detail-wrap {
    padding: 24px 16px 64px 16px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-cta-box {
    padding: 28px 20px;
  }
}


