/* ==========================================================================
   AETHERIS DYNAMICS - Premium Aerospace Design System
   Palettes: Midnight Navy (#030712, #070D1F), Deep Space Black (#02040A),
             Electric Cyan (#00E5FF), Ice Blue (#7DD3FC), Metallic Silver (#94A3B8)
   ========================================================================== */

:root {
  --bg-deep-space: #02040A;
  --bg-midnight-navy: #060B19;
  --bg-card-glass: rgba(10, 18, 38, 0.65);
  --bg-card-glass-hover: rgba(16, 28, 58, 0.85);

  --accent-cyan: #00E5FF;
  --accent-cyan-rgb: 0, 229, 255;
  --accent-ice: #7DD3FC;
  --accent-blue-core: #2563EB;
  --text-silver: #94A3B8;
  --text-white: #F8FAFC;
  --text-white-80: rgba(248, 250, 252, 0.8);
  --text-white-60: rgba(248, 250, 252, 0.6);
  --text-white-50: rgba(248, 250, 252, 0.5);
  --text-white-10: rgba(248, 250, 252, 0.1);

  --border-cyan-glow: rgba(0, 229, 255, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-syne: 'Syne', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-space: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================
   AEROSPACE THEME SYSTEM
========================================= */

/* Default: Obsidian Cyan */
:root,
[data-theme="obsidian"] {
    color-scheme: dark;

    --bg-deep-space: #02040A;
    --bg-midnight-navy: #060B19;
    --bg-card-glass: rgba(10, 18, 38, .65);
    --bg-card-glass-hover: rgba(16, 28, 58, .85);

    --accent-cyan: #00E5FF;
    --accent-cyan-rgb: 0, 229, 255;
    --accent-ice: #7DD3FC;
    --accent-blue-core: #2563EB;

    --border-cyan-glow: rgba(0, 229, 255, .3);
    --border-subtle: rgba(255, 255, 255, .08);

    --theme-nav-bg: rgba(6, 11, 25, .88);
    --theme-input-bg: rgba(2, 4, 10, .75);
    --theme-button-text: #02040A;
}

/* Arctic Blue */
[data-theme="arctic"] {
    color-scheme: dark;

    --bg-deep-space: #030A15;
    --bg-midnight-navy: #07182A;
    --bg-card-glass: rgba(10, 30, 52, .72);
    --bg-card-glass-hover: rgba(17, 46, 75, .9);

    --accent-cyan: #80D8FF;
    --accent-cyan-rgb: 128, 216, 255;
    --accent-ice: #D0F1FF;
    --accent-blue-core: #2979C8;

    --border-cyan-glow: rgba(128, 216, 255, .35);
    --border-subtle: rgba(208, 241, 255, .1);

    --theme-nav-bg: rgba(7, 24, 42, .9);
    --theme-input-bg: rgba(3, 10, 21, .8);
    --theme-button-text: #03101B;
}

/* Solar Orange */
[data-theme="solar"] {
    color-scheme: dark;

    --bg-deep-space: #100B08;
    --bg-midnight-navy: #1D120D;
    --bg-card-glass: rgba(36, 23, 15, .75);
    --bg-card-glass-hover: rgba(57, 34, 18, .92);

    --accent-cyan: #FF9D42;
    --accent-cyan-rgb: 255, 157, 66;
    --accent-ice: #FFD19B;
    --accent-blue-core: #D65A1F;

    --border-cyan-glow: rgba(255, 157, 66, .35);
    --border-subtle: rgba(255, 222, 190, .1);

    --theme-nav-bg: rgba(29, 18, 13, .92);
    --theme-input-bg: rgba(16, 11, 8, .85);
    --theme-button-text: #1A0D05;
}

/* Stealth Purple */
[data-theme="stealth"] {
    color-scheme: dark;

    --bg-deep-space: #090612;
    --bg-midnight-navy: #140D25;
    --bg-card-glass: rgba(27, 17, 49, .75);
    --bg-card-glass-hover: rgba(43, 26, 76, .92);

    --accent-cyan: #C084FC;
    --accent-cyan-rgb: 192, 132, 252;
    --accent-ice: #E4C9FF;
    --accent-blue-core: #7C3AED;

    --border-cyan-glow: rgba(192, 132, 252, .35);
    --border-subtle: rgba(228, 201, 255, .1);

    --theme-nav-bg: rgba(20, 13, 37, .92);
    --theme-input-bg: rgba(9, 6, 18, .85);
    --theme-button-text: #170A27;
}

/* =========================================
   THEME CONTROL
========================================= */

.theme-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(var(--accent-cyan-rgb), .07);
    border: 1px solid var(--border-cyan-glow);
    border-radius: 5px;
    color: var(--accent-cyan);
}

.theme-control > i:first-child {
    font-size: 15px;
}

.theme-control select {
    width: 112px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .6px;
    cursor: pointer;
    padding-right: 12px;
}

.theme-control select option {
    background: #091323;
    color: #fff;
}

.theme-chevron {
    position: absolute;
    right: 9px;
    font-size: 9px;
    pointer-events: none;
}

.theme-control:focus-within {
    box-shadow: 0 0 15px var(--border-cyan-glow);
}

/* Connect existing components to theme variables */

.header-nav-wrapper.scrolled {
    background-color: var(--theme-nav-bg);
}

.btn-cyber-primary {
    color: var(--theme-button-text);
}

.btn-cyber-primary:hover {
    color: var(--theme-button-text);
}

.btn-terminal-nav:hover,
.card-badge,
.team-socials .social-link:hover,
.lightbox-close:hover {
    color: var(--theme-button-text) !important;
}

.cyber-input {
    background: var(--theme-input-bg) !important;
}

.theme-control,
.theme-control select,
.roadmap-card,
.capability-card,
.tech-card,
.team-card,
.glass-card,
.pillar-box {
    transition:
        background-color .4s ease,
        border-color .4s ease,
        color .4s ease,
        box-shadow .4s ease;
}

/* Mobile */
@media (max-width: 991.98px) {
    .theme-switch-item {
        padding: 10px 0;
    }

    .theme-control {
        width: fit-content;
    }
}


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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep-space);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
}

