/* 机场VPN选型参考 - 2026年现代高对比度亮色主题 (Light Mode) */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #0d9488;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent-cyan: #0284c7;
  --accent-teal: #0d9488;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-gold: #b45309;
  --tag-pass-bg: #ecfdf5;
  --tag-pass-text: #047857;
  --tag-pass-border: #a7f3d0;
  --tag-warn-bg: #fffbeb;
  --tag-warn-text: #b45309;
  --tag-warn-border: #fde68a;
  --tag-fail-bg: #fff1f2;
  --tag-fail-text: #be123c;
  --tag-fail-border: #fecdd3;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #0f766e;
  text-decoration: underline;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  height: 38px;
}

.nav-menu > li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 38px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  box-sizing: border-box;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
  vertical-align: middle;
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0d9488;
  background-color: #f1f5f9;
  border-color: transparent;
  text-decoration: none;
}

.nav-link.featured-pill {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 600;
}

.nav-link.featured-pill:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

/* Dropdown Navigation */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  margin: 0;
  padding: 0;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 38px;
  box-sizing: border-box;
}

.dropdown-toggle svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

ul.dropdown-menu,
.nav-menu .dropdown-menu,
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 175px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 0.4rem 0 !important;
  margin: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  z-index: 999;
}

ul.dropdown-menu li,
.nav-menu .dropdown-menu li,
.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem !important;
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-link:hover, .dropdown-link.active {
  background: #f1f5f9;
  color: #0d9488;
  font-weight: 600;
  text-decoration: none;
}

/* Sub-navigation Pills / Tabs for Category Articles */
.subnav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.subnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.subnav-tab:hover {
  border-color: #0d9488;
  color: #0d9488;
  background: #ffffff;
  text-decoration: none;
}

.subnav-tab.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

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

.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 38px;
  box-sizing: border-box;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.search-trigger:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
  background-color: #ffffff;
}

.search-trigger kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Layout */
.main-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 4.5rem;
}

/* Typography (Strict H1/H2/H3 single line, followed by gap) */
h1, h2, h3, h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: 2.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

h2 {
  font-size: 1.55rem;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: #334155;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #334155;
}

li {
  margin-bottom: 0.45rem;
}

/* Lead Box (副标题 / 导读摘要) */
.lead-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-teal);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.lead-box p:last-child {
  margin-bottom: 0;
}

/* 全球云专属强力推荐横幅 (Quanqiu Featured Banner - 亮色优化版) */
.quanqiu-featured-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0fdfa 50%, #fffbeb 100%);
  border: 2px solid #10b981;
  border-radius: 14px;
  padding: 1.85rem;
  margin: 1.75rem 0 2.5rem;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.quanqiu-featured-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, #d97706);
}

.qf-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.qf-badge-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.qf-badge-pill {
  background: #ffffff;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #ccfbf1;
}

.qf-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.qf-text-col {
  flex: 1 1 650px;
}

.qf-title {
  font-size: 1.45rem;
  color: #0f172a;
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.qf-desc {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.qf-offer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.qf-code-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff7ed;
  border: 1.5px dashed #ea580c;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  color: #9a3412;
  font-size: 0.92rem;
  font-weight: 600;
}

.highlight-coupon {
  display: inline-block;
  background: #dc2626;
  color: #ffffff !important;
  font-family: var(--font-mono);
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
}

.coupon-subnote {
  color: #9a3412 !important;
  font-size: 0.84rem;
  font-weight: 500;
}

/* Coupon tags and codes across all tables & cards */
.coupon-tag, table code, .airport-table code, .parallel-table code {
  display: inline-block;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fca5a5 !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 6px !important;
  font-family: var(--font-mono) !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  white-space: nowrap !important;
  letter-spacing: 0.03em;
}

.coupon-box {
  display: inline-flex;
  align-items: center;
  background: #fef2f2;
  border: 1px solid #f87171;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  color: #b91c1c;
  font-weight: 800;
  font-size: 0.95rem;
}

.qf-action-col {
  flex: 0 0 auto;
}

.qf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.qf-cta-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Grid Table Styles - 变成清晰整齐的格子表格 (全封闭边框格子) */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.parallel-table,
.airport-table,
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
}

.parallel-table th, .parallel-table td,
.airport-table th, .airport-table td,
table th, table td {
  padding: 0.85rem 1rem;
  border: 1px solid #cbd5e1; /* 全封闭格子边框，清晰明了 */
  vertical-align: middle;
  line-height: 1.5;
}

