/* ==========================================================================
   STROBE AI — FLOATING CONCIERGE & MULTILINGUAL ASSISTANT SYSTEM
   (Transparent Emerald Glass • Cute Animated Avatar • Rotating Border Shine)
   ========================================================================== */

/* 1. Strobe Bot Root Container */
#strobe-bot-root {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  pointer-events: none;
}

#strobe-bot-root * {
  box-sizing: border-box;
}

/* 2. Floating Animated Cute Bot Launcher Button */
.strobe-launcher-btn {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(4, 22, 11, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(86, 240, 101, 0.4);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(52, 211, 153, 0.35);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  user-select: none;
  outline: none;
}

.strobe-launcher-btn:hover {
  transform: scale(1.1) translateY(-3px);
  border-color: rgba(86, 240, 101, 0.9);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(86, 240, 101, 0.6);
}

.strobe-launcher-btn:active {
  transform: scale(0.92) translateY(1px);
  transition: transform 0.08s ease;
}

/* Rotating Conic Border Shine for Launcher */
.strobe-launcher-btn::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle, 0deg) at 50% 50%,
    transparent 0%,
    transparent 75%,
    rgba(255, 255, 255, 0.95) 88%,
    #56f065 95%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rotateBorderShine 4s linear infinite;
  z-index: 1;
}

/* Cute High-Definition Animated Bot Avatar SVG */
.strobe-bot-avatar-svg {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.strobe-launcher-btn:hover .strobe-bot-avatar-svg {
  transform: scale(1.08) rotate(-3deg);
}

/* Cute Avatar Eye Blink Animation */
@keyframes cuteEyeBlink {
  0%, 90%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

.strobe-eye {
  transform-origin: center;
  animation: cuteEyeBlink 4.5s infinite ease-in-out;
}

/* Active Online Pulse Dot */
.strobe-online-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid #03170a;
  box-shadow: 0 0 10px #22c55e;
  z-index: 3;
}

.strobe-online-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.5);
  animation: strobePulse 2s infinite ease-out;
}

@keyframes strobePulse {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* 3. Proactive Speech Bubble Teaser */
.strobe-teaser-bubble {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: max-content;
  max-width: 290px;
  background: rgba(4, 22, 11, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(86, 240, 101, 0.35);
  border-radius: 18px 18px 4px 18px;
  padding: 0.85rem 1.1rem;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(52, 211, 153, 0.2);
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 10;
}

.strobe-teaser-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.strobe-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.strobe-teaser-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #56f065;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.strobe-teaser-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.strobe-teaser-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.strobe-teaser-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f1f5f9;
  font-weight: 400;
}

/* 4. Interactive Transparent Emerald Glass Chat Window (Matching Website UI) */
.strobe-chat-window {
  position: absolute;
  bottom: 86px;
  right: 0;
  width: min(410px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 120px));
  background: rgba(4, 22, 11, 0.72);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(86, 240, 101, 0.3);
  border-radius: 24px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(52, 211, 153, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
  z-index: 20;
}

.strobe-chat-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

/* Rotating Conic Border Shine for Chat Window (Identical to site cards) */
.strobe-chat-window::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle, 0deg) at 50% 50%,
    transparent 0%,
    transparent 80%,
    rgba(255, 255, 255, 0.95) 90%,
    #56f065 95%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rotateBorderShine 5s linear infinite;
  z-index: 30;
}

/* Chat Header */
.strobe-chat-header {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.strobe-header-bot-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.strobe-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 35, 18, 0.85);
  border: 1px solid rgba(86, 240, 101, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(86, 240, 101, 0.35);
}

.strobe-header-avatar svg {
  width: 32px;
  height: 32px;
}

.strobe-header-meta h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.strobe-header-meta p {
  font-size: 0.75rem;
  color: #34d399;
  margin: 0.15rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.strobe-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.strobe-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.strobe-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.2s ease;
}

.strobe-action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Chat Messages Body & Smooth Scrollable Container */
.strobe-chat-body {
  flex: 1;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  scroll-behavior: smooth;
  position: relative;
  z-index: 2;
}