/* Typography Helpers */
.font-syne { font-family: var(--font-syne); }
.font-mono { font-family: var(--font-mono); letter-spacing: 0.05em; }
.font-space { font-family: var(--font-space); }
.text-cyan { color: var(--accent-cyan) !important; }
.text-ice-blue { color: var(--accent-ice) !important; }
.text-white-80 { color: var(--text-white-80); }
.text-white-60 { color: var(--text-white-60); }
.text-white-50 { color: var(--text-white-50); }
.text-white-10 { color: var(--text-white-10); }

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 60%, var(--accent-ice) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Three.js Canvas */
#deepSpaceCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Gradients */
.ambient-glow {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
}
.glow-top {
  top: -200px;
  left: 15%;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}
.glow-right {
  top: 40%;
  right: -250px;
  background: radial-gradient(circle, var(--accent-blue-core) 0%, transparent 70%);
}
.glow-bottom {
  bottom: -250px;
  left: 30%;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
}

/* Preloader */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-deep-space);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}
.radar-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan);
}
.radar-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  animation: spinRing 8s linear infinite;
}
.ring-2 {
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation-direction: reverse;
  animation-duration: 5s;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(0, 229, 255, 0.4) 100%);
  animation: radarSweep 2s linear infinite;
}
@keyframes spinRing {
  100% { transform: rotate(360deg); }
}
@keyframes radarSweep {
  100% { transform: rotate(360deg); }
}
.preloader-brand {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
}
.preloader-status {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  margin-top: 6px;
}