.parallel-table th,
.airport-table th,
table th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #94a3b8;
  white-space: nowrap !important;
}

.parallel-table tr:hover td,
.airport-table tr:hover td,
table tr:hover td {
  background-color: #f8fafc;
}

/* Detail Button in tables (文字并行，绝不折行重叠) */
.table-btn {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  white-space: nowrap !important;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.table-btn:hover {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  text-decoration: none;
}

/* Rank Badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.rank-1 { background: #d97706; color: #fff; }
.rank-2 { background: #64748b; color: #fff; }
.rank-3 { background: #b45309; color: #fff; }
.rank-normal { background: #e2e8f0; color: #475569; }

/* Airport Detailed Card (亮色白底大方优雅) */
.airport-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.25rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  scroll-margin-top: 80px;
}

.airport-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.12);
}

.airport-card.top-rank {
  border: 2px solid #10b981;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
}

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

.airport-title-group h3 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
}

.airport-badge {
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.airport-price-tag {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0284c7;
}

.airport-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  background-color: #f8fafc;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.meta-item {
  font-size: 0.92rem;
}

.meta-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

.meta-val {
  color: #0f172a;
  font-weight: 600;
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdfa;
  border: 1px dashed #0d9488;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  color: #0f766e;
  font-weight: 600;
  width: fit-content;
  font-size: 0.95rem;
}

.airport-packages {
  margin: 1.5rem 0;
}

.airport-packages ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem;
}

.airport-packages li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border-left: 3px solid var(--accent-teal);
  color: #1e293b;
}

.suitability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.suit-box {
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

.suit-yes {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.suit-no {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
}

.suit-box h4 {
  font-size: 0.96rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.suit-yes h4 { color: #047857; }
.suit-no h4 { color: #be123c; }

.suit-box ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
  color: #334155;
}

.check-notice {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: #92400e;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.card-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.aff-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 620px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Status Tags */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.status-pass {
  background-color: var(--tag-pass-bg);
  color: var(--tag-pass-text);
  border-color: var(--tag-pass-border);
}

.status-warn {
  background-color: var(--tag-warn-bg);
  color: var(--tag-warn-text);
  border-color: var(--tag-warn-border);
}

.status-fail {
  background-color: var(--tag-fail-bg);
  color: var(--tag-fail-text);
  border-color: var(--tag-fail-border);
}

/* Client Download Grid */
.client-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
}

.client-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.client-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.12);
}

.client-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-card p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: #475569;
}

.client-os-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.os-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* FAQ Item Style */
.faq-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-filter-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-filter-btn:hover, .faq-filter-btn.active {
  background: var(--accent-teal);
  color: #fff;
  border-color: var(--accent-teal);
}

.faq-group-title {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #e0f2fe;
  padding-bottom: 0.4rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.35rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  scroll-margin-top: 80px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  color: #0f172a;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
}

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

.search-box {
  background: #ffffff;
  border: 1px solid var(--border-focus);
  width: 90%;
  max-width: 680px;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
  overflow: hidden;
}

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

.search-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #0f172a;
  font-size: 1.1rem;
}

.search-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
}

.search-results {
  max-height: 55vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background-color: #f1f5f9;
  text-decoration: none;
}

.search-result-title {
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 0.2rem;
}

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

/* Footer (Deep Elegant Contrast) */
.site-footer {
  background-color: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 3.5rem 1.25rem 2.5rem;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #cbd5e1;
}

