/* ===================================================================
   闪连VPN (ShanLian VPN) - 核心设计系统
   视觉规范：Pure-white & Amber-gold Lightning-pulse Consumer UI
   纯原生 CSS，无第三方框架，极致秒开
   =================================================================== */

:root {
  /* 白天模式 (默认)：纯净白与琥珀金视觉 */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e5e7eb;
  --border-light: rgba(229, 231, 235, 0.8);
  --border-amber: rgba(245, 158, 11, 0.35);

  /* 文字颜色：黑曜炭黑主色 */
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;

  /* 核心强调色：亮丽万寿菊黄至暖琥珀金渐变 (#facc15 -> #f59e0b) */
  --amber-primary: #f59e0b;
  --amber-light: #facc15;
  --amber-dark: #d97706;
  --amber-gradient: linear-gradient(135deg, #facc15 0%, #f59e0b 60%, #d97706 100%);
  --amber-glow: rgba(245, 158, 11, 0.28);
  --amber-badge-bg: rgba(245, 158, 11, 0.1);
  --amber-badge-border: rgba(245, 158, 11, 0.3);

  /* 翡翠绿认证标识色 */
  --emerald-green: #22c55e;
  --emerald-glow: rgba(34, 197, 94, 0.2);

  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(17, 24, 39, 0.06), 0 8px 10px -6px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(245, 158, 11, 0.18), 0 10px 20px -5px rgba(17, 24, 39, 0.06);
  --shadow-card-hover: 0 22px 40px -10px rgba(17, 24, 39, 0.12);

  /* 导航栏背景 */
  --nav-bg: rgba(255, 255, 255, 0.94);
  --nav-border: #e5e7eb;

  /* 手机模拟器外壳 */
  --phone-frame: #1f2937;
  --phone-inner: #0f172a;
}

[data-theme="dark"] {
  /* 黑夜模式：深邃黑曜石搭配璀璨琥珀金光芒 */
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1422;
  --bg-tertiary: #161d30;
  --bg-card: #131929;
  --bg-card-hover: #192238;
  --border-color: #1f293d;
  --border-light: rgba(55, 65, 81, 0.5);
  --border-amber: rgba(251, 191, 36, 0.4);

  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;

  --amber-primary: #fbbf24;
  --amber-light: #fde047;
  --amber-dark: #f59e0b;
  --amber-gradient: linear-gradient(135deg, #fde047 0%, #fbbf24 60%, #f59e0b 100%);
  --amber-glow: rgba(251, 191, 36, 0.35);
  --amber-badge-bg: rgba(251, 191, 36, 0.15);
  --amber-badge-border: rgba(251, 191, 36, 0.4);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 35px -10px rgba(251, 191, 36, 0.22);
  --shadow-card-hover: 0 22px 40px -10px rgba(0, 0, 0, 0.8);

  --nav-bg: rgba(10, 13, 20, 0.94);
  --nav-border: #1f293d;

  --phone-frame: #0b0f19;
  --phone-inner: #060911;
}

/* 基础重置 */
*, *::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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  overflow-x: hidden;
}

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

/* 容器 */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   顶部导航栏 (Pure-white Top Navigation Bar)
   =================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s ease;
}

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

/* 标志性独立金色闪电微标 + 斜体品牌名 (完全复刻参考图规范，绝对不折行) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  user-select: none;
}

.logo-bolt-svg {
  width: 28px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
  transition: transform 0.25s ease;
}

.brand-logo:hover .logo-bolt-svg {
  transform: scale(1.08) rotate(-2deg);
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.48rem;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap !important;
}

.logo-text-cn {
  font-weight: 850;
  font-style: normal;
  letter-spacing: -0.5px;
}

.logo-text-en {
  font-weight: 850;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* 导航链接与琥珀色指示条 */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--text-secondary);
  padding: 24px 2px 20px;
  display: inline-block;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  font-weight: 650;
}

/* 活跃标签底部琥珀金指示条 */
.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber-gradient);
  border-radius: 3px 3px 0 0;
}

/* 右侧工具栏 */
.nav-right-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.lang-switch:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* 昼夜切换按钮：精致半透明磨砂质感 */
.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.theme-toggle-btn:hover {
  border-color: var(--amber-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--amber-glow);
}

.theme-icon-sun, .theme-icon-moon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
:root:not([data-theme="dark"]) .theme-icon-sun { display: none; }
:root:not([data-theme="dark"]) .theme-icon-moon { display: block; }

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.96rem;
  font-weight: 650;
  border-radius: 50px; /* 胶囊圆角 */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

