/* ==========================================================================
   SparkCloud 花火云官网 - 极速原生样式表 (style.css)
   特性：零外部框架依赖、微秒级解析、极致SEO性能、原生CSS变量系统
   ========================================================================== */

:root {
  /* 品牌色彩系统 - Spark 花火流光 */
  --primary: #ff5500;
  --primary-hover: #ff7722;
  --primary-glow: rgba(255, 85, 0, 0.45);
  --secondary: #ff007a;
  --secondary-glow: rgba(255, 0, 122, 0.4);
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-gold: #ffb703;
  --accent-purple: #8b5cf6;

  /* 暗色调背景体系 */
  --bg-main: #070a12;
  --bg-darker: #04060a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-card-highlight: rgba(30, 41, 75, 0.8);
  --bg-glass: rgba(15, 23, 42, 0.65);

  /* 文字颜色体系 */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-light: #ffffff;

  /* 边框体系 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 85, 0, 0.3);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-hover: rgba(255, 120, 40, 0.6);

  /* 阴影体系 */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 28px var(--primary-glow);
  --shadow-glow-cyan: 0 0 28px var(--accent-cyan-glow);

  /* 布局与动画 */
  --container-width: 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-main);
  color: var(--text-main);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   星穹铁道 · 花火 (Sparkle) 专属动态视觉背景层
   ========================================================================== */
.sparkle-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparkle-bg-img {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: url('../assets/sparkle-bg.webp') center center / cover no-repeat;
  opacity: 0.58;
  filter: saturate(1.25) contrast(1.12);
  animation: sparkleBreathe 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes sparkleBreathe {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.04) translate(-1.5%, -1%); }
  100% { transform: scale(1.02) translate(1%, -1.2%); }
}

.sparkle-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 82% 45%, rgba(7, 10, 18, 0.12) 0%, rgba(7, 10, 18, 0.6) 45%, rgba(7, 10, 18, 0.88) 75%, #070a12 100%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.35) 0%, rgba(7, 10, 18, 0.72) 40%, rgba(4, 6, 10, 0.95) 100%);
}

/* 花火透明立绘浮动装饰 (立于暗色蒙版上方，清晰耀眼呈现) */
.sparkle-character-art {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 720px;
  height: 890px;
  background: url('../assets/sparkle-splash.webp') right bottom / contain no-repeat;
  opacity: 0.88;
  filter: drop-shadow(0 0 30px rgba(255, 0, 122, 0.6)) drop-shadow(0 0 60px rgba(255, 85, 0, 0.35));
  animation: sparkleFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 65% 55%, black 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 95% at 65% 55%, black 65%, transparent 100%);
}

@keyframes sparkleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.82; }
  50% { transform: translateY(-16px) rotate(1.2deg); opacity: 0.92; }
  100% { transform: translateY(-6px) rotate(-0.5deg); opacity: 0.86; }
}

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

/* 原生 CSS 动态环境光晕效果 */
.ambient-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.ambient-glow-1 {
  top: -10%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.4), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  top: 45%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 0, 122, 0.3), transparent 70%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.ambient-glow-3 {
  bottom: -15%;
  left: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25), transparent 70%);
  animation: floatOrb3 25s ease-in-out infinite alternate;
}

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

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -50px) scale(1.15); }
  100% { transform: translate(40px, 60px) scale(0.9); }
}

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

/* 网格科技覆层 */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}

/* 整体容器与层级封装 */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 10, 18, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.logo-svg {
  height: 44px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

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

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

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
}

