/* ========================================================
   AI Agent Rebuild & Multi-Cursor Tour Styles
   ======================================================== */

/* Avatar stack */
.agent-avatar-stack {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  vertical-align: middle;
}

.agent-avatar-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -5px;
  border-radius: 50%;
  border: 1.5px solid #141414;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.agent-avatar-dot:first-child {
  margin-left: 0;
}

/* Floating Dock Widget */
.agent-float-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  pointer-events: auto;
  user-select: none;
  animation: floatEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards 1s;
}

.agent-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 14px;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f3f4f6;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
}

.agent-float-btn:hover {
  background: rgba(28, 28, 34, 0.95);
  border-color: rgba(13, 153, 255, 0.55);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 20px rgba(13, 153, 255, 0.25);
  color: #ffffff;
}

.agent-float-btn:active {
  transform: translateY(0) scale(0.98);
}

.agent-float-text {
  letter-spacing: -0.01em;
}

.agent-float-kbd {
  display: inline-block;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Hero Section Banner */
.agent-hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.agent-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e5e7eb;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.agent-hero-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #0d99ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 153, 255, 0.25);
}

.agent-hero-btn b {
  color: #ffffff;
  font-weight: 700;
}

.agent-hero-badge {
  padding: 3px 9px;
  background: rgba(13, 153, 255, 0.2);
  color: #70baff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.agent-hero-btn:hover .agent-hero-badge {
  background: #0d99ff;
  color: #ffffff;
}

/* Navbar Chip */
.agent-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 153, 255, 0.15);
  border: 1px solid rgba(13, 153, 255, 0.35);
  color: #70baff !important;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.agent-nav-btn:hover .agent-nav-chip,
.agent-mobile-btn:hover {
  background: #0d99ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(13, 153, 255, 0.4);
}

/* Keyframes */
@keyframes floatEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .agent-float-dock {
    bottom: 16px;
    right: 16px;
  }
  .agent-float-kbd {
    display: none;
  }
  .agent-hero-btn {
    font-size: 12px;
    padding: 6px 14px;
  }
  .agent-float-btn {
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .agent-float-text {
    font-size: 11px;
  }
  .agent-avatar-dot {
    width: 15px;
    height: 15px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .agent-float-dock {
    bottom: 12px;
    right: 12px;
    left: 12px;
    text-align: center;
  }
  .agent-float-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }
  .agent-hero-btn {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .agent-hero-label {
    font-size: 11px;
  }
  .agent-hero-badge {
    font-size: 10px;
  }
}