/* 亮丽万寿菊黄至暖琥珀金主 CTA */
.btn-amber {
  background: var(--amber-gradient);
  color: #111827 !important;
  box-shadow: 0 6px 20px var(--amber-glow);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--amber-glow);
  filter: brightness(1.05);
}

/* 简洁白底线框按钮 (White-outlined CTA) */
.btn-white-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-white-outline:hover {
  border-color: var(--amber-primary);
  color: var(--amber-dark);
  transform: translateY(-2px);
  background: var(--bg-secondary);
}

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

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
  border-radius: 50px;
}

/* ===================================================================
   主视觉区 (Hero Section - Left Content & Right Smartphone Mockup)
   =================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(250, 204, 21, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

/* 左侧内容 */
.hero-left {
  max-width: 630px;
}

.hero-main-title {
  font-size: 3.1rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hero-subheadline {
  font-size: 1.45rem;
  font-weight: 750;
  color: var(--amber-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 5项带翡翠绿对勾的特性列表 */
.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 550;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--emerald-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--emerald-green);
  stroke-width: 3;
}

/* 双胶囊行动按钮与退款保障 */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.refund-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  white-space: nowrap !important;
  word-break: keep-all;
}

.refund-badge svg {
  width: 15px;
  height: 15px;
  color: var(--emerald-green);
}

/* ===================================================================
   右侧 Hero 智能手机模型 (Smartphone Mockup & Micro-Interactions)
   =================================================================== */
.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup-wrap {
  perspective: 1000px;
  display: inline-block;
}

.phone-mockup {
  width: 320px;
  background: var(--phone-frame);
  border-radius: 46px;
  padding: 13px;
  box-shadow: 0 25px 60px -15px rgba(17, 24, 39, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.phone-screen {
  background: var(--phone-inner);
  border-radius: 36px;
  padding: 24px 20px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* 听筒扬声器与前置刘海 */
.phone-notch {
  width: 100px;
  height: 18px;
  background: #000000;
  border-radius: 0 0 12px 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* 顶部状态栏 */
.phone-status-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  margin-bottom: 24px;
}

/* 手机内部状态卡片 */
.phone-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pulse-circle {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* 标志性金色电源开关按键 (Golden Power Button) */
.phone-power-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--amber-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  cursor: pointer;
  box-shadow: 0 0 35px var(--amber-glow);
  border: 4px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.phone-power-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 45px var(--amber-glow);
}

.phone-power-btn svg {
  width: 52px;
  height: 52px;
  fill: #111827;
}

/* 国家/节点选择胶囊 (Country Selector Pill) */
.country-selector-pill {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.country-selector-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--amber-primary);
}

.country-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.country-flag {
  font-size: 1.25rem;
}

/* 实时指标展示 */
.phone-metrics-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.78rem;
  text-align: center;
}

.phone-metrics-row div {
  color: rgba(255, 255, 255, 0.7);
}

.phone-metrics-row strong {
  display: block;
  color: #ffffff;
  font-size: 0.86rem;
  margin-top: 2px;
}

/* ===================================================================
   通用章节样式
   =================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--amber-badge-bg);
  border: 1px solid var(--amber-badge-border);
  color: var(--amber-dark);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  white-space: nowrap !important;
  word-break: keep-all;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 850;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

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

/* ===================================================================
   产品核心优势介绍 (3个图文卡片，中间暖琥珀金高亮)
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 38px 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* 中间高亮暖琥珀金卡片 (Highlighted Warm-Amber Center Card) */
.feature-card.highlighted {
  border: 2px solid var(--amber-primary);
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 16px 35px -5px var(--amber-glow);
  transform: scale(1.02);
}

.feature-card.highlighted:hover {
  transform: scale(1.02) translateY(-6px);
}

.center-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-gradient);
  color: #111827;
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--amber-glow);
  white-space: nowrap !important;
  word-break: keep-all;
  display: inline-block;
  line-height: 1.25;
}

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

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-bullets svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-green);
  flex-shrink: 0;
}

/* ===================================================================
   全球统计指标 (Global Stats - 2000+ 服务器 / 1000+ 城市 / 70+ 国家)
   =================================================================== */
.stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-box h3, .stat-box .stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--amber-dark);
  margin-bottom: 6px;
  display: block;
}

.stat-box p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ===================================================================
   流媒体图卡 与 AI 支持图卡
   =================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.showcase-card:hover {
  border-color: var(--amber-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.showcase-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--amber-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  flex-shrink: 0;
}

.showcase-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.showcase-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.service-pill:hover {
  border-color: var(--amber-primary);
  background: var(--amber-badge-bg);
  color: var(--amber-dark);
}

.spec-metrics {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.spec-item .num {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--amber-dark);
}

.spec-item .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================================================
   平台支持卡片矩阵 (5x2 Platform Download Grid)
   =================================================================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--amber-dark);
  transition: background 0.2s;
}

