/* =============================================
   VERTEX AI SMART AVIATION ACADEMY
   Global Stylesheet
   ============================================= */

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

:root {
  --bg-deepest: #04080f;
  --bg-deep: #0a1022;
  --bg-primary: #0f1a33;
  --bg-secondary: #152244;
  --glass: rgba(20, 40, 80, 0.45);
  --glass-border: rgba(0, 191, 255, 0.1);
  
  --neon-blue: #00BFFF;
  --neon-bright: #37D1FF;
  --neon-dim: #006699;
  --ice-blue: #B3E5FC;
  --ice-dim: #7EC8E3;
  --silver: rgba(200, 220, 240, 0.7);
  --silver-bright: rgba(220, 235, 250, 0.9);
  
  --text-primary: #E8F1F8;
  --text-secondary: rgba(180, 205, 230, 0.65);
  --text-muted: rgba(140, 170, 200, 0.45);
  
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

::selection {
  background: rgba(0, 191, 255, 0.35);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deepest);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Cursor Glow */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover #cursor-glow {
  opacity: 1;
}

/* Gradient Text Utility */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--ice-blue) 50%, var(--neon-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------------------------------------------
   02. Floating Navigation
   --------------------------------------------- */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.floating-nav.scrolled {
  background: rgba(10, 16, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 28px;
  height: 28px;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.08);
  filter: blur(8px);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--silver-bright);
}

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

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 1px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::before {
  content: attr(data-index);
  color: var(--neon-blue);
  margin-right: 6px;
  opacity: 0.7;
  font-size: 0.7rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ice-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---------------------------------------------
   03. Hero Section
   --------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
  background: var(--bg-deepest);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-nodes {
  position: absolute;
  inset: 0;
}

.node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 3px;
  height: 3px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0;
  animation: nodePulse 5s ease-in-out infinite;
  animation-delay: calc(var(--delay) * 0.8s);
}

@keyframes nodePulse {
  0%, 100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 20px 4px rgba(0, 191, 255, 0.15);
  }
}

.hero-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 209, 255, 0.3), rgba(0, 191, 255, 0.5), rgba(55, 209, 255, 0.3), transparent);
  animation: scanPass 8s linear infinite;
  opacity: 0.4;
}

@keyframes scanPass {
  0% { top: 5%; }
  100% { top: 95%; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(0, 91, 138, 0.15);
  border: 1px solid rgba(0, 191, 255, 0.12);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.badge-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.08), transparent);
  animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  position: relative;
  z-index: 1;
  animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-blue);
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-headings);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.headline-line {
  display: block;
}

.headline-line.gradient-text {
  font-weight: 500;
}

.hero-description {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--neon-dim);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(0, 191, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--neon-blue), var(--ice-blue));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 191, 255, 0.18);
  border-color: var(--neon-blue);
}

.cta-primary:hover::before {
  opacity: 0.15;
}

.cta-primary span,
.cta-primary svg {
  position: relative;
  z-index: 1;
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: 1px solid rgba(0, 191, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-secondary:hover {
  border-color: var(--neon-blue);
  color: var(--ice-blue);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.06);
}

.cta-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  opacity: 0.6;
  animation: orbPulse 2.5s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

/* Hero Telemetry */
.hero-telemetry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.telemetry-item {
  text-align: center;
}

.telemetry-fig {
  display: block;
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1;
  background: linear-gradient(135deg, var(--ice-blue), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.telemetry-unit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 6px;
}

.telemetry-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--neon-blue), transparent);
  opacity: 0.25;
}

/* Holographic HUD Panel */
.holographic-hud {
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: 240px;
  padding: 24px;
  background: rgba(10, 20, 45, 0.65);
  border: 1px solid rgba(0, 191, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
}

.hud-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-blue);
  opacity: 0.85;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.hud-scanner-line {
  height: 2px;
  background: var(--neon-blue);
  animation: scannerPing 3s ease-in-out infinite;
  opacity: 0.2;
  margin-bottom: 16px;
  border-radius: 1px;
}

