/* ==========================================
   Dt. Tarannum Malik PCOS Holistic Nutrition
   21st.dev Inspired Modern Theme Styling
========================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Josefin+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Curated Unified Lavender Purple Theme */
  --sage-primary: 270, 80%, 78%;      /* Custom Light Lavender Purple (#CE9FFC) */
  --sage-dark: 270, 40%, 12%;         /* Rich Dark Plum-Black (#190F24) */
  --sage-light: 270, 30%, 95%;        /* Calming Soft Lilac-Grey (#F5F1FA) */
  
  --blush-accent: 330, 50%, 78%;      /* Elegant Orchid-Rose Pink (#E6A3C0) */
  --blush-light: 330, 40%, 97%;       /* Soft Rose-Mist Mist (#FAF0F4) */
  
  --cream-bg: 38, 30%, 97%;           /* Cozy Soothing Butter-Cream (#FAF6F0) */
  --gold-accent: 270, 80%, 78%;       /* Replaced gold accent with primary lavender purple! */
  
  --white: 0, 0%, 100%;
  --charcoal: 270, 20%, 12%;          /* Cohesive Plum-Charcoal (#1F1924) */
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px -10px rgba(44, 28, 46, 0.08), 0 1px 3px rgba(44, 28, 46, 0.02);
  --shadow-glowing: 0 0 20px 0px rgba(206, 159, 252, 0.25);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--cream-bg));
  color: hsl(var(--charcoal));
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================
   21st.dev Premium Core Utility Styling
========================================== */

/* Glassmorphism Accents */
.glassmorphic {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glassmorphic-dark {
  background: rgba(28, 46, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glowing Elements */
.glowing-sage {
  box-shadow: 0 0 30px rgba(206, 159, 252, 0.35);
}

.glowing-gold {
  box-shadow: 0 0 25px rgba(206, 159, 252, 0.4);
}

/* Bento Cards Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
  }
}

/* Custom Interactive Micro-Animations */
.hover-premium-lift {
  transition: var(--transition-smooth);
}
.hover-premium-lift:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(28, 46, 36, 0.12);
}

.hover-glow:hover {
  border-color: hsl(var(--sage-primary));
  box-shadow: 0 0 25px rgba(206, 159, 252, 0.2);
}

/* Button Pulse Animation */
.animate-pulse-slow {
  animation: pulse-slow 2s infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(206, 159, 252, 0.4);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 12px rgba(206, 159, 252, 0);
  }
}

/* Masonry Grid for WhatsApp transformation reviews */
.masonry-grid {
  column-count: 3;
  column-gap: 1.25rem;
}
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.25rem;
  break-inside: avoid;
}

/* Process Vertical Timeline */
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, hsl(var(--sage-primary)) 30%, rgba(143, 168, 155, 0.15) 30%);
  background-size: 100% 200%;
  background-position: 0% 100%;
  transition: background-position 0.6s ease;
}

.timeline-step.active .timeline-node {
  background-color: hsl(var(--gold-accent));
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  border-color: hsl(var(--cream-bg));
  transform: scale(1.2);
}

.timeline-step.active .timeline-content {
  border-color: hsl(var(--sage-primary));
  background-color: hsl(var(--white));
}

/* Custom Play Button Pulsate Indicator */
.play-btn-glow {
  animation: play-pulsate 1.5s infinite;
}

@keyframes play-pulsate {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Accordion Smooth Slider */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  color: hsl(var(--sage-primary));
}

/* Stepped Booking Modal Styles */
.step-container {
  display: none;
}
.step-container.active {
  display: block;
  animation: fade-in-step 0.35s ease-out;
}

@keyframes fade-in-step {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
