/* ==========================================================================
   KY-Cloud 快云 (ky-cloud.mom) - 纯原生 CSS 极速样式表
   零外部依赖 · 纯 CSS 动态背景 · 秒开级渲染 · 所有价格同排对齐
   ========================================================================== */

:root {
  --bg-main: #06040e;
  --bg-card: rgba(18, 12, 34, 0.76);
  --bg-card-hover: rgba(32, 18, 60, 0.86);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(168, 85, 247, 0.16);
  --border-glow: rgba(192, 132, 252, 0.45);
  --border-accent: rgba(232, 121, 249, 0.45);
  
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #d946ef 100%);
  --cyan-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --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;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px -5px rgba(99, 102, 241, 0.4);
  --shadow-cyan: 0 0 25px -5px rgba(6, 182, 212, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   超高清 8K 唯美电影级「紫色的河流 (Purple River)」动态背景系统
   纯原生 CSS GPU 硬件加速 60FPS · 缓动呼吸 · 视差流光 · 绝美画质
   ========================================================================== */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background-color: #06030e;
}

/* 8K 电影级「紫色的河流」超高清艺术画卷底层 (缓速灵动呼吸与极微漂浮) */
.bg-purple-river-artwork {
  position: absolute;
  top: -4%;
  left: -4%;
  width: 108%;
  height: 108%;
  background-image: url("assets/purple-river-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.92;
  filter: saturate(1.2) brightness(0.95) contrast(1.08);
  animation: riverArtworkBreathe 32s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes riverArtworkBreathe {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.04) translate(-1.2%, -0.8%);
  }
  100% {
    transform: scale(1.01) translate(0.8%, -1.2%);
  }
}

/* 优雅暗幕遮罩与文本高反差暗角 (保障前景卡片与文字秒读高对比度) */
.bg-river-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 70% at 50% 28%, rgba(6, 3, 14, 0.42) 0%, rgba(6, 3, 14, 0.78) 62%, #06030e 100%),
    linear-gradient(180deg, rgba(5, 2, 10, 0.58) 0%, rgba(15, 6, 30, 0.22) 32%, rgba(6, 3, 14, 0.85) 75%, #06030e 100%);
  pointer-events: none;
}

/* 河面动态流光溢彩波浪层 1 (自右向左无缝平滑奔涌) */
.bg-river-flow-back {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 28vh;
  min-height: 180px;
  background-image: url("assets/bg-river.svg");
  background-repeat: repeat-x;
  background-size: 50% 100%;
  opacity: 0.65;
  mix-blend-mode: screen;
  will-change: transform;
  animation: landscape-scroll 22s linear infinite;
}

/* 河面动态近景波光层 2 (反向差速奔腾，交织出立体波光) */
.bg-river-flow-front {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 20vh;
  min-height: 130px;
  background-image: url("assets/bg-river-front.svg");
  background-repeat: repeat-x;
  background-size: 50% 100%;
  opacity: 0.58;
  mix-blend-mode: screen;
  will-change: transform;
  animation: landscape-scroll 14s linear infinite reverse;
}

/* 璀璨的紫夜星芒闪烁 (Twinkling Cosmic Purple Stars) */
.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 7% 12%, rgba(253, 244, 255, 0.85), transparent),
    radial-gradient(1px 1px at 16% 24%, rgba(240, 171, 252, 0.7), transparent),
    radial-gradient(1.8px 1.8px at 25% 8%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 34% 18%, rgba(232, 121, 249, 0.65), transparent),
    radial-gradient(2px 2px at 43% 11%, rgba(245, 208, 254, 0.9), transparent),
    radial-gradient(1px 1px at 52% 23%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 61% 9%, rgba(192, 132, 252, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, rgba(240, 171, 252, 0.65), transparent),
    radial-gradient(1.8px 1.8px at 86% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 94% 26%, rgba(216, 180, 254, 0.65), transparent);
  animation: stars-twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}

