/* ═══════════════════════════════════════════
   CUSTOM LANDING — GLASSMORPHISM & GRID
   Additional styles for premium feel
   ═══════════════════════════════════════════ */

/* Grid dot pattern background for sections */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(0, 80, 213, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Noise texture overlay for depth */
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Custom container wider */
.custom-container {
  max-width: 1200px;
}

/* Animated counter numbers */
.counter-number {
  font-variant-numeric: tabular-nums;
}

/* Smooth image loading */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7bb0ff, #1e73f2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4a8dff, #0050d5);
}

/* Glow line separator */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 80, 213, 0.3), transparent);
  border: none;
  margin: 0;
}

/* Interactive hover lift for all sections */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12);
}

/* Gradient text utility */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulse animation for live indicator */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.3);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(0.8); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0; }
}

/* Avatar overlap utility */
.avatar-group {
  display: flex;
}

.avatar-group > * + * {
  margin-left: -0.5rem;
}

/* Feature section background */
.features-bg {
  background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 50%, var(--bg-light) 100%);
}

/* Stat counter animation */
@keyframes count-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-animate {
  animation: count-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

/* Testimonial card quote icon */
.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(0, 80, 213, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Chart bar animation */
.chart-bar {
  transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Feature grid stagger animation */
.feature-box:nth-child(1) { transition-delay: 0s; }
.feature-box:nth-child(2) { transition-delay: 0.05s; }
.feature-box:nth-child(3) { transition-delay: 0.1s; }
.feature-box:nth-child(4) { transition-delay: 0.15s; }
.feature-box:nth-child(5) { transition-delay: 0.2s; }
.feature-box:nth-child(6) { transition-delay: 0.25s; }
.feature-box:nth-child(7) { transition-delay: 0.3s; }
.feature-box:nth-child(8) { transition-delay: 0.35s; }
