/* ===== BASE ===== */
* {
  font-family: "Inter", sans-serif;
}
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.animate-pulse-soft {
  animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
.badge-shine {
  background: linear-gradient(
    90deg,
    #fff7ed 0%,
    #ffedd5 25%,
    #fed7aa 50%,
    #ffedd5 75%,
    #fff7ed 100%
  );
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}
.toast-in {
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-out {
  animation: slideOutRight 0.3s ease forwards;
}

/* ===== NAVIGATION ===== */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* ===== COMPONENTS ===== */
.service-card {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(234, 88, 12, 0.1);
  border-color: #fed7aa;
}
.service-card:hover .service-icon {
  background: #ea580c;
  color: white;
  transform: scale(1.1);
}
.service-icon {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    padding 0.3s ease;
}
.faq-answer.open {
  max-height: 300px;
}
.faq-chevron {
  transition: transform 0.3s ease;
}
.faq-chevron.rotated {
  transform: rotate(180deg);
}

/* ===== LEGAL PAGES ===== */
.legal-section + .legal-section {
  border-top: 1px solid #f5f5f4;
  padding-top: 2rem;
  margin-top: 2rem;
}
.legal-section h3 {
  font-weight: 500;
  color: #292524;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ===== ACTIVE NAV LINK ===== */
.nav-active {
  color: #ea580c !important; /* orange-600 */
  font-weight: 600;
}
