/* custom.css */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #020617;
  color: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  transition: all 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
}

.flowding-widget {
  animation: flowding-float 6s ease-in-out infinite;
}

.flowding-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.65rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
}

.status-live {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.25);
}

.flowding-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes flowding-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.flowding-bubble {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
}

.flowding-infinity {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  padding: 0;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15), 0 0 45px rgba(59, 130, 246, 0.18);
}

.flowding-infinity::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(14, 165, 233, 0.45), 0 0 40px rgba(56, 189, 248, 0.28), inset 0 0 20px rgba(59, 130, 246, 0.2);
  opacity: 0.9;
  pointer-events: none;
}

.flowding-infinity:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 0 32px rgba(59, 130, 246, 0.55));
}

.flowding-infinity-icon {
  width: 82px;
  height: 62px;
}

.flowding-status-dot {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 9999px;
  background: radial-gradient(circle at center, #34d399, #10b981 70%, #047857);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.35);
  animation: flowding-pulse 2.4s infinite;
  z-index: 1;
}

@keyframes flowding-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.35);
  }
  50% {
    box-shadow: 0 0 0 0.45rem rgba(56, 189, 248, 0.12);
  }
}

.flowding-ring,
.flowding-center,
.flowding-icon,
.flowding-circle {
  display: none;
}

.flowding-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.85rem;
  display: block;
  width: 18rem;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 9999;
}

.flowding-bubble.open .flowding-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.flowding-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.flowding-suggestion-btn {
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 0.9rem;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  cursor: pointer;
  font-size: 0.78rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 640px) {
  .flowding-tooltip {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(16px) scale(0.95);
  }

  .flowding-bubble.open .flowding-tooltip {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.flowding-close:hover {
  color: #fff;
}


.flowding-query-form {
  display: grid;
  gap: 0.75rem;
}

.flowding-input {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  padding: 0.85rem 1rem;
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flowding-input:focus {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.flowding-query-btn {
  width: 100%;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.flowding-query-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.flowding-faq {
  display: grid;
  gap: 0.5rem;
}

.flowding-faq-btn {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.flowding-faq-btn:hover {
  background: rgba(14, 165, 233, 0.14);
  transform: translateY(-1px);
}

.flowding-response {
  line-height: 1.6;
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes tooltip-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

