/* 
  Premium Skincare Bundle Landing Page - Custom Styling
  Designed to supplement Tailwind utility classes with smooth interactive animations, transitions, and bespoke luxury details.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --color-cream-light: #FDFBF7;
  --color-cream-dark: #FAF6F0;
  --color-rose-light: #F6ECEE;
  --color-rose-medium: #E8C5C8;
  --color-rose-dark: #C48B9F;
  --color-accent: #D4A5B8;
  --color-charcoal: #2D2D2A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream-light);
  color: var(--color-charcoal);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

/* --- Interactive FAQ Accordion Transitions --- */
.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 300px; /* Large enough to house content */
  opacity: 1;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* --- Sticky Header Shop Now Button --- */
.sticky-shop-btn {
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-shop-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Conversion CTA Pulse Glow Animation --- */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 165, 184, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 165, 184, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 165, 184, 0);
    transform: scale(1);
  }
}

.pulse-cta {
  animation: pulse-glow 2.5s infinite ease-in-out;
}

/* --- Before/After Image Sliders and Overlays --- */
.before-after-overlay {
  background: rgba(45, 45, 42, 0.15);
  backdrop-filter: blur(2px);
  transition: backdrop-filter 0.3s, background 0.3s;
}

.before-after-card:hover .before-after-overlay {
  background: rgba(45, 45, 42, 0.05);
  backdrop-filter: blur(0px);
}

/* --- Custom Custom Inputs (Checkout Form) --- */
.form-input {
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-rose-dark);
  box-shadow: 0 0 0 3px rgba(212, 165, 184, 0.2);
}

/* --- Selection Highlights for Product Bundles --- */
.bundle-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bundle-card.selected {
  border-color: var(--color-accent);
  box-shadow: 0 10px 25px -5px rgba(212, 165, 184, 0.3);
  transform: translateY(-2px);
}

/* Custom badges */
.luxury-gradient {
  background: linear-gradient(135deg, #FAF6F0 0%, #F6ECEE 50%, #EAD1DC 100%);
}

.glass-nav {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 197, 200, 0.25);
}
