/* =============================================================================
   THE LOGIC FACTORY — CYBER-AESTHETIC STYLESHEET
   Obsidian Foundation, 8-Stop Rainbow Spectrum, 60fps GPU Auroras & Glassmorphism
   WCAG 2.1 AA Compliant & Responsive Multi-Platform Architecture
   ============================================================================= */

:root {
  /* Obsidian Color Foundation */
  --bg-void: #050608;
  --bg-surface: #0a0b10;
  --bg-surface-elevated: rgba(14, 16, 24, 0.72);
  --bg-card: rgba(12, 14, 22, 0.65);
  --bg-card-border: rgba(255, 255, 255, 0.08);

  /* Typography & Contrast Hierarchy (WCAG AAA >= 7:1 against #050608) */
  --text-primary: #F0F2F8;
  --text-secondary: #9499AD;
  --text-muted: #5C6175;

  /* Authoritative 8-Stop Rainbow Spectral Sequence */
  --spec-1: #FF0055; /* Electric Crimson */
  --spec-2: #FF5500; /* Safety Orange */
  --spec-3: #FFCC00; /* Cyber Gold */
  --spec-4: #00FF66; /* Neon Matrix Mint */
  --spec-5: #00CCFF; /* Electric Cyan */
  --spec-6: #0066FF; /* Hyper Cobalt */
  --spec-7: #7700FF; /* Deep Ultraviolet */
  --spec-8: #FF00AA; /* Neon Magenta */

  /* Composite Gradient Tokens */
  --rainbow-gradient: linear-gradient(135deg, var(--spec-1), var(--spec-2), var(--spec-3), var(--spec-4), var(--spec-5), var(--spec-6), var(--spec-7), var(--spec-8));
  --spectral-gradient: linear-gradient(135deg, #FF0055 0%, #FF5500 14.3%, #FFCC00 28.6%, #00FF66 42.9%, #00CCFF 57.1%, #0066FF 71.4%, #7700FF 85.7%, #FF00AA 100%);
  --spectral-shimmer: linear-gradient(90deg, #FF0055, #FF5500, #FFCC00, #00FF66, #00CCFF, #0066FF, #7700FF, #FF00AA, #FF0055);

  /* Glassmorphism Tokens */
  --glass-blur: blur(16px) saturate(180%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-hover: 1px solid rgba(0, 204, 255, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.55), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow-hover: 0 16px 48px 0 rgba(0, 0, 0, 0.75), 0 0 24px 0 rgba(0, 204, 255, 0.18), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);

  /* Typography Stacks */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', 'Courier New', monospace;

  /* Layout Constraints */
  --container-max: 1200px;
  --radius-card: 16px;
  --radius-pill: 9999px;
  --header-height: 80px;
}

/* =============================================================================
   BASE RESETS & DEFAULTS
   ============================================================================= */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  background: #050608;
  color: var(--text-primary);
  font-family: var(--font-display);
}

body {
  background-color: var(--bg-void);
  background: #050608;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--spec-5);
  color: var(--bg-void);
}

/* =============================================================================
   ACCESSIBILITY & KEYBOARD FOCUS
   ============================================================================= */

.skip-link {
  position: absolute;
  top: -120px;
  left: 1.5rem;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  color: var(--spec-5);
  border: 2px solid var(--spec-5);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus, .skip-link:focus-visible {
  top: 1.5rem;
  outline: 2px solid var(--spec-5);
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--spec-5);
  outline-offset: 3px;
}

/* =============================================================================
   60FPS GPU-ACCELERATED AMBIENT AURORAS
   Promoted via translate3d(0, 0, 0) and will-change: transform
   Zero reflow properties (no top/left/width in keyframes)
   ============================================================================= */

.aurora-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.orb-alpha {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--spec-7) 0%, transparent 70%);
  top: -15vw;
  left: -10vw;
  animation: floatAlpha 23s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-beta {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--spec-5) 0%, transparent 70%);
  bottom: -15vw;
  right: -10vw;
  animation: floatBeta 19s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-gamma {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--spec-1) 0%, transparent 70%);
  top: 35%;
  left: 30%;
  animation: floatGamma 29s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image: 
    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: 60px 60px;
  z-index: 0;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

@keyframes floatAlpha {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vw, 6vw, 0) scale(1.1); }
  100% { transform: translate3d(-4vw, 3vw, 0) scale(0.95); }
}

@keyframes floatBeta {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vw, -5vw, 0) scale(1.08); }
  100% { transform: translate3d(4vw, -2vw, 0) scale(0.92); }
}

@keyframes floatGamma {
  0% { transform: translate3d(0, 0, 0) scale(0.9); }
  50% { transform: translate3d(-4vw, 5vw, 0) scale(1.15); }
  100% { transform: translate3d(5vw, -4vw, 0) scale(1); }
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1.05); }
  100% { opacity: 0.3; transform: translate3d(0, 0, 0) scale(1); }
}

/* =============================================================================
   GLASSMORPHIC CARDS & CONTAINERS
   Dual specular rim reflection with inset 1px highlight
   ============================================================================= */

.glass-card, .pillar-card, .telemetry-console {
  background: var(--bg-card);
  background-color: rgba(12, 14, 22, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover, .pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 204, 255, 0.35);
  box-shadow: var(--glass-shadow-hover);
}

