:root {
  --bg-obsidian: #070a10;
  --bg-cockpit: #0d121c;
  --bg-panel: #131b29;
  --bg-card: #182234;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-gold: #f59e0b;
  --accent-gold-soft: rgba(245, 158, 11, 0.16);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-indigo: #6366f1;
  --accent-rose: #f43f5e;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  --shadow-elevated: 0 18px 42px rgba(0, 0, 0, 0.55);
  --radius-xl: 18px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  margin-top: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* TOP TELEMETRY RIBBON */
.top-promo-bar {
  background: linear-gradient(90deg, #090d15, #152238, #090d15);
  border-bottom: 1px solid var(--border-gold);
  color: #e2e8f0;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-promo-bar span {
  background: var(--accent-gold);
  color: #070a10;
  padding: 2px 9px;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* HEADER NAVIGATION */
.site-header {
  background: rgba(7, 10, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a10;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title strong {
  font-size: 1.32rem;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.brand-title small {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  color: #fff;
  background: #1e293b;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #070a10;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.btn-green {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #04130d;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

/* LANDING PAGE LAYOUT (ORIGINAL AIRHON DESIGN) */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.14), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 48%),
    linear-gradient(180deg, #070a10 0%, #0d121c 100%);
  border-bottom: 1px solid var(--border-glass);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-gold);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.15rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(90deg, #fbbf24, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-preview-box {
  background: linear-gradient(160deg, #131b29 0%, #0d131f 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-elevated);
}

.preview-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.preview-stat {
  background: rgba(7, 10, 16, 0.65);
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
}

.preview-stat small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-stat strong {
  font-size: 1.08rem;
  color: #fff;
}

/* SECTIONS */
.career-section {
  padding: 82px 0;
  border-bottom: 1px solid var(--border-glass);
}

.career-section.alt-bg {
  background-color: var(--bg-cockpit);
}

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

.section-eyebrow {
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.04rem;
  color: var(--text-secondary);
}

/* GRIDS & CARDS */
.world-cards,
.grid-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.world-card,
.feature-card {
  background: var(--bg-panel);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.world-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(245, 158, 11, 0.4);
}

.card-cumulus { border-left: 4px solid var(--accent-emerald); }
.card-stratus { border-left: 4px solid var(--accent-cyan); }
.card-thunder { border-left: 4px solid var(--accent-gold); }

.feature-card.card-green { border-bottom: 3px solid var(--accent-emerald); }
.feature-card.card-blue { border-bottom: 3px solid var(--accent-cyan); }
.feature-card.card-orange { border-bottom: 3px solid var(--accent-gold); }
.feature-card.card-red { border-bottom: 3px solid var(--accent-rose); }
.feature-card.card-purple { border-bottom: 3px solid var(--accent-indigo); }

.world-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.world-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.world-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.world-features li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: #e2e8f0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.89rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.metric-tag {
  background: rgba(7, 10, 16, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.79rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e2e8f0;
  margin-top: auto;
}

/* =====================================================
   DASHBOARD APPLICATION VIEW (AIRHON EXECUTIVE SUITE)
===================================================== */
.hidden {
  display: none !important;
}

.app-shell {
  display: grid;
  grid-template-columns: 265px 1fr;
  min-height: calc(100vh - 67px);
  background: var(--bg-obsidian);
}

.app-sidebar {
  background: #0a0f18;
  border-right: 1px solid var(--border-glass);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-card-mini {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.14), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 14px;
}

.company-card-mini .icao-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #070a10;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.sidebar-nav-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 11px 14px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.89rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.18s ease;
}

.sidebar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-nav-btn.active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(6, 182, 212, 0.12));
  color: #fbbf24;
  border-left: 3px solid var(--accent-gold);
}

.nav-count {
  font-size: 0.73rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 99px;
  color: #e2e8f0;
}

.app-main {
  padding: 22px 28px 60px;
  overflow-y: auto;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 16px;
}

.kpi-box small {
  display: block;
  font-size: 0.71rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.kpi-box strong {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 800;
}

#global-map {
  width: 100%;
  height: 440px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: #070a10;
  z-index: 1;
}

.radar-dark-tiles {
  filter: invert(100%) hue-rotate(185deg) brightness(92%) contrast(92%);
}

.sim-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.simconnect-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.panel-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-header h3 {
  margin: 0;
  font-size: 1.18rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.data-table th {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.25);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 700;
}

.badge-blue { background: rgba(6, 182, 212, 0.18); color: #38bdf8; }
.badge-green { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.badge-orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-purple { background: rgba(99, 102, 241, 0.22); color: #a5b4fc; }
.badge-red { background: rgba(244, 63, 94, 0.2); color: #fb7185; }

.mini-progress {
  width: 100%;
  height: 8px;
  background: #070a10;
  border-radius: 99px;
  overflow: hidden;
}

.mini-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
  transition: width 0.35s ease;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 18px;
}

.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 26px;
  box-shadow: var(--shadow-elevated);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #070a10;
  color: #fff;
  font-size: 0.92rem;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  border-left: 4px solid var(--accent-gold);
  color: #fff;
  padding: 13px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-elevated);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-grid,
  .world-cards,
  .grid-four-cols,
  .grid-three-cols {
    grid-template-columns: 1fr;
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
}
