/* ==========================================================================
   AEROLEARN LABS — PUBLIC COMPANY WEBSITE STYLESHEET
   Style: SpaceX / Anduril Deep-Tech Aerospace Platform
   Palette:
     - Background: Pure Space Black (#000000)
     - Surface Cards: Charcoal Dark (#0a0a0a)
     - Elevated Surface: Deep Slate (#111115)
     - Borders & Dividers: Subtle Hairline Gray (#2a2a2f)
     - Typography Primary: Spectral White (#f0f0fa)
     - Typography Muted: Muted Gray (#909098)
     - Accent: Electric Cyan (#00f0ff)
     - Brand Metal: Titanium Silver (#c0c0c8)
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #101014;
  --bg-elevated: #141419;
  --border-hairline: #2a2a2f;
  --border-bright: #3e3e47;
  --text-white: #f0f0fa;
  --text-silver: #c0c0c8;
  --text-muted: #909098;
  --text-dim: #606068;
  --accent-cyan: #00f0ff;
  --accent-cyan-dim: rgba(0, 240, 255, 0.12);
  --accent-cyan-border: rgba(0, 240, 255, 0.35);
  --ghost-bg: rgba(240, 240, 250, 0.06);
  --ghost-bg-hover: rgba(240, 240, 250, 0.12);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1320px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
  selection-background-color: var(--accent-cyan);
  selection-color: #000;
}

::selection {
  background: var(--accent-cyan);
  color: #000000;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   UTILITIES & TYPOGRAPHY
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.65;
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-hairline);
}

@media (min-width: 900px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-padding {
  padding: 110px 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

/* ==========================================================================
   BUTTONS (GHOST-PILL & SOLID AEROSPACE)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--text-white);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--ghost-bg-hover);
  border-color: var(--text-silver);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--text-white);
  color: var(--bg-black);
  border: 1px solid var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-black);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

.btn-cyan {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
}

.btn-cyan:hover {
  background: var(--accent-cyan);
  color: var(--bg-black);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  overflow: hidden;
}

.nav-logo-img {
  height: 56px;
  width: 215px;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: screen;
  filter: contrast(1.25) brightness(1.08);
  transition: transform 0.25s ease;
}

.brand-logo-link:hover .nav-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: var(--ghost-bg);
}

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

.mobile-menu-btn {
  display: none;
  background: var(--ghost-bg);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.98);
    border-bottom: 1px solid var(--border-hairline);
    flex-direction: column;
    padding: 20px 28px;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   HERO SECTION (PUBLIC COMPANY SHOWCASE + 3D CANVAS)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

#hero-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 46%, rgba(0, 240, 255, 0.06) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.92) 85%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, #000000 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(240, 240, 250, 0.05);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-silver);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title .silver-gradient {
  background: linear-gradient(92deg, #ffffff 0%, #c0c0c8 55%, #7e7e8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 610px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-description strong {
  color: var(--text-white);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-highlights-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-hairline);
}

@media (max-width: 640px) {
  .hero-highlights-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Right: Brand Emblem & Quick Identity Card */
.hero-brand-panel {
  background: linear-gradient(160deg, rgba(16, 16, 22, 0.86) 0%, rgba(8, 8, 10, 0.94) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-brand-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.6;
}

.hero-logo-showcase {
  background: #000000;
  border: 1px solid #1e1e24;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.hero-logo-showcase img {
  width: 100%;
  max-width: 320px;
  height: 210px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: contrast(1.22) brightness(1.06);
}

.company-quick-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.quick-fact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-fact-key {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.quick-fact-val {
  color: var(--text-white);
  text-align: right;
  font-weight: 500;
}

/* ==========================================================================
   SECTION 1: WHAT WE HAVE CREATED (BUILDS, ROCKETRY, DRONES & MILESTONES)
   ========================================================================== */

.creations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .creations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .creations-grid {
    grid-template-columns: 1fr;
  }
}

.creation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.creation-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.creation-card.featured-wide {
  grid-column: span 2;
}

@media (max-width: 680px) {
  .creation-card.featured-wide {
    grid-column: span 1;
  }
}

.creation-media-slot {
  position: relative;
  height: 230px;
  background: #060608;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creation-media-slot img.slot-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.blueprint-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 240, 255, 0.07) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  position: relative;
}

.blueprint-svg-icon {
  width: 68px;
  height: 68px;
  color: var(--text-silver);
  margin-bottom: 12px;
  opacity: 0.9;
}

.slot-file-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.65);
  border: 1px dashed #2e2e36;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 6px;
}

