@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Sora:wght@400;600;700;800&family=Urbanist:wght@400;500;600;700;800;900&family=Yantramanav:wght@400;500;700;900&display=swap');

:root {
  --primary-green: #059669;
  --dark-green: #064e3b;
  --emerald-accent: #10b981;
  --gold-accent: #f59e0b;
  --water-blue: #0284c7;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Urbanist', 'Yantramanav', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Urbanist', 'Sora', sans-serif;
  letter-spacing: -0.02em;
}

/* Complete Scrollbar Removal (Clean App UI while keeping smooth scroll) */
html, body, * {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
}

/* Seamless Background Video - Hide Native Controls & Overlays */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

video {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}



/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Glow Text */
.text-glow-emerald {
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.4), 0 0 50px rgba(5, 150, 105, 0.2);
}

.text-glow-gold {
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

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

.animate-float-2 {
  animation: float 5s ease-in-out 1s infinite;
}

.animate-float-3 {
  animation: float 4.5s ease-in-out 2s infinite;
}

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

/* Product Card Transitions */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
}

/* Badge Pulse */
.live-dot {
  position: relative;
}
.live-dot::before {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 9999px;
  background-color: inherit;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

/* Mobile Tap & UX Optimizations */
* {
  -webkit-tap-highlight-color: transparent;
}

.safe-bottom {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.mobile-tap-active:active {
  transform: scale(0.96);
  transition: transform 0.15s ease;
}

/* Shimmer Animation for Badges and CTA */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.animate-shimmer {
  position: relative;
  overflow: hidden;
}
.animate-shimmer::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2.5s infinite;
}

/* Print Styles for Proforma Invoice */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-invoice, #printable-invoice * {
    visibility: visible;
  }
  #printable-invoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white;
    color: black;
  }
  .no-print {
    display: none !important;
  }
}
