/* ─── Animated backgrounds ─────────────────────────────────────────────── */
.ob-mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ob-mesh-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: ob-float 18s ease-in-out infinite;
}

.ob-mesh-bg__orb--1 {
  width: 520px; height: 520px;
  top: -180px; right: -80px;
  background: radial-gradient(circle, #0a84ff, transparent 68%);
}

.ob-mesh-bg__orb--2 {
  width: 420px; height: 420px;
  bottom: -120px; left: -60px;
  background: radial-gradient(circle, #5e5ce6, transparent 68%);
  animation-delay: -6s;
}

.ob-mesh-bg__orb--3 {
  width: 300px; height: 300px;
  top: 40%; left: 35%;
  background: radial-gradient(circle, #64d2ff, transparent 70%);
  animation-delay: -12s;
  opacity: 0.35;
}

.ob-mesh-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.ob-mesh-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes ob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -20px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.96); }
}

@keyframes ob-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}

@keyframes ob-shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes ob-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Shine on hover */
.ob-shine {
  position: relative;
  overflow: hidden;
}

.ob-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ob-ease);
}

.ob-shine:hover::after { transform: translateX(120%); }

/* Magnetic glow card */
.ob-glow-card {
  position: relative;
  border-radius: var(--ob-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.45s var(--ob-ease), box-shadow 0.45s var(--ob-ease), border-color 0.45s ease;
}

.ob-glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(100,210,255,.4), rgba(10,132,255,.2), rgba(94,92,230,.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ob-glow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ob-shadow-glow);
}

.ob-glow-card:hover::before { opacity: 1; }

/* Marquee strip */
.ob-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ob-marquee__track {
  display: flex;
  width: max-content;
  animation: ob-marquee 40s linear infinite;
  will-change: transform;
}

.ob-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.ob-marquee__track:hover { animation-play-state: paused; }

.ob-marquee__item {
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.ob-marquee__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  height: auto;
  min-height: auto;
  padding: 10px 32px;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: transform 0.35s var(--ob-ease), opacity 0.35s ease;
}

.ob-marquee__brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
}

.ob-marquee__brand-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  filter: var(--ob-marquee-icon, grayscale(1) brightness(1.35) opacity(0.5));
  transition: filter 0.35s ease, transform 0.35s var(--ob-ease);
}

.ob-marquee__brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ob-marquee-name, rgba(245, 245, 247, 0.42));
  white-space: nowrap;
  transition: color 0.35s ease;
}

.ob-marquee__track:hover .ob-marquee__brand {
  background: transparent;
}

.ob-marquee__brand:hover {
  transform: translateY(-2px);
  background: transparent;
  border-color: transparent;
}

.ob-marquee__brand:hover .ob-marquee__brand-icon svg {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.06);
}

.ob-marquee__brand:hover .ob-marquee__brand-name {
  color: var(--ob-marquee-name-hover, rgba(245, 245, 247, 0.92));
}

.ob-marquee__logo {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

@keyframes ob-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.ob-shake {
  animation: ob-shake 0.45s ease;
}

/* Counter */
[data-counter] { font-variant-numeric: tabular-nums; }
