/* ==========================================================================
   REDKO DETERGENT - MASTER RESPONSIVE & MODERN MINIMALIST STYLESHEET
   Engineered for high performance, smooth mobile touch, and crisp aesthetics.
   ========================================================================== */

/* Modern CSS Reset & Fluid Typography */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  background-color: #f8fafc;
  color: #1e293b;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Prevent auto-zoom on iOS inputs */
input, select, textarea {
  font-size: 16px !important;
}

/* Glassmorphic Surfaces */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
  background: rgba(2, 43, 95, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Subtle Card Glow & Elevation */
.card-hover-effect {
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.25s ease;
}

.card-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(2, 62, 138, 0.12), 0 8px 16px -6px rgba(0, 119, 182, 0.08);
}

/* Animations */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatLevitate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

@keyframes bubbleFloat {
  0% {
    transform: translateY(40px) scale(0.6);
    opacity: 0;
  }
  40% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-80px) scale(1.1);
    opacity: 0;
  }
}

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

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

.bubble-particle {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(56, 189, 248, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  animation: bubbleFloat 6s ease-in-out infinite;
}

/* Creative Product Podium & Floating Badges */
.hero-product-stage {
  position: relative;
  border-radius: 2rem;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 119, 182, 0.28) 0%, rgba(3, 43, 95, 0.15) 50%, transparent 75%);
}

.hero-podium-disk {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.45) 0%, rgba(2, 62, 138, 0.3) 50%, transparent 80%);
  filter: blur(8px);
}

.hero-floating-badge {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 15px rgba(56, 189, 248, 0.15);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-floating-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.3);
}

.hero-tab-btn {
  transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-tab-btn.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(56, 189, 248, 0.4);
}

/* Touch Carousels & Snap Scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.snap-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.snap-card-item {
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* Slider Dots */
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 24px;
  background-color: #38bdf8;
}

/* Product Carousel Indicators */
.product-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #cbd5e1;
  transition: all 0.3s ease;
}

.product-dot.active {
  width: 20px;
  background-color: #0077b6;
}

/* Safe Area Insets for Mobile Browsers */
.safe-bottom-dock {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.safe-floating-whatsapp {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .safe-floating-whatsapp {
    bottom: 2rem;
  }
}

/* Touch Tap Target Size (Accessibility & Mobile Ergonomics) */
.touch-target {
  min-height: 44px;
  min-width: 44px;
}

/* High-Converting Floating Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #011938;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90vw;
  text-align: center;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
