/* ===================================
   Flight-X Marketing Website Styles
   Premium Aviation ERP Platform
   =================================== */

/* === CSS VARIABLES === */
:root {
  --primary: #0B5FFF;
  --navy: #0A1224;
  --teal: #00D2D2;
  --amber: #FFB800;
  --ink: #0E1117;
  --muted: #9BA3AE;
  --white: #FFFFFF;
  --light-bg: #F8F9FB;
  --card-bg: #FFFFFF;
  --border: #E2E5E9;
  
  --gradient-primary: linear-gradient(135deg, #0B5FFF 0%, #00D2D2 100%);
  --gradient-dark: linear-gradient(135deg, #0A1224 0%, #0E1117 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(11, 95, 255, 0.05) 0%, rgba(0, 210, 210, 0.05) 100%);
  
  --shadow-sm: 0 2px 4px rgba(10, 18, 36, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 18, 36, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 18, 36, 0.12);
  --shadow-xl: 0 20px 48px rgba(10, 18, 36, 0.16);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-wide: 1440px;
}

[data-theme="dark"] {
  --ink: #F8F9FB;
  --white: #0E1117;
  --light-bg: #0A1224;
  --card-bg: #121826;
  --border: #1E2636;
  --muted: #6B7280;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* === BASE RESET & TYPOGRAPHY === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9375rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

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

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

ul, ol { padding-left: 1.5rem; }

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--light-bg);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-wide {
  max-width: var(--max-width-wide);
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* === HEADER & NAVIGATION === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}

[data-theme="dark"] .site-header {
  background: rgba(10, 18, 36, 0.9);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

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

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .logo img {
    height: 32px;
    max-width: 140px;
  }
  
  .site-header {
    position: sticky;
  }
  
  .header-content {
    position: relative;
  }
  
  .main-nav {
    position: static;
    width: auto;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }
  
  [data-theme="dark"] .nav-menu {
    background: var(--navy);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
  }
  
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-actions .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(11, 95, 255, 0.3);
}

.btn-primary:hover {
  background: #0952E0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 95, 255, 0.4);
  color: white;
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11, 95, 255, 0.05);
}

.btn-accent {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn-accent:hover {
  background: #E6A600;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
  color: var(--navy);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  background: var(--gradient-subtle);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero-visual {
  margin-top: 3rem;
  position: relative;
}

.flight-path {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* === AVIATION CLOUDS === */
.aviation-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.cloud {
  position: absolute;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.08) 0%, rgba(0, 210, 210, 0.08) 100%);
  border-radius: 100px;
  opacity: 0.5;
  animation: cloudFloat 30s ease-in-out infinite;
}

.cloud-1 {
  width: 200px;
  height: 60px;
  top: 15%;
  left: -200px;
  animation-delay: 0s;
  animation-duration: 35s;
}

.cloud-2 {
  width: 150px;
  height: 50px;
  top: 45%;
  left: -150px;
  animation-delay: 8s;
  animation-duration: 40s;
}

.cloud-3 {
  width: 180px;
  height: 55px;
  top: 70%;
  left: -180px;
  animation-delay: 15s;
  animation-duration: 38s;
}

@keyframes cloudFloat {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 200px));
  }
}

/* === AVIATION DASHBOARD === */
.aviation-dashboard {
  position: relative;
  overflow: hidden;
}

.radar-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, transparent 40%, rgba(11, 95, 255, 0.03) 41%, transparent 42%, transparent 60%, rgba(11, 95, 255, 0.03) 61%, transparent 62%, transparent 80%, rgba(11, 95, 255, 0.03) 81%, transparent 82%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
  animation: radarSpin 20s linear infinite;
}

@keyframes radarSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.stats.aviation-dashboard .container {
  position: relative;
  z-index: 2;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 210, 210, 0.15);
  border-radius: var(--radius-md);
  opacity: 0.9;
  animation: iconPulse 3s ease-in-out infinite;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  stroke-width: 1.5;
  fill: none;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

.stat-item:nth-child(1) .stat-icon { animation-delay: 0s; }
.stat-item:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }

/* === CARDS === */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

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

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .card-glass {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.08) 0%, rgba(0, 210, 210, 0.08) 100%);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(11, 95, 255, 0.1);
  transition: all var(--transition-base);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}