.slot-upload-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid var(--border-hairline);
  color: var(--text-silver);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-upload-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.creation-tag-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.tag-pill {
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid var(--border-hairline);
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-silver);
  backdrop-filter: blur(8px);
}

.tag-pill.cyan {
  border-color: var(--accent-cyan-border);
  color: var(--accent-cyan);
}

.creation-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.creation-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.creation-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.creation-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-silver);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   SECTION 2: IMAGE & MEDIA GALLERY AREA (DEDICATED PHOTO SHOWCASE)
   ========================================================================== */

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-white);
  border-color: var(--text-silver);
}

.filter-tab.active {
  background: var(--text-white);
  color: var(--bg-black);
  border-color: var(--text-white);
}

.gallery-info-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 8px 14px;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gallery-item {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.gallery-item.span-6 {
  grid-column: span 6;
}

@media (max-width: 980px) {
  .gallery-item,
  .gallery-item.span-6 {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .gallery-item,
  .gallery-item.span-6 {
    grid-column: span 12;
  }
}

.gallery-item:hover {
  border-color: var(--text-silver);
  transform: translateY(-3px);
}

.gallery-frame {
  position: relative;
  height: 250px;
  background: #050507;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.span-6 .gallery-frame {
  height: 290px;
}

.gallery-caption-bar {
  padding: 18px 20px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.gallery-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 3: WHY YOU SHOULD JOIN US (VALUE PROPOSITION & MEMBERSHIP)
   ========================================================================== */

.why-join-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .why-join-layout {
    grid-template-columns: 1fr;
  }
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.2s ease;
}

.reason-card:hover {
  border-color: var(--border-bright);
}

.reason-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  display: block;
}

.reason-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 10px;
}

.reason-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Annual Pass Card */
.membership-pass-card {
  background: linear-gradient(165deg, #111116 0%, #070709 100%);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 34px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

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

.pass-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid var(--accent-cyan-border);
  padding: 5px 12px;
  border-radius: 999px;
}

.pass-price-block {
  margin-bottom: 24px;
}

.pass-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.pass-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pass-perks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pass-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-silver);
}

.perk-check {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.school-network-strip {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 24px 28px;
}

.school-strip-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.school-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ==========================================================================
   SECTION 4: WHERE WE ARE FROM & OUR FIRST R&D LAB
   ========================================================================== */

.origin-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .origin-lab-grid {
    grid-template-columns: 1fr;
  }
}

.origin-panel,
.first-lab-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.panel-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.panel-copy {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.address-callout {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-cyan);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.address-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 4px;
}

.address-callout p {
  font-size: 0.92rem;
  color: var(--text-silver);
}

/* Lab Hardware Manifest Grid */
.lab-equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .lab-equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .lab-equipment-grid {
    grid-template-columns: 1fr;
  }
}

.equipment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 22px;
}

.equipment-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.equipment-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.equipment-detail {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 5: FOUNDING TEAM & CREW (11 MEMBERS)
   ========================================================================== */

.team-tier-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-silver);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 2px solid var(--accent-cyan);
}

.team-exec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

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

@media (max-width: 1024px) {
  .team-exec-grid,
  .team-leads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .team-exec-grid,
  .team-leads-grid {
    grid-template-columns: 1fr;
  }
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.member-card:hover {
  border-color: var(--text-silver);
  transform: translateY(-3px);
}

.member-photo-slot {
  height: 170px;
  background:
    radial-gradient(circle at 50% 35%, rgba(192, 192, 200, 0.1) 0%, transparent 70%),
    #070709;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-initials {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-silver);
  margin-bottom: 6px;
}

.member-info {
  padding: 20px;
}

.member-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.85rem;
  color: var(--text-silver);
  font-weight: 500;
  margin-bottom: 8px;
}

.member-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 6: CONTACT & JOIN US FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 34px;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-silver);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #050507;
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 64px 0 40px;
  background: #000000;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 28px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-logo-img {
  height: 64px;
  width: 240px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: contrast(1.22) brightness(1.06);
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MULTI-PAGE ADDITIONS
   ========================================================================== */