/* =============================================================================
   LAYOUT CONTAINERS
   ============================================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  z-index: 10;
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.nav-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  min-height: 44px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(0, 204, 255, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-icon {
  transform: rotate(6deg) scale(1.05);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF, var(--text-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  background: rgba(0, 204, 255, 0.1);
  color: var(--spec-5);
  border: 1px solid rgba(0, 204, 255, 0.3);
}

.nav-cta:hover {
  background: rgba(0, 204, 255, 0.2);
  color: #FFFFFF;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-section {
  padding: 6rem 0 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 10;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(14, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--spec-5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spec-4);
  box-shadow: 0 0 10px var(--spec-4);
  animation: pulseGlow 2s infinite ease-in-out;
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 960px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--spectral-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 2rem;
  background: var(--spectral-gradient);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255, 0, 85, 0.25), 0 0 32px rgba(0, 204, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 0, 85, 0.35), 0 0 40px rgba(0, 204, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 2rem;
  background: rgba(14, 16, 24, 0.8);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* =============================================================================
   4 CORE PILLARS SHOWCASE
   ============================================================================= */

.pillars-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spec-5);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.pillar-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--spec-5);
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pillar-description {
  font-size: 0.9625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.pillar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.capability-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pillar-card:hover .capability-badge {
  border-color: rgba(0, 204, 255, 0.25);
  color: var(--text-primary);
}

/* =============================================================================
   INTERACTIVE TELEMETRY CONSOLE HUD
   ============================================================================= */

.telemetry-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.telemetry-console {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.telemetry-header {
  background: rgba(10, 11, 16, 0.95);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.telemetry-window-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.win-red { background: #FF5F56; box-shadow: 0 0 6px #FF5F56; }
.win-yellow { background: #FFBD2E; box-shadow: 0 0 6px #FFBD2E; }
.win-green { background: #27C93F; box-shadow: 0 0 6px #27C93F; }

.telemetry-title {
  color: var(--text-secondary);
  letter-spacing: 1px;
  font-weight: 600;
}

.telemetry-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--spec-4);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--spec-4);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--spec-4);
  animation: pulseGlow 1.5s infinite ease-in-out;
}

/* HUD Metrics Bar */
.telemetry-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(14, 16, 24, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hud-label {
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hud-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--spec-5);
  text-shadow: 0 0 10px rgba(0, 204, 255, 0.4);
}

/* Telemetry Log Stream */
.telemetry-stream {
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  background: rgba(5, 6, 8, 0.85);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Custom Monospace Stream Scrollbar */
.telemetry-stream::-webkit-scrollbar {
  width: 6px;
}
.telemetry-stream::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.telemetry-stream::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.telemetry-stream::-webkit-scrollbar-thumb:hover {
  background: var(--spec-5);
}

.log-entry {
  display: flex;
  gap: 0.75rem;
  word-break: break-all;
  animation: fadeInLog 0.2s ease-out;
}

@keyframes fadeInLog {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.log-timestamp {
  color: var(--text-muted);
  flex-shrink: 0;
}

.log-phase {
  font-weight: 700;
  flex-shrink: 0;
}

.phase-syn { color: var(--spec-3); }
.phase-ack { color: var(--spec-4); }
.phase-tls { color: var(--spec-7); }
.phase-data { color: var(--spec-5); }
.phase-sensor { color: var(--spec-2); }
.phase-probe { color: var(--spec-1); }
.phase-sys { color: var(--spec-8); }

.log-message {
  color: var(--text-primary);
}

/* Interactive Controls Bar */
.telemetry-controls {
  padding: 1rem 1.5rem;
  background: rgba(10, 11, 16, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-console {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  min-height: 44px;
  padding: 0.625rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-console:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-console-accent {
  background: rgba(0, 204, 255, 0.12);
  color: var(--spec-5);
  border-color: rgba(0, 204, 255, 0.35);
}

.btn-console-accent:hover {
  background: rgba(0, 204, 255, 0.22);
  border-color: var(--spec-5);
  color: #FFFFFF;
}

.btn-console-paused {
  background: rgba(255, 85, 0, 0.15);
  color: var(--spec-2);
  border-color: rgba(255, 85, 0, 0.4);
}

/* =============================================================================
   CORPORATE FOOTER
   Official Corporate Entity: The Logic Factory Pty Ltd
   ACN: 701 614 020, ABN: 98 701 614 020
   ============================================================================= */

.footer {
  margin-top: 6rem;
  background: rgba(5, 6, 8, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-company-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 440px;
}

.footer-statutory {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--spec-5);
}

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

/* =============================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .aurora-orb {
    filter: blur(50px);
  }

  .orb-alpha { width: 80vw; height: 80vw; }
  .orb-beta { width: 75vw; height: 75vw; }
  .orb-gamma { width: 60vw; height: 60vw; }

  .hero-section {
    padding: 4rem 0 3rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .nav-menu {
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .telemetry-hud {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}

/* =============================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   Disables keyframe translations & replaces with elegant static ambient aura
   ============================================================================= */

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

  .aurora-orb {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .badge-dot, .pulse-indicator {
    animation: none !important;
  }
}