.footer-nav a:hover {
  color: #2dd4bf;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==============================================================================
   VPN Nodes Page Styles (VPN节点检索与国家标签)
   ============================================================================== */
.node-filter-container {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.node-search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.node-search-box-wrap svg {
  position: absolute;
  left: 1rem;
  pointer-events: none;
}

.node-search-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 2.6rem;
  font-size: 0.95rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.node-search-input:focus {
  border-color: #0d9488;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.clear-btn {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
}

.clear-btn:hover {
  color: #0f172a;
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.country-pill:hover {
  border-color: #0d9488;
  color: #0d9488;
  background: #f0fdfa;
}

.country-pill.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.country-pill-mini {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 4px;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  margin: 2px 3px 2px 0;
  white-space: nowrap;
}

.country-pill-mini.extra {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.node-count-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.node-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.node-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.node-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.84rem;
}

.chip-flag {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.chip-name {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.chip-desc {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================================
   Comprehensive Mobile Responsiveness (全面移动端深度适配)
   ============================================================================== */
@media (max-width: 868px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Header & Navigation */
  .header-container {
    padding: 0.6rem 0.85rem;
    height: 56px;
  }
  .brand-logo {
    width: 30px;
    height: 30px;
  }
  .brand-title {
    font-size: 1.05rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    flex-direction: column;
    padding: 0.75rem 0.85rem 1.25rem;
    gap: 0.35rem;
    height: auto !important;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .nav-menu > li {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  .nav-link {
    width: 100% !important;
    height: 44px !important;
    justify-content: flex-start !important;
    font-size: 0.98rem;
    padding: 0 0.85rem !important;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .nav-item-dropdown {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  .dropdown-toggle {
    width: 100% !important;
    height: 44px !important;
    justify-content: space-between !important;
    padding: 0 0.85rem !important;
    box-sizing: border-box;
  }

  /* Mobile Expanded Dropdown */
  ul.dropdown-menu,
  .nav-menu .dropdown-menu,
  .dropdown-menu,
  .nav-item-dropdown .dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    margin: 0.25rem 0 0.4rem 0.5rem !important;
    padding: 0.35rem 0.45rem !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box !important;
  }
  .dropdown-link {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px;
    height: 38px;
    display: flex !important;
    align-items: center;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
  }
  .search-trigger {
    padding: 0 0.65rem;
  }
  .search-trigger kbd {
    display: none;
  }

  /* Main Container */
  .main-wrapper {
    padding: 1.25rem 0.85rem 3.5rem;
  }

  /* Headings */
  h1 { font-size: 1.65rem; line-height: 1.35; margin-bottom: 0.85rem; }
  h2 { font-size: 1.3rem; line-height: 1.4; margin: 2rem 0 0.85rem; }
  h3 { font-size: 1.12rem; line-height: 1.4; }

  /* Lead Box */
  .lead-box {
    padding: 1rem 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Featured Banner */
  .quanqiu-featured-banner {
    padding: 1.25rem 1rem;
    margin: 1.25rem 0 2rem;
    border-radius: 10px;
  }
  .qf-main-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .qf-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .qf-desc {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .qf-offer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .qf-code-tag {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
  }
  .qf-action-col {
    width: 100%;
  }
  .qf-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    box-sizing: border-box;
  }

  /* Airport Cards */
  .airport-card {
    padding: 1.25rem 1rem;
    margin-bottom: 1.75rem;
    border-radius: 10px;
  }
  .airport-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  .airport-title-group h3 {
    font-size: 1.22rem;
    flex-wrap: wrap;
    line-height: 1.4;
  }
  .airport-price-tag {
    font-size: 1.12rem;
  }
  .airport-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
    margin: 1rem 0;
  }
  .airport-packages ul {
    grid-template-columns: 1fr;
  }
  .card-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.96rem;
    box-sizing: border-box;
    text-align: center;
  }

  /* Suitability */
  .suitability-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .suit-box {
    padding: 1rem;
  }

  /* Tables: smooth touch scrolling + maintain column readability */
  .table-wrapper {
    margin: 1.25rem 0 2rem;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
  .table-wrapper table {
    min-width: 620px;
  }
  .table-wrapper th,
  .table-wrapper td {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Node Filter & Search on Mobile */
  .node-filter-container {
    padding: 1rem 0.85rem;
    border-radius: 10px;
    margin: 1.25rem 0 1.75rem;
  }
  .node-search-input {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
    padding: 0.7rem 2.4rem 0.7rem 2.4rem;
  }
  .filter-pills-row {
    gap: 0.4rem;
  }
  .country-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
  .node-chips-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Client Download Cards */
  .client-download-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Subnav Tabs */
  .subnav-tabs {
    gap: 0.4rem;
    padding: 0.4rem;
  }
  .subnav-tab {
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
  }

  /* FAQ Items */
  .faq-item {
    padding: 1.1rem 1rem;
    margin-bottom: 1rem;
  }
  .faq-item h3 {
    font-size: 1.05rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Search Modal */
  .search-modal {
    padding-top: 5vh;
  }
  .search-box {
    width: 95%;
    max-height: 85vh;
  }
}

/* Extra small mobile screens (iPhone SE, small Androids <= 480px) */
@media (max-width: 480px) {
  .brand-title {
    font-size: 0.95rem;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .qf-title { font-size: 1.12rem; }
  .qf-badge-gold, .qf-badge-pill {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
  .highlight-coupon {
    font-size: 1.05rem !important;
    padding: 0.12rem 0.45rem;
  }
  .coupon-subnote {
    font-size: 0.76rem;
  }
}