@keyframes scannerPing {
  0%, 100% { width: 0; opacity: 0; }
  50% { width: 100%; opacity: 0.3; }
  100% { width: 100%; opacity: 0; }
}

.hud-angles {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.angle-data label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.angle-data span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ice-blue);
}

.hud-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
}

.progress-track {
  height: 3px;
  background: rgba(0, 91, 138, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--neon-dim), var(--neon-bright));
  border-radius: 2px;
  animation: progressMove 3s ease-in-out infinite alternate;
}

@keyframes progressMove {
  0% { width: 30%; }
  100% { width: 80%; }
}

/* ---------------------------------------------
   04. Section Styling Utilities
   --------------------------------------------- */
.section-header {
  margin-bottom: 64px;
  text-align: center;
  position: relative;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--neon-blue);
  opacity: 0.5;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-headings);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ice-blue);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

.section-header.light .section-title {
  color: var(--silver-bright);
}

/* ---------------------------------------------
   05. About the Academy (Systems)
   --------------------------------------------- */
.systems {
  padding: 120px 0;
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}

.section-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.systems-wrapper {
  position: relative;
  z-index: 2;
}

.systems-intro {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}

.systems-intro p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.system-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(20, 35, 70, 0.3);
  border: 1px solid rgba(0, 191, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: default;
}

.card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(0, 191, 255, 0.04) 45%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: cardShimmer 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes cardShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.system-card:hover .card-shimmer {
  opacity: 1;
}

.system-card:hover {
  border-color: rgba(0, 191, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 191, 255, 0.04);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(0, 191, 255, 0.1);
  background: rgba(0, 191, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--neon-blue);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.system-card:hover .card-icon {
  border-color: rgba(0, 191, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.08);
}

.system-card h3 {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--silver-bright);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.system-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------
   06. Programs
   --------------------------------------------- */
.programs {
  padding: 120px 0;
  position: relative;
  background: var(--bg-deepest);
  overflow: hidden;
}

.programs-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}

.programs-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-col {
  display: flex;
  gap: 0;
  background: rgba(15, 26, 51, 0.6);
  border: 1px solid rgba(0, 191, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.program-col:hover {
  border-color: rgba(0, 191, 255, 0.15);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 191, 255, 0.03);
}

.program-visual {
  width: 160px;
  min-height: 240px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  --hue: 195;
  background: linear-gradient(135deg, 
    hsl(var(--hue), 60%, 12%) 0%, 
    hsl(var(--hue), 50%, 8%) 100%);
}

.visual-noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: noiseScroll 0.5s steps(8) infinite;
  opacity: 0.6;
}

@keyframes noiseScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10px, -10px); }
}

.program-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--neon-blue);
  opacity: 0.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.program-info h3 {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--silver-bright);
  margin-bottom: 12px;
  line-height: 1.25;
}

.program-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.program-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.program-meta svg {
  color: var(--neon-blue);
  opacity: 0.5;
}

/* ---------------------------------------------
   07. Aviation Lab
   --------------------------------------------- */
.aviation-lab {
  padding: 120px 0 80px;
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}

.lab-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radar-circle {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 255, 0.04);
}

.radar-circle::before,
.radar-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 255, 0.03);
}

.radar-circle::before {
  width: 66%;
  height: 66%;
}

.radar-circle::after {
  width: 33%;
  height: 33%;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 64px;
}

.project-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 191, 255, 0.06);
  background: rgba(15, 26, 51, 0.5);
  transition: all var(--transition-smooth);
}

.project-tile:hover {
  border-color: rgba(0, 191, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 191, 255, 0.06);
}

.project-visual {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 191, 255, 0.06);
}

.project-holo {
  --hue: 195;
  width: 100%;
  height: 100%;
  color: hsl(var(--hue), 80%, 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse at center 30%,
    hsla(var(--hue), 70%, 20%, 0.4),
    hsla(var(--hue), 60%, 10%, 0.15) 60%,
    transparent 70%
  );
  position: relative;
  transition: all 0.5s ease;
}

.project-tile:hover .project-holo {
  color: hsl(var(--hue), 90%, 65%);
}