/* Header & Navigation */
.header-nav-wrapper {
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
  padding: 1.2rem 0;
  border-bottom: 1px solid transparent;
  z-index: 1030;
}
.header-nav-wrapper.scrolled {
  background-color: rgba(6, 11, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.brand-glyph svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}
.brand-title {
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: block;
  line-height: 1;
  color: #fff;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 0.25em;
}
.navbar-nav .nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-white-80);
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-cyan);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-terminal-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-cyan-glow) !important;
  border-radius: 4px;
  color: var(--accent-cyan) !important;
}
.btn-terminal-nav:hover {
  background: var(--accent-cyan) !important;
  color: var(--bg-deep-space) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseBlink 2s infinite;
}
@keyframes pulseBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Mobile Toggle Custom Styling */
.navbar-toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--accent-cyan);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Button Component Styles */
.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099FF 100%);
  color: #02040A;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cyber-primary:hover {
  color: #02040A;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
}
.btn-cyber-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cyber-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  border-color: var(--border-cyan-glow);
  transform: translateY(-2px);
}

/* Section Shared */
.py-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero-media-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(6, 18, 48, 0.85) 0%, rgba(2, 4, 10, 0.98) 80%);
  z-index: 1;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}
.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.25) 51%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.6;
}
.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
}
.badge-tag { color: var(--accent-cyan); font-weight: 600; }
.badge-divider { color: rgba(255, 255, 255, 0.3); }
.badge-status { color: var(--accent-ice); }

/* Typography Mask Reveals */
.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.headline-mask {
  display: block;
  overflow: hidden;
}
.reveal-text {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.2s var(--transition-smooth);
}
.hero-subtext {
  max-width: 640px;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Hero Stats Counter */
.hero-telemetry-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card {
  position: relative;
}
.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-block;
  line-height: 1;
}
.stat-unit {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-left: 2px;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-silver);
  margin-top: 4px;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  right: 5%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-white-60);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}
.scroll-cue:hover {
  color: var(--accent-cyan);
}
.scroll-pillar {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.scroll-droplet {
  position: absolute;
  width: 100%;
  height: 18px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  top: -20px;
  animation: dropletDrop 2.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes dropletDrop {
  0% { top: -20px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 50px; opacity: 0; }
}

/* Glassmorphism Generic */
.glass-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.4s var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
}

/* About Visual Clusters */
.about-visual-cluster {
  position: relative;
}
.glass-viewport-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.viewport-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.1);
  transition: transform 0.6s ease;
}
.glass-viewport-card:hover .viewport-image {
  transform: scale(1.04);
}
.card-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent-cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}
.corner-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.corner-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.viewport-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 4, 10, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.viewport-hud {
  font-size: 0.75rem;
  color: var(--text-silver);
}
.hud-status {
  color: var(--accent-cyan);
  font-weight: 600;
}
.floating-hud-card {
  position: absolute;
  background: rgba(6, 11, 25, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-cyan-glow);
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 4;
}
.hud-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}
.floating-item-1 {
  top: 10%;
  right: -20px;
  animation: floatSlow 4.5s ease-in-out infinite;
}
.floating-item-2 {
  bottom: 8%;
  left: -20px;
  animation: floatSlow 5.2s ease-in-out infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.pillar-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent-cyan);
  padding: 16px 20px;
}
.pillar-num {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* Capability Cards (3D Tilt & Perspective) */
.capability-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
.capability-card:hover {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 229, 255, 0.15);
}
.featured-card {
  border-color: rgba(0, 229, 255, 0.4);
  background: linear-gradient(180deg, rgba(10, 22, 50, 0.8) 0%, rgba(6, 11, 25, 0.8) 100%);
}
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-cyan);
  color: #02040A;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
}
.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.capability-card:hover .card-media img {
  transform: scale(1.08);
}
.card-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 11, 25, 1) 0%, rgba(6, 11, 25, 0.2) 60%, transparent 100%);
}
.capability-index {
  position: absolute;
  bottom: 12px;
  left: 20px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}