.page-main { padding-top: var(--header-height); }
a.reason-card { display: block; }
.footer-heading { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-white); margin-bottom: 12px; }
.footer-list { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: var(--text-muted); }
.footer-list a:hover { color: var(--text-white); }
.admin-link { color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--border-hairline); padding: 4px 10px; border-radius: 999px; }
.admin-link:hover { color: var(--accent-cyan); border-color: var(--accent-cyan-border); }
.form-status { margin-top: 14px; font-family: var(--font-mono); font-size: 0.8rem; min-height: 1.2em; color: var(--text-muted); }
.form-status.ok { color: var(--accent-cyan); }
.form-status.err { color: #ff6b6b; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-hairline); border-radius: 12px; background: var(--bg-card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.admin-table th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.admin-table td { color: var(--text-silver); max-width: 320px; overflow-wrap: anywhere; }
.admin-table tr:last-child td { border-bottom: none; }
.del-btn { background: transparent; border: 1px solid var(--border-hairline); color: #ff6b6b; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-family: var(--font-mono); font-size: 0.72rem; }
.del-btn:hover { border-color: #ff6b6b; }
@media (max-width: 900px) { .reasons-grid[style] { grid-template-columns: 1fr !important; } }


/* ==========================================================================
   LOGO (transparent) + HOME PAGE UPGRADE
   ========================================================================== */
.nav-logo-img, .footer-logo-img, .hero-logo-showcase img {
  width: auto; object-fit: contain; mix-blend-mode: normal; filter: none;
}
.nav-logo-img { height: 46px; max-width: 100%; }
.brand-logo-link { height: auto; overflow: visible; }
.footer-logo-img { height: 70px; }
.hero-logo-showcase img { height: auto; max-height: 190px; max-width: 100%; }
.footer-links-right { display: flex; gap: 8px; }

.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/rocket-launch-hero.jpg') center / cover no-repeat;
  opacity: 0.5; animation: heroZoom 28s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
#hero-canvas-container { opacity: 0.55; }
.hero-title .silver-gradient { background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero-content > * { animation: riseIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.ticker { overflow: hidden; border-bottom: 1px solid var(--border-hairline); background: #050507; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { padding: 16px 34px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ticker span::after { content: '\25C6'; margin-left: 68px; color: var(--accent-cyan); font-size: 0.6rem; }
@keyframes tick { to { transform: translateX(-50%); } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { position: relative; height: 420px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-hairline); display: block; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.feature-card:hover img { transform: scale(1.08); }
.feature-card:hover { border-color: var(--accent-cyan-border); }
.feature-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 26px; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.92) 100%); }
.feature-overlay h3 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; }
.feature-overlay p { font-size: 0.9rem; color: var(--text-silver); }
.photo-note { margin-top: 16px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.photo-note a { color: var(--text-muted); text-decoration: underline; }

.mission-band { padding: 110px 0; border-bottom: 1px solid var(--border-hairline); background: radial-gradient(circle at 85% 20%, rgba(0,240,255,0.07), transparent 55%), #030305; }
.mission-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .mission-inner { grid-template-columns: 1fr; } }
.mission-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-hairline); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.mission-photo img { width: 100%; height: 440px; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border-top: 2px solid var(--accent-cyan); padding-top: 14px; }
.pillar span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-cyan); }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin: 4px 0; }
.pillar p { font-size: 0.88rem; color: var(--text-muted); }

