/* ─── ANIMATIONS ─── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-4px); }
}

/* ─── FADE-UP SCROLL ─── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── LOGOS MARQUEE ─── */
.logos-bar__track {
  display: flex; align-items: center; gap: 36px;
  animation: marquee 50s linear infinite;
  width: max-content; padding: 0 18px;
}
.logos-bar__track:hover { animation-play-state: paused; }
.logos-bar__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0; opacity: .5; transition: opacity .2s; cursor: default;
}
.logos-bar__item:hover { opacity: 1; }
.logos-bar__item img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.logos-bar__item span { font-size: .68rem; color: #6b7280; white-space: nowrap; }
.dark .logos-bar__item span { color: #9ca3af; }

/* Fade edges — match section bg */
.logos-bar__wrapper { position: relative; overflow: hidden; }
.logos-bar__wrapper::before,
.logos-bar__wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.logos-bar__wrapper::before { left: 0;  background: linear-gradient(to right, #f9fafb, transparent); }
.logos-bar__wrapper::after  { right: 0; background: linear-gradient(to left,  #f9fafb, transparent); }
.dark .logos-bar__wrapper::before { background: linear-gradient(to right, #262626, transparent); }
.dark .logos-bar__wrapper::after  { background: linear-gradient(to left,  #262626, transparent); }

/* ─── CHAT MESSAGES ─── */
.msg {
  max-width: 80%; padding: 10px 14px; border-radius: 12px;
  font-size: .875rem; line-height: 1.5;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.msg.visible { opacity: 1; transform: translateY(0); }
.msg-in  { background: #f1f5f9; border-bottom-left-radius: 4px;  align-self: flex-start; color: #1e293b; }
.msg-out { background: linear-gradient(135deg, #1d4ed8, #2563eb); border-bottom-right-radius: 4px; align-self: flex-end; color: rgba(255,255,255,.95); }
.msg-time { font-size: .7rem; margin-top: 4px; }
.msg-in  .msg-time { text-align: left;  color: #94a3b8; }
.msg-out .msg-time { text-align: right; color: rgba(255,255,255,.5); }
.dark .msg-in       { background: #262626; color: #e5e7eb; }
.dark .msg-in .msg-time { color: #6b7280; }

/* ─── TYPING DOTS ─── */
.typing {
  display: none; gap: 4px; align-items: center;
  padding: 10px 14px; background: #f1f5f9;
  border-radius: 12px; border-bottom-left-radius: 4px;
  width: fit-content; align-self: flex-start;
}
.typing.visible { display: flex; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #94a3b8; animation: typing 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
.dark .typing       { background: #262626; }
.dark .typing span  { background: #6b7280; }

/* ─── CHAT TAG BADGE ─── */
.chat-tag {
  position: absolute; top: -14px; right: 20px;
  background: #22c55e; color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; z-index: 2;
}

/* ─── COOKIE BANNER ─── */
.cookie          { transform: translateY(120px); opacity: 0; transition: all .4s ease; }
.cookie.visible  { transform: translateY(0);     opacity: 1; }

/* ─── HERO AURORA GLOW ─── */
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.1) 0%, rgba(124,58,237,.05) 40%, transparent 70%);
  pointer-events: none; border-radius: 50%; filter: blur(40px);
}
.dark .hero-glow {
  background: radial-gradient(ellipse at center, rgba(37,99,235,.2) 0%, rgba(124,58,237,.1) 40%, transparent 70%);
}

/* ─── CTA GLOW ─── */
.cta-glow {
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none; border-radius: 50%;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
