/* ===================================================================
   飞兔云 (Feituyun.cfd) - 原生高保真纯 CSS 样式库
   零外部依赖 · 秒开级加载 · 响应式适配 · 极致玻璃拟态与流光交互
   =================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* 主题色系 */
  --bg-primary: #030712;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  
  --border-color: rgba(56, 189, 248, 0.16);
  --border-hover: rgba(56, 189, 248, 0.45);
  --border-glow: rgba(59, 130, 246, 0.6);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --brand-cyan: #38bdf8;
  --brand-blue: #3b82f6;
  --brand-indigo: #6366f1;
  --brand-purple: #8b5cf6;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;

  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
  --grad-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%);
  --grad-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.85) 100%);
  --grad-highlight: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px -5px rgba(56, 189, 248, 0.35);
  --shadow-purple-glow: 0 0 35px -5px rgba(139, 92, 246, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --nav-height: 72px;
  --container-max: 1240px;
}

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

ul, ol {
  list-style: none;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* 动态背景画布 */
#dynamicBgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* 页面主要容器 */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ================= 导航条 Header ================= */
.site-header {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  width: 100%;
  max-width: var(--container-max);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu li,
.nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-menu a,
.nav-menu li a,
.nav-item a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s ease;
  padding: 6px 4px;
  position: relative;
  white-space: nowrap !important;
  display: inline-block;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu li a:hover,
.nav-item a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.nav-menu a.active,
.nav-menu li.active a,
.nav-item.active a {
  color: #38bdf8 !important;
  font-weight: 600;
  text-decoration: none !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
}

.nav-menu a.active::after,
.nav-menu li.active a::after,
.nav-item.active a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta .btn,
.btn-sm {
  padding: 7px 18px !important;
  font-size: 13.5px !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
}

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

/* ================= 按钮与标签规范 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.55);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--brand-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 16.5px;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-cyan,
.badge-blue {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #c084fc !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
}

.badge-emerald,
.badge-green {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* ================= Hero 主视觉区 ================= */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

/* 信任指标 Trust Badges */
.trust-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  max-width: 980px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================= 核心优势 Features ================= */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 54px;
}

.section-tag {
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  color: var(--brand-cyan);
}

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

.feature-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= 流媒体与 AI 解锁展示 ================= */
.media-ai-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.unlock-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.25s ease;
}

.unlock-item:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.2);
}

.unlock-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.unlock-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.unlock-status {
  font-size: 11.5px;
  color: var(--brand-emerald);
  margin-top: 4px;
  display: block;
}

/* ================= 核心价格区域 (所有价格同排对齐) ================= */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

.pricing-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

/* 核心：桌面端严格 4 列同排并列，高度一致 */
.pricing-row-container,
.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100%;
}

.pricing-grid-3,
.ondemand-grid,
.pricing-grid[style*="repeat(3"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100%;
}

.pricing-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 22px 24px;
  display: flex !important;
  flex-direction: column !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 100%;
}

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

/* 推荐热门卡片 */
.pricing-card.featured,
.pricing-card.popular {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1.5px solid var(--brand-cyan) !important;
  box-shadow: var(--shadow-glow);
}

.popular-badge,
.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.5);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: fit-content;
}

.plan-header,
.pricing-header {
  margin-bottom: 16px;
}

.plan-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  min-height: 38px;
  line-height: 1.45;
}

.plan-price-wrap,
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-cyan);
}

.price-amount,
.amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1;
}

.price-period,
.period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 2px;
}

/* 特权清单列表 */
.plan-features-list,
.plan-features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1; /* 关键：撑开中间区域，确保底部 CTA 按钮绝对同排对齐 */
}

.plan-features-list li,
.plan-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.plan-features-list li .check-icon,
.plan-features li .feature-icon {
  color: var(--brand-cyan);
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-features-list li strong,
.plan-features li strong {
  color: var(--text-main);
}

/* 按钮贴底对齐 */
.plan-cta,
.pricing-footer {
  margin-top: auto; /* 保证无论内容长短，同排按钮完全在一条水平线 */
  padding-top: 12px;
  width: 100%;
}

/* 不限时按量套餐并列区 */
.ondemand-box {
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ondemand-header {
  text-align: center;
  margin-bottom: 28px;
}

.ondemand-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.ondemand-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

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

.ondemand-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}

.ondemand-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple-glow);
}

/* ================= 单独页面通用 Header 与 Hero ================= */
.page-main {
  flex-grow: 1;
  padding-bottom: 60px;
}

