:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #ffffff;
  --surface-color: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --border-color: #e2e8f0;
  --radius: 12px;
  --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);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --accent-text-color: #1e3a8a;
  --accent-text-hover: #2563eb;
  --accent-text-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --accent-bg-glow: rgba(30, 58, 138, 0.08);
  --accent-border-dashed: rgba(30, 58, 138, 0.3);
  --accent-btn-shadow: rgba(37, 99, 235, 0.2);
  --accent-btn-shadow-hover: rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] {
  --primary-color: #3b82f6;
  --primary-hover: #60a5fa;
  --bg-color: #0f172a;
  --surface-color: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #64748b;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
  --accent-text-color: #00f2fe;
  --accent-text-hover: #00c6ff;
  --accent-text-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-bg-glow: rgba(0, 242, 254, 0.1);
  --accent-border-dashed: rgba(0, 242, 254, 0.4);
  --accent-btn-shadow: rgba(0, 242, 254, 0.3);
  --accent-btn-shadow-hover: rgba(0, 242, 254, 0.5);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

html {
  /* Scroll behavior is handled via high-fidelity smooth animation in app.js */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10000;
  transform: translate3d(0, 0, 0);
  isolation: isolate;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] header {
  background-color: rgba(30, 41, 59, 0.8);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Header Dropdown Menu Styles */
.nav-links .dropdown {
  position: relative;
  display: inline-block;
}

.nav-links .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-links .dropdown-trigger .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
  opacity: 0.8;
}

.nav-links .dropdown:hover .dropdown-trigger .arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 230px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100000;
  margin-top: 0.75rem;
}

/* Transparent bridge to prevent mouse leave closing dropdown */
.nav-links .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDropdown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem !important;
  color: var(--text-secondary) !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  text-align: left !important;
  white-space: nowrap !important;
  border-bottom: none !important;
  font-weight: 500 !important;
}

.nav-links .dropdown-menu a:hover {
  background-color: rgba(0, 242, 254, 0.06) !important;
  color: #00f2fe !important;
  padding-left: 1.5rem !important;
}

.dropdown-group-title {
  padding: 0.5rem 1.2rem 0.25rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00f2fe;
  opacity: 0.85;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  margin-bottom: 0.25rem;
  margin-top: 0.25rem;
}

