/* Pricing Theme: Grid background, glassmorphism, and liquid blobs */

/* Section wrapper with subtle radial glow so glass stands out */
.pricing-section-modern {
  position: relative;
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(124,58,237,0.08), transparent 40%),
    radial-gradient(900px 600px at 110% 0%, rgba(59,130,246,0.06), transparent 40%);
}

/* Grid overlay (use on a container or section) */
.grid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.08) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
  background-position: center center;
  mask-image: radial-gradient(closest-side at 50% 50%, rgba(0,0,0,0.35), transparent 65%);
}

/* Glass cards (scoped to pricing so it doesn't affect other pages unintentionally) */
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
}

/* Optional hover glow */
.hover-glow {
  transition: box-shadow .3s ease, transform .3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 40px rgba(124,58,237,0.25);
  transform: translateY(-2px);
}

/* Liquid blobs for background ambiance */
.liquid-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  filter: blur(40px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: blobFlow 18s ease-in-out infinite;
}
.liquid-blob.blob-1 {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,0.55), rgba(124,58,237,0.2) 45%, transparent 65%);
}
.liquid-blob.blob-2 {
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle at 70% 60%, rgba(59,130,246,0.45), rgba(59,130,246,0.18) 45%, transparent 65%);
  animation-delay: 4s;
}

@keyframes blobFlow {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33% { transform: translate(30px,-20px) rotate(10deg) scale(1.05); }
  66% { transform: translate(-25px,25px) rotate(-8deg) scale(0.98); }
}

/* Plan icon helper */
.plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
}


