/* ==========================================================================
   ROBOTIX VIP — Cybernetic Dark Luxury & AI Robotics Theme
   Sleek Obsidian, Onyx & Titanium Black Palette
   ========================================================================== */

:root {
  --color-abyss: #071526;
  --color-ocean: #0a1f38;
  --color-marine: #0e2b4d;
  --color-surface: rgba(10, 31, 56, 0.88);
  --color-surface-hover: rgba(14, 43, 77, 0.95);
  --color-cyan: #00f2fe;
  --color-cyan-glow: rgba(0, 242, 254, 0.35);
  --color-gold: #f59e0b;
  --color-gold-glow: rgba(245, 158, 11, 0.35);
  --color-emerald: #10b981;
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --font-display: 'Space Grotesk', 'Sora', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base resets & aesthetics */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 0%, #0e2b4d 0%, #0a1f38 45%, #05101f 100%);
  background-color: #071526;
  color: var(--color-text-main);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for fixed bottom navigation on mobile */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Cyber Matrix Background Grid */
.cyber-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 65%),
    linear-gradient(rgba(0, 242, 254, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  background-color: #071526;
}

/* Strict Auth Visibility Gating */
.hidden-auth {
  display: none !important;
}

/* Glassmorphism Classes */
.cyber-glass {
  background: rgba(10, 31, 56, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cyber-glass-glow {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.2), inset 0 1px 0 rgba(0, 242, 254, 0.15);
}

/* Hero Bento Tile */
.robot-hero-tile {
  background: linear-gradient(145deg, #0e2b4d 0%, #0a1f38 60%, #061324 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 24px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.robot-hero-tile::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.robot-hero-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2fe, #f59e0b, transparent);
}

/* Buttons */
.btn-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #0099ff 100%);
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.45);
  border: none;
  cursor: pointer;
}

.btn-cyan:hover, .btn-cyan:active {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 242, 254, 0.65);
  filter: brightness(1.1);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
  border: none;
  cursor: pointer;
}

.btn-gold:hover, .btn-gold:active {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(245, 158, 11, 0.65);
}

.btn-marine {
  background: rgba(10, 31, 56, 0.9);
  color: #e2e8f0;
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-marine:hover {
  background: rgba(16, 44, 78, 0.98);
  border-color: #00f2fe;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* Badges */
.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Bento Mini Cards */
.bento-mini {
  background: rgba(12, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 94px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-mini:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 242, 254, 0.35);
}

/* Shortcut Tiles */
.shortcut-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.shortcut-tile:active, .shortcut-tile:hover {
  transform: scale(0.96);
}

.shortcut-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

/* Robot Cards — Fundo Branco Luxury com Ícones em Azul e Preto */
.robot-card, .robot-card-white {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 22px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #0f172a !important;
}

.robot-card:hover, .robot-card-white:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.25) !important;
  transform: translateY(-4px);
}

.robot-card::before, .robot-card-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.12), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.robot-card:hover::before, .robot-card-white:hover::before {
  left: 150%;
}

/* Robot Big Visual Showcase Window (Palco Cinza Claro para visualização dos robôs) */
.robot-showcase-stage {
  height: 180px;
  background: #a0a0a0 !important; /* Fundo cinza studio uniforme perfeitamente integrado às imagens dos robôs */
  border-radius: 18px;
  border: 1.5px solid #94a3b8 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin: 4px 0 2px 0;
}

.robot-showcase-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.robot-card:hover .robot-showcase-img,
.robot-card-white:hover .robot-showcase-img {
  transform: scale(1.06);
}

.robot-stage-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: radial-gradient(ellipse at 50% 100%, rgba(2, 132, 199, 0.25) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.robot-stage-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  padding: 2px 8px;
  border-radius: 6px;
  z-index: 3;
}

.robot-thumb-box {
  width: 96px;
  height: 118px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%) !important;
  border-radius: 16px;
  border: 2px solid #0284c7 !important;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px;
}

.robot-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

/* Metrics Row em Branco com Ícones Azul ou Preto */
.robot-card .robot-metrics-grid,
.robot-card-white .robot-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.robot-card .robot-metric-val,
.robot-card-white .robot-metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  display: block;
  color: #0284c7 !important; /* Azul de destaque */
}

.robot-card .robot-metric-lbl,
.robot-card-white .robot-metric-lbl {
  font-size: 10px;
  color: #0f172a !important; /* Preto / Carvão para máxima legibilidade */
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

.robot-card:hover .robot-thumb-box img {
  transform: scale(1.08);
}

/* Metrics Row */
.robot-card .robot-metrics-grid,
.robot-card-white .robot-metrics-grid,
.robot-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.robot-metric-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  display: block;
}

