/* ==========================================================================
   VPNGIT.BLOG - High Performance Native CSS
   Modern Tech Portal Style | Responsive | Zero Dependencies
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --secondary: #0f172a;
  --accent: #0284c7;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --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.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --article-width: 820px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

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

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;
}

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

.article-container {
  width: 100%;
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}

/* Top Banner / Disclaimer */
.site-alert {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.825rem;
  color: var(--text-muted);
  padding: 6px 0;
  text-align: center;
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

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

@media (min-width: 869px) {
  .header-inner nav {
    margin-left: 52px;
    margin-right: auto;
  }
}

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

.brand-logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  padding: 6px 4px;
  position: relative;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
}

/* Nav Contact Us Trigger & Dropdown */
.nav-contact-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 6px;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.06);
}

.nav-contact-btn:hover,
.nav-contact-item.open .nav-contact-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.nav-contact-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  display: inline-block;
}

.nav-contact-btn:hover .nav-contact-dot,
.nav-contact-item.open .nav-contact-dot {
  background-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
}

/* Dropdown Card */
.nav-contact-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 360px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  padding: 18px 20px;
  z-index: 1000;
  cursor: default;
  animation: contactFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-contact-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-contact-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
}

.nav-contact-item:hover .nav-contact-dropdown,
.nav-contact-item.open .nav-contact-dropdown {
  display: block;
}

/* Contact Channel Cards */
.contact-channel-item {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.contact-channel-item:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tlg-channel {
  border-left: 3px solid #0284c7;
}

.gmail-channel {
  border-left: 3px solid #ea4335;
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.channel-btn-primary {
  color: #ffffff;
}

.channel-btn-primary:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
}

.channel-btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.channel-btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

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

/* Hero Section */
.hero {
  position: relative;
  background: #080d1a url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 68px 0 56px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 45%, rgba(8, 13, 26, 0.4) 0%, rgba(8, 13, 26, 0.75) 100%);
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.45);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.25);
}

.hero p.lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5), 0 0 15px rgba(59, 130, 246, 0.3);
  font-weight: 700;
  padding: 12px 24px;
}

.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 99, 235, 0.65);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 22px;
  font-weight: 600;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

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

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

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--primary);
}

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

