/* ============================================================
   Loophack — Brand CSS Custom Properties
   ============================================================ */

:root {
  --color-brand-dark:    #1A0A3C;
  --color-brand-purple:  #4B0082;
  --color-brand-pink:    #C060B0;
  --color-brand-mid:     #7B2FBE;
  --color-accent-green:  #25D366;
  --color-accent-orange: #FF6B35;
  --color-bg-light:      #F8F6FF;
  --color-bg-dark:       #0D0620;
}

.bg-brand-gradient {
  background: linear-gradient(135deg, #4B0082, #C060B0);
}

.text-brand-gradient {
  background: linear-gradient(135deg, #4B0082, #C060B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Loophack — Custom CSS
   Supplements Tailwind CDN with animations and effects that
   cannot be expressed with utility classes alone.
   ============================================================ */

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Navbar shadow applied via JS when user scrolls past 20 px */
.navbar-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Hero section gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0D0620 0%, #1A0A3C 50%, #1A0A3C 100%);
}

/* WhatsApp green pulse (use on floating WA buttons, icons, etc.) */
.whatsapp-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* Fade-in-up entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Staggered delays for lists of fade-in-up elements */
.fade-in-up-1 { animation-delay: 0.1s; opacity: 0; animation: fadeInUp 0.6s ease-out 0.1s forwards; }
.fade-in-up-2 { animation-delay: 0.2s; opacity: 0; animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.fade-in-up-3 { animation-delay: 0.3s; opacity: 0; animation: fadeInUp 0.6s ease-out 0.3s forwards; }
.fade-in-up-4 { animation-delay: 0.4s; opacity: 0; animation: fadeInUp 0.6s ease-out 0.4s forwards; }

/* Text gradient (green → orange) */
.text-gradient {
  background: linear-gradient(135deg, #25D366, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* WhatsApp green gradient fill */
.gradient-wa {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Subtle card hover lift — add to any card element */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* FAQ accordion content transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
}
