/* ==========================================================================
   ASTRAL CRUISER 5000 - MASTER DESIGN SYSTEM & SCI-FI UI STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #07090E;
  --bg-secondary: #0D121D;
  --bg-card: rgba(14, 20, 32, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --bg-glass: rgba(10, 15, 26, 0.65);
  
  --solar-gold: #FFB703;
  --solar-amber: #FB8500;
  --solar-flare: #E63946;
  --solar-glow: rgba(255, 183, 3, 0.25);
  
  --ion-cyan: #00F0FF;
  --ion-blue: #0077B6;
  --ion-glow: rgba(0, 240, 255, 0.25);
  --plasma-purple: #7209B7;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(0, 240, 255, 0.18);
  --border-gold: rgba(255, 183, 3, 0.35);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --shadow-glow-gold: 0 0 30px rgba(255, 183, 3, 0.3);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  color: var(--text-primary);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

.mono {
  font-family: var(--font-mono);
}

.glow-title {
  background: linear-gradient(135deg, #FFFFFF 20%, #FFE066 60%, #FF9E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-cyan-title {
  background: linear-gradient(135deg, #FFFFFF 20%, #80F7FF 60%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(90deg, var(--solar-gold), var(--solar-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #FFFFFF, var(--ion-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-cyan {
  color: var(--ion-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.glow-gold {
  color: var(--solar-gold);
  text-shadow: 0 0 12px rgba(255, 183, 3, 0.6);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary {
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  color: #07090E;
  box-shadow: 0 4px 20px rgba(251, 133, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(251, 133, 0, 0.6);
}

.btn-cyan {
  background: linear-gradient(135deg, #00F0FF 0%, #0099FF 100%);
  color: #07090E;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--ion-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--ion-cyan);
}

.badge-gold {
  background: rgba(255, 183, 3, 0.08);
  border-color: var(--border-gold);
  color: var(--solar-gold);
}

.badge-pulse::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ion-cyan);
  box-shadow: 0 0 10px var(--ion-cyan);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ==========================================================================
   GLASSMORPHISM & CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow-cyan);
}

.glass-card.gold-border:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), var(--shadow-glow-gold);
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
}

.brand-logo span {
  font-weight: 300;
  color: var(--solar-gold);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ion-cyan), var(--solar-gold));
  transition: width 0.3s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.sound-toggle-btn.active {
  color: var(--ion-cyan);
  border-color: var(--ion-cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 110;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ==========================================================================
   TELEMETRY HUD TICKER
   ========================================================================== */
.telemetry-ticker {
  background: rgba(13, 18, 29, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 0;
  position: relative;
  z-index: 90;
  margin-top: 80px;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 24px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.ticker-item .label {
  color: var(--text-muted);
}

.ticker-item .val {
  color: var(--ion-cyan);
  font-weight: 700;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

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

.hero-tag {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  display: block;
  color: var(--solar-gold);
  text-shadow: 0 0 35px rgba(255, 183, 3, 0.4);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero-metrics-bar {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.metric-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.metric-item .lbl {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.2);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(13, 18, 29, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-overlay-card .title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--solar-gold);
}

.hero-overlay-card .coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ion-cyan);
}

/* ==========================================================================
   ACHIEVEMENTS STATS SECTION
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ion-cyan), var(--solar-gold));
  opacity: 0;
  transition: var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--solar-gold);
}

.stat-box h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #FFFFFF, #E2E8F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* ==========================================================================
   ORIGINS & STORY
   ========================================================================== */
.origin-section {
  position: relative;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.origin-media {
  position: relative;
}

.origin-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-glow-gold);
}

.origin-image-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.story-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.story-lead b {
  color: var(--text-primary);
}

.story-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.story-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  align-items: flex-start;
}

.story-item .icon {
  color: var(--solar-gold);
  font-size: 1.3rem;
  margin-top: 2px;
}

/* ==========================================================================
   SOLAR PHOTO SHOWCASE & GALLERY GRID
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.gallery-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  color: #07090E;
  background: var(--solar-gold);
  border-color: var(--solar-gold);
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-normal);
  height: 320px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gallery-card-overlay p {
  font-size: 0.85rem;
  color: var(--solar-gold);
  font-family: var(--font-mono);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 6, 10, 0.95);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), var(--shadow-glow-cyan);
}

.lightbox-image-holder {
  max-height: 65vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-holder img {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-details {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 18, 29, 0.95);
}

.lightbox-details h3 {
  font-size: 1.3rem;
  color: var(--solar-gold);
  margin-bottom: 4px;
}

.lightbox-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.lightbox-telemetry {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ion-cyan);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--text-primary);
  font-size: 1.5rem;
  background: rgba(13, 18, 29, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 16px;
  top: 45%;
}

.lightbox-next {
  right: 16px;
  top: 45%;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--ion-cyan);
  color: #07090E;
  box-shadow: 0 0 20px var(--ion-cyan);
}

/* ==========================================================================
   CREW & SCIENTIST TESTIMONIALS
   ========================================================================== */
