/* ==========================================================================
   肥猫云 FatCatCloud - 视觉主题: 81｜全息地球 (Holographic Earth)
   域名: https://fatcatcloud.casa
   设计规范: 科技深空黑、低亮度全息发光线条、柔和路径光效、自适应移动端与无障碍友好
   ========================================================================== */

:root {
  --bg-dark: #060a12;
  --bg-card: #0b1322;
  --bg-card-hover: #101c33;
  --bg-elevated: #13223e;
  --border-subtle: rgba(56, 189, 248, 0.18);
  --border-active: rgba(0, 240, 255, 0.45);
  
  --holo-cyan: #00f0ff;
  --holo-teal: #14b8a6;
  --holo-blue: #38bdf8;
  --holo-amber: #f59e0b;
  --holo-glow: 0 0 25px rgba(0, 240, 255, 0.25);
  --holo-glow-subtle: 0 0 15px rgba(56, 189, 248, 0.15);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, Monaco, "Courier New", monospace;

  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --header-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    linear-gradient(to bottom, #060a12, #070d17);
  background-attachment: fixed;
}

/* 全息网格背景点缀 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: 0;
}

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

/* 链接与排版 */
a {
  color: var(--holo-blue);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover, a:focus-visible {
  color: var(--holo-cyan);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

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

code, pre {
  font-family: var(--font-mono);
}

/* ================= 头部导航 ================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: border-color 0.2s;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--text-primary);
}

.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--holo-cyan);
  box-shadow: var(--holo-glow-subtle);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #fff 0%, var(--holo-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--holo-cyan);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--holo-cyan);
  box-shadow: 0 0 8px var(--holo-cyan);
  border-radius: 2px;
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-1px);
}

.btn-holo {
  background: rgba(0, 240, 255, 0.08);
  color: var(--holo-cyan);
  border: 1px solid var(--border-active);
  box-shadow: var(--holo-glow-subtle);
}

.btn-holo:hover, .btn-holo:focus-visible {
  background: rgba(0, 240, 255, 0.18);
  color: #fff;
  box-shadow: var(--holo-glow);
  transform: translateY(-1px);
}

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

.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* 移动端菜单切换 */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ================= 视觉核心：全息地球 Hero ================= */
.hero-section {
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--holo-cyan);
  margin-bottom: 1.5rem;
  box-shadow: var(--holo-glow-subtle);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--holo-cyan);
  box-shadow: 0 0 10px var(--holo-cyan);
  animation: pulseAnim 2s infinite ease-in-out;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 2.25rem;
}

.hero-meta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--holo-blue);
}

/* 全息地球画布容器 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hologram-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#holoCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  cursor: grab;
}

#holoCanvas:active {
  cursor: grabbing;
}

/* 渐进增强降级：纯CSS静态全息球 */
.holo-fallback {
  display: none;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  position: relative;
  border: 1px solid var(--border-active);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.2), 0 0 35px rgba(0, 240, 255, 0.15);
  background: radial-gradient(circle at 35% 35%, rgba(14, 165, 233, 0.25) 0%, rgba(6, 10, 18, 0.9) 80%);
}

.holo-fallback .grid-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  height: 35%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 50%;
}

.holo-fallback .grid-ring.ring-2 {
  width: 35%;
  height: 88%;
}

.canvas-unsupported .holo-fallback {
  display: block;
}

.canvas-unsupported #holoCanvas {
  display: none;
}

.holo-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: 108%;
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.holo-orbit-ring::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 15%;
  width: 6px;
  height: 6px;
  background: var(--holo-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--holo-cyan);
}

.holo-caption {
  position: absolute;
  bottom: 0px;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  background: rgba(6, 10, 18, 0.85);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* ================= 通用卡片与分区 ================= */
.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background: rgba(11, 19, 34, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--holo-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

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

/* ================= 地区节点说明网格 ================= */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.region-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--holo-glow-subtle);
}

.region-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.region-code-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  color: var(--holo-blue);
}

.region-status {
  font-size: 0.75rem;
  color: var(--holo-teal);
  display: flex;
  align-items: center;
  gap: 5px;
}

.region-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--holo-teal);
}

.region-name {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.region-tag-line {
  font-size: 0.84rem;
  color: var(--holo-cyan);
  margin-bottom: 16px;
}

.region-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.region-specs li {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-title {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.spec-value {
  color: var(--text-primary);
  font-weight: 500;
}

.region-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
  border-left: 2px solid var(--holo-amber);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: auto;
}

/* ================= 实用功能：节点对照记录工具 ================= */
.tool-box {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--holo-glow-subtle);
}

.tool-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #fde68a;
}

.tool-disclaimer svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--holo-amber);
  margin-top: 2px;
}

.tool-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  min-height: 44px;
  background: rgba(6, 10, 18, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0 14px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--holo-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.form-control option {
  background: #0b1322;
  color: #fff;
}

.tool-result-panel {
  background: #050810;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-title {
  font-size: 0.92rem;
  color: var(--holo-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.log-preview {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #a7f3d0;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 200px;
  overflow-y: auto;
  line-height: 1.6;
}

.tool-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ================= 套餐列表与价格卡片 ================= */
.plans-meta-box {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 35px;
  font-size: 0.92rem;
}

.plans-meta-box strong {
  color: var(--holo-blue);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: var(--holo-glow);
}

.pricing-card.featured {
  border-color: var(--holo-cyan);
  background: linear-gradient(180deg, rgba(16, 28, 51, 0.9) 0%, rgba(11, 19, 34, 0.95) 100%);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #0284c7, var(--holo-cyan));
  color: #060a12;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 18px;
}

.plan-name {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

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

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: var(--holo-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-verification-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border-left: 2px solid var(--border-subtle);
}

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

/* ================= 真实空态用户评价 ================= */
.empty-reviews-card {
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 44px 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--holo-blue);
  opacity: 0.8;
}

.empty-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* ================= 常见问题 (FAQ) ================= */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.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(56, 189, 248, 0.35);
}

.faq-summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--holo-blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

details[open] .faq-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--holo-cyan);
}

.faq-content {
  padding: 18px 22px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= 文章列表与单页排版 ================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--holo-glow-subtle);
}

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

.article-category {
  color: var(--holo-cyan);
  font-weight: 600;
}

.article-card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

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

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

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

.article-deliverable-badge {
  font-size: 0.78rem;
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 16px;
}

.article-link-action {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 单篇文章排版 */
.article-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 35px;
}

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

.breadcrumb-separator {
  color: var(--text-dim);
}

.article-post-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

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

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

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.92rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.article-body th {
  background: rgba(14, 165, 233, 0.15);
  color: var(--text-primary);
  font-weight: 700;
}

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

.article-body pre {
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.article-body hr {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: 2.5rem 0;
}

.article-bottom-nav {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ================= 网站地图与404 ================= */
.sitemap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.sitemap-card h3 {
  margin-bottom: 16px;
  color: var(--holo-cyan);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-list li {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sitemap-url {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* 404 页面 */
.error-page-wrap {
  text-align: center;
  padding: 80px 0;
}

.error-code {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  background: linear-gradient(135deg, var(--holo-cyan) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* ================= 页脚 ================= */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 35px;
  margin-top: 80px;
}

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

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

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-nav-list li {
  margin: 0;
}

.footer-nav-list a {
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--holo-cyan);
}

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

/* ================= 响应式与移动端适配 ================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-meta-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #070c16;
    border-bottom: 1px solid var(--border-active);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .tool-box {
    padding: 20px 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* 无障碍减少动画支持 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
