/* ==========================================================================
   AURA STORE DESIGN SYSTEM & INFOGRAPHIC ANIMATIONS
   ========================================================================== */

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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --bg-primary: #0a0e17;
  --bg-secondary: #101726;
  --bg-card: rgba(19, 28, 48, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --glow-cyan: 0 0 30px rgba(0, 242, 254, 0.35);
  --glow-rose: 0 0 30px rgba(244, 63, 94, 0.35);
  --glow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-card);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #00f2fe 70%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-rose {
  background: linear-gradient(135deg, #ffffff 0%, #fb7185 60%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #34d399 70%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-glow {
  position: relative;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030a16;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.65);
}

.btn-glow-rose {
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.4);
}

.btn-glow-rose:hover {
  box-shadow: 0 0 40px rgba(244, 63, 94, 0.65);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Hotspots & Infographic Telemetry */
.hotspot-container {
  position: relative;
  overflow: visible;
}

.hotspot-beacon {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 30;
}

.hotspot-beacon .beacon-core {
  width: 14px;
  height: 14px;
  background: #00f2fe;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  box-shadow: 0 0 12px #00f2fe;
  transition: transform 0.2s ease;
}

.hotspot-beacon:hover .beacon-core {
  transform: scale(1.3);
  background: #ffffff;
}

.hotspot-beacon .beacon-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #00f2fe;
  border-radius: 50%;
  animation: beaconPulse 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.hotspot-beacon.rose .beacon-core {
  background: #f43f5e;
  box-shadow: 0 0 12px #f43f5e;
}
.hotspot-beacon.rose .beacon-ripple {
  border-color: #f43f5e;
}

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

.hotspot-tooltip {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 240px;
  background: rgba(13, 19, 33, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 12px 14px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.2);
  z-index: 40;
}

.hotspot-beacon:hover .hotspot-tooltip,
.hotspot-beacon.active .hotspot-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Infographic Metric Card */
.infographic-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.infographic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.infographic-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.15);
}

.infographic-card:hover::before {
  opacity: 1;
}

/* Sound Wave & Telemetry Canvas */
.telemetry-canvas {
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Badges */
.floating-badge {
  animation: floatUpDown 4s ease-in-out infinite;
}

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

/* Slide-over Cart Drawer */
#cartDrawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #0d1321;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

#cartDrawer.open {
  transform: translateX(0);
}

#cartOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cartOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Progress Bars */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f2fe, #10b981);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Live Purchase Toast */
#liveSalesToast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 80;
  max-width: 360px;
  background: rgba(16, 23, 38, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.3);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#liveSalesToast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0e17;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f2fe;
}

/* Image 3D Perspective Container */
.product-hero-preview {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1000px;
}
.product-hero-preview:hover img {
  transform: scale(1.04) rotate(1deg);
}
.product-hero-preview img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.6));
}

/* Order Tracking Timeline */
.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -20px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.timeline-step.completed::before {
  background: #10b981;
}
.timeline-step:last-child::before {
  display: none;
}
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  color: #94a3b8;
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}
.timeline-step.active .timeline-dot {
  background: #00f2fe;
  color: #030a16;
  border-color: #00f2fe;
  box-shadow: 0 0 15px #00f2fe;
}
.timeline-step.completed .timeline-dot {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* ==========================================================================
   TRANSPARENT ANIMATED INFOGRAPHIC FEATURES & LASER HUD
   ========================================================================== */
.glass-transparent-hud {
  background: rgba(10, 14, 23, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.05);
  position: relative;
  overflow: hidden;
}

.glass-transparent-hud::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(0, 242, 254, 0.08) 50%,
    transparent 55%
  );
  animation: hudShimmer 6s infinite linear;
  pointer-events: none;
}

@keyframes hudShimmer {
  0% { transform: translateY(-30%) rotate(0deg); }
  100% { transform: translateY(30%) rotate(360deg); }
}

.glass-feature-card {
  background: rgba(16, 23, 38, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(16, 23, 38, 0.85);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.35);
}

.laser-pointer-line {
  stroke-dasharray: 6 4;
  animation: laserStream 1.5s linear infinite;
}

@keyframes laserStream {
  0% { stroke-dashoffset: 20; }
  100% { stroke-dashoffset: 0; }
}

.laser-dot-glow {
  animation: laserDotPulse 1.8s infinite ease-in-out;
}

@keyframes laserDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
    filter: drop-shadow(0 0 4px #00f2fe);
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    filter: drop-shadow(0 0 12px #00f2fe);
  }
}

.floating-transparent-tag {
  background: rgba(0, 242, 254, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.2);
  animation: floatSubtle 4s ease-in-out infinite;
}

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

