/* ==========================================================================
   VPN Top (vpntop.click) - Modern Professional Tech Media Theme
   Pure Native CSS | Responsive | High Performance | Zero Framework Dependency
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --success: #059669;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

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

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

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

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

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.article-container {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  height: 68px;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo .badge-logo {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.main-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 4px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
}

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

.nav-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
}

/* Breadcrumbs */
.breadcrumb-bar {
  padding: 12px 0;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb-list li::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

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

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

.breadcrumb-list [aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* Hero Section with Tech Fiber Optic Network Background */
.hero-section {
  position: relative;
  background-color: #070c18;
  background-image: 
    linear-gradient(180deg, rgba(7, 12, 24, 0.5) 0%, rgba(7, 12, 24, 0.88) 100%),
    url('../images/hero-bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 72px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 25%, rgba(245, 158, 11, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 20% 75%, rgba(37, 99, 235, 0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  max-width: 920px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-section .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid #3b82f6;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
  color: #ffffff;
  font-weight: 700;
}

.hero-section .btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.65);
  transform: translateY(-2px);
}

.hero-section .btn-outline {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-weight: 600;
}

.hero-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

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

.btn-outline {
  background-color: #fff;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-alt);
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Callout / Quick Answers */
.quick-answer-card {
  background-color: #fff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.quick-answer-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.quick-answer-item {
  background-color: var(--bg-body);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.quick-answer-item strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 4px;
}

/* Section Header */
.section-block {
  padding: 50px 0;
}

.section-block:nth-child(even) {
  background-color: #ffffff;
}

.section-head {
  margin-bottom: 32px;
}

.section-head-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

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

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-verified {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.badge-official {
  background-color: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

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

.card-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
}

.card-price small {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-muted);
}

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

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.feature-pill {
  font-size: 0.78rem;
  background-color: var(--bg-alt);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

/* Category Feature Hubs */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.hub-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none !important;
}

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

.hub-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.hub-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.hub-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Table Design */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

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

.data-table th {
  background-color: #f8fafc;
  color: var(--secondary);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

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

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

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

.airport-brand-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--secondary);
}

.brand-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed #10b981;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.76rem;
  color: #059669;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-coupon-pill:hover {
  background: #d1fae5;
}

.brand-coupon-pill code {
  font-family: var(--font-mono);
  font-weight: 700;
}

.brand-coupon-pill .copy-hint {
  font-size: 0.7rem;
  background: rgba(5, 150, 105, 0.15);
  padding: 1px 4px;
  border-radius: 2px;
}

.line-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.suitable-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  background-color: #64748b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.rank-1 { background-color: #f59e0b; color: #ffffff; }
.rank-2 { background-color: #94a3b8; color: #ffffff; }
.rank-3 { background-color: #ea580c; color: #ffffff; }
.rank-4, .rank-5, .rank-6, .rank-7, .rank-8, .rank-9, .rank-10,
.rank-11, .rank-12, .rank-13, .rank-14, .rank-n {
  background-color: #64748b;
  color: #ffffff;
}

/* Compare Table Component */
.compare-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}

.compare-dropdown {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #fff;
  font-size: 0.92rem;
  color: var(--text-main);
  min-width: 200px;
}

/* Article & Markdown Content */
.article-header {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.article-title {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

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

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg-alt);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-main);
}

.article-content code {
  background-color: #e2e8f0;
  color: #b91c1c;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.article-content pre {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 18px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.notice-box {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-item {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
  background-color: #fff;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Related Articles Block */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.related-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.related-card h4 {
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.related-card span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 56px 0 24px;
  margin-top: auto;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
}

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

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

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

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

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.825rem;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }

  .nav-toggle-btn {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 12px;
  }

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

  .main-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-title {
    font-size: 1.85rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Modern Dashboard & Interactive Framework Enhancements
   ========================================================================== */

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 32px auto 0 auto;
}

.stat-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.2);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 500;
}
  font-weight: 500;
}

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

.filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.coupon-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--success-bg);
  border: 1px dashed var(--success);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--success);
  font-weight: 700;
  transition: all 0.2s ease;
  user-select: none;
}

.coupon-tag-btn:hover {
  background: #d1fae5;
  transform: scale(1.02);
}

.copy-tip {
  font-size: 0.72rem;
  background: rgba(5, 150, 105, 0.15);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Article Navigation & Internal Linking UX (Prev/Next, Inline Recs, Back-to-Top)
   ========================================================================== */

/* Previous / Next Article Navigation */
.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0 32px 0;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}

