/* ==========================================================================
   机场大师 (jichangdashi.blog) - 暗色深邃极客风 (Cyber Dark Dashboard Theme)
   科技暗色底、霓虹蓝/紫色重点微光与仪表盘数据风格
   秒开级原生CSS、严格纯相对路径支持、全设备自适应与极佳对比度
   ========================================================================== */

:root {
  /* 极客深邃色彩体系 */
  --primary: #38bdf8;           /* 霓虹电光蓝 */
  --primary-hover: #0ea5e9;     /* 深入天空蓝 */
  --primary-light: rgba(56, 189, 248, 0.12);
  --primary-border: rgba(56, 189, 248, 0.35);

  --accent-purple: #a855f7;     /* 赛博紫光 */
  --accent-purple-light: rgba(168, 85, 247, 0.12);
  --accent-purple-border: rgba(168, 85, 247, 0.35);

  --accent-cyan: #06b6d4;       /* 青色荧光 */
  --accent-emerald: #10b981;    /* 极速绿光 */
  --accent-rose: #f43f5e;       /* 警告/折扣红光 */

  --text-main: #f8fafc;         /* 顶层高亮文字 (白) */
  --text-body: #cbd5e1;         /* 主体正文字 (浅灰蓝) */
  --text-muted: #94a3b8;        /* 次级辅助文字 (中灰) */
  --text-dark: #64748b;         /* 低频文字 (深灰) */

  --bg-page: #090d16;           /* 主页面深空暗色底 */
  --bg-card: #111827;           /* 核心容器/卡片暗色底 */
  --bg-subtle: #162032;         /* 次级表面/高亮微暗底 */
  --bg-card-hover: #172338;     /* 悬浮交互微亮底 */
  --bg-dark: #060911;           /* 极致黑底 (页脚) */
  --bg-terminal: #0d131f;       /* 终端控制台底色 */

  --border-color: rgba(255, 255, 255, 0.09);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(56, 189, 248, 0.4);
  --border-purple-glow: rgba(168, 85, 247, 0.4);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);

  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);

  --danger: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --danger-border: rgba(244, 63, 94, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.12);
  --glow-cyan: 0 0 25px rgba(56, 189, 248, 0.22);
  --glow-purple: 0 0 25px rgba(168, 85, 247, 0.22);

  --container-max: 1200px;
  --content-max: 840px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(168, 85, 247, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: #7dd3fc;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button, input, select {
  font: inherit;
}

/* ==================== 容器与网格体系 ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-narrow {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
}

/* ==================== 顶部导航 Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0284c7, #a855f7);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.logo-badge {
  font-size: 0.72rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid var(--primary-border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-contact:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.btn-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-search:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
}

.nav-mobile {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
}

.nav-mobile.show {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .btn-mobile-toggle { display: block; }
}

/* ==================== Hero 极客头部 ==================== */
.hero-section {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(168, 85, 247, 0.05) 45%, var(--bg-page) 90%);
  padding: 56px 0 40px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.4) 50%, transparent 100%);
}

.hero-content {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 80%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-subtitle strong {
  color: #7dd3fc;
  font-weight: 600;
}

.hero-quick-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topic-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

@media (max-width: 640px) {
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* ==================== 仪表盘速查 HUD Quick Answer Box ==================== */
.quick-answer-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(22, 32, 50, 0.9) 100%);
  border: 1px solid var(--border-glow);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 32px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.12);
  position: relative;
}

.quick-answer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.quick-answer-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

.quick-answer-bullets {
  margin-top: 14px;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--text-body);
}

.quick-answer-bullets li {
  margin-bottom: 8px;
}

.quick-answer-bullets strong {
  color: var(--text-main);
}

/* ==================== 通用分区与标题 ==================== */
.section {
  padding: 50px 0;
}

.section-alt {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-title-area h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.section-title-area p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-more-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* ==================== 极客仪表盘卡片 ==================== */
.airport-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.airport-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.airport-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
}

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

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

.card-title-group {
  flex: 1;
  min-width: 0;
}

