/* ==========================================================================
   幽灵隐形流 (Phantom Stealth / Pure Monochromatic)
   核心色板规范:
   主背景: #0D0D0D
   卡片层级: #171717 / #262626
   边框细节: #333333
   核心强调: #FAFAFA (高亮纯白无杂色)
   文字色彩: #EDEDED (主文) / #737373 (隐秘灰)
   ========================================================================== */

:root {
  --bg-main: #0D0D0D;
  --bg-card: #171717;
  --bg-elevated: #262626;
  --border-subtle: #333333;
  --border-light: #444444;
  --accent-white: #FAFAFA;
  --text-primary: #EDEDED;
  --text-muted: #737373;
  --text-dim: #525252;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.7);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.9);
}

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

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

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

/* Background Canvas */
#stealth-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Terminal & Badges */
.badge-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge-ghost .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-white);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-white);
  animation: pulseGhost 2.2s infinite ease-in-out;
}

@keyframes pulseGhost {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px var(--accent-white); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-white);
  color: #0D0D0D;
  border-color: var(--accent-white);
  box-shadow: 0 2px 10px rgba(250, 250, 250, 0.15);
}

.btn-primary:hover {
  background: #E5E5E5;
  border-color: #E5E5E5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 250, 250, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  color: var(--accent-white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-white);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-white);
  stroke-width: 2;
}

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

.nav-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-white);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  padding: 8px;
  border-radius: 6px;
  color: var(--text-primary);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: absolute;
  top: 71px;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-elevated);
}

.mobile-nav.open {
  display: flex;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 90px 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.4);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--text-muted);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-center .section-tag::before {
  display: none;
}

/* ==========================================================================
   Hero Section (最上方广告语和特色)
   ========================================================================== */
.hero-section {
  padding: 110px 0 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--accent-white);
  margin-top: 24px;
  margin-bottom: 24px;
}

.hero-headline .sub-dim {
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  font-size: 2.1rem;
  margin-top: 10px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 36px;
}

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

/* ==========================================================================
   Hero Visual Illustration (隐云品牌专属插图展示)
   ========================================================================== */
.hero-visual-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 40px;
}

.hero-image-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  transition: var(--transition-smooth);
  position: relative;
}

.hero-image-frame:hover {
  border-color: #555555;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
}

.hero-image-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #141414;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333333;
}

.terminal-title {
  letter-spacing: 0.08em;
  color: #A3A3A3;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-white);
  font-weight: 600;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0D0D0D;
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-illustration {
  transform: scale(1.02);
}

.image-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(250, 250, 250, 0.03) 0%, transparent 75%),
              linear-gradient(to bottom, rgba(13, 13, 13, 0.2) 0%, transparent 20%, transparent 80%, rgba(13, 13, 13, 0.6) 100%);
}

.image-telemetry-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-white);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.image-telemetry-tag.top-left {
  top: 14px;
  left: 14px;
}

.image-telemetry-tag.bottom-right {
  bottom: 14px;
  right: 14px;
}

.hero-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 960px;
  margin-top: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-white);
}

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

/* ==========================================================================
   Section 3: 节点延迟和状态板块 (Node Status & Latency)
   ========================================================================== */
.nodes-board {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.nodes-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #121212;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nodes-filter-group {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-white);
  color: var(--accent-white);
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.nodes-table th {
  text-align: left;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.nodes-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
  color: var(--text-primary);
}

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

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

.node-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.node-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-white);
  display: inline-block;
  box-shadow: 0 0 6px rgba(250, 250, 250, 0.8);
}

.latency-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-white);
}

.latency-bar-wrap {
  width: 80px;
  height: 4px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.latency-bar-fill {
  height: 100%;
  background: var(--accent-white);
  border-radius: 2px;
}

/* ==========================================================================
   Section 4: 套餐价格板块 (Pricing) & 核心优势 (Core Advantages)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.pricing-card.featured {
  background: #1c1c1c;
  border-color: #555555;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.pricing-card.featured::before {
  content: "RECOMMENDED / 高性价首选";
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent-white);
  color: #0D0D0D;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.pricing-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-white);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 44px;
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-white);
}

.price-num {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--accent-white);
}

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

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.pricing-feat-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-white);
  flex-shrink: 0;
}

/* 核心优势板块 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 24px;
  transition: var(--transition-smooth);
}

.advantage-card:hover {
  background: var(--bg-elevated);
  border-color: #4a4a4a;
  transform: translateY(-2px);
}

.adv-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.adv-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-white);
}

.adv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-white);
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Section 5: 知识库与教程板块 (Articles & Knowledge Base)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.article-card:hover {
  border-color: #555555;
  background: #1c1c1c;
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.article-tag {
  background: var(--bg-elevated);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-white);
  margin-bottom: 12px;
}

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

.article-link-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-white);
  font-weight: 600;
}

.article-link-action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.article-card:hover .article-link-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Section 5: 常见问题板块 (FAQ)
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent-white);
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.active {
  border-color: #4a4a4a;
  background: #191919;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent-white);
  color: var(--accent-white);
}

/* ==========================================================================
   Section 6: 用户评价板块 (Testimonials)
   ========================================================================== */
.reviews-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: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.user-avatar-initial {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-white);
}

.user-meta-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-white);
}

.user-meta-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.review-body {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

/* ==========================================================================
   CTA Section (Pre-footer)
   ========================================================================== */
.cta-banner {
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-white), transparent);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 60px 0 36px;
  background: #090909;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand-desc {
  max-width: 380px;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-nav-col a:hover {
  color: var(--accent-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(51, 51, 51, 0.4);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Article Pages Specific Styles (知识库独立文章页)
   ========================================================================== */
.article-page-wrap {
  max-width: 860px;
  margin: 40px auto 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.breadcrumb a:hover {
  color: var(--accent-white);
}

.article-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 28px;
  margin-bottom: 40px;
}

.article-title-main {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--accent-white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.article-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-primary);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-white);
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-white);
  margin: 32px 0 14px;
}

.article-content p {
  margin-bottom: 22px;
}

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

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 10px;
  color: #D1D1D1;
}

.article-content blockquote {
  border-left: 3px solid var(--accent-white);
  background: var(--bg-card);
  padding: 18px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 8px 8px 0;
}

.article-content code {
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
}

.article-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}

.article-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.article-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  margin: 50px 0 30px;
  text-align: center;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.8rem;
  }
  .hero-headline .sub-dim {
    font-size: 1.7rem;
  }
  .pricing-grid,
  .advantages-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .hero-telemetry-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .hero-headline .sub-dim {
    font-size: 1.4rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-telemetry-bar {
    grid-template-columns: 1fr;
  }
  .nodes-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nodes-board {
    overflow-x: auto;
  }
}
