/* VindhyaStore — Custom Premium Aesthetics & Animations */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gold: #E59819;
  --primary-dark-gold: #C3830B;
  --primary-glow: rgba(229, 152, 25, 0.35);
  --accent-green: #16A34A;
  --accent-green-soft: #DCFCE7;
  --dark-bg: #0B0F17;
  --surface-dark: #131B2B;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #C3830B;
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.glass-card-dark {
  background: rgba(19, 27, 43, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #E59819 0%, #D97706 50%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #16A34A 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
  background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Card Glows */
.gold-glow-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 10px 25px -3px rgba(217, 119, 6, 0.4), 0 4px 6px -4px rgba(217, 119, 6, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-glow-btn:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  box-shadow: 0 16px 32px -4px rgba(217, 119, 6, 0.5), 0 6px 12px -4px rgba(217, 119, 6, 0.3);
  transform: translateY(-2px);
}

.gold-glow-btn:active {
  transform: translateY(0);
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatFast {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes shine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes liveDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.4;
  }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-fast {
  animation: floatFast 3.5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.live-dot {
  animation: liveDot 1.8s infinite ease-in-out;
}

.ripple-effect::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ripple 2s infinite;
  z-index: -1;
}

/* Phone Mockup Frame */
.phone-mockup {
  position: relative;
  width: 310px;
  height: 630px;
  background: #0A0F1D;
  border-radius: 46px;
  border: 11px solid #1E293B;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35),
              0 0 0 2px rgba(255, 255, 255, 0.15) inset,
              0 0 40px rgba(229, 152, 25, 0.2);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8FAFC;
  overflow-y: auto;
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #0F172A;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

/* Interactive Category Cards */
.cat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.08);
}

/* Product Card */
.product-card {
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #FCD34D;
  box-shadow: 0 12px 24px -6px rgba(217, 119, 6, 0.15);
}

/* Badge Pulse */
.badge-express {
  background: linear-gradient(90deg, #16A34A 0%, #15803D 100%);
  color: white;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.35);
}

/* Map Grid Pattern */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.bg-grid-dark {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Accordion Smooth Styles */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.accordion-content.open {
  opacity: 1;
}

/* Floating Live Notification */
.live-toast {
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
}
.live-toast.show {
  transform: translateY(0);
  opacity: 1;
}