.card-title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  word-break: break-word;
}

.card-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  word-break: break-word;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}

.status-badge.tested {
  background: var(--success-bg);
  color: #34d399;
  border: 1px solid var(--success-border);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.status-badge.official {
  background: var(--warning-bg);
  color: #fbbf24;
  border: 1px solid var(--warning-border);
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.meta-pill {
  background: var(--bg-subtle);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.card-price-box {
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.card-points-list {
  list-style: none;
  margin: 12px 0 18px 0;
  flex-grow: 1;
}

.card-points-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.card-points-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==================== 按钮与控件 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #0b1120;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

/* ==================== 仪表盘监控数据表格 ==================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.table-responsive::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (min-width: 900px) {
  .table-responsive {
    overflow-x: hidden;
  }
}

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

.data-table th {
  background: #0e1626;
  color: #7dd3fc;
  font-weight: 600;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: middle;
}

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

.data-table tr:hover td {
  background-color: var(--bg-subtle);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rank-1 { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
.rank-2 { background: rgba(148, 163, 184, 0.2); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); }
.rank-3 { background: rgba(251, 146, 60, 0.2); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.4); }
.rank-other { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border-color); }

/* ==================== 专题与教程卡片 ==================== */
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.topic-card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.topic-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.topic-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* ==================== 文章排版 Typography (Dark Mode) ==================== */
.article-header {
  padding: 36px 0 26px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

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

.article-title {
  font-size: 2.15rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

.prose h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-purple));
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 28px;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose strong {
  color: #f8fafc;
}

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

.prose li {
  margin-bottom: 8px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.prose th {
  background-color: #0e1626;
  font-weight: 600;
  color: #7dd3fc;
  font-size: 0.88rem;
}

.prose tr:hover td {
  background-color: var(--bg-subtle);
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg-subtle);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  color: var(--text-body);
  font-style: italic;
}

.prose code {
  background: var(--bg-terminal);
  color: #f472b6;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 步骤指示卡片 */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.step-card:hover {
  border-color: var(--primary-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #0b1120;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.step-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

/* ==================== 比较工具界面 ==================== */
.compare-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.compare-selector-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.compare-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.compare-pill.selected {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* ==================== 比较工具表格专用暗黑主题 ==================== */
.compare-sticky-col {
  min-width: 140px;
  background: #0f172a !important;
  color: #7dd3fc !important;
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
}

th.compare-sticky-col {
  z-index: 3;
  font-weight: 700;
  color: var(--primary) !important;
  background: #0b1120 !important;
}

.compare-brand-header {
  min-width: 220px;
  text-align: center;
  background: #0e1626 !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 18px 14px;
}

.compare-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main) !important;
  margin-bottom: 6px;
}

.compare-brand-pill {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.compare-dim-cell {
  font-weight: 600;
  font-size: 0.9rem;
  background: #0b1120 !important;
  color: #94a3b8 !important;
}

.compare-data-cell {
  text-align: center;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 16px;
  background: #111827;
}

.compare-data-cell.highlight-cell {
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1.15rem;
}

.data-table tr:hover .compare-sticky-col {
  background: #131d33 !important;
}

.data-table tr:hover .compare-data-cell {
  background: #162032 !important;
}

/* ==================== FAQ 折叠手风琴 ==================== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

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

.faq-arrow {
  color: var(--primary);
  font-size: 0.85rem;
}

.faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
}

/* ==================== 极客搜索模态框 ==================== */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.search-modal.active {
  display: flex;
}

.search-dialog {
  background: var(--bg-card);
  width: 90%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
  overflow: hidden;
  border: 1px solid var(--primary-border);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  background: #0e1626;
}

.search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--text-main);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.search-result-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  border: 1px solid transparent;
}

.search-result-item:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-color);
  color: var(--primary);
}

.search-result-title {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 2px;
  color: var(--text-main);
}

.search-result-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== 仪表盘高光 KPI 看板组件 ==================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.kpi-card {
  background: linear-gradient(135deg, #111827 0%, #162032 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
}

.kpi-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 4px;
}

.kpi-val.loss {
  color: #34d399;
}

.kpi-val.purple {
  color: #c084fc;
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== 网站底部 Footer ==================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  margin-top: auto;
  padding: 56px 0 32px 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
  color: #94a3b8;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-links a {
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

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

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 智能内联与阅读导流导航系统 ==================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8 0%, #a855f7 100%);
  z-index: 99999;
  width: 0%;
  pointer-events: none;
  transition: width 0.05s linear;
}

.internal-link {
  color: #38bdf8;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.4);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.internal-link:hover {
  color: #7dd3fc;
  text-decoration-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 2px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* 推荐下一篇高光横幅 (Next Article Banner) */
.next-article-banner {
  background: linear-gradient(135deg, #111827 0%, #172338 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 36px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.next-article-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
}

.next-article-info {
  flex: 1;
  min-width: 260px;
}

.next-article-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.next-article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.next-article-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.next-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 1px solid #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
}

.next-article-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

/* 上一篇 / 下一篇 双向导航器 (Article Pager) */
.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 36px 0;
}

@media (max-width: 640px) {
  .article-pager {
    grid-template-columns: 1fr;
  }
}

.pager-item {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pager-item:hover {
  border-color: var(--primary);
  background: #172338;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(56, 189, 248, 0.15);
}

.pager-item.pager-next {
  text-align: right;
}

.pager-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pager-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 浮动快速导流快捷栏 (Floating Quick Bar) */
.floating-quick-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.floating-quick-bar.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.quick-btn:hover {
  background: #1f293d;
  border-color: var(--primary);
  color: #7dd3fc;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.quick-btn-next {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.35);
}

.quick-btn-next:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

/* ==================== 联络我们专业服务模态框 ==================== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 9, 17, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 40px 16px;
  overflow-y: auto;
}

.contact-modal.active {
  display: flex;
}

.contact-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  border: 1px solid var(--primary-border);
  animation: modalFadeIn 0.25s ease-out;
  margin: auto;
}

.contact-dialog-header {
  position: relative;
  padding: 24px 28px 18px 28px;
  background: linear-gradient(135deg, rgba(14, 22, 38, 0.98) 0%, rgba(20, 30, 50, 0.98) 100%);
  border-bottom: 1px solid var(--border-color);
}

.contact-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 10px;
}

.contact-title {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 700;
}

.contact-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-close-contact {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-close-contact:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.4);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 28px;
}

.contact-channel-card {
  background: rgba(14, 20, 33, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.contact-channel-card:hover {
  border-color: var(--primary-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.channel-icon-wrap.tg-icon {
  background: rgba(0, 136, 204, 0.15);
  color: #29b6f6;
  border: 1px solid rgba(0, 136, 204, 0.35);
}

.channel-icon-wrap.mail-icon {
  background: rgba(234, 67, 53, 0.15);
  color: #f87171;
  border: 1px solid rgba(234, 67, 53, 0.35);
}

.channel-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.channel-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.channel-account {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  word-break: break-all;
}

.channel-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.channel-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.channel-action-btn.tg-btn {
  background: #0088cc;
  color: #fff;
  border: 1px solid #29b6f6;
}

.channel-action-btn.tg-btn:hover {
  background: #0099e6;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
}

.channel-action-btn.mail-btn {
  background: #dc2626;
  color: #fff;
  border: 1px solid #ef4444;
}

.channel-action-btn.mail-btn:hover {
  background: #b91c1c;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.channel-actions-row {
  display: flex;
  gap: 8px;
}

.btn-copy-email {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy-email:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--primary);
}

.contact-scope-box {
  margin: 0 28px 24px 28px;
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.scope-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.scope-notice {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.78rem;
  color: #38bdf8;
}

@media (max-width: 640px) {
  .btn-contact span {
    display: none;
  }
  .btn-contact {
    padding: 7px 10px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .contact-scope-box {
    margin: 0 18px 20px 18px;
  }
}