.project-holo svg {
  width: 80%;
  height: 80%;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.project-tile:hover .project-holo svg {
  opacity: 0.75;
}

.project-data {
  padding: 24px;
}

.project-data h4 {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--silver-bright);
  margin-bottom: 8px;
}

.project-data p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Telemetry Panel */
.telemetry-panel {
  position: relative;
  z-index: 2;
  background: rgba(10, 20, 45, 0.6);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.telemetry-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-status {
  color: var(--neon-blue);
  opacity: 0.8;
  position: relative;
  padding-left: 16px;
}

.panel-status::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 6px var(--neon-blue);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.telemetry-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.channel-bar {
  height: 4px;
  background: rgba(0, 91, 138, 0.12);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.channel-fill {
  --w: 60%;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--neon-dim), var(--neon-bright));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.channel-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: channelShine 3s ease-in-out infinite;
}

@keyframes channelShine {
  0% { left: -30%; }
  100% { left: 130%; }
}

.channel-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ice-blue);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------
   08. Contact Section
   --------------------------------------------- */
.contact {
  padding: 120px 0;
  position: relative;
  background: var(--bg-deepest);
  overflow: hidden;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.012) 1px, transparent 1px);
  background-size: 50px 50px;
}

.backdrop-orb {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.04) 0%, transparent 60%);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-glass {
  background: rgba(15, 26, 51, 0.4);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-blue);
  opacity: 0.85;
}

.form-field input,
.form-field textarea {
  background: rgba(10, 20, 45, 0.5);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.08);
}

.field-glow {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--neon-blue);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-field input:focus + .field-glow,
.form-field textarea:focus + .field-glow {
  width: 100%;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--neon-dim), var(--neon-blue));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--neon-blue), var(--ice-blue));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 191, 255, 0.22);
}

.form-submit:hover::before {
  opacity: 0.2;
}

.form-submit span,
.form-submit svg {
  position: relative;
  z-index: 1;
}

.submit-arrow {
  transition: transform 0.3s ease;
}

.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Coordinates */
.contact-coords {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 16px;
}

.coords-block {
  position: relative;
}

.coords-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.coords-value {
  font-size: 1.05rem;
  color: var(--silver-bright);
  line-height: 1.6;
  font-weight: 400;
}

.coords-value.link {
  color: var(--neon-blue);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.coords-value.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-blue);
  transition: width 0.4s ease;
}

.coords-value.link:hover::after {
  width: 100%;
}

.coords-block.squadron {
  margin-top: 8px;
}

.squadron-line {
  height: 1px;
  background: linear-gradient(90deg, var(--neon-dim), transparent);
  margin-bottom: 20px;
  opacity: 0.5;
}

.squadron-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.squadron-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c853;
  box-shadow: 0 0 8px #00c853, 0 0 16px rgba(0, 200, 83, 0.3);
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { 
    opacity: 0.7; 
    box-shadow: 0 0 6px #00c853, 0 0 12px rgba(0, 200, 83, 0.2); 
  }
  50% { 
    opacity: 1; 
    box-shadow: 0 0 10px #00c853, 0 0 24px rgba(0, 200, 83, 0.4); 
  }
}

.status-text {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ice-blue);
}

/* ---------------------------------------------
   09. Footer
   --------------------------------------------- */
.site-footer {
  padding: 48px 0;
  background: rgba(6, 10, 20, 0.9);
  border-top: 1px solid rgba(0, 191, 255, 0.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--silver-bright);
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

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

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

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

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ---------------------------------------------
   10. Responsive
   --------------------------------------------- */
@media (max-width: 1024px) {
  .holographic-hud {
    display: none;
  }

  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  .holographic-hud {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 14, 30, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(0, 191, 255, 0.06);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    padding: 18px 0;
    font-size: 0.85rem;
    width: 100%;
    border-bottom: 1px solid rgba(0, 191, 255, 0.04);
  }

  .hero-telemetry {
    gap: 20px;
  }

  .telemetry-divider {
    display: none;
  }

  .systems-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .program-col {
    flex-direction: column;
  }

  .program-visual {
    width: 100%;
    height: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-glass {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

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