/* 按钮通用组件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff5500 0%, #ff007a 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 85, 0, 0.6);
  filter: brightness(1.08);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #0077ff 100%);
  color: #040814;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--accent-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 240, 255, 0.6);
  filter: brightness(1.06);
}

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

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

.btn-lg {
  padding: 15px 36px;
  font-size: 17px;
  letter-spacing: 0.3px;
}

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

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(30deg);
  transition: none;
  animation: shineLoop 4.5s infinite;
}

@keyframes shineLoop {
  0%, 70% { left: -60%; }
  100% { left: 160%; }
}

/* 板块排版标准 */
.section {
  padding: 96px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  color: #ff7722;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-badge-cyan {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
  color: #00f0ff;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

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

/* 渐变高亮文字 */
.text-gradient {
  background: linear-gradient(135deg, #ff7722 0%, #ff007a 50%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-gold {
  color: var(--accent-gold);
}

/* ==========================================================================
   Hero 首屏板块
   ========================================================================== */
.hero-section {
  padding: 120px 0 90px 0;
  position: relative;
  text-align: center;
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

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

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

.hero-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-main {
  display: inline-block;
}

.hero-title-sub {
  display: inline-block;
  white-space: nowrap;
}

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

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  text-align: center;
  padding: 16px;
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
  font-feature-settings: "tnum";
}

.hero-stat-label {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* 客户端图标支持栏 */
.client-badges-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.client-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   专线测速与全球节点展示 (Speed Test & Nodes)
   ========================================================================== */
.nodes-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.nodes-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

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

.node-item-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.node-item-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-country {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

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

.node-ping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.node-ping-badge.cyan {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.35);
  color: #00f0ff;
}

.node-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.node-detail-row {
  display: flex;
  justify-content: space-between;
}

.node-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.node-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-muted);
}

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

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

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.15), rgba(255, 0, 122, 0.15));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   所有价格同排展示板块 (Pricing Section - STRICT SAME ROW ON DESKTOP)
   ========================================================================== */
.pricing-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 85, 0, 0.08) 0%, transparent 70%);
}

.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

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

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* 热门推荐卡片高亮 */
.pricing-card.popular {
  background: linear-gradient(180deg, rgba(35, 45, 75, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 0 35px var(--primary-glow);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-8px);
  border-color: var(--primary-hover);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff5500, #ff007a);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--primary-glow);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-tier-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--text-dim);
  min-height: 38px;
}

.pricing-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.pricing-amount {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

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

.pricing-monthly-calc {
  font-size: 12.5px;
  color: var(--accent-cyan);
  margin-top: 6px;
  font-weight: 600;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.pricing-feature-item.dim {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-feature-item.dim svg {
  color: var(--text-dim);
}

.pricing-btn {
  width: 100%;
}

/* ==========================================================================
   客户端与一键配置指引 (Client Tutorial)
   ========================================================================== */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.client-logo-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.client-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.client-platform {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   文章专栏精选 (Articles Showcase)
   ========================================================================== */
.articles-section {
  background: rgba(255, 255, 255, 0.01);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: var(--transition);
  color: inherit;
}

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

.article-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 85, 0, 0.12);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #ff7722;
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 8px;
}

.article-card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   用户真实评价板块 (Testimonials)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: var(--transition);
}

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

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

.testimonial-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: normal;
}

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

.user-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5500, #ff007a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  flex-shrink: 0;
}

.user-info-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

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

/* ==========================================================================
   常见问题 FAQ 手风琴板块 (FAQ Accordion)
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.faq-item.active {
  border-color: var(--border-accent);
  background: rgba(20, 29, 52, 0.85);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 内部链接高亮 */
.internal-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.internal-link:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   权威生态与友好外链 (Ecosystem External Links)
   ========================================================================== */
.ecosystem-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ecosystem-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.ecosystem-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.ecosystem-icon {
  font-size: 24px;
}

.ecosystem-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

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

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px 0;
  font-size: 14px;
  color: var(--text-dim);
}

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

.footer-brand-desc {
  margin: 16px 0 16px 0;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 380px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   响应式媒体查询 (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .sparkle-character-art {
    width: 500px;
    height: 650px;
    opacity: 0.72;
    right: -30px;
  }
  .hero-title {
    font-size: clamp(28px, 3.6vw, 40px);
  }
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sparkle-character-art {
    display: block;
    width: 320px;
    height: 420px;
    opacity: 0.45;
    right: -40px;
    bottom: -10px;
  }
  .sparkle-bg-img {
    opacity: 0.38;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.35;
  }
  .hero-title-sub {
    white-space: normal;
    display: inline;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