.strobe-chat-body::-webkit-scrollbar {
  width: 5px;
}

.strobe-chat-body::-webkit-scrollbar-thumb {
  background: rgba(86, 240, 101, 0.35);
  border-radius: 6px;
}

/* Welcome Intro Card */
.strobe-welcome-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.strobe-welcome-card strong {
  color: #56f065;
}

/* Quick Suggestion Chips */
.strobe-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.strobe-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.strobe-chip:hover {
  background: rgba(86, 240, 101, 0.2);
  border-color: rgba(86, 240, 101, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(86, 240, 101, 0.25);
}

/* Chat Message Bubbles */
.strobe-msg {
  display: flex;
  gap: 0.6rem;
  max-width: 86%;
  animation: msgGlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msgGlideIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.strobe-msg.bot {
  align-self: flex-start;
}

.strobe-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.strobe-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.strobe-msg.bot .strobe-msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px 16px 16px 16px;
  color: #f1f5f9;
}

.strobe-msg.user .strobe-msg-bubble {
  background: linear-gradient(135deg, rgba(86, 240, 101, 0.3) 0%, rgba(16, 185, 129, 0.4) 100%);
  border: 1px solid rgba(86, 240, 101, 0.5);
  border-radius: 16px 4px 16px 16px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(86, 240, 101, 0.2);
}

/* Typing Pulse Indicator */
.strobe-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px 16px 16px 16px;
  width: max-content;
}

.strobe-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56f065;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.strobe-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.strobe-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Chat Input Bar */
.strobe-chat-footer {
  padding: 0.75rem 1rem;
  background: rgba(2, 14, 7, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
}

.strobe-input-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(86, 240, 101, 0.3) !important;
  border-radius: 9999px !important;
  padding: 4px 6px 4px 14px !important;
  width: 100% !important;
  height: 44px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.strobe-input-form:focus-within {
  border-color: #56f065 !important;
  box-shadow: 0 0 16px rgba(86, 240, 101, 0.3) !important;
}

.strobe-input-field {
  flex: 1 1 auto !important;
  min-width: 50px !important;
  width: auto !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.strobe-input-field::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* ==========================================================================
   PURE ARROW ICON ONLY (Zero Circle, Zero Box, Zero Highlight)
   ========================================================================== */
.strobe-send-btn,
.strobe-send-btn:hover,
.strobe-send-btn:active,
.strobe-send-btn:focus,
.strobe-send-btn:focus-visible,
.strobe-send-btn:focus-within {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
}

.strobe-send-btn::before,
.strobe-send-btn::after {
  display: none !important;
  content: none !important;
}

/* Pure Glowing Arrow SVG (Crisp & Subtle) */
.strobe-send-plane-svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(86, 240, 101, 0.6));
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

/* Subtle Hover Glow */
.strobe-send-btn:hover .strobe-send-plane-svg {
  transform: scale(1.08) translateX(1px);
  filter: drop-shadow(0 0 8px rgba(86, 240, 101, 0.9));
}

/* Subtle Click Tactile Press (No Huge Movements) */
.strobe-send-btn:active .strobe-send-plane-svg {
  transform: scale(0.92);
  opacity: 0.7;
}

/* Mobile Responsive Perfection */
@media (max-width: 540px) {
  #strobe-bot-root {
    bottom: 16px;
    right: 16px;
  }
  
  .strobe-chat-window {
    width: calc(100vw - 28px);
    height: min(560px, calc(100vh - 95px));
    bottom: 72px;
    right: 0;
    border-radius: 20px;
  }

  .strobe-chat-footer {
    padding: 0.55rem 0.75rem;
  }

  .strobe-input-form {
    height: 42px !important;
    padding: 3px 6px 3px 14px !important;
  }

  .strobe-input-field {
    font-size: 0.82rem !important;
  }

  .strobe-input-field::placeholder {
    font-size: 0.78rem !important;
  }

  .strobe-send-btn {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }

  .strobe-send-plane-svg {
    width: 20px !important;
    height: 20px !important;
  }
}




