/* ==========================================================================
   NetworkVPN.blog - Modern Tech Media & Dashboard UI System (2027 Edition)
   Pure Native CSS | Responsive | High-Performance | Zero Runtime Framework Lag
   ========================================================================== */

:root {
  /* Brand Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  /* Neutrals (Modern Slate) */
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --bg-alt: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --bg-dark-border: #334155;

  /* Semantic Borders & States */
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #3b82f6;
  
  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  /* Layout & Depth */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

  --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", monospace;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation (Glassmorphic)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  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;
  gap: 1.5rem;
}

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

.logo-badge {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.dot-blog {
  color: var(--primary);
}

/* Center Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

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

/* Contact Us Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-caret {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-caret,
.nav-item-dropdown.active .dropdown-caret {
  transform: rotate(180deg);
}

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

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -20px;
  width: 320px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.contact-channel-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

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

.gmail-icon {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.tg-icon {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

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

.contact-channel-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

.contact-channel-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-action-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.email-btn {
  background: #ef4444;
  color: #ffffff !important;
}

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

.tg-btn {
  background: #0284c7;
  color: #ffffff !important;
}

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

.dropdown-footer {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.dropdown-more-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
  align-self: flex-start;
}

.dropdown-more-link:hover {
  text-decoration: underline;
}

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

.mobile-only-item {
  display: none;
}

.nav-cta {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  color: var(--text-main);
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

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

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

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

.btn-dark:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-green {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

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

.badge-purple {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.badge-dark {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
}

.pill-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Section Headers (Clear, Modern Typography)
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-header.text-center {
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 760px;
  line-height: 1.6;
}

.text-center .section-desc {
  margin: 0 auto;
}

/* ==========================================================================
   Command Center Hero Section (Non-Repetitive)
   ========================================================================== */
.hero-command {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-command::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.hero-ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-h1 {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.hero-h1 span.highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 820px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.hero-metric-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.2;
}

.hero-metric-label {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Bento Grid System (Asymmetric, Dynamic, Non-Repetitive)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.bento-card-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #3b82f6;
  box-shadow: var(--shadow-glow);
}

.bento-card-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-color: #334155;
}

.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.bento-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.bento-card-dark .bento-brand-name {
  color: #ffffff;
}

.bento-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.bento-card-dark .bento-tagline {
  color: #94a3b8;
}

/* Speed Gauge Widget */
.speed-gauge-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  border: 1px solid var(--border);
}

.bento-card-dark .speed-gauge-wrap {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.speed-gauge-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.speed-gauge-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.bento-card-dark .speed-gauge-bar {
  background: rgba(255, 255, 255, 0.15);
}

.speed-gauge-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
}

.speed-gauge-fill.fill-green {
  background: linear-gradient(90deg, #10b981, #059669);
}

.speed-gauge-fill.fill-amber {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Price & Traffic Big Display */
.bento-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.bento-price-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.bento-card-dark .bento-price-val {
  color: #38bdf8;
}

.bento-traffic-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.bento-card-dark .bento-traffic-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.bento-features-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.8rem 0 1.25rem;
  flex-grow: 1;
}

.bento-card-dark .bento-features-list {
  color: #cbd5e1;
}

.bento-features-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
}

.bento-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.bento-coupon-box {
  background: #fef2f2;
  border: 1px dashed #f87171;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: #991b1b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bento-card-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

/* ==========================================================================
   Topic Grid & Executive Bento Cards (Recommend Hub & Ranking Hub)
   ========================================================================== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.topic-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
}

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

.topic-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.topic-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.topic-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0 0 0.75rem;
  transition: color 0.15s ease;
}

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

.topic-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  flex: 1;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.topic-tag-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.topic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.topic-arrow {
  transition: transform 0.2s ease;
  font-size: 1.15rem;
}

.topic-card:hover .topic-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* ==========================================================================
   Multi-column Cards Grid & Airport Card Component
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.airport-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.airport-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
}

.card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.card-header {
  margin-bottom: 0.85rem;
  padding-right: 5rem;
}

.airport-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.airport-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Price Box */
.price-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin: 0.85rem 0 1.1rem;
}

.price-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

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

.price-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-check {
  color: var(--success);
  font-weight: 700;
  font-size: 0.95rem;
}

.card-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}

.card-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   Interactive Leaderboard Table (2027 Pro Table)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.data-table th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 1.05rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-main);
  white-space: nowrap;
}

.data-table td.cell-wrap,
.data-table td.wrap {
  white-space: normal;
  min-width: 220px;
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

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

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

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

.rank-1 { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.rank-2 { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.rank-3 { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.rank-other { background: #f8fafc; color: #64748b; border: 1px solid var(--border); }

/* ==========================================================================
   Editorial Magazine Layout for Blog (Non-Repetitive)
   ========================================================================== */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
}

.magazine-lead-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.magazine-lead-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.8rem 0;
  color: var(--text-main);
}

.magazine-lead-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.magazine-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.magazine-timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.magazine-timeline-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateX(3px);
}

.magazine-item-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

.magazine-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

/* ==========================================================================
   Horizontal OS Track for Tutorials (Non-Repetitive)
   ========================================================================== */
.os-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

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

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

.os-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.os-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.os-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ==========================================================================
   Dashboard Layout for Brand Profiles & Reviews
   ========================================================================== */
.dashboard-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 1px solid #334155;
}

.dashboard-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dashboard-title-box h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.dashboard-title-box .meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.dashboard-score-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  text-align: center;
}

.dashboard-score-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
}

.dashboard-score-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* Content Layout (Article + Sidebar) */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.article-main {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #1e293b;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.2rem 0 1rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.2rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body code {
  background: var(--bg-alt);
  color: #e11d48;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Sidebar Widgets */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.widget-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.6;
}

.widget-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.widget-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-list a {
  color: var(--text-main);
}

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

/* Callout Box / Quick Answer */
.quick-answer-card {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.quick-answer-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e40af;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-answer-card p {
  margin: 0;
  color: #1e3a8a;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumb-wrap {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  color: var(--text-light);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  font-size: 0.9rem;
  line-height: 2;
}

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

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-col-8, .bento-col-4 {
    grid-column: span 12;
  }
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .hero-h1 {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions {
    display: none;
  }
  .mobile-only-item {
    display: block;
    width: 100%;
  }
  .main-nav {
    display: contents;
  }
  .nav-menu, .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 0.75rem;
    z-index: 999;
  }
  .nav-menu.open, .nav-list.open {
    display: flex;
  }
  .nav-menu li, .nav-list li {
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
  }
  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-contact-btn {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 0.5rem;
    pointer-events: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Post Pagination & Seamless Next/Prev Internal Navigation
   ========================================================================== */
.post-pagination-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.post-pagination-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.post-pagination-card:hover {
  border-color: var(--primary);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.pagination-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.4rem;
  display: block;
}

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

.internal-link-hub {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.internal-link-hub-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.filter-pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.article-search-box {
  width: 100%;
  max-width: 480px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: #ffffff;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

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

@media (max-width: 640px) {
  .post-pagination-nav {
    grid-template-columns: 1fr;
  }
  .next-card {
    text-align: left;
  }
}