.dropdown-group-title:first-of-type {
  margin-top: 0;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translate3d(-50%, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

/* Main Layout */
.main-container {
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

/* Article Feed */
.article-feed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-card {
  background-color: var(--surface-color);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-content {
  padding: 2rem;
}

.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  align-items: center;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-tag {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

[data-theme="dark"] .card-tag {
  background-color: rgba(59, 130, 246, 0.2);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-title a {
  color: var(--text-primary);
}

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

.card-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.read-more:hover {
  color: var(--primary-hover);
  gap: 0.6rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 4.5rem;
}

.widget {
  background-color: var(--surface-color);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Author Widget */
.author-widget {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem !important;
  text-align: left;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
  grid-column: 2;
  align-self: center;
  white-space: nowrap;
}

.author-bio {
  color: var(--text-secondary);
  font-size: 0.8rem;
  grid-column: 1 / span 2;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.author-contact {
  grid-column: 1 / span 2;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
}

.author-contact span {
  white-space: nowrap;
}

.author-contact a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  white-space: nowrap;
}

.author-contact a:hover {
  color: #00b8d4;
}

/* Tags Widget */
.tags-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-item {
  padding: 0.4rem 0.8rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tag-item:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Links Widget */
.links-list {
  list-style: none;
}

.links-list li {
  margin-bottom: 0.8rem;
}

.links-list a {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.links-list a::before {
  content: '→';
  margin-right: 0.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.links-list a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Article Detail Page */
.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 4rem 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)), url('article_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.article-header .card-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00f2fe;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

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

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: var(--surface-color);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Footer */
footer {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

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

/* Mobile Responsive */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 992px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-color);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  /* Mobile Dropdown Inline Expansion */
  .nav-links .dropdown {
    width: 100%;
    text-align: left;
  }

  .nav-links .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .nav-links .dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    width: 100% !important;
    padding: 0 0 0 1.2rem !important;
    margin-top: 0 !important;
    animation: none !important;
  }

  .nav-links .dropdown-menu a {
    padding: 0.6rem 0 !important;
    font-size: 0.9rem !important;
    border-bottom: none !important;
  }

  .nav-links .dropdown-menu a:hover {
    padding-left: 0.5rem !important;
    background-color: transparent !important;
  }

  .nav-links .dropdown-trigger .arrow {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .article-title {
    font-size: 2rem;
  }
}

/* Tech Background */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.bird-bg {
    display: none;
}

@keyframes floatBackground {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-15px); }
}

.tech-bg-gradient {
    display: none;
}

[data-theme="dark"] .tech-bg-gradient {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}

.tech-bg-grid {
    display: none;
}

[data-theme="dark"] .tech-bg-grid {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveGrid {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

/* Hero Section */
.hero-section {
    max-width: var(--max-width);
    margin: 6rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background-image: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-highlight {
    background-image: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

[data-theme="dark"] .hero-title {
    background-image: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

[data-theme="dark"] .hero-highlight {
    background-image: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-btn {
    padding: 1rem 3rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
}

.hero-btn.primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
}

.hero-btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.hero-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cyber-bird-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: floatBird 6s ease-in-out infinite;
}

.cyber-bird {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    position: relative;
    z-index: 2;
}

.bird-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes floatBird {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin: 2rem auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

/* Pricing Card Styles */
.pricing-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

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

.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #4facfe;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.pricing-features li::before {
    content: '✓';
    color: #4facfe;
    font-weight: bold;
}

.pricing-action {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(79, 172, 254, 0.3);
    transition: var(--transition);
}

.pricing-action:hover {
    background: #4facfe;
    color: #0f172a;
    text-decoration: none !important;
}

/* Pricing Grid Styles */
.airport-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(0, 242, 254, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.airport-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.airport-features li:last-child {
    margin-bottom: 0;
}
.airport-features li::before {
    content: '✅';
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pricing-grid-wrapper {
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Quick Compare Widget Styles */
.quick-compare-widget {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.8rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
}

.quick-compare-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quick-compare-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.95rem;
}

.compare-table th {
    background-color: rgba(15, 23, 42, 0.6);
    color: var(--text-primary);
    font-weight: 700;
    padding: 1rem 0.8rem;
    border-bottom: 2px solid rgba(0, 242, 254, 0.3);
    white-space: nowrap;
}

.compare-table td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.compare-table tr:hover {
    background-color: rgba(0, 242, 254, 0.03);
}

.compare-table a.airport-link {
    color: #00f2fe;
    font-weight: bold;
    text-decoration: underline;
    transition: var(--transition);
}

.compare-table a.airport-link:hover {
    color: #4facfe;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.compare-table .official-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 20px;
    color: #00f2fe;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.compare-table .official-link:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #0f172a;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    text-decoration: none !important;
}

.compare-table .view-detail {
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.compare-table .view-detail:hover {
    color: #00f2fe;
    text-decoration: underline;
}

.pricing-grid-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

.pricing-grid-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.5rem;
}

.pricing-grid-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    background: rgba(0, 242, 254, 0.05);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    font-weight: 800;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px 8px 0 0;
}

.pricing-grid-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    transition: var(--transition);
}

.pricing-grid-row:last-child {
    border-bottom: none;
}

.pricing-grid-row:hover {
    background: rgba(0, 242, 254, 0.03);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}

.pg-col {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pg-name {
    font-weight: 700;
    color: var(--text-primary);
}

.pg-price {
    color: #4facfe;
    font-weight: 800;
    font-size: 1.1rem;
}

.pg-features {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.pricing-grid-action {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    color: #4facfe;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(0, 242, 254, 0.3);
    transition: var(--transition);
}

.pricing-grid-action:hover {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .pricing-grid-header, .pricing-grid-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .pricing-grid-header {
        display: none;
    }
    .pricing-grid-row {
        border: 1px solid var(--border-color);
        margin-bottom: 1rem;
        border-radius: 8px;
        position: relative;
    }
    .pg-col {
        padding-left: 90px;
        position: relative;
    }
    .pg-col::before {
        content: attr(data-label);
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
        color: var(--text-primary);
    }
}

/* TOC Widget Styles */
.toc-widget {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 280px);
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar for TOC list */
.toc-widget .links-list::-webkit-scrollbar {
    width: 6px;
}
.toc-widget .links-list::-webkit-scrollbar-track {
    background: transparent;
}
.toc-widget .links-list::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.25);
    border-radius: 4px;
}
.toc-widget .links-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.45);
}

.toc-widget .widget-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: none;
    position: relative;
    color: var(--text-primary);
    flex-shrink: 0;
}

.toc-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 20%, var(--border-color) 20%);
}

.toc-widget .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 0.5rem;
}

.toc-widget .links-list li {
    margin-bottom: 1.2rem;
}

.toc-widget .links-list a {
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
    transition: var(--transition);
}

.toc-widget .links-list a::before {
    content: '→';
    margin-right: 0.8rem;
    color: #3b82f6;
    font-weight: bold;
    transition: var(--transition);
}

.toc-widget .links-list a:hover {
    color: #4facfe;
    transform: translateX(4px);
}

/* High-Fidelity Glassmorphism Article Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

#search-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    width: 140px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#search-input:focus {
    width: 220px;
    background: rgba(20, 30, 48, 0.9);
    border-color: rgba(0, 242, 254, 0.8);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: rgba(20, 30, 48, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-results.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-results li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-results li:last-child {
    border-bottom: none;
}

.search-results li a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    text-align: left;
}

.search-results li a:hover {
    background: rgba(0, 242, 254, 0.15);
    color: #00f2fe;
    padding-left: 1.5rem;
}

/* Adjust nav-links positioning to align search bar nicely */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .search-container {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
    #search-input {
        width: 100% !important;
    }
    .search-results {
        left: 0;
        width: 100%;
    }
}

/* Light Mode Overrides for Review components */
[data-theme="light"] .review-hero h1 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .tldr-box {
  background: rgba(37, 99, 235, 0.05) !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05) !important;
}

[data-theme="light"] .tldr-box li strong {
  color: var(--primary-color) !important;
}

[data-theme="light"] .tldr-box li {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .review-content-card {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-md) !important;
}

[data-theme="light"] .review-content-card h2 {
  color: var(--text-primary) !important;
  border-bottom: 2px solid var(--border-color) !important;
}

[data-theme="light"] .review-content-card h3 {
  color: var(--primary-color) !important;
}

[data-theme="light"] .review-content-card p,
[data-theme="light"] .review-content-card li {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .airport-sidebar,
[data-theme="light"] .article-sidebar {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

[data-theme="light"] .airport-sidebar h3,
[data-theme="light"] .article-sidebar h3 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

[data-theme="light"] .airport-link,
[data-theme="light"] .article-link {
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid var(--border-color) !important;
}

[data-theme="light"] .airport-link:hover,
[data-theme="light"] .article-link:hover {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

[data-theme="light"] .portal-hero h1 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Light Mode Overrides for Cyan/Light-Blue Elements */
[data-theme="light"] .logo,
[data-theme="light"] .logo-text {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

[data-theme="light"] .nav-links .dropdown-menu a:hover {
  background-color: rgba(37, 99, 235, 0.05) !important;
  color: var(--primary-color) !important;
}

[data-theme="light"] .dropdown-group-title {
  color: var(--primary-color) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .author-contact a {
  color: var(--primary-color) !important;
}

[data-theme="light"] .author-contact a:hover {
  color: var(--primary-hover) !important;
}

[data-theme="light"] .compare-table a.airport-link {
  color: var(--primary-color) !important;
}

[data-theme="light"] .compare-table .official-link {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.05) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

[data-theme="light"] .compare-table .official-link:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4) !important;
}

[data-theme="light"] .compare-table .view-detail:hover {
  color: var(--primary-hover) !important;
}

[data-theme="light"] .search-results {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

[data-theme="light"] #search-input {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] #search-input::placeholder {
  color: var(--text-secondary) !important;
}

[data-theme="light"] #search-input:focus {
  background: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .search-results li a {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .search-results li a:hover {
  background: rgba(37, 99, 235, 0.05) !important;
  color: var(--primary-color) !important;
}

[data-theme="light"] .detailed-pricing-chart th {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #1e3a8a !important;
  border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="light"] .detailed-pricing-chart {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

[data-theme="light"] .detailed-pricing-chart td {
  border-bottom: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .detailed-pricing-chart tr:hover td {
  background: rgba(37, 99, 235, 0.03) !important;
}

[data-theme="light"] .pros-box,
[data-theme="light"] .cons-box {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

[data-theme="light"] .action-button {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2) !important;
  color: #ffffff !important;
}

[data-theme="light"] .action-button:hover {
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4) !important;
}

[data-theme="light"] .airport-badge {
  color: #1e3a8a !important;
  border-color: rgba(30, 58, 138, 0.2) !important;
  background: rgba(30, 58, 138, 0.05) !important;
}

[data-theme="light"] .airport-btn.btn-review:hover {
  background: rgba(37, 99, 235, 0.05) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  color: var(--primary-color) !important;
}

[data-theme="light"] .airport-btn.btn-official {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
}

[data-theme="light"] .airport-btn.btn-official:hover {
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .filter-btn:hover {
  color: var(--primary-color) !important;
}

[data-theme="light"] .filter-btn.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2) !important;
}

/* Light Mode Overrides for Software Tutorials Portal Cards */
[data-theme="light"] .portal-card {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-md) !important;
}

[data-theme="light"] .client-link {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .client-link:hover {
  background: rgba(37, 99, 235, 0.05) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* ==========================================
   Advanced Mobile Responsiveness & Layout Overrides
   ========================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {
  /* Sidebars: Stack below the content instead of display: none */
  body .portal-layout {
    grid-template-columns: 1fr !important;
    padding: 0 1.2rem !important;
    gap: 1.5rem !important;
    margin: 1.5rem auto !important;
  }
  
  body .airport-sidebar, 
  body .article-sidebar {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    box-sizing: border-box !important;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  /* Smooth Mobile Menu Transition */
  body .nav-links {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--surface-color) !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    
    /* Slide & Fade Animation */
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  body .nav-links.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Spacings */
  .nav-container {
    padding: 1rem 1.2rem !important;
  }
  .main-container {
    padding: 0 1.2rem !important;
    margin: 1.5rem auto !important;
    gap: 1.5rem !important;
  }
  
  /* Typography Scale */
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.8rem !important;
    padding: 0 0.5rem !important;
  }
  
  /* Buttons & Actions */
  .hero-actions {
    flex-direction: column !important;
    gap: 0.8rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .hero-btn {
    width: 100% !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    text-align: center !important;
  }
  
  /* Review & Portal Page Typography */
  .review-hero {
    padding: 2.5rem 1rem 1.5rem !important;
  }
  .review-hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  .review-hero p.hero-meta {
    font-size: 0.9rem !important;
    gap: 0.8rem !important;
  }
  .portal-hero {
    padding: 2.5rem 1rem 1.5rem !important;
  }
  .portal-hero h1 {
    font-size: 1.8rem !important;
  }
  
  /* Review Page Containers */
  .review-content-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 12px !important;
  }
  .review-content-card h2 {
    font-size: 1.4rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
  }
  .review-content-card h3 {
    font-size: 1.2rem !important;
    margin-top: 1.5rem !important;
  }
  .review-content-card p, 
  .review-content-card li {
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
  }
  .tldr-box {
    padding: 1.2rem !important;
    margin-bottom: 2rem !important;
  }
  .tldr-box li {
    font-size: 1rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  /* Pros & Cons Grid */
  .pros-cons-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
  }
  
  /* Pricing Compare Widget & Table wrappers */
  .quick-compare-widget {
    padding: 1.2rem !important;
    margin: 1.5rem 0 !important;
  }
  .compare-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Sidebar Links formatted as 2-column Grid */
  .airport-list, 
  .article-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }
  .airport-link, 
  .article-link {
    font-size: 0.85rem !important;
    padding: 0.6rem 0.8rem !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .airport-link:hover, 
  .article-link:hover {
    transform: none !important;
  }
  
  /* Pricing Grids Optimization (with auto-label prefixes) */
  .pricing-grid-header {
    display: none !important;
  }
  .pricing-grid-row {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.8rem 1.2rem !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 1rem !important;
    border-radius: 8px !important;
    position: relative !important;
  }
  
  /* For structured .pg-col divs */
  .pg-col {
    padding-left: 90px !important;
    position: relative !important;
    justify-content: flex-start !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }
  .pg-col::before {
    content: attr(data-label) !important;
    font-weight: bold !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--text-primary) !important;
  }
  
  /* For unstructured raw div columns (in tutorials) */
  .pricing-grid-row > div:not(.pg-col) {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 0.9rem !important;
  }
  .pricing-grid-row > div:not(.pg-col):last-child {
    border-bottom: none !important;
  }
  .pricing-grid-row > div:not(.pg-col)::before {
    font-weight: bold !important;
    color: var(--text-primary) !important;
    margin-right: 1rem !important;
    text-align: left !important;
    flex-shrink: 0 !important;
  }
  .pricing-grid-row > div:not(.pg-col):nth-child(1)::before {
    content: "机场名称" !important;
  }
  .pricing-grid-row > div:not(.pg-col):nth-child(2)::before {
    content: "核心协议" !important;
  }
  .pricing-grid-row > div:not(.pg-col):nth-child(3)::before {
    content: "单月资费" !important;
  }
  .pricing-grid-row > div:not(.pg-col):nth-child(4)::before {
    content: "快捷链接" !important;
  }
  
  /* Footer Wrap */
  .footer-links {
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
  }

  /* Disable expensive backdrop blur and background-attachment effects on mobile viewports to prevent scrolling freeze */
  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--surface-color) !important;
  }
  .review-content-card,
  .airport-sidebar,
  .article-sidebar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--surface-color) !important;
  }
  .article-header::before {
    background-attachment: scroll !important;
  }
}

/* Active state for Scrollspy TOC links */
.toc-widget .links-list li.toc-h3 {
  padding-left: 1.2rem;
}
.toc-widget .links-list li.toc-h3 a {
  font-size: 0.95rem;
}
.toc-widget .links-list li.toc-h3 a::before {
  content: '↳';
  margin-right: 0.6rem;
  color: var(--text-tertiary);
}
.toc-widget .links-list a.active {
  color: var(--accent-text-color) !important;
  font-weight: 700 !important;
}
.toc-widget .links-list a.active::before {
  color: var(--accent-text-color) !important;
  transform: scale(1.2);
}

/* Premium Prominent Client Download Box */
.client-download-box {
  background: var(--accent-bg-glow);
  border: 1.5px dashed var(--accent-border-dashed);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.client-download-box::before {
  content: "⬇";
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.05;
  color: var(--text-primary);
  pointer-events: none;
  font-weight: 900;
}
.client-download-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.client-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.download-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md), 0 0 10px var(--accent-btn-shadow);
  background: rgba(0, 242, 254, 0.03);
}
[data-theme="dark"] .download-btn:hover {
  background: rgba(0, 242, 254, 0.05);
}
.download-btn-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.download-btn-title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.download-btn-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Horizontal Download Rows */
.download-row-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  transition: var(--transition);
  gap: 0.8rem;
}
.download-row:hover {
  transform: translateX(2px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}
.download-row-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.download-row-platform-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-bg-glow);
  border-radius: 50%;
  flex-shrink: 0;
}
.download-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.download-row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-row-filename {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.download-row-btn:hover {
  background: var(--primary-hover);
}

/* Responsive adjustment for row layout */
@media (max-width: 600px) {
  .download-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .download-row-left {
    width: 100%;
  }
  .download-row-btn {
    width: 100%;
    text-align: center;
  }
}