.cta-band { padding: 110px 0; text-align: center; background: linear-gradient(180deg, #000, #0b0b10); }
.cta-inner .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-photo, .ticker-track, .hero-content > * { animation: none; } }

.stock-badge { position: absolute; bottom: 12px; left: 12px; z-index: 4; background: rgba(0,0,0,0.75); border: 1px solid var(--border-hairline); color: var(--text-muted); font-family: var(--font-mono); font-size: 0.64rem; padding: 3px 8px; border-radius: 4px; }


/* ==========================================================================
   ADMIN DASHBOARD + DYNAMIC TEAM PHOTOS
   ========================================================================== */
.member-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.admin-note { background: var(--bg-card); border: 1px solid var(--border-hairline); border-left: 3px solid var(--accent-cyan); border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text-silver); }
.admin-note.err { border-left-color: #ff6b6b; }
.admin-tabs { margin-bottom: 24px; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: 12px; padding: 26px; margin-bottom: 24px; }
.admin-card-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; margin-bottom: 18px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.admin-form-grid .form-actions { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .admin-form-grid { grid-template-columns: 1fr; } }
.inline-check { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.82rem; color: var(--text-muted); }
.pw-row { display: flex; gap: 10px; }
.pw-row .btn { padding: 10px 18px; }
.form-hint { margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); }
.admin-list .team-tier-heading { margin: 26px 0 14px; }
.admin-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.admin-thumb { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-bright); }
.admin-thumb.initials { display: flex; align-items: center; justify-content: center; background: #111; color: var(--text-silver); font-family: var(--font-display); font-weight: 700; }
.admin-row-main { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.admin-row-main span { font-size: 0.86rem; color: var(--text-silver); }
.admin-row-main small { font-size: 0.76rem; color: var(--text-muted); font-family: var(--font-mono); }
.admin-row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mini-btn { background: var(--ghost-bg); border: 1px solid var(--border-hairline); color: var(--text-white); border-radius: 6px; padding: 6px 12px; cursor: pointer; font-family: var(--font-mono); font-size: 0.72rem; }
.mini-btn:hover:not(:disabled) { border-color: var(--text-silver); }
.mini-btn:disabled { opacity: 0.3; cursor: default; }
.mini-btn.danger { color: #ff6b6b; }
.mini-btn.danger:hover { border-color: #ff6b6b; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.photo-card { background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: 12px; overflow: hidden; }
.photo-thumb-wrap { height: 150px; background: #060608; display: flex; align-items: center; justify-content: center; }
.photo-thumb { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); }
.photo-card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.photo-card-body small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 6px; }


/* ==========================================================================
   HOME PAGE V2 — CONTINUOUS MOTION, ORBITAL STAGE & GLIDING STREAM
   ========================================================================== */
.hero-orbital-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.orbital-system {
  position: relative;
  width: 390px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 520px) {
  .orbital-system {
    width: 300px;
    height: 300px;
  }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192, 192, 200, 0.18);
  pointer-events: none;
}

.orbit-ring-outer {
  width: 100%;
  height: 100%;
  border-style: dashed;
  border-color: rgba(0, 240, 255, 0.28);
  animation: spinOrbit 32s linear infinite;
}

.orbit-ring-mid {
  width: 76%;
  height: 76%;
  border-color: rgba(240, 240, 250, 0.2);
  animation: spinOrbitReverse 22s linear infinite;
}

.orbit-ring-inner {
  width: 52%;
  height: 52%;
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: inset 0 0 36px rgba(0, 240, 255, 0.08);
  animation: pulseRing 4s ease-in-out infinite;
}

.orbit-pulse-glow {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
  animation: pulseRing 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.orbit-node {
  position: absolute;
  background: rgba(8, 8, 12, 0.92);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

.orbit-ring-outer .orbit-node {
  animation: spinOrbitReverse 32s linear infinite;
}

.orbit-ring-mid .orbit-node {
  animation: spinOrbit 22s linear infinite;
  color: var(--text-white);
  border-color: var(--border-bright);
  box-shadow: none;
}

.node-top { top: -12px; left: 50%; transform: translateX(-50%); }
.node-bottom { bottom: -12px; left: 50%; transform: translateX(-50%); }
.node-left { left: -24px; top: 50%; transform: translateY(-50%); }
.node-right { right: -24px; top: 50%; transform: translateY(-50%); }

@keyframes spinOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinOrbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.97); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}

.orbital-center-logo {
  position: relative;
  z-index: 2;
  width: 74%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatLogo 5s ease-in-out infinite;
}

.orbital-center-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0, 240, 255, 0.18));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.orbital-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.8rem;
  color: var(--text-silver);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  text-align: center;
}

.orbital-location-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.18);
}

/* Always-Moving Visual Showcase Reel */
.showcase-stream-section {
  overflow: hidden;
  padding-bottom: 90px;
}

.showcase-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
}

.showcase-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: streamGlide 38s linear infinite;
}

.showcase-marquee-wrap:hover .showcase-marquee-track {
  animation-play-state: paused;
}

@keyframes streamGlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stream-card {
  position: relative;
  width: 410px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  flex-shrink: 0;
  background: #07070a;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.stream-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
}

.stream-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stream-card:hover img {
  transform: scale(1.06);
}

.stream-card-overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.92) 100%);
}

.stream-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text-white);
}

.stream-card-overlay p {
  font-size: 0.86rem;
  color: var(--text-silver);
}

/* 3-Step Animated Signal Flow Pipeline */
.flow-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 860px) {
  .flow-pipeline {
    grid-template-columns: 1fr;
  }
  .flow-beam {
    display: none;
  }
}

.flow-beam {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 0;
}

.flow-beam::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  animation: beamPulse 3.2s linear infinite;
}

@keyframes beamPulse {
  from { left: -30%; }
  to { left: 100%; }
}

.flow-step {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.flow-step:hover {
  border-color: var(--accent-cyan-border);
  transform: translateY(-3px);
}

.flow-step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-cyan-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.flow-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 4 Clean Portal Cards */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

.portal-card {
  background: linear-gradient(160deg, #101016 0%, #08080b 100%);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}

.portal-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.portal-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.portal-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text-white);
}

.portal-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}


/* ==========================================================================
   MEMBER COMMAND HUB, GOOGLE SIGN-IN & REAL-TIME CHAT ROOM (hub.html)
   ========================================================================== */