.crew-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.crew-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.crew-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), var(--shadow-glow-gold);
}

.crew-avatar-wrapper {
  position: relative;
}

.crew-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--solar-gold);
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
}

.crew-quote {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
}

.crew-quote::before {
  content: '“';
  font-size: 2.5rem;
  line-height: 1;
  color: var(--solar-gold);
  opacity: 0.4;
  position: absolute;
  left: -20px;
  top: -12px;
}

.crew-info h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.crew-info .role {
  color: var(--solar-gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ==========================================================================
   FLEET & SUBSYSTEM BLUEPRINT
   ========================================================================== */
.blueprint-wrapper {
  position: relative;
  background: #0A0F1A;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: inset 0 0 50px rgba(0, 240, 255, 0.05);
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.blueprint-canvas-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blueprint-canvas-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.blueprint-spot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.2);
  border: 2px solid var(--ion-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px var(--ion-cyan);
  animation: radarPulse 2s infinite;
}

.blueprint-spot.active {
  background: var(--solar-gold);
  border-color: #FFF;
  box-shadow: 0 0 25px var(--solar-gold);
}

@keyframes radarPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(0, 240, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.subsystem-card {
  margin-top: 24px;
  border-left: 4px solid var(--ion-cyan);
}

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge-status.online {
  background: rgba(0, 240, 255, 0.15);
  color: var(--ion-cyan);
}

/* ==========================================================================
   MISSION TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--ion-cyan) 0%, var(--solar-gold) 50%, var(--solar-flare) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  width: 50%;
  padding: 0 36px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-node {
  position: absolute;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--solar-gold);
  box-shadow: 0 0 15px var(--solar-gold);
}

.timeline-item.left .timeline-node {
  right: -9px;
}

.timeline-item.right .timeline-node {
  left: -9px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(14px);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--border-glass);
  transform: scale(1.02);
  box-shadow: var(--shadow-glow-cyan);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ion-cyan);
  margin-bottom: 6px;
}

/* ==========================================================================
   BOOKING & PASS GENERATOR
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(13, 18, 29, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--ion-cyan);
  outline: none;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.tier-card-radio {
  position: relative;
}

.tier-card-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.tier-card-label {
  display: block;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tier-card-label h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.tier-card-label .price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--solar-gold);
}

.tier-card-radio input:checked + .tier-card-label {
  border-color: var(--solar-gold);
  background: rgba(255, 183, 3, 0.12);
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
}

/* Boarding Pass HUD Card */
.boarding-pass {
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 20, 32, 0.9), rgba(7, 10, 16, 0.95));
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pass-logo-badge {
  font-size: 1.5rem;
  color: var(--solar-gold);
}

.pass-brand h4 {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.pass-brand .sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pass-flight-badge {
  background: rgba(0, 240, 255, 0.15);
  color: var(--ion-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--ion-cyan);
}

.pass-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.pass-col .lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pass-col .val {
  font-size: 1.05rem;
  font-weight: 600;
}

.pass-col .val.highlight {
  color: var(--solar-gold);
}

.pass-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-glass);
  padding-top: 20px;
}

.barcode-graphic {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.barcode-graphic .bars {
  height: 28px;
  width: 160px;
  background: repeating-linear-gradient(
    90deg,
    #FFF 0px, #FFF 2px,
    transparent 2px, transparent 4px,
    #FFF 4px, #FFF 7px,
    transparent 7px, transparent 9px,
    #FFF 9px, #FFF 10px
  );
  opacity: 0.8;
}

.barcode-graphic span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item.active {
  border-color: var(--border-glass);
}

.faq-item.active .faq-question {
  color: var(--solar-gold);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--solar-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #04060A;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-family: var(--font-mono);
  color: var(--solar-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--ion-cyan);
  padding-left: 4px;
}

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

/* ==========================================================================
   REVEAL & MOTION ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .origin-grid,
  .crew-showcase-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 60px;
    padding-right: 0;
  }

  .timeline-node {
    left: 15px !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    border-left: 1px solid var(--border-glass);
    z-index: 105;
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-metrics-bar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .crew-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .crew-avatar-wrapper {
    margin: 0 auto;
  }

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

  .tier-options {
    grid-template-columns: 1fr;
  }

  .pass-body {
    grid-template-columns: 1fr;
  }
}

/* Print Optimization */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }
  .navbar, .telemetry-ticker, footer, .btn, #starfield-canvas {
    display: none !important;
  }
  .boarding-pass {
    border: 2px solid #000 !important;
    background: #FFF !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .pass-col .val, .pass-brand h4 {
    color: #000 !important;
  }
}