/* ==========================================================================
   PilesVeda - Custom Ayurvedic Design Stylesheet
   Brand: Jivan Shakti Ayurveda
   Domain: pilescare.jivanshaktiayurveda.com
   ========================================================================== */

:root {
  --color-primary-dark: #14532D;
  --color-primary: #166534;
  --color-primary-light: #F0FDF4;
  --color-cream: #FFFBEB;
  --color-gold: #B8860B;
  --color-gold-light: #FDF6E2;
  --color-text-dark: #1F2937;
  --color-text-muted: #4B5563;
  --color-accent-amber: #D97706;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text-dark);
  background-color: #FBFDFB;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle botanical leaf pattern background for Ayurvedic aesthetic */
.bg-ayurvedic-pattern {
  background-color: #FFFBEB;
  background-image: radial-gradient(#166534 0.65px, transparent 0.65px), radial-gradient(#B8860B 0.65px, #FFFBEB 0.65px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  background-opacity: 0.05;
}

.bg-leaf-soft {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFBEB 100%);
}

.border-gold {
  border-color: #D4AF37;
}

.badge-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #F59E0B;
  color: #92400E;
}

/* Shimmer / Glow Pulse on Main CTA */
@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(22, 101, 52, 0);
    transform: scale(1.02);
  }
}

.btn-pulse {
  animation: cta-pulse 3s infinite ease-in-out;
}

/* Smooth Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s ease-in, opacity 0.35s ease-in;
}

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Product Card Highlight */
.product-card {
  transition: all 0.3s ease-in-out;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -5px rgba(20, 83, 45, 0.15), 0 10px 10px -5px rgba(20, 83, 45, 0.04);
}

/* Trust Badges & Checkmarks */
.check-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #DCFCE7;
  color: #15803D;
  flex-shrink: 0;
}

/* Mobile Sticky Bar safe padding to prevent covering content */
.has-sticky-bar {
  padding-bottom: 84px;
}

@media (min-width: 768px) {
  .has-sticky-bar {
    padding-bottom: 0;
  }
}

/* Policy Modal Backdrop and Container */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

/* Reference Hero Banner Ribbon Styling */
.banner-ribbon {
  background: #A6192E;
  clip-path: polygon(24px 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
  font-family: 'Caveat', cursive, sans-serif;
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .banner-ribbon {
    clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  }
}