.platform-card:hover .platform-icon {
  background: var(--amber-badge-bg);
}

.platform-card h3, .platform-card h4 {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* ===================================================================
   套餐价格对比表 (参考网上主流真实套餐价格)
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

/* 年度臻选（热门高光） */
.pricing-card.featured {
  border: 2px solid var(--amber-primary);
  box-shadow: 0 16px 35px -5px var(--amber-glow);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-gradient);
  color: #111827;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--amber-glow);
  white-space: nowrap !important;
  word-break: keep-all;
  display: inline-block;
  line-height: 1.25;
  z-index: 2;
}

.pricing-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 22px;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.pricing-plan-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 40px;
}

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

.pricing-currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

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

.pricing-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-features-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--emerald-green);
}

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

/* ===================================================================
   用户评价与 FAQ
   =================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-primary);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--amber-primary);
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  color: var(--amber-dark);
  font-size: 1.05rem;
  border: 1px solid var(--amber-badge-border);
}

.user-details h4 {
  font-size: 0.96rem;
  font-weight: 750;
  color: var(--text-primary);
}

.user-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  transition: color 0.2s;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  stroke-width: 2.5;
  transition: transform 0.3s ease, stroke 0.2s ease;
  flex-shrink: 0;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

/* 底部 CTA 条幅 */
.cta-banner {
  background: var(--amber-gradient);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #111827;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px var(--amber-glow);
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 850;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  font-weight: 550;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #1f2937;
}

.cta-banner .btn-dark {
  background: #111827;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-dark:hover {
  transform: translateY(-2px);
  background: #1f2937;
}

/* ===================================================================
   页脚 (Strictly 4 Links)
   =================================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 36px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-link:hover {
  color: var(--amber-dark);
  background: var(--amber-badge-bg);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-brand {
  font-weight: 750;
  color: var(--text-secondary);
}

/* ===================================================================
   二级资讯与文档页面专用样式
   =================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.news-badge {
  background: var(--amber-badge-bg);
  border: 1px solid var(--amber-badge-border);
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

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

.news-card h3 {
  font-size: 1.28rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.news-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--amber-dark);
}

/* ===================================================================
   响应式媒体查询 (Responsive Media Queries)
   =================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-subheadline {
    justify-content: center;
  }
  .hero-checklist {
    align-items: flex-start;
    max-width: 500px;
    margin: 0 auto 30px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .features-grid, .reviews-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-main-title {
    font-size: 2.15rem;
  }
  .hero-subheadline {
    font-size: 1.2rem;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .phone-mockup {
    width: 290px;
  }
}


/* ===================================================================
   长篇深度 SEO 文章专用排版规范 (Article & Knowledge Base)
   =================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--amber-dark);
}

.breadcrumb-sep {
  opacity: 0.6;
}

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

.article-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.article-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

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

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 目录卡片 (Table of Contents) */
.toc-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--amber-primary);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

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

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

.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toc-list li a:hover {
  color: var(--amber-dark);
  font-weight: 600;
  transform: translateX(4px);
}

.toc-num {
  font-weight: 750;
  color: var(--amber-dark);
  font-size: 0.88rem;
}

/* 正文排版 */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--amber-gradient);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--text-primary);
  margin: 32px 0 14px;
}

.article-content p {
  margin-bottom: 20px;
}

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

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 10px;
}

/* 表格排版 */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

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

.article-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 750;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

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

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

.article-table tr:hover {
  background: var(--bg-tertiary);
}

/* 重点提示框 */
.article-callout {
  background: var(--amber-badge-bg);
  border-left: 4px solid var(--amber-primary);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.article-callout strong {
  color: var(--amber-dark);
}

/* 官方内链高亮 */
.inline-brand-link {
  color: var(--amber-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.inline-brand-link:hover {
  color: var(--amber-primary);
}

/* 文章内 FAQ 板块 */
.article-faq-section {
  margin: 50px 0 40px;
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 34px 28px;
  border: 1px solid var(--border-color);
}

.article-faq-section h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q {
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-top: 18px;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 14px;
}

.faq-a:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* 相关阅读板块 (Related Posts) */
.related-posts-section {
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}

.related-posts-section h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.related-card:hover {
  border-color: var(--amber-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.related-card span {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--amber-dark);
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.75rem;
  }
  .article-wrap {
    padding: 30px 16px 60px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