.card:hover .card-icon svg {
  stroke: var(--teal);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* === GRIDS === */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

/* === STATS / KPI === */
.stats {
  background: var(--navy);
  color: white;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* === LOGO WALL === */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.logo-item {
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-item img {
  height: 48px;
  width: auto;
}

/* === TESTIMONIALS === */
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  min-width: 100%;
  scroll-snap-align: center;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.875rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* === SECURITY RIBBON === */
.security-ribbon {
  background: var(--gradient-dark);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.security-badge svg,
.security-badge span:first-child {
  color: var(--teal);
}

/* === CTA BAND === */
.cta-band {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* === TABS === */
.tabs {
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-button {
  padding: 0.875rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.tab-button:hover {
  color: var(--ink);
  background: var(--light-bg);
}

.tab-button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === ACCORDION / FAQ === */
.accordion-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.accordion-button {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.accordion-button:hover {
  background: var(--light-bg);
}

.accordion-icon {
  transition: transform var(--transition-fast);
}

.accordion-button.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === FORMS === */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  background: #10B981;
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* === PRICING TABLE === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: bold;
  flex-shrink: 0;
}

/* === FEATURE FILTERS === */
.feature-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.feature-search {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--ink);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.125rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-column h4 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-teal { color: var(--teal); }

.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--navy); }
.bg-gradient { background: var(--gradient-primary); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* === SECTION ICONS === */
.section-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.1) 0%, rgba(0, 210, 210, 0.1) 100%);
  border-radius: var(--radius-xl);
  opacity: 0.9;
  animation: float 4s ease-in-out infinite;
}

.section-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}

/* === RUNWAY DIVIDER === */
.runway-divider {
  height: 40px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    transparent 45%, 
    var(--border) 45%, 
    var(--border) 48%, 
    transparent 48%, 
    transparent 52%, 
    var(--border) 52%, 
    var(--border) 55%, 
    transparent 55%);
  background-size: 60px 100%;
  background-repeat: repeat-x;
  opacity: 0.3;
  position: relative;
}

.runway-divider::before,
.runway-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.runway-divider::before {
  left: 10%;
}

.runway-divider::after {
  right: 10%;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.back-to-top svg {
  display: none;
}

.back-to-top .airplane-icon {
  font-size: 1.5rem;
  animation: flyUp 2s ease-in-out infinite;
}

@keyframes flyUp {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(-4px) rotate(-45deg); }
}

/* Thrust Animation */
.back-to-top.thrust {
  animation: thrustBurst 0.6s ease-out;
}

.back-to-top.thrust .airplane-icon {
  animation: rocketBoost 0.6s ease-out;
}

.back-to-top.thrust::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: linear-gradient(180deg, 
    rgba(255, 184, 0, 0.9) 0%, 
    rgba(255, 94, 0, 0.7) 40%, 
    rgba(255, 184, 0, 0.5) 70%,
    transparent 100%);
  border-radius: 50% 50% 0 0;
  filter: blur(4px);
  animation: thrustFlame 0.6s ease-out;
  pointer-events: none;
}

@keyframes thrustBurst {
  0% { 
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-lg);
  }
  30% { 
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 40px rgba(11, 95, 255, 0.5), 0 0 30px rgba(255, 184, 0, 0.6);
  }
  100% { 
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-lg);
  }
}

@keyframes rocketBoost {
  0% { 
    transform: translateY(0) rotate(-45deg) scale(1);
    filter: brightness(1);
  }
  30% { 
    transform: translateY(-12px) rotate(-45deg) scale(1.3);
    filter: brightness(1.5) drop-shadow(0 0 8px rgba(255, 184, 0, 0.8));
  }
  100% { 
    transform: translateY(0) rotate(-45deg) scale(1);
    filter: brightness(1);
  }
}

@keyframes thrustFlame {
  0% { 
    opacity: 0;
    height: 0;
  }
  20% { 
    opacity: 1;
    height: 50px;
  }
  70% { 
    opacity: 0.8;
    height: 40px;
  }
  100% { 
    opacity: 0;
    height: 20px;
  }
}

/* === CTA AIRCRAFT BACKGROUND === */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-aircraft-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  opacity: 0.1;
  pointer-events: none;
  animation: rotateAircraft 30s linear infinite;
}

@keyframes rotateAircraft {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  section { padding: 4rem 0; }
  .hero { padding: 6rem 0 4rem; }
}

@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.125rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .header-content { padding: 1rem; }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
