:root {
  --red: #ef4444;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(127, 29, 29, 0.35), transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(69, 10, 10, 0.4), transparent 45%),
    #08080a;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* grid background pattern */
.bg-grid {
  background-image:
    linear-gradient(rgba(239, 68, 68, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.5) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* animated glow orbs */
@keyframes pulseSlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
.animate-pulse-slow { animation: pulseSlow 6s ease-in-out infinite; }

@keyframes pingSlow {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}
.animate-ping-slow { animation: pingSlow 1.8s ease-out infinite; }

/* CTA pulsing glow */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 10px 30px -5px rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 10px 45px 2px rgba(239, 68, 68, 0.75); }
}
.cta-glow { animation: ctaGlow 2.6s ease-in-out infinite; }

/* hero staggered reveal */
@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* pricing grid fade on tab switch */
@keyframes fadeGrid {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-grid { animation: fadeGrid 0.45s ease-out; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#dc2626, #7f1d1d);
  border-radius: 10px;
}

::selection { background: rgba(239, 68, 68, 0.4); color: #fff; }