/* High-tech quick-assist panel, matched to the site's black and electric-blue theme. */
.chatbot-widget { position: relative; z-index: 80; }
.chatbot-panel[hidden] { display: none; }
.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 81;
  display: flex;
  flex-direction: column;
  width: min(408px, calc(100vw - 32px));
  max-height: min(76vh, 690px);
  overflow: hidden;
  border: 1px solid rgba(77,139,255,.58);
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 0%, rgba(10,99,255,.16), transparent 38%), rgba(7,8,10,.985);
  box-shadow: 0 26px 90px rgba(0,0,0,.68), 0 0 42px rgba(10,99,255,.17), inset 0 1px rgba(255,255,255,.055);
  backdrop-filter: blur(20px);
  animation: chatbot-panel-in .24s cubic-bezier(.2,.75,.2,1) both;
}
.chatbot-panel::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image: linear-gradient(rgba(110,150,210,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(110,150,210,.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, #000, transparent 66%);
}
.chatbot-header, .chatbot-body { position: relative; z-index: 1; }
.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 17px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(115deg, rgba(10,99,255,.14), rgba(9,10,13,.92) 66%);
}
.chatbot-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid rgba(104,157,255,.72);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(10,99,255,.26), rgba(12,17,27,.8));
  color: #9bc0ff;
  box-shadow: 0 0 22px rgba(10,99,255,.18), inset 0 0 15px rgba(10,99,255,.1);
}
.chatbot-avatar svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(77,139,255,.5)); }
.chatbot-heading { min-width: 0; flex: 1; }
.chatbot-brand { display: block; margin-bottom: 4px; color: #8fb3ff; font: 700 7px/1.3 var(--mono); letter-spacing: .16em; }
.chatbot-heading h2 { margin: 0; color: #fff; font: 600 17px/1.2 var(--sans); letter-spacing: -.025em; }
.chatbot-heading p { display: flex; align-items: center; gap: 6px; margin: 5px 0 0; color: #a3aab7; font: 700 7px/1.3 var(--mono); letter-spacing: .1em; }
.chatbot-heading p::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #53e7a4; box-shadow: 0 0 10px rgba(83,231,164,.75); content: ""; animation: chatbot-status-pulse 2s ease-in-out infinite; }
.chatbot-close {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: #c5cad3;
  font: 400 22px/1 var(--sans);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.chatbot-close:hover { transform: rotate(90deg); border-color: rgba(77,139,255,.7); background: rgba(10,99,255,.12); color: #fff; }
.chatbot-body { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 10px; overflow: hidden; padding: 14px 15px 13px; }
.chatbot-intro { margin: 0; color: #8f96a3; font-size: 10px; line-height: 1.5; }
.chatbot-messages {
  display: flex;
  min-height: 104px;
  max-height: 215px;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 3px 5px 1px;
  scrollbar-color: #343c4a #0b0d11;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.chatbot-message { display: flex; align-items: flex-end; gap: 8px; animation: chatbot-message-in .24s ease both; }
.chatbot-message-user { justify-content: flex-end; }
.chatbot-message-avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 1px solid rgba(77,139,255,.5);
  border-radius: 9px;
  background: rgba(10,99,255,.13);
  color: #8fb3ff;
}
.chatbot-message-avatar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chatbot-message-content { display: flex; max-width: 86%; flex-direction: column; gap: 4px; }
.chatbot-message-user .chatbot-message-content { align-items: flex-end; }
.chatbot-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8791a1; font: 700 7px/1.3 var(--mono); letter-spacing: .12em; }
.chatbot-message-meta span + span { color: #6689c3; font-weight: 500; }
.chatbot-message-meta-user { color: #8fb3ff; }
.chatbot-bubble {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 4px 13px 13px 13px;
  color: #d7dce5;
  font: 400 11px/1.65 var(--sans);
  overflow-wrap: anywhere;
}
.chatbot-bubble-bot { background: linear-gradient(145deg, rgba(24,28,36,.96), rgba(16,18,23,.96)); }
.chatbot-bubble-user { border-color: rgba(77,139,255,.48); border-radius: 13px 4px 13px 13px; background: linear-gradient(135deg, rgba(18,64,137,.72), rgba(13,35,74,.86)); color: #f5f8ff; }
.chatbot-bubble.is-typing { display: inline-flex; align-items: center; gap: 9px; min-width: 96px; padding-block: 9px; color: #aeb8ca; }
.chatbot-typing-label { color: #aeb8ca; font: 500 10px/1 var(--sans); }
.chatbot-typing-dots { display: inline-flex; align-items: center; gap: 4px; height: 12px; }
.chatbot-typing-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #7ba8ff; box-shadow: 0 0 8px rgba(77,139,255,.55); animation: chatbot-typing 1s ease-in-out infinite; }
.chatbot-typing-dots i:nth-child(2) { animation-delay: .14s; }
.chatbot-typing-dots i:nth-child(3) { animation-delay: .28s; }
.chatbot-bubble.is-answer-ready { animation: chatbot-answer-in .26s ease both; }
.chatbot-suggestions-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.09); color: #8b95a5; font: 700 7px/1.4 var(--mono); letter-spacing: .14em; }
.chatbot-topic-count { color: #5b86d2; font-weight: 500; }
.chatbot-questions { display: grid; min-height: 0; max-height: 285px; flex: 1 1 auto; gap: 7px; overflow-y: auto; overscroll-behavior: contain; padding: 1px 3px 2px 0; scrollbar-color: #343c4a #0b0d11; scrollbar-width: thin; }
.chatbot-question-item + .chatbot-question-item { margin-top: 0; }
.chatbot-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  background: linear-gradient(110deg, rgba(255,255,255,.035), rgba(10,12,16,.7));
  color: #d8dce4;
  font: 500 10px/1.45 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.chatbot-question:hover, .chatbot-question.is-selected { transform: translateX(2px); border-color: rgba(77,139,255,.6); background: linear-gradient(110deg, rgba(10,99,255,.14), rgba(13,15,20,.9)); color: #fff; box-shadow: inset 2px 0 #3f83ff, 0 4px 18px rgba(0,0,0,.18); }
.chatbot-question:disabled { cursor: wait; opacity: .58; }
.chatbot-question > span:first-child { flex: 1; }
.chatbot-chevron { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid rgba(77,139,255,.25); border-radius: 8px; background: rgba(10,99,255,.08); color: #87adff; font: 13px/1 var(--sans); transition: transform .18s ease, background .18s ease; }
.chatbot-question:hover .chatbot-chevron, .chatbot-question.is-selected .chatbot-chevron { transform: translate(1px,-1px); background: rgba(10,99,255,.18); }
.chatbot-footer { margin: 0; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.075); color: #7f8794; font-size: 9px; line-height: 1.5; }
.chatbot-footer a { margin-left: 3px; color: #8fb3ff; font-weight: 600; }
.chatbot-footer a:hover { color: #fff; }
.chatbot-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(91,151,255,.72);
  border-radius: 999px;
  background: linear-gradient(130deg, #101723, #07090d 75%);
  box-shadow: 0 14px 38px rgba(0,0,0,.54), 0 0 25px rgba(10,99,255,.22), inset 0 1px rgba(255,255,255,.08);
  color: #f4f7ff;
  font: 600 11px/1 var(--sans);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.chatbot-launcher::before { position: absolute; inset: -5px; z-index: -1; border: 1px solid rgba(77,139,255,.22); border-radius: inherit; content: ""; animation: chatbot-launcher-ring 2.8s ease-out infinite; }
.chatbot-launcher:hover { transform: translateY(-2px); border-color: #a6c4ff; box-shadow: 0 17px 42px rgba(0,0,0,.6), 0 0 32px rgba(10,99,255,.3); }
.chatbot-launcher[aria-expanded="true"] { background: linear-gradient(130deg, #14213a, #080a0e); }
.chatbot-launcher svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #9bbaff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(77,139,255,.55)); }

/* Center the existing FAQ CTA label independently of its decorative arrow. */
.faq-intro .text-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 14px; padding: 0 42px; line-height: 1; text-align: center; }
.faq-intro .text-link > span { position: absolute; top: 50%; right: 17px; margin: 0; transform: translateY(-50%); line-height: 1; }

@keyframes chatbot-panel-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes chatbot-message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chatbot-answer-in { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chatbot-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .48; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes chatbot-status-pulse { 0%, 100% { opacity: .72; box-shadow: 0 0 7px rgba(83,231,164,.5); } 50% { opacity: 1; box-shadow: 0 0 12px rgba(83,231,164,.95); } }
@keyframes chatbot-launcher-ring { 0% { transform: scale(.96); opacity: .7; } 90%, 100% { transform: scale(1.14); opacity: 0; } }
@media (max-width: 430px) {
  .chatbot-panel { right: 12px; bottom: 76px; width: calc(100vw - 24px); max-height: 76vh; border-radius: 18px; }
  .chatbot-header { padding: 13px 14px; }
  .chatbot-body { gap: 9px; padding: 12px 13px 11px; }
  .chatbot-messages { max-height: 185px; }
  .chatbot-questions { max-height: 245px; }
  .chatbot-launcher { right: 14px; bottom: 14px; min-height: 49px; padding-inline: 15px; }
}
@media (max-height: 520px) {
  .chatbot-panel { max-height: calc(100vh - 108px); }
  .chatbot-messages { max-height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot-panel, .chatbot-message, .chatbot-bubble.is-answer-ready, .chatbot-heading p::before,
  .chatbot-typing-dots i, .chatbot-launcher::before { animation: none !important; }
  .chatbot-messages { scroll-behavior: auto; }
}
