/* Modern High-Performance Stylesheet for jichang-jiedian.blog */
:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-subtle: #cbd5e1;
  
  --color-text-main: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  
  --color-primary: #0284c7;
  --color-primary-dark: #0369a1;
  --color-primary-light: #e0f2fe;
  
  --color-accent: #0ea5e9;
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  
  --container-max: 1440px; /* 桌面端主内容容器最大宽度设为约 1440px */
  --header-height: 70px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 94px; /* 导航 70px + 额外 24px 呼吸空间 */
  -webkit-text-size-adjust: 100%;
}

:target,
[id] {
  scroll-margin-top: 94px; /* 让目标标题停在导航下方，并额外保留约 24px 空间 */
}

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

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

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

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

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

/* 页面整体居中：桌面端 1440px，两侧保留 32px 安全边距，宽屏留白自然增加 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .header-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

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

.brand-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.brand-domain {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-body);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.nav-link.active {
  color: var(--color-primary-dark);
  background-color: var(--color-primary-light);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header Search Trigger Button */
.header-search-box {
  display: flex;
  align-items: center;
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.search-trigger-btn:hover {
  background-color: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-text-main);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-shortcut {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
}

.mobile-search-btn,
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--color-text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  width: 280px;
  max-width: 85%;
  height: 100%;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open .mobile-nav-inner {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0 0.5rem;
}

.mobile-nav-links {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-links .nav-link {
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
}

.mobile-nav-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------------- HERO SECTION (主题居中 整体排版居中) ---------------- */
.hero-section {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

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

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.hero-badge-wrap {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}

.hero-title .title-line {
  display: block;
  margin: 0.25rem 0;
  white-space: nowrap;
}

.hero-title .highlight {
  display: inline-block;
  color: var(--color-primary);
  background: linear-gradient(120deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 46px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-border-subtle);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-preview {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.preview-logo {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.preview-meta h3 {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.preview-meta p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.preview-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.p-feat-item {
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.p-feat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.p-feat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.preview-notice {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* ---------------- SECTION COMMON & SPACING RULES ---------------- */
.main-content {
  flex: 1;
  padding-top: 44px; /* 主内容与顶部导航之间留出约 40—48px */
  padding-bottom: 64px; /* 页面主体底部保留约 64px */
}

.section-block {
  padding: 0;
  margin-bottom: 56px; /* 大模块之间保持 48—64px 间距 */
  border-bottom: 1px solid var(--color-border);
}

.section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 16px; /* 标题与说明约 16px */
  letter-spacing: -0.01em;
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 24px; /* 说明与内容/表格约 24px */
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* 3-Column Navigation Cards */
.tri-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tri-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.tri-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tri-num-badge {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.tri-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.tri-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
  flex: 1;
}

.tri-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------------- AIRPORTS RECOMMEND PAGE & CARDS ---------------- */
.filter-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.filter-btn.active {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Table View in Desktop (改善表格密度与内边距) */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px; /* 说明与表格约 24px */
}

.data-table,
.card-plans-table,
.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem; /* 保持正常字体大小约 14px */
  text-align: left;
  line-height: 1.5;
}

.data-table th, .data-table td,
.card-plans-table th, .card-plans-table td,
.compare-matrix-table th, .compare-matrix-table td {
  padding: 13px 16px; /* 单元格上下内边距约 12—14px，左右约 16px */
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.data-table th,
.card-plans-table th,
.compare-matrix-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.data-table td {
  color: #334155;
  font-size: 0.875rem;
}

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

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

.data-table .col-rank {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
  width: 55px;
}

.data-table .col-name {
  white-space: nowrap;
  font-weight: 700;
  min-width: 110px;
}

.data-table .table-name-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s;
}

.data-table .table-name-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

.data-table .col-badge {
  white-space: nowrap;
  min-width: 130px;
}

.data-table .table-badge {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.data-table .col-price {
  white-space: nowrap;
  min-width: 95px;
}

.data-table .table-price {
  color: #e11d48;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.data-table .table-price-unit {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: normal;
}

.data-table .col-line {
  white-space: normal; /* 让长文本合理换行 */
  color: #475569;
  font-size: 0.84rem;
  min-width: 140px;
  line-height: 1.45;
}

.data-table .col-coupon {
  white-space: nowrap;
  min-width: 95px;
}

.data-table .table-coupon-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  background: #f1f5f9;
  color: #0369a1;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}

.data-table .col-action {
  white-space: nowrap;
  min-width: 130px;
}

.data-table .table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  white-space: nowrap;
}

.data-table .table-action-btn:hover {
  color: #0369a1;
  text-decoration: underline;
}
  text-decoration: underline;
}

/* Detailed Airport Cards Grid */
.airport-cards-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.airport-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px; /* 内部边距约 24—28px */
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

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

.airport-card.highlight-target {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.25);
  animation: pulse-border 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-border {
  from { box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2); }
  to { box-shadow: 0 0 0 6px rgba(2, 132, 199, 0.45); }
}

.card-top-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.airport-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.airport-seq-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.airport-name-h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.airport-feature-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #065f46;
  background-color: #d1fae5;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.airport-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: #e11d48;
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: #e11d48;
  font-family: var(--font-mono);
}

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

/* Coupon & Action Area */
.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.coupon-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.coupon-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-body);
}

.coupon-code-pill {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px dashed #0284c7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.btn-copy-coupon {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-coupon:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
}

.aff-cta-btn {
  background-color: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.aff-cta-btn:hover {
  background-color: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

/* Card Specs Grid */
.card-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec-cell {
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.spec-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.spec-val {
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

/* Plans Table inside Card */
.card-plans-section {
  margin-bottom: 1.5rem;
}

.card-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-plans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.card-plans-table th, .card-plans-table td {
  padding: 13px 16px; /* 单元格上下内边距约 12—14px，左右约 16px */
  border-bottom: 1px solid var(--color-border);
}

.card-plans-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: var(--color-text-body);
}

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

/* Pros and Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pros-box, .cons-box {
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}

.pros-box {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.cons-box {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
}

.pros-box h4 {
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cons-box h4 {
  color: #9f1239;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pros-box ul, .cons-box ul {
  padding-left: 1.2rem;
  line-height: 1.5;
}

/* Card Notice / Verification status */
.card-verify-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 0.875rem;
  border-top: 1px dashed var(--color-border);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------------- FAQ ACCORDION ---------------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.faq-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-q-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background-color: var(--color-primary);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-answer-p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

/* ---------------- SEARCH MODAL ---------------- */
.search-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.active .search-modal {
  transform: translateY(0) scale(1);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
}

.modal-search-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  display: none;
  padding: 0 0.5rem;
}

.close-modal-btn {
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  white-space: nowrap;
}

.quick-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.search-tag {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-tag:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.search-results-container {
  padding: 0.75rem;
  overflow-y: auto;
  flex: 1;
  max-height: 50vh;
}

.search-default-hint {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.search-group-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem 0.25rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.25rem;
}

.search-result-item:hover, .search-result-item.selected {
  background-color: #f1f5f9;
}

.s-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.s-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.s-item-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.s-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s-badge-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #e11d48;
  font-size: 0.85rem;
}

.search-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.search-modal-footer kbd {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-family: var(--font-mono);
}

/* ---------------- TOAST NOTIFICATION ---------------- */
.toast-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  z-index: 600;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-bubble.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  background-color: #10b981;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.domain-highlight {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-primary);
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.f-badge {
  background-color: #f1f5f9;
  color: var(--color-text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

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

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-body);
  transition: color 0.15s ease;
}

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

.aff-notice-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  line-height: 1.5;
  background-color: #f8fafc;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

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


/* ---------------- FLAGSHIP FEATURED AIRPORT STYLES (全球云主推) ---------------- */
.featured-flagship-card {
  position: relative;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%) !important;
  border: 2px solid #0284c7 !important;
  box-shadow: 0 10px 25px -3px rgba(2, 132, 199, 0.2), 0 4px 6px -4px rgba(2, 132, 199, 0.1) !important;
  overflow: hidden;
}

.flagship-ribbon {
  position: absolute;
  top: 18px;
  right: -35px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 10;
}

.flagship-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 2.5rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.flagship-hero-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(2,132,199,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.flagship-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.flagship-banner-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.flagship-banner-subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.flagship-banner-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-ideograph;
  margin-bottom: 1.25rem;
}

.flagship-banner-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.f-spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.65rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.f-spec-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.f-spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1.4;
  white-space: nowrap;
}

.flagship-banner-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
  justify-content: center;
}

.flagship-banner-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.flagship-banner-btns .btn-copy-coupon,
.flagship-banner-btns .aff-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  height: 42px;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.flagship-banner-btns .aff-cta-btn {
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.flagship-banner-btns .aff-cta-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.flagship-discount-box {
  background: rgba(2, 132, 199, 0.15);
  border: 1px dashed #38bdf8;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.f-coupon-code {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.1em;
}

@media (max-width: 992px) {
  .flagship-hero-banner {
    grid-template-columns: 1fr;
  }
}

/* ---------------- RESPONSIVE BREAKPOINTS ---------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .tri-columns-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .header-search-box {
    display: none;
  }
  
  .mobile-search-btn,
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .hero-title {
    font-size: 1.55rem;
  }
  
  .hero-title .title-line,
  .page-theme-title .title-line {
    white-space: normal;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .card-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .search-modal {
    max-height: 90vh;
  }
  
  .search-modal-backdrop {
    padding: 1rem 0.5rem;
  }
  
  .toast-bubble {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    justify-content: center;
  }
}

/* ========================================================
   PARALLEL TWO-COLUMN LAYOUT WITH STICKY SIDEBAR (文字并行排版)
   ======================================================== */
.article-layout-container {
  width: 100%;
  max-width: 1440px; /* 桌面端最大宽度约 1440px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px; /* 两侧至少保留 32px 安全边距，宽屏自然增加 */
  padding-right: 32px;
}

@media (max-width: 1024px) {
  .article-layout-container {
    padding-left: 24px; /* 平板端两侧 24px */
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .article-layout-container {
    padding-left: 16px; /* 手机端两侧 16px */
    padding-right: 16px;
  }
}

/* Page Theme Header Centered (主题居中) */
.page-theme-header-centered {
  text-align: center;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px; /* 大模块之间保持 48—64px 间距 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-theme-header-centered .breadcrumb-nav-centered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #64748b;
  flex-wrap: wrap;
}

.page-theme-header-centered .breadcrumb-nav-centered a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.page-theme-header-centered .breadcrumb-nav-centered a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.page-theme-header-centered .breadcrumb-nav-centered span {
  color: #0f172a;
  font-weight: 600;
}

.page-theme-header-centered .hero-badge-wrap {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.page-theme-title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 16px; /* 标题与说明约 16px */
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}

.page-theme-title .title-line {
  display: block;
  margin: 0.25rem 0;
  white-space: nowrap;
}

.page-theme-subtitle-note {
  display: block;
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
}

.page-theme-desc {
  font-size: 1.025rem;
  line-height: 1.8;
  color: #475569;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px; /* 说明与表格约 24px */
  text-wrap: balance;
}

.article-meta-bar-centered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #64748b;
  flex-wrap: wrap;
}

.content-with-sidebar {
  display: flex;
  gap: 32px; /* 桌面端正文与右侧栏间隔约 32px */
  align-items: flex-start;
  justify-content: center; /* 整体排版居中 */
  position: relative;
  width: 100%;
}

.article-main-column {
  flex: 1 1 0%;
  min-width: 0; /* Prevents flex children from breaking width */
  max-width: calc(100% - 342px); /* 310px 侧栏 + 32px 间距 */
}

.article-sidebar-column {
  width: 310px; /* 右侧栏宽度约 300—320px */
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 94px; /* 导航 70px + 24px 间距，吸顶保持呼吸空间 */
  display: flex;
  flex-direction: column;
  gap: 24px; /* 侧栏卡片之间保持 24px 间距 */
}

/* 宽度不足时，将侧栏移到正文下方，保证表格可读 */
@media (max-width: 1100px) {
  .content-with-sidebar {
    flex-direction: column;
    gap: 40px;
  }
  .article-main-column {
    width: 100%;
    max-width: 100%;
  }
  .article-sidebar-column {
    width: 100%;
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

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

/* Sidebar Widgets (增加卡片内部留白至 24-28px) */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px; /* 内部边距约 24—28px */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 18px; /* 标题与内容间距 16-24px */
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* TOC Nav list */
.sidebar-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.sidebar-toc-list::-webkit-scrollbar {
  width: 4px;
}

.sidebar-toc-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sidebar-toc-item {
  margin-bottom: 0.3rem;
}

.sidebar-toc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.sidebar-toc-link:hover {
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 600;
  transform: translateX(2px);
}

.sidebar-toc-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Flagship Sidebar Card (增加留白至 24-28px，内部间距 16-24px) */
.sidebar-flagship-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 26px; /* 内部边距约 24—28px */
  box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.25);
}

.sidebar-flagship-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 16px;
}

.sidebar-flagship-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.sidebar-flagship-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px; /* 16-24px */
}

.sidebar-flagship-coupon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed #f59e0b;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 18px; /* 16-24px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-flagship-cta {
  display: block;
  text-align: center;
  background: #0284c7;
  color: #ffffff;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.sidebar-flagship-cta:hover {
  background: #0369a1;
}