.card-body-content {
  padding: 24px;
  flex-grow: 1;
}
.capability-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.card-title {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.capability-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}
.capability-spec-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 4px 0;
  color: var(--text-silver);
}
.capability-spec-list li strong {
  color: #FFFFFF;
}
.card-footer-action {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.2);
}

/* Mission & Orbital Simulation Visual */
.section-mission {
  background: radial-gradient(circle at 80% 50%, rgba(10, 24, 60, 0.5) 0%, transparent 60%);
}
.orbit-simulation-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.orbit-center-orb {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
.orb-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00E5FF 0%, #1E3A8A 70%, #02040A 100%);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
}
.orb-aura {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.3);
  animation: spinRing 24s linear infinite;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ring-alpha {
  width: 170px;
  height: 170px;
  animation: orbitSpin 12s linear infinite;
}
.ring-beta {
  width: 260px;
  height: 260px;
  border-style: dashed;
  animation: orbitSpin 20s linear infinite reverse;
}
.satellite {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-cyan);
  font-size: 1rem;
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}
@keyframes orbitSpin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Innovation Cards */
.tech-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}
.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.1);
}
.tech-num {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
}
.tech-metric {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Team Section */
.team-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.team-avatar-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.1);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.team-card:hover .team-img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.05);
}
.team-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(2, 4, 10, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 3px;
}
.team-info {
  padding: 22px;
}
.team-name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.team-socials .social-link {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-silver);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.team-socials .social-link:hover {
  background: var(--accent-cyan);
  color: #02040A;
  box-shadow: 0 0 12px var(--accent-cyan);
}

/* Gallery & Lightbox */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.gallery-item:hover .gallery-thumb {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.15);
}
.gallery-caption-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 4, 10, 0.95) 0%, rgba(2, 4, 10, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.caption-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin: 4px 0 0 0;
}
.expand-glyph {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1rem;
  color: var(--accent-cyan);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.gallery-item:hover .expand-glyph {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.96);
  backdrop-filter: blur(25px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: 1px solid var(--border-cyan-glow);
  color: var(--accent-cyan);
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  background: var(--accent-cyan);
  color: #02040A;
}
.lightbox-content {
  max-width: 1050px;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-height: 75vh;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.2);
}
.lightbox-caption {
  margin-top: 16px;
  color: var(--accent-ice);
  font-size: 0.9rem;
}

/* Contact Section & Form */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cyber-input {
  background: rgba(2, 4, 10, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}
.cyber-input:focus {
  background: rgba(6, 11, 25, 0.9) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25) !important;
  outline: none;
}
.cyber-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-feedback-alert {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 20px;
  animation: fadeIn 0.4s ease;
}

