/* ==========================================================================
   可可云 (CocoaCloud - kekeyun.buzz) 官方落地页纯原生样式表
   零重型外部依赖 | 秒开级加载速度 | 全端自适应响应式设计
   ========================================================================== */

:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-card: rgba(18, 26, 47, 0.75);
  --bg-card-hover: rgba(28, 39, 68, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --border-glow: rgba(56, 189, 248, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary: #38bdf8;       /* 冰淡蓝色 / 极速科技蓝 */
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.3);
  
  --accent: #7dd3fc;        /* 冰晶浅蓝 */
  --accent-glow: rgba(125, 211, 252, 0.25);
  --success: #10b981;
  --purple: #8b5cf6;

  --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: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.3);

  --max-w: 1240px;
  --header-h: 74px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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 {
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* 动态背景 Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.82;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* 顶部导航栏 */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

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

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.4));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 4px 18px rgba(56, 189, 248, 0.65));
  transform: scale(1.02);
}

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

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

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

.nav-link:hover::after, .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0284c7 100%);
  color: #031726;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4);
  border: 1px solid rgba(186, 230, 253, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 50%, #38bdf8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.55);
  color: #02101e;
}

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

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

.btn-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.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, rgba(255,255,255,0.2), transparent);
  transform: rotate(30deg);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

/* 勋章与标签 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Section 通用规范 */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: clamp(1.6rem, 2.3vw, 2.18rem);
  font-weight: 800;
  line-height: 1.35;
  margin-top: 14px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.section-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 22px;
  margin-bottom: 24px;
  text-wrap: balance;
}

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

.hero-headline span.highlight {
  background: linear-gradient(135deg, #f0f9ff 0%, #7dd3fc 35%, #38bdf8 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(56, 189, 248, 0.4));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--border-color);
}

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

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Feature Grid 优势特性 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

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

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

/* ==========================================================================
   价格方案 (PRICING) 核心：所有价格要同排！
   Desktop: 4 列严格同排并齐，卡片等高，底部按钮对其
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.7), transparent);
}

.pricing-row-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-top: 24px;
  padding-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-top: 6px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.popular, .pricing-card.featured {
  border-color: #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, rgba(18, 26, 47, 0.85) 100%);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.pricing-tag, .popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7dd3fc, #0284c7);
  color: #021424;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
  white-space: nowrap;
  z-index: 2;
}

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

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

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

.plan-price-box {
  margin: 22px 0;
  text-align: center;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.plan-price .currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-weight: normal;
  margin-left: 4px;
}

.plan-billing-note {
  font-size: 0.76rem;
  color: var(--accent);
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.835rem;
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li .check-icon {
  color: var(--success);
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-disclaimer {
  text-align: center;
  margin-top: 28px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* 节点线路分布展示 */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.node-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

/* 详细节点看板卡片 (独立页专属纵向流式卡片) */
.node-card-detailed,
.node-card:has(.node-header) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 26px 24px;
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.node-header .node-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.node-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.node-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.node-stats-bar strong {
  font-family: var(--font-mono);
  font-weight: 700;
}

.node-tags-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.node-tag-chip {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 500;
}

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

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

.node-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.node-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
}

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

.node-ping {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-mono);
}

.node-sla {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* 客户端支持 */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

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

.client-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.client-os {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.client-tool {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 文章博客模块 (Articles Grid) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color 0.2s;
}

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

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

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.article-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-dim);
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

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

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

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

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

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0f172a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-role {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* 常见问题 (FAQ) */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

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

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

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

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

/* 权威外链推荐模块 */
.outbound-links-box {
  margin-top: 60px;
  padding: 30px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
}

.outbound-links-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.outbound-links-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.outbound-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  padding: 4px 10px;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 4px;
}

.outbound-link:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.2);
}

/* CTA 转换召唤区 */
.cta-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

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

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
}

/* 页脚 (FOOTER) */
.footer {
  background: #060913;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 35px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title,
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-main);
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

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

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--primary);
}

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

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

/* ==========================================================================
   文章详情页专有样式 (Article Content)
   ========================================================================== */
.article-header {
  padding: 60px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.article-single-title {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 50px 0 80px;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--primary);
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 32px 0 14px;
}

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

.article-body ul, .article-body ol {
  margin: 18px 0 24px 26px;
}

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

.article-body strong {
  color: #ffffff;
  font-weight: 700;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(56, 189, 248, 0.08);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 26px 0;
  font-style: italic;
  color: #f8fafc;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
}

.article-body th, .article-body td {
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-body th {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
}

.article-body tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.article-body p a,
.article-body li a,
.article-body blockquote a,
.article-body td a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body p a:hover,
.article-body li a:hover,
.article-body blockquote a:hover,
.article-body td a:hover {
  color: #7dd3fc;
}

/* 彻底隔离文章内部的 CTA 按钮与前后篇导航，防止样式被文字链接继承 */
.article-body .btn,
.article-body a.btn {
  text-decoration: none !important;
}

.article-body .btn-primary,
.article-body a.btn-primary {
  color: #031726 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.article-body .btn-primary:hover,
.article-body a.btn-primary:hover {
  color: #02101e !important;
  text-decoration: none !important;
}

.article-body .article-nav-item,
.article-body a.article-nav-item {
  text-decoration: none !important;
  color: inherit !important;
}

.article-cta-box {
  text-align: center;
  margin: 48px 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 38px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.12);
}

.article-cta-box h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
}

.article-cta-box p {
  color: var(--text-muted);
  margin: 12px auto 24px;
  max-width: 540px;
  line-height: 1.7;
}

.article-cta-box .btn-primary {
  color: #031726 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  color: #ffffff;
}

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

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
  display: block;
  transition: color 0.2s;
}

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

.article-nav-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.article-nav-item {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.article-nav-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.article-nav-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.article-nav-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* 通用响应式表格与独立页面排版组件 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

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

.table-custom th, .table-custom td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.table-custom th {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

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

.table-custom tr:hover td {
  background: rgba(56, 189, 248, 0.04);
}

.page-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero .section-title {
  margin-top: 16px;
  margin-bottom: 18px;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.15);
}

/* ==========================================================================
   响应式断点适配 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1080px) {
  .section-header {
    max-width: 95%;
  }
  .section-title {
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    white-space: nowrap;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .reviews-grid, .nodes-grid, .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .hero-stats .stat-item:nth-child(2) {
    border-right: none;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .hero-headline {
    font-size: clamp(1.35rem, 4.4vw, 1.85rem);
    line-height: 1.4;
  }
  .hero-title-line {
    white-space: normal;
    word-break: keep-all;
  }
  .section-title {
    white-space: normal;
    word-break: keep-all;
    font-size: clamp(1.35rem, 4.2vw, 1.75rem);
    line-height: 1.38;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .reviews-grid, .nodes-grid, .articles-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stats .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
  }
  .hero-stats .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