/* ========================================================
   STRUCTURED & SEGMENTED AIRPORT INTRO (做好分行分段)
   ======================================================== */
.airport-intro-segmented {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.intro-segment-block {
  background: #ffffff;
}

.segment-label {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.segment-text {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
}

.intro-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
}

.tech-grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-grid-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

.tech-grid-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.intro-unlock-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.unlock-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem 0;
}

.unlock-row:not(:last-child) {
  border-bottom: 1px dashed #e2e8f0;
}

.unlock-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.unlock-desc {
  font-size: 0.91rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.intro-audience-box {
  background: #eff6ff;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.intro-audience-title {
  font-weight: 700;
  color: #0369a1;
  font-size: 0.92rem;
  white-space: nowrap;
}

.intro-audience-desc {
  color: #1e3a8a;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* Responsive breakpoint for sidebar parallel view */
@media (max-width: 1080px) {
  .content-with-sidebar {
    flex-direction: column;
  }
  .article-sidebar-column {
    width: 100%;
    position: static;
  }
  .intro-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   HOMEPAGE EXPANSION & GUIDES NAVIGATION (首页扩展内容与文章跳转)
   ======================================================== */
.homepage-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.homepage-guide-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.homepage-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: #0284c7;
}

.guide-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.guide-badge-blue { background: #e0f2fe; color: #0369a1; }
.guide-badge-green { background: #dcfce7; color: #15803d; }
.guide-badge-amber { background: #fef3c7; color: #b45309; }
.guide-badge-purple { background: #f3e8ff; color: #7e22ce; }
.guide-badge-rose { background: #ffe4e6; color: #be123c; }
.guide-badge-slate { background: #f1f5f9; color: #475569; }

.guide-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.guide-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.guide-card-btn:hover {
  gap: 0.7rem;
  color: #0369a1;
}

/* 28 Recommended Airports Grid on Homepage */
.homepage-airports-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.portal-airport-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.portal-airport-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: #0284c7;
}

.portal-flagship-card {
  border: 2px solid #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
}

.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.portal-num-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.portal-airport-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.portal-tech-tag {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.portal-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.65rem;
}

.portal-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e11d48;
}

.portal-jump-link {
  font-size: 0.82rem;
  color: #0284c7;
  font-weight: 700;
}

/* Homepage FAQ Highlight Cards */
.homepage-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.homepage-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.homepage-faq-q {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.homepage-faq-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.homepage-faq-a {
  font-size: 0.91rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.homepage-faq-link {
  font-size: 0.85rem;
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.homepage-faq-link:hover {
  text-decoration: underline;
  color: #0369a1;
}

/* SEO Keyword Cloud Tags */
.homepage-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.keyword-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.keyword-tag-pill:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

.keyword-tag-pill.featured {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

@media (max-width: 992px) {
  .homepage-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .homepage-airports-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .homepage-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .homepage-guide-grid {
    grid-template-columns: 1fr;
  }
  .homepage-airports-portal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NODE SELECTION CENTER (机场节点查询与选择中心) STYLES
   ========================================================================== */

/* Hero Compact */
.node-hero-compact {
  padding: 1.5rem 0 2rem 0;
  text-align: center;
}

.node-hero-compact .hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.node-hero-compact .hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.node-hero-compact .hero-desc {
  font-size: 1.05rem;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.node-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-hero-action.btn-primary-action {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-hero-action.btn-primary-action:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.btn-hero-action.btn-secondary-action {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.btn-hero-action.btn-secondary-action:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
}

/* Chapter Navigation Pills */
.node-chapter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.chapter-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #334155;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.chapter-nav-pill:hover {
  background: #e0f2fe;
  color: #0284c7;
  transform: translateY(-1px);
}

/* Query Card & Controls */
.node-query-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.query-mode-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.query-mode-tab {
  background: none;
  border: none;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
  position: relative;
}

.query-mode-tab.active {
  color: #0284c7;
  background: #f0f9ff;
}

.query-mode-tab.active::after {
  content: "";
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  right: 0;
  height: 3px;
  background: #0284c7;
  border-radius: 2px;
}

.filter-row {
  margin-bottom: 1.25rem;
}

.filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

.filter-pill.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.node-search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.node-search-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.node-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.node-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.node-search-icon-svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.node-airport-select {
  padding: 0.65rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #334155;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.query-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #475569;
}

.btn-reset-filters {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reset-filters:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Airport Node Grid & Cards */
.airport-node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.airport-node-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

.airport-node-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.airport-node-card.flagship-card {
  border: 2px solid #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.airport-node-card .card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.airport-node-card .card-rank-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.78rem;
}

.airport-node-card .card-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.airport-node-card .card-airport-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.airport-node-card .card-airport-name:hover {
  color: #0284c7;
}

.airport-node-card .card-tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
}

.airport-node-card .card-regions-block {
  margin-bottom: 0.75rem;
}

.airport-node-card .region-label-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.airport-node-card .region-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.region-pill-verified {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.region-pill-official {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.airport-node-card .card-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e2e8f0;
}

.card-pricing-row .price-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #e11d48;
}

.card-pricing-row .price-cycle-note {
  font-size: 0.78rem;
  color: #64748b;
}

.card-meta-line {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 0.4rem;
}

.evidence-tags-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.evidence-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.evidence-tag.tag-official {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.evidence-tag.tag-verified {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.evidence-tag.tag-unconfirmed {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.card-action-btns {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.btn-card-compare {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-compare:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.btn-card-compare.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.btn-card-review {
  flex: 1;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  text-align: center;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-card-review:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

.btn-card-aff {
  background: #0284c7;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-card-aff:hover {
  background: #0369a1;
}

/* Comparison Bar (Sticky Bottom) */
.node-compare-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  transition: all 0.3s ease;
}

.node-compare-bar.hidden {
  display: none;
}

.btn-open-compare {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-open-compare:hover {
  background: #0369a1;
}

.btn-clear-compare {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-clear-compare:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Comparison Section */
.node-compare-section {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 1rem;
}

.compare-matrix-table th,
.compare-matrix-table td {
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}

.compare-matrix-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
}

.tag-shared-region {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.tag-unique-region {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Tool Grid (Calculator & Parser) */
.tools-two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tool-panel-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tool-panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tool-panel-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tool-input-group {
  margin-bottom: 1rem;
}

.tool-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.tool-input-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.tool-input-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.tool-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.preset-pill-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill-btn:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
}

.calc-result-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.calc-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.calc-result-item:last-child {
  margin-bottom: 0;
}

.calc-result-val {
  font-weight: 800;
  color: #0284c7;
  font-size: 1.05rem;
}

.tool-disclaimer-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  line-height: 1.5;
}

/* Node Parser Output */
.parser-output-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.parser-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
}

.parser-tag-row:last-child {
  margin-bottom: 0;
}

.parser-tag-badge {
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* Pick a Node Wizard */
.picker-wizard-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.picker-step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.picker-step-badge {
  background: #f1f5f9;
  color: #64748b;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.picker-step-badge.active {
  background: #0284c7;
  color: #ffffff;
}

.picker-step-badge.done {
  background: #dcfce7;
  color: #15803d;
}

.picker-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.picker-option-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
}

.picker-option-card:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
}

.picker-option-card.selected {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
}

/* Troubleshooting Wizard */
.troubleshoot-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.troubleshoot-problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.troubleshoot-problem-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.troubleshoot-problem-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateY(-2px);
}

.troubleshoot-problem-btn.active {
  background: #f0f9ff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px #0284c7;
}

.ts-problem-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ts-problem-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.troubleshoot-step-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.ts-layer-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.ts-layer-local { background: #fee2e2; color: #991b1b; }
.ts-layer-sub { background: #fef3c7; color: #92400e; }
.ts-layer-client { background: #e0e7ff; color: #3730a3; }
.ts-layer-node { background: #dbeafe; color: #1e40af; }
.ts-layer-target { background: #f3e8ff; color: #6b21a8; }

@media (max-width: 900px) {
  .tools-two-column-grid {
    grid-template-columns: 1fr;
  }
  .node-hero-compact .hero-title {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   TOOLS DIRECTORY & CLIENT CARDS STYLES (/tools/)
   ========================================================================== */
.tools-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.tool-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px; /* 内部边距约 24—28px */
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.tool-card-box:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tool-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px; /* 间距 16-24px */
  flex-wrap: wrap;
  gap: 8px;
}

.tool-platform-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.tool-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 3px 8px;
  border-radius: 4px;
}

.tool-card-body {
  margin-bottom: 20px; /* 间距 16-24px */
}

.tool-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  font-size: 0.85rem;
}

.tool-spec-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.spec-label {
  color: #64748b;
  font-weight: 600;
}

.spec-val {
  color: #0f172a;
  text-align: right;
}

.tool-card-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-tool-download {
  flex: 1;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-tool-download:hover {
  background: #0369a1;
}

.btn-tool-doc {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-tool-doc:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Unified Airport Article Section Rule */
.airport-article-section {
  margin-bottom: 56px !important; /* 大模块之间保持 48—64px 间距 */
  padding: 26px !important; /* 内部边距约 24—28px */
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ==========================================================================
   ENHANCED CLIENT PAGES & SYSTEM-SPECIFIC ARTICLES STYLES
   ========================================================================== */
.tools-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.tools-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-filter-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.tool-filter-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.tool-filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.tools-search-box-inline {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 360px;
}

.tools-search-box-inline input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 0.88rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.15s;
}

.tools-search-box-inline input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.tools-search-box-inline svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.tool-os-links-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.tool-os-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tool-os-link-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Client Specific OS Grid Cards */
.client-os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.client-os-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.client-os-card:hover {
  border-color: #0284c7;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.client-os-icon {
  font-size: 1.8rem;
}

.client-os-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.client-os-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 2px;
}

.client-os-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.client-os-btn {
  display: block;
  text-align: center;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.client-os-btn:hover {
  background: #0369a1;
  color: #ffffff;
}

/* Interactive Package Selector Box */
.interactive-pkg-selector {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.selector-tabs-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.selector-arch-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.selector-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.selector-tab-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
}

.selector-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.selector-result-card {
  background: #ffffff;
  border: 1px solid #93c5fd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.pkg-highlight-name {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
  word-break: break-all;
}

.pkg-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.pkg-meta-item strong {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.pkg-meta-item span {
  color: #0f172a;
  font-weight: 600;
}

.arch-helper-fold {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #475569;
}

.arch-helper-fold summary {
  cursor: pointer;
  font-weight: 700;
  color: #0284c7;
}

.arch-helper-fold summary:hover {
  text-decoration: underline;
}

/* Step-by-Step Guide Cards */
.os-steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.os-step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 4px solid #0284c7;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.os-step-num-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-step-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Airport Subscription Hint Box (Commercial Disclosure) */
.tool-airport-hint-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06);
}

.hint-badge-sponsored {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.hint-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.hint-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 16px;
}

.hint-buttons-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .tools-client-grid {
    grid-template-columns: 1fr;
  }
  .tool-card-box {
    padding: 20px;
  }
  .airport-article-section {
    padding: 18px !important;
  }
  .tools-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .tools-search-box-inline {
    max-width: 100%;
  }
  .selector-arch-tabs {
    flex-direction: column;
  }
}