@media (max-width: 640px) {
  .post-pagination {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pagination-card {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none !important;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

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

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

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

.pagination-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.pagination-card.next .pagination-label {
  justify-content: flex-end;
}

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

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

/* Inline In-Article Airport Recommendations */
.article-inline-recommend {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}

.inline-recommend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #cbd5e1;
}

.inline-recommend-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.inline-recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.inline-rec-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.inline-rec-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.inline-rec-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inline-rec-price {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.95rem;
}

.inline-rec-line {
  font-size: 0.78rem;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin: 6px 0;
  width: fit-content;
}

.inline-rec-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.inline-rec-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* Subtle In-Article Internal Keyword Link */
.inline-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all 0.15s ease;
}

.inline-link:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

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

.back-to-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Brand Review In-depth Scoring and Benchmark Styles */
.review-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}

.score-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.score-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.benchmark-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ping-fast {
  color: #059669;
  font-weight: 700;
}

.speed-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 700;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.feature-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
}

/* ==========================================================================
   Header Contact Button & Global Contact Modal Component
   ========================================================================== */

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.35);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-contact:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.contact-btn-icon {
  font-size: 1rem;
}

/* Contact Modal Popup */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.contact-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

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

.contact-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.contact-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 4px 0 0 0;
}

.contact-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  margin: -4px -4px 0 0;
  transition: color 0.15s ease;
}

.contact-modal-close:hover {
  color: var(--danger);
}

.contact-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.contact-channel-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}

.gmail-icon {
  background: linear-gradient(135deg, #ea4335 0%, #d93025 100%);
  color: #ffffff;
  font-family: var(--font-sans);
}

.tlg-icon {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
}

.channel-info {
  flex: 1;
  min-width: 0;
}

.channel-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 2px 0 4px 0;
  font-family: var(--font-mono);
  word-break: break-all;
}

.channel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.channel-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.contact-notice-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-modal-footer {
  padding: 12px 24px 16px 24px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
  text-align: center;
}

.contact-footer-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-footer-link:hover {
  text-decoration: underline;
}

.mobile-contact-link {
  display: none;
}

@media (max-width: 768px) {
  .mobile-contact-link {
    display: block;
    color: var(--primary) !important;
    font-weight: 700 !important;
  }

  .contact-channel-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .channel-actions {
    flex-direction: row;
    width: 100%;
  }

  .channel-actions button,
  .channel-actions a {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   RECOMMENDATION TOPIC TABS & HUB MATRIX STYLES
   ========================================================================== */
.recommend-topic-tabs-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recommend-topic-tabs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.recommend-topic-tabs-header .tabs-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
}

.recommend-topic-tabs-header .tabs-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.recommend-topic-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topic-tab-item:hover {
  background: #e2e8f0;
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.topic-tab-item.active {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.topic-tab-item.active .tab-icon {
  transform: scale(1.1);
}

/* Recommendation Topic Banner */
.recommend-topic-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 36px;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  margin-bottom: 24px;
}

.topic-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.topic-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.topic-verified-tag {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.recommend-topic-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.recommend-topic-banner .article-meta {
  color: #94a3b8;
  font-size: 0.88rem;
}

.topic-criteria-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.criteria-row strong {
  color: var(--secondary);
}

/* Recommendation Hub Styles */
.recommend-hub-hero {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 36px;
  box-shadow: 0 10px 25px -5px rgba(11, 17, 32, 0.2);
}

.hub-hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.recommend-hub-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 14px 0;
}

.recommend-hub-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 840px;
  margin: 0 auto;
}

/* 6-Scenario Matrix Grid */
.recommend-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.matrix-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
}

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

.matrix-card-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matrix-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.matrix-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

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

.matrix-card-specs {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.spec-line {
  display: flex;
  margin-bottom: 4px;
  line-height: 1.5;
}

.spec-line:last-child {
  margin-bottom: 0;
}

.spec-label {
  font-weight: 600;
  color: var(--secondary);
  flex-shrink: 0;
}

.spec-val {
  color: var(--text-main);
}

.matrix-card-picks {
  margin-bottom: 20px;
}

.picks-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.picks-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pick-tag {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.pick-tag small {
  color: #64748b;
  font-weight: 400;
}

.matrix-card-action {
  margin-top: auto;
}

@media (max-width: 768px) {
  .recommend-topic-banner {
    padding: 20px;
  }
  .recommend-topic-title {
    font-size: 1.4rem;
  }
  .recommend-hub-hero {
    padding: 24px 18px;
  }
  .recommend-hub-title {
    font-size: 1.55rem;
  }
  .recommend-matrix-grid {
    grid-template-columns: 1fr;
  }
  .topic-tab-item {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}


