/* ==========================================================================
   云翼网络 (yywl.homes) - 官方极速原生样式表
   零外部重型依赖 · 纯原生 CSS · 现代极客深空极光美学 · 秒开极速体验
   ========================================================================== */

:root {
  --color-bg-base: #070b14;
  --color-bg-surface: #0c1322;
  --color-bg-card: rgba(15, 23, 42, 0.72);
  --color-bg-card-hover: rgba(22, 34, 60, 0.88);
  --color-bg-glass: rgba(10, 17, 33, 0.86);

  --color-cyan: #00f5ff;
  --color-blue: #0077ff;
  --color-blue-light: #38bdf8;
  --color-purple: #818cf8;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;
  --color-ice-yellow: #fff466;
  --color-ice-yellow-light: #fffbc8;
  --color-ice-yellow-deep: #ffd000;
  --color-ice-yellow-glow: rgba(255, 244, 102, 0.48);

  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-text-inverse: #020617;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(56, 189, 248, 0.16);
  --border-highlight: rgba(0, 245, 255, 0.45);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 245, 255, 0.28);
  --shadow-glow-blue: 0 0 30px rgba(0, 119, 255, 0.35);

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

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1360px;
  --header-height: 72px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: transparent;
}

a {
  color: var(--color-blue-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   动态背景 Canvas 容器
   ========================================================================== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

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

/* ==========================================================================
   顶部导航栏 (Navbar)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-fast);
}

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

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

.logo-wrapper img, .logo-wrapper svg {
  height: 44px;
  width: auto;
}

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

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

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

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

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

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

/* 汉堡按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
}

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

.btn-primary {
  background: linear-gradient(135deg, #fffb85 0%, #ffea38 45%, #ffd000 80%, #f59e0b 100%);
  color: #070c18;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 234, 56, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  color: #000000;
  background: linear-gradient(135deg, #ffffff 0%, #fff475 40%, #ffd000 100%);
  box-shadow: 0 6px 30px rgba(255, 234, 56, 0.68);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--color-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-pulse {
  position: relative;
}

.btn-pulse::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit;
  border: 2px solid #fff566;
  opacity: 0.85;
  animation: pulseEffect 2s infinite ease-out;
}

@keyframes pulseEffect {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ==========================================================================
   Hero 头部首屏区
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  display: inline-block;
  animation: blinkStatus 1.6s infinite ease-in-out;
}

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

.hero-badge-text {
  font-size: 0.88rem;
  color: var(--color-cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 10%, #fff766 40%, #ffea2e 70%, #ffd000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  filter: drop-shadow(0 0 25px rgba(255, 238, 50, 0.35));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.keyword-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.keyword-tag:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--color-cyan);
  color: #ffffff;
}

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

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-cyan);
  font-family: var(--font-family-mono);
  display: block;
  line-height: 1.2;
}

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

/* ==========================================================================
   通用区块排版
   ========================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-ice-yellow);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   价格方案区 (所有价格要同排 - 严格 5 列水平对齐)
   ========================================================================== */
.pricing-section {
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 119, 255, 0.08) 0%, transparent 70%);
}

.pricing-notice {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  margin-top: 14px;
  font-weight: 500;
}

/* 核心：价格同排网格布局 */
.pricing-grid-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 18px;
  /* 隐藏滚动条或优化触摸滚动 */
  -webkit-overflow-scrolling: touch;
}

.pricing-grid {
  display: grid;
  /* 严格同排 5 列 */
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

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

/* 热门推荐卡片 */
.pricing-card.featured {
  border-color: var(--color-cyan);
  background: linear-gradient(180deg, rgba(14, 30, 60, 0.92) 0%, rgba(10, 19, 38, 0.92) 100%);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.22);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff0077, #f59e0b);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 0, 119, 0.4);
  white-space: nowrap;
}

.plan-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 245, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

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

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

.plan-price-box {
  margin-bottom: 22px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px dashed var(--border-subtle);
}

