* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

::selection {
  background-color: rgba(13, 71, 161, 0.15);
  color: #0D47A1;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(13, 71, 161, 0.08); }
  50% { box-shadow: 0 0 40px rgba(13, 71, 161, 0.18); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

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

.animate-float {
  animation: float 4.5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-zoom-pulse {
  animation: zoomPulse 6s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 0.5s ease-out forwards;
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

.hero-mockup {
  animation: float 4.5s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
}

.hero-bg {
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

.carousel-track {
  will-change: transform;
}

.carousel-dot {
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  color: #64748B;
}

.nav-link:hover {
  background-color: #F1F5F9;
  color: #0D47A1;
}

.nav-active {
  background-color: rgba(13, 71, 161, 0.1);
  color: #0D47A1;
}

.carousel-dot:hover {
  transform: scale(1.3);
}

.tier-btn {
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 90px;
}

.tier-btn:hover:not(.bg-\\[\\#0D47A1\\]) {
  border-color: rgba(13, 71, 161, 0.3);
  transform: translateY(-1px);
}

.pricing-card {
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
