/* ============================
   Attendify - Shared Styles
   ============================ */

/* Smooth scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #4F46E5 #e0e7ff;
  scroll-behavior: smooth;
}

/* Fade in animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover */
.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -12px rgba(79, 70, 229, 0.15);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #4F46E5, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero animated gradient */
.hero-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #3730a3 50%, #1e3a5f 75%, #064e3b 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating elements */
.floating {
  animation: float 6s ease-in-out infinite;
}
.floating-delay {
  animation: float 6s ease-in-out 2s infinite;
}
.floating-delay-2 {
  animation: float 8s ease-in-out 4s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Pulse ring for badges */
.pulse-ring {
  animation: pulseRing 2.5s ease infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3); }
  70% { box-shadow: 0 0 0 14px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Feature icon hover */
.icon-box {
  transition: all 0.3s ease;
}
.icon-box:hover {
  transform: scale(1.1);
}

/* Section divider wave - removed */

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer.open {
  max-height: 500px;
}


/* Testimonial card - removed fake testimonials */

/* Mobile menu animation */
.mobile-menu-enter {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav active link */
.nav-active {
  color: #4F46E5;
  border-bottom: 2px solid #4F46E5;
  padding-bottom: 2px;
}

/* Industry card overlay */
.industry-card {
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 27, 75, 0.85) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}
.industry-card:hover::before {
  background: linear-gradient(180deg, transparent 20%, rgba(79, 70, 229, 0.9) 100%);
}
.industry-card .card-content {
  position: relative;
  z-index: 2;
}

/* Pricing toggle */
.pricing-card {
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
}

/* Button shine effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
}
.btn-shine:hover::after {
  left: 100%;
}

/* Marquee for partners */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee {
  animation: marquee 30s linear infinite;
}
.marquee:hover {
  animation-play-state: paused;
}

/* Feature row hover in comparison table */
.feature-row {
  transition: background-color 0.2s ease;
}
.feature-row:hover {
  background-color: #f8fafc;
}
