html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #F8FAFC;
  color: #4B5563;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ---------- Scroll-reveal (replaces framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25,0.4,0.25,1), transform 0.6s cubic-bezier(0.25,0.4,0.25,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Spinning conic-gradient border glow (replaces animate-[spin_4s_linear_infinite]) ---------- */
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.spin-border {
  animation: spin-slow 4s linear infinite;
}
.spin-border-fast {
  animation: spin-slow 2.5s linear infinite;
}

/* ---------- Vertical marquee columns (Capabilities section) ---------- */
@keyframes marquee-up {
  from { transform: translateY(0%); }
  to   { transform: translateY(-50%); }
}
@keyframes marquee-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0%); }
}
.marquee-col-up {
  animation: marquee-up 120s linear infinite;
}
.marquee-col-down {
  animation: marquee-down 120s linear infinite;
}
.marquee-col-up:hover, .marquee-col-down:hover {
  animation-play-state: paused;
}

/* ---------- Horizontal marquee (Industries section) ---------- */
@keyframes marquee-left {
  from { transform: translateX(0%); }
  to   { transform: translateX(-33.333%); }
}
.marquee-row {
  animation: marquee-left 40s linear infinite;
}

/* ---------- Shimmer sweep on hover ---------- */
.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 1s ease-in-out;
  pointer-events: none;
}
.group:hover .shimmer::after {
  transform: translateX(100%);
}

/* ---------- Ambient float animation (hero floating badges) ---------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-y { animation: float-y 4s ease-in-out infinite; }
.float-y-delay { animation: float-y 5s ease-in-out infinite 1s; }

/* ---------- Ambient pulse blobs (hero background) ---------- */
@keyframes blob-pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.2); opacity: 0.25; }
}
.blob-pulse { animation: blob-pulse 8s ease-in-out infinite; }

/* ---------- FAQ accordion ---------- */
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.04,0.62,0.23,0.98);
}
.accordion-body.open {
  grid-template-rows: 1fr;
}
.accordion-body > div { overflow: hidden; }

/* ---------- Ping (live indicator dot) ---------- */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping-dot { animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }
