/* ==========================================================================
   SparkCloud 花火云官网 - 核心样式库 (style.css)
   特性：100% 纯原生 CSS，零任何外部框架/库依赖，纳秒级解析渲染，极致秒开
   适配：桌面端、平板、移动端全尺寸自适应，暗色流光玻璃拟态
   ========================================================================== */

:root {
  /* 品牌色彩：花火烈焰、极光青、霓虹紫 */
  --spark-primary: #ff5500;
  --spark-primary-hover: #ff7722;
  --spark-primary-glow: rgba(255, 85, 0, 0.4);
  --spark-pink: #ff007a;
  --spark-pink-glow: rgba(255, 0, 122, 0.35);
  --spark-cyan: #00f0ff;
  --spark-cyan-glow: rgba(0, 240, 255, 0.3);
  --spark-gold: #ffb703;
  --spark-purple: #8b5cf6;

  /* 背景体系：深度星空渐变暗色 */
  --bg-deep: #070913;
  --bg-darker: #04050a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 62, 0.9);
  --bg-card-featured: rgba(25, 30, 60, 0.85);
  --bg-glass: rgba(13, 20, 38, 0.65);

  /* 文字颜色 */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* 边框体系 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 85, 0, 0.5);
  --border-cyan: rgba(0, 240, 255, 0.4);
  --border-featured: rgba(255, 85, 0, 0.8);

  /* 容器与圆角 */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

/* 动态背景画布与流光背景光晕 */
#dynamic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  transform: translateZ(0);
  will-change: transform;
}

.bg-ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.18;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.ambient-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--spark-primary) 0%, transparent 70%);
}

.ambient-2 {
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, var(--spark-cyan) 0%, transparent 70%);
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.ambient-3 {
  top: 45%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--spark-pink) 0%, transparent 70%);
  animation-duration: 15s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
  100% { transform: translate(50px, -30px) scale(0.95); }
}

/* 容器规范 */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 链接样式 */
a {
  color: var(--spark-cyan);
  text-decoration: none;
  transition: var(--transition);
}

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

/* ==========================================================================
   导航栏 Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(4, 5, 10, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

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

/* 左侧 Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* 导航链接 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 8px 4px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--spark-primary), var(--spark-cyan));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* 导航右侧操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-login {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav-register {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--spark-primary) 0%, #e63946 100%);
  box-shadow: 0 4px 18px var(--spark-primary-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 85, 0, 0.6);
  color: #fff;
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   Hero 主屏首屏区域
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: #ff9e66;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 52px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text-pure);
}

.text-gradient-spark {
  background: linear-gradient(135deg, #ff5500 0%, #ff007a 50%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* 主 CTA 大按钮 */
.btn-cta-primary {
  font-size: 17px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  color: #fff;
  background: linear-gradient(135deg, #ff5500 0%, #ff007a 100%);
  box-shadow: 0 8px 30px rgba(255, 85, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 85, 0, 0.65);
  color: #fff;
}

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-secondary {
  font-size: 17px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* 仪表盘状态横幅 */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.stat-item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: monospace, -apple-system;
}

.stat-num span {
  color: var(--spark-primary);
  font-size: 20px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   通用区块标题
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spark-primary);
  margin-bottom: 12px;
  background: rgba(255, 85, 0, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 85, 0, 0.25);
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   优势特色区 (Features Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.2);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 26px;
  color: var(--spark-primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--spark-primary);
  color: #fff;
  box-shadow: 0 0 20px var(--spark-primary-glow);
  transform: scale(1.08) rotate(4deg);
}

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

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

/* ==========================================================================
   全球节点分布与 GEO 延迟测速区
   ========================================================================== */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.node-item:hover {
  border-color: var(--border-cyan);
  background: rgba(20, 30, 58, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.node-flag {
  font-size: 30px;
  line-height: 1;
}

.node-meta h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.node-meta p {
  font-size: 12px;
  color: var(--text-dim);
}

.node-status {
  text-align: right;
}

.node-ping {
  font-size: 18px;
  font-weight: 800;
  font-family: monospace;
  color: #00ff88;
}

.node-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 136, 0.12);
  color: #00ff88;
  display: inline-block;
  margin-top: 4px;
}