.hub-auth-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.hub-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #050508;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  margin-bottom: 22px;
}

.hub-auth-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-auth-tab.active {
  background: var(--text-white);
  color: var(--bg-black);
}

.google-auth-wrap {
  margin-bottom: 18px;
}

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #13131a;
  color: var(--text-white);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google:hover {
  border-color: var(--accent-cyan);
  background: #181822;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}

/* Modal for Google Sign-In fallback */
.hub-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hub-modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

/* Pending / Digital ID Card View */
.hub-id-banner {
  max-width: 640px;
  margin: 24px auto;
}

.hub-id-badge-card {
  background: linear-gradient(155deg, #111118 0%, #07070b 100%);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hub-id-badge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.hub-id-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hub-id-code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 5px 14px;
  border-radius: 8px;
}

.hub-id-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hub-id-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hub-id-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  margin-bottom: 20px;
}

.hub-id-details span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.hub-id-details strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-white);
}

.hub-pending-notice {
  font-size: 0.94rem;
  color: var(--text-silver);
  line-height: 1.65;
}

/* Authorized Chat Workspace */
.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.hub-topbar-left, .hub-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hub-user-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-silver);
}

.hub-user-chip strong {
  color: var(--accent-cyan);
}

.chat-workspace {
  display: grid;
  grid-template-columns: 250px 1fr 270px;
  gap: 18px;
  height: 640px;
  min-height: 540px;
}

@media (max-width: 1060px) {
  .chat-workspace {
    grid-template-columns: 220px 1fr;
  }
  .chat-sidebar-members {
    display: none;
  }
}

@media (max-width: 740px) {
  .chat-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }
  .chat-main-panel {
    height: 540px;
  }
}

.chat-sidebar-channels,
.chat-sidebar-members {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.chat-sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0 6px;
}

.chat-channel-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-channel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-silver);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chat-channel-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
}

.chat-channel-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan-border);
  color: var(--text-white);
}

.ch-hash {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.ch-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ch-info strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: lowercase;
}

.ch-info small {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Chat Panel */
.chat-main-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-main-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0d0d12;
}

.chat-main-header h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-white);
}

.chat-main-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chat-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.chat-messages-feed {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.03), transparent 70%);
}

.chat-empty-state {
  margin: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.chat-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-avatar, .roster-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #161620;
  border: 1px solid var(--border-bright);
  color: var(--text-silver);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar.founder, .roster-avatar.founder {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
}

.chat-msg-body {
  flex: 1;
  background: #101016;
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 88%;
}

.chat-msg-row.mine .chat-msg-body {
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.06);
}

.chat-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.chat-sender-name {
  font-size: 0.86rem;
  color: var(--text-white);
}

.chat-sender-id, .aero-id-chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: var(--accent-cyan);
}

.chat-sender-id.founder {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--accent-cyan-border);
}

.chat-sender-role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

.chat-msg-time {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  margin-left: auto;
}

.chat-msg-text {
  font-size: 0.92rem;
  color: var(--text-silver);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-composer {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-hairline);
  background: #0d0d12;
}

.chat-input {
  flex: 1;
  margin: 0;
}

.chat-send-btn {
  padding: 10px 22px;
}

/* Right Sidebar: Digital ID Card & Roster */
.my-id-mini-card {
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.1) 0%, rgba(12, 12, 18, 0.95) 100%);
  border: 1px solid var(--accent-cyan-border);
  border-radius: 12px;
  padding: 14px;
}

.my-id-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.my-id-mini-top strong {
  color: var(--accent-cyan);
  font-size: 0.74rem;
}

.my-id-mini-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.my-id-mini-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-silver);
  margin-top: 2px;
}

.chat-member-roster {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roster-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
}

.roster-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.roster-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.roster-name-row strong {
  font-size: 0.82rem;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roster-id {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.roster-info small {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Admin Member Authorization Badges */
.status-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.status-badge.approved {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
}

.status-badge.pending {
  background: rgba(255, 184, 77, 0.12);
  border: 1px solid rgba(255, 184, 77, 0.4);
  color: #ffb84d;
}

.status-badge.rejected {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

.provider-chip {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(66, 133, 244, 0.15);
  border: 1px solid rgba(66, 133, 244, 0.4);
  color: #8ab4f8;
}

.mini-btn.approve-btn {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

.mini-btn.approve-btn:hover {
  background: var(--accent-cyan);
  color: #000;
}

.mini-role-select {
  width: auto;
  padding: 5px 10px;
  font-size: 0.74rem;
  height: auto;
}