/* Quick Answer Section */
.quick-answer {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

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

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

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

.qa-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.qa-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Section Header */
.section-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Airport Card */
.airport-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

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

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

.card-badge {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-featured {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

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

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

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

.card-pricing {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
}

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

.price-traffic {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.card-features {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.card-features li {
  padding: 4px 0;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tag-item {
  font-size: 0.75rem;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

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

/* Category Grid / Entrance */
.topic-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.topic-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

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

.topic-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

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

.data-table th {
  background-color: var(--bg-subtle);
  color: var(--secondary);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

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

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

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

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

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

/* Article & Content */
.prose {
  color: #334155;
  font-size: 1.025rem;
  line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--secondary);
  font-weight: 700;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.prose h1 { font-size: 2rem; margin-top: 0; }
.prose h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border-light); padding-bottom: 8px; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.1rem; }

.prose p {
  margin-bottom: 1.2em;
}

.prose ul, .prose ol {
  margin-bottom: 1.2em;
  padding-left: 1.6em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg-subtle);
  padding: 12px 18px;
  margin: 1.4em 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: normal;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: #be185d;
}

.prose pre {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.4em 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

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

/* Callout Box */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.callout-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.callout-warning {
  background-color: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.callout-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 10px 0;
}

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

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

.breadcrumbs .separator {
  color: var(--text-light);
}

.breadcrumbs .current {
  color: var(--secondary);
  font-weight: 500;
}

/* Article Meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

/* FAQ Accordion / Box */
.faq-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background-color: #ffffff;
}

.faq-header {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

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

.faq-content {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Compare Tool */
.compare-container {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.compare-selectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.compare-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: var(--secondary);
}

.compare-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Search Box */
.search-bar-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 28px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
}

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

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

.footer-brand p {
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}

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

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

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

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.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.8rem;
}

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

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

/* Responsive adjustments */
@media (max-width: 868px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.show {
    display: flex;
  }

  .nav-contact-item {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
  }

  .nav-contact-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 16px;
    font-size: 0.92rem;
  }

  .nav-contact-dropdown {
    position: static;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
    padding: 14px;
    border-radius: 10px;
  }

  .nav-contact-dropdown::before,
  .nav-contact-dropdown::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 44px 0 36px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p.lead {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .hero-meta {
    font-size: 0.78rem;
    gap: 8px;
  }
  
  .card-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   THE VERGE / 少数派 现代化科技媒体杂志风组件系统
   ========================================================================== */

/* Animated Status Indicator */
.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 1. Magazine Hero Spotlight Grid */
.magazine-hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  margin: 32px 0 48px;
}
@media (max-width: 960px) {
  .magazine-hero-grid {
    grid-template-columns: 1fr;
  }
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.12);
}
.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  align-self: flex-start;
}
.spotlight-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.spotlight-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}
.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .spotlight-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.metric-value.highlight {
  color: #2563eb;
}
.metric-value.green {
  color: #16a34a;
}
.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.spotlight-tag-item {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.spotlight-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Secondary Spotlights Stack */
.spotlight-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.secondary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.secondary-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.secondary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.secondary-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-silver {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.badge-bronze {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}
.secondary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.secondary-pricing {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
}
.secondary-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.secondary-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* 2. Compact Dense Leaderboard (Ranks #4 - #14) */
.leaderboard-compact-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
  margin-bottom: 48px;
}
.leaderboard-compact-header {
  display: grid;
  grid-template-columns: 60px 2.2fr 1.6fr 1.4fr 1fr 140px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 2.2fr 1.6fr 1.4fr 1fr 140px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}
.leaderboard-row:last-child {
  border-bottom: none;
}
.leaderboard-row:hover {
  background-color: #f8fafc;
}
.rank-num {
  font-size: 1rem;
  font-weight: 800;
  color: #64748b;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f5f9;
}
.brand-cell strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}
.brand-cell span {
  font-size: 0.775rem;
  color: #64748b;
}
.ping-pill {
  display: inline-flex;
  align-items: center;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 600;
}
.price-cell strong {
  font-size: 0.95rem;
  color: #0f172a;
}
.price-cell span {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
}
@media (max-width: 868px) {
  .leaderboard-compact-header {
    display: none;
  }
  .leaderboard-row {
    grid-template-columns: 44px 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .leaderboard-row .hide-mobile {
    display: none;
  }
}

/* 3. Thematic Asymmetric Grid (Scenarios) */
.asym-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .asym-scenario-grid {
    grid-template-columns: 1fr;
  }
}
.scenario-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.scenario-box:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.08);
}
.scenario-box.theme-budget {
  border-top: 4px solid #10b981;
}
.scenario-box.theme-stable {
  border-top: 4px solid #2563eb;
}
.scenario-box.theme-ai {
  border-top: 4px solid #8b5cf6;
}
.scenario-box.theme-stream {
  border-top: 4px solid #f59e0b;
}
.scenario-box.theme-compare {
  border-top: 4px solid #06b6d4;
  background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
}
.scenario-box.theme-beginner {
  border-top: 4px solid #3b82f6;
}

.scenario-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.scenario-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.scenario-box p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.scenario-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 4. Dashed Coupon Ticket */
.coupon-ticket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.825rem;
  color: #92400e;
  font-weight: 600;
}
.coupon-code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* 5. Editorial Magazine Article Stream (The Verge Style) */
.mag-stream-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .mag-stream-grid {
    grid-template-columns: 1fr;
  }
}
.mag-lead-article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
}
.mag-lead-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.mag-lead-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}
.mag-lead-title a {
  color: #0f172a;
  text-decoration: none;
}
.mag-lead-title a:hover {
  color: #2563eb;
}
.mag-lead-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}
.mag-lead-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mag-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mag-side-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.mag-side-item:hover {
  text-decoration: none;
  border-color: #cbd5e1;
  transform: translateX(4px);
}
.mag-side-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #cbd5e1;
  flex-shrink: 0;
  line-height: 1.2;
}
.mag-side-item:hover .mag-side-num {
  color: #2563eb;
}
.mag-side-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 4px;
}
.mag-side-meta {
  font-size: 0.775rem;
  color: #94a3b8;
}

/* 6. Article Pagination Navigator (Prev / Next) */
.article-pagination {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.pagination-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination-card:hover {
  text-decoration: none;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

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

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

.pagination-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-card.next-card .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);
}

.pagination-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pagination-hub-btn:hover {
  text-decoration: none;
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 680px) {
  .article-pagination {
    grid-template-columns: 1fr;
  }
  .pagination-card.next-card {
    text-align: left;
  }
  .pagination-card.next-card .pagination-label {
    justify-content: flex-start;
  }
}
