/* Scroll reveal animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ marker override */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-foreground); }

/* Glass header */
.glass-header {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Subtle gradient line accent */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

/* Hero decorative blob */
.hero-blob {
  position: absolute !important;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

/* Card lift on hover */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
}

/* FAQ open accent */
details[open] > summary {
  color: var(--brand);
}

/* Stat counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.stat-item.visible {
  animation: countUp 0.5s ease forwards;
}

/* Smooth image-like brand hover */
.brand-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-card:hover {
  transform: translateY(-2px);
}

/* Grid background for hero & page headers */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(2,132,199,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2,132,199,0.06) 1px, transparent 1px),
    radial-gradient(circle 600px at 100% 50%, rgba(56,189,248,0.1), transparent);
  background-size: 96px 64px, 96px 64px, 100% 100%;
}
.grid-bg > * {
  position: relative;
  z-index: 1;
}

/* Logo carousel infinite scroll */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
