/* ==========================================================================
   MESL Airport Official Landing Page - Refactored Design Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
  --bg: #050607;
  --bg-soft: #0d1117;
  --card: #111827;
  --text: #f9fafb;
  --muted: #9ca3af;
  --primary: #38bdf8;
  --primary-soft: rgba(56, 189, 248, 0.14);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-title: 'Outfit', var(--font-sans);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

p {
  color: var(--muted);
}

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

a:hover {
  color: #fff;
}

/* Layout System */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  margin-bottom: 16px;
}

/* Clean Auto-fit Grid system */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

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

/* Header & Mobile Menu Responsive Layout */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 6, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(5, 6, 7, 0.96);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
}

.logo span {
  color: var(--primary);
}

.logo-symbol {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-menu a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
  stroke-width: 2;
  fill: none;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 72px);
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 24px;
    transition: var(--transition);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-menu .nav-cta-mobile {
    display: block !important;
    width: 100%;
    margin-top: 10px;
  }
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  border: 1px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

/* Glassmorphism Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Section Spacing Headers */
.section-header {
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Hero Section layout */
.hero {
  padding-top: 152px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.panel-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.panel-item:hover {
  border-color: var(--primary);
}

.panel-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.panel-label {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* Pricing Grid Cards */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.price-card-popular-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.price-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.price-card-value {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  margin: 16px 0 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--text);
}

.price-card-value span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}

.price-card-desc {
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-align: center;
  color: var(--muted);
  min-height: auto;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
  transition: var(--transition);
}

.price-features li:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.price-features li::before {
  content: none !important;
}

.price-feature-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-feature-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.price-feature-name {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.price-feature-value {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}

.price-feature-value span {
  color: var(--primary);
  font-weight: 600;
}

/* Article Card layouts */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-tag {
  font-size: 0.72rem;
  padding: 2px 6px;
  background: var(--primary-soft);
  border-radius: 4px;
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.85rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* Native FAQ Accordion Structure */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-btn:hover {
  color: var(--primary);
}

.faq-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  stroke-width: 2.5;
  transition: var(--transition);
}

.faq-btn.active svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content-inner {
  padding: 0 20px 20px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Streamlined CTA section */
.cta-block {
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.cta-block h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-block p {
  font-size: 1rem;
  margin-bottom: 24px;
}

/* Scroll Fade Animation Classes */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Section */
footer {
  background: #030405;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

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

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer-title {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  font-family: var(--font-title);
  position: relative;
  padding-bottom: 6px;
}

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

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

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

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  color: var(--muted);
}

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

/* ==========================================================================
   Article Pages Template Layout
   ========================================================================== */
.article-header {
  padding-top: 136px;
  padding-bottom: 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.article-header-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 16px;
}

.article-intro {
  font-size: 1.05rem;
  color: var(--muted);
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 48px 0;
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-body {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.article-content h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 32px 0 16px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 24px 0 12px 0;
}

.article-content p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #e5e7eb;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

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

.article-content blockquote {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
}

.article-content blockquote p {
  margin-bottom: 0;
  color: var(--muted);
  font-style: italic;
}

.article-content strong {
  color: #fff;
}

.article-content code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.88rem;
}

/* Sidebar TOC and internal navigation widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.sidebar-widget h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

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

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

.sidebar-cta {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  text-align: center;
}

.sidebar-cta p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.related-list {
  list-style: none;
}

.related-list li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

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

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

.article-inline-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.article-inline-cta-text h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

.article-inline-cta-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .article-inline-cta {
    flex-direction: column;
    text-align: center;
  }
  .article-inline-cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   404 Page Styling Layout
   ========================================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.error-code {
  font-family: var(--font-title);
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 12px;
}

.error-desc {
  max-width: 480px;
  margin: 0 auto 24px auto;
}

.error-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 480px) {
  .error-btns {
    flex-direction: column;
  }
}
