/* ==========================================================================
   Quas Labs — 2026 Gold Standard Animated CSS System
   ========================================================================== */

:root {
  --bg-dark: #030712;
  --surface-card: rgba(17, 24, 39, 0.65);
  --surface-hover: rgba(31, 41, 55, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent-cyan: #38bdf8;
  --accent-purple: #818cf8;
  --accent-emerald: #10b981;
  --radius-lg: 16px;
  --font-main: 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.5;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Moving Background Ambient Glow Orbs */
.bg-ambient-orbs {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10%; left: 20%; width: 500px; height: 500px;
  background: radial-gradient(circle, #38bdf8, #6366f1);
}

.orb-2 {
  bottom: 10%; right: 10%; width: 600px; height: 600px;
  background: radial-gradient(circle, #818cf8, #a855f7);
  animation-delay: -9s;
}

.orb-3 {
  top: 40%; left: -10%; width: 450px; height: 450px;
  background: radial-gradient(circle, #10b981, #06b6d4);
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Floating Spatial Nav Bar */
.spatial-nav-wrapper {
  position: sticky;
  top: 16px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.spatial-nav {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #ffffff; }

.btn-nav-cta {
  background: linear-gradient(180deg, #ffffff 0%, #e5e7eb 100%);
  color: #030712;
  padding: 7px 18px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Layout Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
}

.badge-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  padding: 6px 18px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.5;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding: 20px 32px;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Live Code Terminal Sandbox */
.terminal-section {
  margin: 40px auto 80px;
  max-width: 800px;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 40px rgba(56, 189, 248, 0.1);
  overflow: hidden;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.6;
}

.code-line {
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-all;
}

.cmd-prompt { color: var(--accent-cyan); font-weight: 700; }
.cmd-text { color: #f3f4f6; }

.response-json {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 16px;
  color: #34d399;
  margin-top: 16px;
  display: none;
  animation: fadeIn 0.3s ease;
}

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

.btn-test-run {
  background: var(--accent-cyan);
  color: #030712;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.btn-test-run:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

/* Products Cards Grid */
.products-section { padding: 40px 20px 100px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: #ffffff; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.product-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.15);
}

.card-top { margin-bottom: 20px; }

.card-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sla-badge {
  color: var(--accent-emerald);
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

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

.card-price {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: var(--accent-cyan);
  color: #030712;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Footer & Trust Badges */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modal Styles for Trial & Support Contact */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-close:hover { color: #ffffff; }

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.form-textarea { resize: vertical; min-height: 90px; }

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.result-box {
  background: #020617;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #38bdf8;
  word-break: break-all;
  display: none;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .hero-title { font-size: 40px; }
  .spatial-nav { gap: 16px; padding: 8px 16px; }
  .nav-links { display: none; }
  .stats-bar { flex-direction: column; gap: 20px; }
}

/* ==========================================================================
   Soothing Modern Sci-Fi Search & Command Matrix Styles
   ========================================================================== */

/* Search Console Container */
.scifi-search-wrapper {
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
}

.scifi-search-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(3, 7, 18, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(56, 189, 248, 0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scifi-search-box:focus-within {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 30px rgba(56, 189, 248, 0.25);
}

/* Cyber Ambient Top Glow Bar */
.scifi-search-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), var(--accent-emerald), transparent);
  animation: cyberScan 6s linear infinite;
}

@keyframes cyberScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.scifi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.scifi-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scifi-pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: 980px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scifi-pulse-indicator .dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

.scifi-console-title {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.scifi-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scifi-btn-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.scifi-btn-toggle:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.scifi-btn-toggle.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* Input Area */
.scifi-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.scifi-search-icon {
  position: absolute;
  left: 18px;
  color: var(--accent-cyan);
  font-size: 18px;
  pointer-events: none;
  opacity: 0.9;
}

.scifi-search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 140px 14px 48px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.scifi-search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.scifi-search-input:focus {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--accent-cyan);
}

.scifi-input-meta {
  position: absolute;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scifi-hotkey {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}

.scifi-btn-clear {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.scifi-btn-clear:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.scifi-results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.scifi-match-count {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Match Text Highlight */
mark.sci-highlight {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   View Mode Switcher (Grid, Requirement Matrix, Telemetry Table)
   ========================================================================== */

.view-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.view-tab-btn {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  transition: all 0.25 ease;
}

.view-tab-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.view-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Interactive Requirement Selection Matrix / Wizard
   ========================================================================== */

.requirement-matrix-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  display: none;
}

.requirement-matrix-box.active {
  display: block;
}

.matrix-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.requirement-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.req-chip {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.req-chip.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(129, 140, 248, 0.25) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.req-chip-label {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.req-chip-target {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Sci-Fi Telemetry Index Table (HUD List View)
   ========================================================================== */

.telemetry-table-wrapper {
  display: none;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.telemetry-table-wrapper.active {
  display: block;
}

.telemetry-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.telemetry-table th {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telemetry-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #cbd5e1;
  vertical-align: middle;
}

.telemetry-table tr:hover {
  background: rgba(56, 189, 248, 0.06);
}

.telemetry-prod-name {
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.telemetry-sla {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.telemetry-price {
  font-weight: 700;
  color: #f8fafc;
}

/* ==========================================================================
   Focused Product Card Animation Halo
   ========================================================================== */

.product-card.sci-focused {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.15) !important;
  transform: translateY(-4px) scale(1.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Sci-Fi Ambient Sleep Mode HUD
   ========================================================================== */

.ambient-sleep-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  padding: 10px 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.2);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-sleep-banner.active {
  transform: translateY(0);
}

.ambient-sleep-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #f8fafc;
  font-weight: 600;
}

.ambient-sleep-tag {
  background: rgba(129, 140, 248, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: var(--accent-purple);
  padding: 4px 10px;
  border-radius: 980px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.ambient-wake-btn {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transition: transform 0.2s ease;
}

.ambient-wake-btn:hover {
  transform: scale(1.05);
}

/* Zero Matches Box */
.scifi-no-results {
  display: none;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(239, 68, 68, 0.4);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 32px;
}

.scifi-no-results.active {
  display: block;
}

.scifi-no-results h3 {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scifi-no-results p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.scifi-suggested-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.suggested-tag {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggested-tag:hover {
  background: rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}