.price-currency {
  font-size: 1.2rem;
  color: var(--color-cyan);
  font-weight: 700;
  vertical-align: top;
  margin-right: 2px;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-family-mono);
  letter-spacing: -1px;
}

.price-period {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.price-sub-note {
  font-size: 0.78rem;
  color: #38bdf8;
  margin-top: 4px;
  font-weight: 500;
}

.plan-features {
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 11px;
  line-height: 1.45;
}

.feature-check {
  color: var(--color-cyan);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

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

/* ==========================================================================
   核心优势区 (Features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(0, 119, 255, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

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

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

/* ==========================================================================
   全球节点与延迟测速 (Global Nodes Network)
   ========================================================================== */
.nodes-table-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

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

.nodes-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  font-weight: 600;
}

.nodes-table tr:hover td {
  background: rgba(0, 245, 255, 0.03);
}

.node-region-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #ffffff;
}

.region-flag {
  font-size: 1.4rem;
}

.node-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.node-ping-low {
  color: #34d399;
  font-weight: 700;
  font-family: var(--font-family-mono);
}

/* ==========================================================================
   客户端生态一键导入 (Clients)
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

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

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

.client-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

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

.client-tools {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   精选文章与教程专栏 (Articles Section)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

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

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

.article-badge {
  background: rgba(255, 244, 102, 0.12);
  color: var(--color-ice-yellow);
  border: 1px solid rgba(255, 244, 102, 0.28);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

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

.article-card-title a {
  color: #ffffff;
}

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

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

.article-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ice-yellow);
}

.article-link-more:hover {
  color: var(--color-ice-yellow-light);
  transform: translateX(4px);
}

/* ==========================================================================
   真实用户评价区 (Testimonials / Reviews)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition-fast);
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #030712;
}

.review-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

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

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.review-body {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   常见问题 FAQ 区块 (<details> & <summary> 原生交互)
   ========================================================================== */
.faq-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item[open] {
  border-color: var(--border-highlight);
  background: rgba(18, 29, 52, 0.85);
}

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

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-ice-yellow);
  transition: transform var(--transition-fast);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6px;
  padding-top: 16px;
}

/* ==========================================================================
   权威外链与技术生态 (External Backlinks)
   ========================================================================== */
.ext-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ext-link-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-fast);
}

.ext-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-cyan);
  background: var(--color-bg-card-hover);
}

.ext-link-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.ext-link-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.ext-link-desc {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

/* ==========================================================================
   底栏 CTA 横幅 (Call to Action Banner)
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 80px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.25) 0%, rgba(0, 245, 255, 0.15) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.15);
}

.cta-banner-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-box p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

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

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

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

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

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

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

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

/* ==========================================================================
   文章详情页专有样式 (Article Detail Page)
   ========================================================================== */
.article-header {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 119, 255, 0.12), transparent 70%);
}

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

.article-breadcrumb a {
  color: var(--color-text-muted);
}

.article-breadcrumb a:hover {
  color: var(--color-cyan);
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

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

.article-content-wrapper {
  padding: 50px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 42px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 28px;
  margin-bottom: 12px;
}

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

.article-body ul, .article-body ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-body ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.article-body ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
}

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

.article-body blockquote {
  background: rgba(0, 245, 255, 0.05);
  border-left: 4px solid var(--color-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  color: #e2e8f0;
}

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

.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(14, 30, 60, 0.9), rgba(10, 19, 38, 0.9));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.15);
}

.article-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.article-cta-box p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.related-articles-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.related-articles-section h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-link-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
}

.related-link-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-2px);
}

.related-link-card h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.related-link-card p {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

/* ==========================================================================
   响应式断点与适配 (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ext-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .pricing-grid {
    /* 平板及以下，保持价格卡片同排展示并允许水平滑动 */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }
  .pricing-card {
    min-width: 270px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-actions {
    display: none;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ext-links-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .related-links-grid {
    grid-template-columns: 1fr;
  }
}