/* 河面上空弥漫的梦幻紫雾 (Purple River Mist) */
.bg-mist {
  position: absolute;
  left: 0;
  bottom: 16vh;
  width: 200%;
  height: 240px;
  background:
    radial-gradient(ellipse 25% 55% at 15% 65%, rgba(192, 132, 252, 0.2), transparent 72%),
    radial-gradient(ellipse 28% 50% at 42% 50%, rgba(232, 121, 249, 0.15), transparent 72%),
    radial-gradient(ellipse 26% 55% at 70% 62%, rgba(168, 85, 247, 0.18), transparent 72%),
    radial-gradient(ellipse 24% 55% at 92% 55%, rgba(216, 180, 254, 0.16), transparent 72%);
  filter: blur(32px);
  will-change: transform;
  animation: landscape-scroll 48s linear infinite;
  pointer-events: none;
}

/* 赛博微光交互网格（柔美半透明叠加） */
.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.15) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.15) 80%);
  pointer-events: none;
}

/* 动态背景关键帧动画 */
@keyframes landscape-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes stars-twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ==========================================================================
   布局容器 & 通用组件
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.55);
}

.btn-cyan {
  background: var(--cyan-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.55);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

/* ==========================================================================
   导航头部 (左上方指定 Logo)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand-suffix {
  font-size: 0.78rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Hero 英雄横幅区域
   ========================================================================== */
.hero-section {
  padding: 90px 0 70px 0;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  color: #c7d2fe;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseGreen 2s infinite;
}

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

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 960px;
  margin: 0 auto 24px auto;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-number span {
  color: #38bdf8;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================================
   核心特性卡片网格
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

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

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

/* ==========================================================================
   全球节点网络分布状态
   ========================================================================== */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.node-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

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

.node-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.node-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.node-type {
  font-size: 0.76rem;
  color: #38bdf8;
  font-family: var(--font-mono);
}

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

.node-ms {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.node-status {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ==========================================================================
   套餐定价区域 —— 【用户严格要求：所有价格同排展示】
   Desktop 4 列严格水平同排，使用 CSS Grid 或 Flex 统一等高
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, rgba(8, 11, 18, 0) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(8, 11, 18, 0) 100%);
}

.pricing-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 严格同排 4 列并列展示 */
  gap: 20px;
  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;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 进阶畅享版 - 高亮爆款方案 */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 41, 69, 0.9) 0%, rgba(20, 27, 46, 0.9) 100%);
  border: 1.5px solid #6366f1;
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.45);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

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

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 40px;
  line-height: 1.4;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 18px 0 6px 0;
}

.price-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-right: 2px;
}

.price-val {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-sub-price {
  font-size: 0.78rem;
  color: #38bdf8;
  text-align: center;
  font-weight: 500;
}

.plan-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1; /* 撑满高度，保证按钮底端对其 */
}

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

.plan-features-list li strong {
  color: #ffffff;
}

.check-icon {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-action {
  margin-top: auto;
}

/* ==========================================================================
   客户端生态与一键导入
   ========================================================================== */
.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;
  transition: all 0.25s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
}

.client-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.client-platform {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

/* ==========================================================================
   深度评测与知识库文章推荐 (SEO 内部跳转枢纽)
   ========================================================================== */
.articles-section {
  position: relative;
}

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

.article-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  text-decoration: none;
}

.article-summary-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.article-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 4px;
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
  align-self: flex-start;
}

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

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.read-more-link {
  color: #818cf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   真实用户评价 (用户严格要求)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-content {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

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

.user-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.user-details h4 {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
}

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

/* ==========================================================================
   常见问题 FAQ (折叠与自解释解答)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

/* ==========================================================================
   外链推荐与资源生态
   ========================================================================== */
.outbound-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 14, 22, 0.4);
}

.outbound-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.outbound-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.outbound-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.outbound-link {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.outbound-link:hover {
  color: #38bdf8;
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.site-footer {
  padding: 60px 0 35px 0;
  background: #06080e;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-dim);
}

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

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

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   响应式媒体查询
   ========================================================================== */
@media (max-width: 1100px) {
  /* 严格同排：在平板大屏仍可紧凑4列或微调间距 */
  .pricing-row-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .pricing-card {
    padding: 24px 16px;
  }
  .price-val {
    font-size: 2.4rem;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-stats-row {
    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;
  }
  .features-grid, .articles-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid, .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 平板竖屏及以下折叠 */
  .pricing-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .features-grid, .articles-grid, .testimonials-grid, .nodes-grid, .client-grid {
    grid-template-columns: 1fr;
  }
  .pricing-row-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
}