/* Footer */
.site-footer {
  background-color: var(--bg-deep-space);
  position: relative;
  z-index: 2;
}
.footer-heading {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-nav-list li {
  margin-bottom: 8px;
}
.footer-nav-list a {
  color: var(--text-silver);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-nav-list a:hover {
  color: var(--accent-cyan);
}
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-silver);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icon-btn:hover {
  background: var(--accent-cyan);
  color: #02040A;
  box-shadow: 0 0 14px var(--accent-cyan);
}
.status-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  margin-right: 6px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries & Responsive Refinement */
@media (max-width: 991.98px) {
  .py-section { padding: 80px 0; }
  .floating-hud-card { display: none; }
  .viewport-image { height: 360px; }
  .navbar-collapse {
    background: rgba(6, 11, 25, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
  }
}

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


/* ============================================
   NVIDIA AEROSPACE - CUSTOM CURSOR SYSTEM
============================================ */

@media (pointer: fine) and (hover: hover) {

    body.aero-cursor-enabled,
    body.aero-cursor-enabled a,
    body.aero-cursor-enabled button,
    body.aero-cursor-enabled input,
    body.aero-cursor-enabled textarea,
    body.aero-cursor-enabled select {
        cursor: none !important;
    }

    .aero-cursor-dot,
    .aero-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 999999;
        border-radius: 50%;
        will-change: transform;
    }

    .aero-cursor-dot {
        width: 6px;
        height: 6px;
        margin: -3px 0 0 -3px;
        background: #66edff;
        box-shadow:
            0 0 8px #66edff,
            0 0 20px rgba(60, 210, 255, .8);
    }

    .aero-cursor-ring {
        width: 38px;
        height: 38px;
        margin: -19px 0 0 -19px;
        border: 1px solid rgba(80, 225, 255, .8);
        background: rgba(60, 210, 255, .035);
        box-shadow:
            0 0 12px rgba(50, 210, 255, .12),
            inset 0 0 10px rgba(50, 210, 255, .08);
        transition:
            width .3s ease,
            height .3s ease,
            margin .3s ease,
            border-color .3s ease,
            background .3s ease;
    }

    /* Interactive hover */

    .aero-cursor-ring.is-hovering {
        width: 65px;
        height: 65px;
        margin: -32.5px 0 0 -32.5px;
        border-color: #55eaff;
        background: rgba(65, 220, 255, .12);
        box-shadow:
            0 0 20px rgba(65, 220, 255, .3),
            inset 0 0 15px rgba(65, 220, 255, .1);
    }

    .aero-cursor-ring.is-clicking {
        width: 25px;
        height: 25px;
        margin: -12.5px 0 0 -12.5px;
        background: rgba(65, 220, 255, .25);
    }

    /* Hide cursor over media interactions too */
    .aero-cursor-enabled .gallery-item,
    .aero-cursor-enabled .capability-card {
        cursor: none !important;
    }
}

/* ============================================
   SCROLL PROGRESS
============================================ */

.aero-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 100001;
    pointer-events: none;
    background: rgba(255,255,255,.04);
}

.aero-scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #00bfff,
        #55efff,
        #8c9dff
    );
    box-shadow:
        0 0 8px #55eaff,
        0 0 18px rgba(85,234,255,.7);
    transform-origin: left;
}

/* ============================================
   SCROLL REVEAL
============================================ */

.aero-reveal {
    opacity: 0;
    transform: translateY(55px);
    filter: blur(5px);
    transition: none;
}

.aero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Directional reveal variants */

.aero-reveal.from-left {
    transform: translateX(-65px);
}

.aero-reveal.from-right {
    transform: translateX(65px);
}

.aero-reveal.from-scale {
    transform: scale(.88) translateY(25px);
}

.aero-reveal.is-visible.from-left,
.aero-reveal.is-visible.from-right {
    transform: translateX(0);
}

.aero-reveal.is-visible.from-scale {
    transform: scale(1) translateY(0);
}

/* ============================================
   NAVBAR SCROLL TRANSFORMATION
============================================ */

.header-nav-wrapper {
    transition:
        background .4s ease,
        box-shadow .4s ease,
        border-color .4s ease,
        backdrop-filter .4s ease;
}

.header-nav-wrapper.nav-scrolled {
    background: rgba(2, 10, 24, .88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(70, 220, 255, .16);
    box-shadow: 0 10px 35px rgba(0,0,0,.22);
}

/* ============================================
   INTERACTIVE CARD DEPTH
============================================ */

.capability-card,
.team-card,
.gallery-item,
.pillar-box {
    transition:
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.capability-card:hover,
.team-card:hover,
.gallery-item:hover {
    border-color: rgba(75, 220, 255, .55);
    box-shadow: 0 15px 45px rgba(0, 170, 255, .12);
}

/* Gallery image depth */
.gallery-thumb {
    transition: transform .7s cubic-bezier(.2,.8,.2,1);
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.06);
}

/* ============================================
   ACCESSIBILITY
============================================ */

@media (prefers-reduced-motion: reduce) {

    .aero-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .gallery-thumb {
        transition: none !important;
    }
}

@media (pointer: coarse) {
    .aero-cursor-dot,
    .aero-cursor-ring {
        display: none !important;
    }
}