/* ==========================================================================
   价格方案区 (Pricing Section) - 用户严格要求：所有价格要同排展示！
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, rgba(7, 9, 19, 0) 0%, rgba(13, 20, 42, 0.6) 50%, rgba(7, 9, 19, 0) 100%);
  padding: 100px 0;
}

/* 所有价格必须同排 (3列并在同一行对齐) */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch; /* 保持高度拉伸完全对齐 */
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

/* 热门卡片高光 */
.pricing-card.featured {
  background: var(--bg-card-featured);
  border: 2px solid var(--spark-primary);
  box-shadow: 0 20px 50px rgba(255, 85, 0, 0.25);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 30px 60px rgba(255, 85, 0, 0.4);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--spark-primary), var(--spark-pink));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--spark-primary-glow);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
  text-align: center;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--spark-primary);
  vertical-align: top;
  margin-right: 2px;
}

.price-value {
  font-size: 50px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1;
  font-family: monospace, -apple-system;
}

.price-cycle {
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 4px;
}

.price-original {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-top: 6px;
}

/* 特权清单 */
.plan-features-list {
  list-style: none;
  margin-bottom: 34px;
  flex-grow: 1; /* 撑满中间空间使底部按钮绝对对齐 */
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.5;
}

.feature-check {
  color: #00ff88;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

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

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

/* 卡片内 CTA 按钮 (严格包含 nofollow target=_blank) */
.btn-plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-plan-outline {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-plan-outline:hover {
  background: rgba(255, 85, 0, 0.15);
  border-color: var(--spark-primary);
  color: #fff;
  box-shadow: 0 0 20px var(--spark-primary-glow);
}

.btn-plan-featured {
  color: #fff;
  background: linear-gradient(135deg, var(--spark-primary) 0%, #e63946 100%);
  box-shadow: 0 8px 25px var(--spark-primary-glow);
  border: none;
}

.btn-plan-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 85, 0, 0.6);
  color: #fff;
}

.btn-plan-pro {
  color: #fff;
  background: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
  box-shadow: 0 8px 25px rgba(121, 40, 202, 0.4);
  border: none;
}

.btn-plan-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 0, 128, 0.5);
  color: #fff;
}

/* ==========================================================================
   文章精选区 (Articles / Tutorials Grid)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.article-thumb-banner {
  height: 140px;
  background: linear-gradient(135deg, #131a33 0%, #1e1b4b 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 85, 0, 0.2);
  border: 1px solid rgba(255, 85, 0, 0.4);
  color: #ffaa77;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.thumb-icon {
  font-size: 42px;
  opacity: 0.85;
}

.article-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.article-title-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.4;
  margin-bottom: 12px;
  display: block;
}

.article-title-link:hover {
  color: var(--spark-primary);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--spark-cyan);
}

.article-readmore:hover {
  color: var(--spark-primary);
  gap: 10px;
}

/* ==========================================================================
   用户口碑评价 (Testimonials)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-stars {
  color: #ffb703;
  margin-bottom: 16px;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spark-primary), var(--spark-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 17px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 2px;
}

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

/* ==========================================================================
   常见问题 FAQ 手风琴
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

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

.faq-question:hover {
  color: var(--spark-primary);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
  padding-bottom: 22px;
}

/* ==========================================================================
   权威生态与客户端推荐外链区
   ========================================================================== */
.tools-outer {
  background: rgba(10, 14, 28, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tool-link-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.tool-link-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--spark-cyan);
  transform: translateY(-3px);
}

.tool-icon {
  font-size: 26px;
}

.tool-info h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 2px;
}

.tool-info p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   底部 CTA 横幅
   ========================================================================== */
.bottom-cta-banner {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.15) 0%, rgba(255, 0, 122, 0.12) 50%, rgba(0, 240, 255, 0.1) 100%);
  border: 1px solid rgba(255, 85, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.bottom-cta-banner h2 {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.bottom-cta-banner p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--spark-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   响应式设计与媒体查询
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nodes-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { padding: 0 16px; }
  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-actions .btn-nav-login { display: none; }

  /* 价格在平板/中屏自适应保持并排滚动或自适应 */
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }
  .stat-item:nth-child(3), .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .nodes-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
