/* ==========================================================================
   Aznova Digital — Master Design System & Custom Cursor CSS
   ========================================================================== */

/* Custom Interactive Cursor Styling */
#az-cursor-dot {
  position: fixed;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background-color: #00c896;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.2s ease, transform 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 200, 150, 0.8);
}

#az-cursor-ring {
  position: fixed;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(0, 200, 150, 0.5);
  background-color: rgba(0, 200, 150, 0.05);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#az-cursor-ring.az-cursor-hover {
  border-color: #00c896;
  background-color: rgba(0, 200, 150, 0.15);
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.3);
}

#az-cursor-dot.az-cursor-hover {
  background-color: #10b981;
  transform: scale(1.4);
}

/* Hide default cursor on desktop when custom cursor is active */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea {
    cursor: default;
  }
}

/* Base Layout & Utilities */
html {
  scroll-behavior: smooth;
  font-family: 'Manrope', sans-serif;
  color: #121816;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
}

/* Floating animation for badge cards */
@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.az-float {
  animation: floatBadge 4s ease-in-out infinite;
}

/* Hover Animations */
.az-lift {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.az-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(0, 200, 150, 0.15);
}

/* Underline Animation */
.az-underline {
  position: relative;
  display: inline-block;
}

.az-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #00c896;
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.az-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Keyframes */
@keyframes azFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.az-fade-up {
  animation: azFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Accordion styling for FAQ */
.az-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.az-accordion-content.open {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}