/* ==========================================================================
   vpstuijian.blog - 原生高审美现代科技媒体设计系统
   纯原生 CSS，无第三方重型依赖，秒开性能，完美适配各种屏幕与 file:// 协议
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 主色调与中性色 */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --secondary: #0284c7;
  --accent: #f59e0b;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-subtle: #f8fafc;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #3b82f6;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-width: 1200px;
  --article-width: 820px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* 容器定义 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & 导航系统 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

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

.site-logo .logo-badge {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

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

.btn-header-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-header-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
}

.mobile-menu-drawer {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-links a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

/* 主内容区域 */
.site-main {
  flex: 1;
}

/* Hero 模块 */
.hero-section {
  position: relative;
  background: #060b14 url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: 72px 0 68px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 35%, rgba(6, 11, 20, 0.42) 0%, rgba(6, 11, 20, 0.82) 100%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.38);
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  color: #38bdf8;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle strong {
  color: #f8fafc;
  font-weight: 700;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-pill:hover {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.hero-meta-hint {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* 快速回答结论盒 (Quick Answer Box) */
.quick-answer-card {
  background-color: #ffffff;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: -24px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.quick-answer-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.quick-answer-badge {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.quick-answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.qa-item {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.qa-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qa-item-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 通用Section */
.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.section-title-wrap h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-title-wrap p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* 推荐机场卡片网格 */
.airport-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

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

.airport-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

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

.airport-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.airport-card-name a {
  color: inherit;
}

.airport-card-name a:hover {
  color: var(--primary);
}

.airport-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.tag-tested {
  background-color: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.tag-official {
  background-color: var(--primary-light);
  color: #1e40af;
  border: 1px solid var(--primary-border);
}

.tag-unverified {
  background-color: var(--warning-bg);
  color: #92400e;
  border: 1px solid #fde68a;
}

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

.airport-specs-list {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 0.85rem;
}

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

.spec-label {
  color: var(--text-light);
  font-size: 0.75rem;
}

.spec-value {
  font-weight: 600;
  color: var(--text-main);
}

.airport-points {
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.point-icon-pro {
  color: var(--success);
  font-weight: bold;
}

.point-icon-con {
  color: var(--warning);
  font-weight: bold;
}

.airport-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.card-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-hint {
  font-size: 0.75rem;
  color: var(--text-light);
}

.price-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.card-btn-group {
  display: flex;
  gap: 8px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background-color: var(--bg-muted);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-detail:hover {
  background-color: #e2e8f0;
  color: var(--text-main);
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background-color: var(--primary);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-visit:hover {
  background-color: var(--primary-hover);
}

/* 排行榜表格 (Table) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox: 彻底隐藏原生滚动条 */
  -ms-overflow-style: none; /* IE/Edge 传统模式: 隐藏滚动条 */
}

/* Chrome / Safari / Edge: 隐藏横向滚动条，彻底杜绝灰色滑动条 */
.table-responsive::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  table-layout: auto;
}

.ranking-table th {
  background-color: var(--bg-muted);
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.ranking-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  line-height: 1.45;
  word-break: break-word;
}

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

.ranking-table tr:hover {
  background-color: #f8fafc;
}

/* 文章内部评测数据表格紧凑适配与居中对齐 */
.article-content .table-responsive {
  margin: 18px 0 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.article-content .ranking-table th,
.article-content .ranking-table td {
  padding: 10px 8px;
  font-size: 0.86rem;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.rank-1 { background-color: #fef08a; color: #854d0e; }
.rank-2 { background-color: #e2e8f0; color: #334155; }
.rank-3 { background-color: #fed7aa; color: #9a3412; }
.rank-other { background-color: var(--bg-muted); color: var(--text-light); }

/* 六大需求专题卡片 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: block;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
}

.cat-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cat-desc {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* 评测与文章网格 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.post-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.post-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-title a {
  color: inherit;
}

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

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

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

/* FAQ 模块 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  background-color: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: var(--bg-subtle);
}

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

/* 横向对比页面工具组件 */
.compare-container {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

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

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

.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.compare-tag button {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
}

.compare-select-dropdown {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  background-color: #fff;
}

/* 文章正文页面布局 (Article Layout with Sidebar) */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 36px 0 60px;
  align-items: start;
}

.article-content {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

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

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

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

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

.article-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

/* 文章正文排版 (Prose) */
.prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #1e293b;
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 26px;
  margin-bottom: 10px;
}

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

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

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

.prose blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--primary-light);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background-color: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 4px;
  color: #b91c1c;
}

.prose pre {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* 侧边栏 Widget */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

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

.widget-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

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

/* Footer 底部 */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 60px;
}

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

.footer-col-about p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 14px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-disclaimer-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

/* 响应式断点 */
@media (max-width: 960px) {
  .main-nav, .btn-header-cta, .btn-header-contact {
    display: none;
  }
  .nav-actions {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .article-content {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .airport-card-grid {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .quick-answer-card {
    padding: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================================
   页面浏览体验增强：阅读进度条与回到顶部浮动按钮
=================================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #10b981);
  z-index: 99999;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease-in-out;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

/* ===================================================
   全站网状内链系统：正文关键词链接、翻页导航与相关推荐
=================================================== */

/* 正文高亮内链样式 */
.in-text-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: all 0.18s ease;
  border-radius: 2px;
  padding: 0 2px;
}

.in-text-link:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary);
  background-color: rgba(239, 246, 255, 0.8);
}

/* 文章翻页 上一篇 / 下一篇 导航条 */
.post-nav {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.post-nav-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.nav-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.nav-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.nav-card-prev {
  text-align: left;
}

.nav-card-next {
  text-align: right;
}

.nav-direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.nav-card-next .nav-direction {
  justify-content: flex-end;
}

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

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

.nav-hub-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-hub-btn:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: var(--primary-light);
}

/* 相关深度阅读推荐模块 */
.related-posts-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px dashed #e2e8f0;
}

.related-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.related-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: var(--primary);
  margin-bottom: 8px;
  width: fit-content;
}

.related-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.related-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

@media (max-width: 768px) {
  .post-nav-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nav-card-next {
    text-align: left;
  }
  .nav-card-next .nav-direction {
    justify-content: flex-start;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   联络我们 (Contact Us) 交互按钮与官方商务弹窗系统
   ============================================================ */
.btn-header-contact {
  background-color: #f8fafc;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-contact:hover {
  background-color: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.contact-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
  display: inline-block;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* 弹窗遮罩层 */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 弹窗主体容器 */
.contact-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 30px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}

.contact-modal-overlay.is-active .contact-modal-dialog {
  transform: translateY(0) scale(1);
}

/* 关闭按钮 */
.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.contact-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.contact-header-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.contact-modal-title {
  margin: 0 0 8px 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.contact-modal-desc {
  margin: 0 0 24px 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

/* 联络卡片网格 */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-card {
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.contact-card-tg {
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}

.contact-card-gmail {
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}

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

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-icon {
  background: #229ED9;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(34, 158, 217, 0.35);
}

.gmail-icon {
  background: #EA4335;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(234, 67, 53, 0.35);
}

.contact-card-meta {
  flex: 1;
  min-width: 0;
}

.contact-card-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-card-handle {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin: 3px 0 0 0;
  word-break: break-all;
}

.contact-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.tag-fast {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.tag-normal {
  background: #ffffff;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.contact-card-info {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex: 1;
}

.contact-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-tg {
  background: #229ED9;
}

.btn-tg:hover {
  background: #1b87ba;
  transform: translateY(-1px);
}

.btn-gmail {
  background: #EA4335;
}

.btn-gmail:hover {
  background: #c53427;
  transform: translateY(-1px);
}

.btn-copy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-action:hover {
  background: #f8fafc;
  border-color: #64748b;
  color: #0f172a;
}

.contact-modal-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: #64748b;
}

.contact-guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Toast 提示条 */
.contact-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-toast.is-shown {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-modal-dialog {
    padding: 24px 18px;
  }
  .contact-modal-title {
    font-size: 1.25rem;
  }
}