.page-hero {
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

/* ================= SEO 文章聚合区 ================= */
.articles-section {
  padding: 80px 0;
  position: relative;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.article-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 100%;
  position: relative;
  overflow: hidden !important; /* 彻底锁死边缘，杜绝任何子元素溢出 */
  box-sizing: border-box !important;
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-dim);
  width: 100%;
  box-sizing: border-box;
}

.article-date {
  font-size: 11.5px;
  color: #64748b;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.article-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 12px 0;
  word-break: break-word;
}

.article-title a {
  color: #f8fafc !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: block;
}

.article-card:hover .article-title a,
.article-title a:hover {
  color: var(--brand-cyan) !important;
}

.article-summary {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1; /* 撑开中间，使底部绝对对齐 */
  word-break: break-word;
}

.article-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden;
}

.reading-time {
  font-size: 11.5px !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.read-more,
.article-readmore {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.read-more:hover,
.article-readmore:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
  transform: translateX(2px) !important;
}

/* ================= 用户真实评价 Testimonials ================= */
.reviews-section {
  padding: 80px 0;
  position: relative;
}

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

.review-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.review-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-content {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.author-info {
  display: flex;
  flex-direction: column;
}

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

.author-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* ================= 常见问题 FAQ ================= */
.faq-section {
  padding: 80px 0 100px;
  position: relative;
}

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

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

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

/* 展开状态的高亮与微光 */
.faq-item[open],
.faq-item.active {
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.12);
}

/* 去除原生 details 小三角，并在所有现代浏览器兼容 */
details.faq-item summary::-webkit-details-marker,
details.faq-item summary::marker {
  display: none !important;
  content: "";
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none; /* 去除 Firefox / Safari 下的默认 marker */
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-cyan);
}

.faq-question .faq-arrow,
.faq-question .faq-toggle {
  color: var(--brand-cyan);
  font-size: 16px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 12px;
}

/* 展开时箭头旋转 180 度 */
.faq-item[open] .faq-arrow,
.faq-item[open] .faq-toggle,
.faq-item.active .faq-arrow,
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 关键修复：同时支持 details[open] 原生标签与 class="active" 两种展开模式 */
.faq-item[open] .faq-answer,
.faq-item.active .faq-answer {
  max-height: 1000px !important;
  padding: 0 24px 24px !important;
  overflow: visible;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style: disc outside !important;
  padding-left: 20px !important;
  margin: 10px 0 !important;
}

.faq-answer ul li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

/* ================= 页脚 Footer & 外链 ================= */
.site-footer {
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 32px;
  position: relative;
  z-index: 10;
  color: var(--text-muted);
}

.footer-top,
.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 36px !important;
  margin-bottom: 40px !important;
  align-items: flex-start !important;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-desc,
.footer-slogan {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
  max-width: 340px;
}

.footer-pbn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 6px;
}

.footer-pbn .pbn-label {
  color: #94a3b8;
  font-weight: 500;
}

.footer-pbn a,
.pbn-link {
  color: var(--brand-cyan) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-pbn a:hover,
.pbn-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  text-decoration: underline !important;
}

.footer-pbn .sep {
  color: rgba(255, 255, 255, 0.2);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-title,
.col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: 0.5px;
}

.footer-links,
.col-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer-links li,
.col-list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a,
.col-list a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover,
.col-list a:hover {
  color: var(--brand-cyan) !important;
  padding-left: 4px;
  text-decoration: none !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
}

.footer-disclaimer {
  color: #475569;
  font-size: 12px;
}

.footer-friendly-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-friendly-links a {
  color: var(--brand-cyan);
  text-decoration: none;
}

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

/* ================= 单篇文章页样式 (Article Detail) ================= */
.article-detail-wrap {
  padding: 50px 0 90px;
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.article-main-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-info-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15.5px;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-cyan);
  margin: 26px 0 12px;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body blockquote {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--brand-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: #e2e8f0;
}

.article-body a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body a:hover {
  color: #7dd3fc;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.sidebar-links a:hover {
  color: var(--brand-cyan);
}

/* ================= 响应式媒体查询 Media Queries ================= */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 8px;
  }
  .nav-menu a,
  .nav-menu li a,
  .nav-item a {
    font-size: 13px;
    padding: 6px 3px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 6px;
  }
  .nav-menu a,
  .nav-menu li a,
  .nav-item a {
    font-size: 12.5px;
    padding: 5px 2px;
  }
  .pricing-row-container,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: auto;
  }
  .site-header {
    height: auto;
    padding: 8px 0;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .brand-logo-img {
    height: 34px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0 2px 0;
    gap: 14px;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .pricing-row-container,
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .media-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ondemand-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .trust-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .article-body {
    padding: 24px 18px;
  }
}