.robot-metric-lbl {
  font-size: 9.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Mobile Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(4, 9, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-item.active {
  color: var(--color-cyan);
}

.nav-item.active svg, .nav-item.active i {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
  transform: translateY(-2px);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 80px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

@media (min-width: 1024px) {
  .floating-actions {
    bottom: 24px;
    right: 24px;
  }
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-support {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.floating-btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #2AABEE 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(160deg, #07192f 0%, #040d1a 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.25);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.is-visible .modal-box {
  transform: scale(1);
}

/* Form Inputs */
.robot-input {
  width: 100%;
  background: rgba(4, 9, 18, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.robot-input:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
}

/* Live Ticker Bar */
.live-ticker {
  background: rgba(7, 21, 38, 0.85);
  border-top: 1px solid rgba(0, 242, 254, 0.15);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-green 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  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 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Live Toast Notification */
.live-toast-container {
  position: fixed;
  top: 70px;
  right: 16px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.live-toast-item {
  background: rgba(7, 23, 41, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 242, 254, 0.2);
  animation: slideToastIn 0.35s ease, fadeToastOut 0.4s ease 3.8s forwards;
  max-width: 310px;
}

@keyframes slideToastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeToastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* FAQ Details */
details.faq-item {
  background: rgba(7, 19, 34, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.faq-item[open] {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(9, 26, 47, 0.85);
}

summary.faq-q {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e2e8f0;
}

summary.faq-q::-webkit-details-marker {
  display: none;
}

summary.faq-q::after {
  content: '+';
  font-size: 16px;
  color: #00f2fe;
  font-weight: bold;
  transition: transform 0.2s ease;
}

details[open] summary.faq-q::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 16px 14px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   SIDEBAR DRAWER MENU (Inspirado no Menu Lateral da Referência)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: linear-gradient(180deg, #0e2b4d 0%, #071526 100%);
  border-left: 1px solid rgba(0, 242, 254, 0.25);
  border-right: none;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.drawer-overlay.is-open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 23, 41, 0.7);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.2) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 4px;
}
.drawer-body::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.2);
  border-radius: 4px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748b;
  padding: 10px 14px 4px;
  text-transform: uppercase;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.drawer-link:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.2);
  color: #fff;
  transform: translateX(3px);
}

.drawer-link.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.3) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-weight: 700;
}

.drawer-ai-card {
  background: linear-gradient(145deg, rgba(7, 25, 45, 0.9) 0%, rgba(4, 14, 28, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   SUB-NAV HORIZONTAL PILLS BAR (Barra de navegação da referência)
   ========================================================================== */
.subnav-container {
  background: rgba(4, 10, 20, 0.85);
  border-bottom: 1px solid rgba(0, 242, 254, 0.12);
  padding: 6px 16px;
}

.subnav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
}
.subnav-bar::-webkit-scrollbar {
  display: none;
}

.subnav-pill {
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(7, 21, 38, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.18);
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.subnav-pill:hover {
  border-color: rgba(0, 242, 254, 0.5);
  color: #fff;
  background: rgba(9, 28, 50, 0.9);
}

.subnav-pill.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(0, 153, 255, 0.2) 100%);
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

/* ==========================================================================
   AVATAR SELECTOR (Bento Grid Profile)
   ========================================================================== */
.avatar-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.avatar-option {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 25, 45, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}

.avatar-option:hover {
  border-color: rgba(0, 242, 254, 0.5);
  transform: translateY(-2px) scale(1.05);
}

.avatar-option.selected {
  border-color: #00f2fe;
  background: rgba(0, 242, 254, 0.22);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.45);
  transform: translateY(-2px) scale(1.05);
}



/* ==========================================================================
   ADVANCED SKILLS ENHANCEMENTS: UI/UX, DESIGN SYSTEM & WCAG CONTRAST
   Applied from: ui-ux-designer, tailwind-design-system & kpi-dashboard-design
   ========================================================================== */

/* 1. Custom Smooth Cyber Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #040c17;
}
::-webkit-scrollbar-thumb {
  background: #0e2b4d;
  border-radius: 9999px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* 2. WCAG Focus-Visible Accessibility Ring */
:focus-visible {
  outline: 2px solid #00f2fe !important;
  outline-offset: 3px !important;
}

/* 3. Micro-Interaction: Card Hover Lift & Glow */
.robot-card, .cyber-glass, .admin-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}
.robot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 153, 255, 0.15);
}

/* 4. Pulse Radar Indicator for Live Operations */
.radar-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}
.radar-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: radar-pulse 1.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
}
@keyframes radar-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* 5. Smooth Modal Animations */
.modal-overlay {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}
.modal-box {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.modal-overlay.is-visible .modal-box {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}

/* 6. High-Contrast Financial Typography */
.kpi-number-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
