/* ============================================================
   Purple Beauty Care — Custom Styles
   Luxury Beauty & Spa Palette: Royal Purple, Gold, Cream
   ============================================================ */

:root {
  --purple-primary: #6B21A8;
  --purple-light: #A855F7;
  --purple-dark: #3B0764;
  --purple-deep: #1e0a2e;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA820A;
  --rose-gold: #B76E79;
  --cream: #FDF8F0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #A855F7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6B21A8;
}

/* Glassmorphism Header */
#site-header {
  background: rgba(30, 10, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

#site-header.scrolled {
  background: rgba(26, 6, 40, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

/* Text Gradients */
.gradient-text {
  background: linear-gradient(135deg, #FFF6E5 0%, #F5D77F 45%, #D4AF37 80%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.gradient-purple-text {
  background: linear-gradient(135deg, #8B5CF6 0%, #C084FC 50%, #E9D5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Luxury Cards */
.hero-glass-card {
  background: rgba(24, 5, 36, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-glass-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

/* Ambient Radial Glows */
.hero-ambient-glow {
  background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.25) 0%, rgba(107, 33, 168, 0.15) 35%, transparent 70%);
}

/* Luxury Buttons */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA820A 100%);
  color: #1e0a2e;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-purple {
  background: linear-gradient(135deg, #6B21A8 0%, #8B5CF6 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 33, 168, 0.5);
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
}

.btn-outline-gold {
  border: 1.5px solid #D4AF37;
  color: #D4AF37;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: #D4AF37;
  color: #1e0a2e;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Nav Links Underline Effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #D4AF37;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 70%;
}

.nav-link--active {
  color: #D4AF37 !important;
}

/* Mobile Nav Menu */
.mobile-menu-panel {
  background: rgba(26, 6, 40, 0.98);
  backdrop-filter: blur(16px);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link--active {
  background: rgba(107, 33, 168, 0.4);
  color: #D4AF37;
}

/* Luxury Cards */
.card-luxury {
  background: #ffffff;
  border: 1px solid rgba(107, 33, 168, 0.08);
  box-shadow: 0 4px 20px rgba(107, 33, 168, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(107, 33, 168, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
}

/* Section Dividers */
.gold-divider {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Hero Section */
.hero-glow {
  background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.7); }
}

.pulse-gold {
  animation: pulseGlow 3s infinite;
}

/* WhatsApp Floating Widget Animations */
@keyframes waPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.wa-pulse-btn {
  animation: waPulse 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-pulse-btn:hover {
  animation: none;
  transform: scale(1.1);
}

/* ============================================================
   Luxury Animated Hero Section Styles & Keyframes
   ============================================================ */

/* Liquid Gold Shimmer Text */
@keyframes goldShimmerSweep {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-shimmer-text {
  background: linear-gradient(
    90deg,
    #D4AF37 0%,
    #FFF4D0 25%,
    #D4AF37 50%,
    #F3E5AB 75%,
    #D4AF37 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 5s linear infinite;
  display: inline-block;
}

/* Golden Hour Pulsing Glow for Primary CTA */
@keyframes goldenHourPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 45px rgba(168, 85, 247, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.75), 0 0 65px rgba(212, 175, 55, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  }
}

.btn-hero-primary {
  position: relative;
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #B8860B 100%);
  color: #1a0526;
  font-weight: 700;
  animation: goldenHourPulse 3.5s infinite ease-in-out;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

/* Micro Sparkle Light Sweep */
.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 65%
  );
  transform: rotate(25deg) translateY(-100%);
  animation: sparkleSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes sparkleSweep {
  0% {
    transform: rotate(25deg) translateY(-120%);
  }
  30%, 100% {
    transform: rotate(25deg) translateY(120%);
  }
}

/* Secondary CTA Shift from Outline to Filled Gradient */
.btn-hero-secondary {
  position: relative;
  background: rgba(30, 8, 45, 0.6);
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  color: #F3E5AB;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.btn-hero-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.8) 0%, rgba(107, 33, 168, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn-hero-secondary:hover::before {
  opacity: 1;
}

.btn-hero-secondary:hover {
  border-color: rgba(212, 175, 55, 0.95);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 33, 168, 0.4);
}

.btn-hero-secondary > * {
  position: relative;
  z-index: 1;
}

/* Subtle Top Badge Glow */
@keyframes badgeSoftGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.hero-badge-glow {
  animation: badgeSoftGlow 4s infinite ease-in-out;
}

/* Staggered Entrance Animations */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-badge {
  opacity: 0;
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-fade-title {
  opacity: 0;
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-fade-sub {
  opacity: 0;
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-fade-cta {
  opacity: 0;
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-fade-stats {
  opacity: 0;
  animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

/* Floating Particle Canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

