/* ==========================================================================
   StreamCraft Pro — Apex Luxury SaaS Design System & Micro-Interactions
   ========================================================================== */

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

:root {
  --bg-deep: #020612;
  --bg-surface: #060b18;
  --bg-card: rgba(11, 19, 38, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.4);
  
  --emerald-neon: #10b981;
  --blue-neon: #3b82f6;
  --gold-neon: #f59e0b;
  --orange-neon: #f97316;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-deep);
  color: #f8fafc;
  font-family: 'Outfit', 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  letter-spacing: -0.015em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
  letter-spacing: -0.025em;
}

/* Ambient Cyber Mesh & Radial Glow Orbs with organic breathing drift */
.cyber-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 88% 20%, rgba(139, 92, 246, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 40%);
  animation: ambient-drift 22s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.04) translate(-1%, 1%); }
  100% { transform: scale(1) translate(0, 0); }
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

/* Luxury Glassmorphic Panels */
.premium-glass {
  background: linear-gradient(135deg, rgba(13, 22, 44, 0.75) 0%, rgba(7, 12, 25, 0.9) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-glass:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.9);
}

/* Interactive Spotlight Card (Mouse Tracking) */
.spotlight-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 21, 41, 0.8) 0%, rgba(8, 14, 28, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.07),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

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

.spotlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.8);
}

/* Plan Specific Cards with Bespoke Luxury Borders matching Production Reference */
.plan-showcase-card {
  position: relative;
  background: linear-gradient(180deg, #0b152d 0%, #060c1c 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.22);
  border-radius: 28px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.75);
}

.plan-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 30px 70px -10px rgba(29, 78, 216, 0.35);
}

.plan-showcase-popular {
  border: 2px solid #facc15 !important;
  box-shadow: 0 20px 55px -6px rgba(250, 204, 21, 0.25) !important;
}

.plan-showcase-popular:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #fde047 !important;
  box-shadow: 0 35px 85px -10px rgba(250, 204, 21, 0.45) !important;
}

/* Floating Yellow Pill Badges */
.badge-yellow-pill {
  background: #facc15;
  color: #0b1120;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Interactive Plan Action Buttons */
.btn-plan-blue {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 14px;
  padding: 13px 20px;
  text-align: center;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -4px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-plan-blue:hover {
  background: #1d4ed8;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.6);
}

.btn-plan-gold {
  background: #facc15;
  color: #090d16;
  font-weight: 800;
  font-size: 14px;
  border-radius: 14px;
  padding: 13px 20px;
  text-align: center;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -4px rgba(250, 204, 21, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-plan-gold:hover {
  background: #eab308;
  transform: scale(1.02);
  box-shadow: 0 12px 32px -4px rgba(250, 204, 21, 0.65);
}

.btn-plan-whatsapp {
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 14px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -4px rgba(34, 197, 94, 0.4);
}
.btn-plan-whatsapp:hover {
  background: #16a34a;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(34, 197, 94, 0.6);
}

.btn-plan-messenger {
  background: #1877f2;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 14px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -4px rgba(24, 119, 242, 0.4);
}
.btn-plan-messenger:hover {
  background: #0b66de;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(24, 119, 242, 0.6);
}

.plan-basic-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(7, 12, 24, 0.98) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-basic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.85);
  box-shadow: 0 30px 65px -12px rgba(16, 185, 129, 0.35);
}

.plan-premium-card {
  position: relative;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.09) 0%, rgba(7, 12, 24, 0.98) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 30px 65px -12px rgba(59, 130, 246, 0.4);
}

.plan-ultra-card {
  position: relative;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14) 0%, rgba(12, 18, 36, 0.99) 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 20px 70px -10px rgba(245, 158, 11, 0.32);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-ultra-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #fde047;
  box-shadow: 0 40px 90px -15px rgba(245, 158, 11, 0.5);
}

.plan-custom-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(8, 13, 28, 0.98) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 15px 45px -12px rgba(249, 115, 22, 0.16);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-custom-card:hover {
  border-color: rgba(249, 115, 22, 0.9);
  box-shadow: 0 30px 65px -12px rgba(249, 115, 22, 0.35);
}

/* Floating Discount Badges */
.badge-discount-emerald {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #020612;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.badge-discount-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.badge-discount-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #020612;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5);
}

/* Dual-Channel Live Audio VU Meter */
.stereo-vu {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 20px;
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vu-bar {
  width: 3.5px;
  background: #10b981;
  border-radius: 9999px;
  animation: equalize 1.2s infinite ease-in-out;
}

.vu-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.vu-bar:nth-child(2) { height: 90%; animation-delay: 0.35s; }
.vu-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.vu-bar:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.vu-bar:nth-child(5) { height: 50%; animation-delay: 0.15s; }

@keyframes equalize {
  0% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.2); }
}

/* Radar Pulse for Live Status */
.pulse-live {
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  animation: radar-ping 1.7s infinite;
}

@keyframes radar-ping {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Shimmer Button Light Animation */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Form Input Elevated Glow Focus */
input:focus, select:focus {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.15) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #040813;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glass Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 16, 32, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.5);
}
.toast-success i {
  color: #10b981;
}

.toast-error {
  border-color: rgba(244, 63, 94, 0.5);
}
.toast-error i {
  color: #f43f5e;
}

.toast-info {
  border-color: rgba(59, 130, 246, 0.5);
}
.toast-info i {
  color: #3b82f6;
}

/* ================= ANIMATED HERO SHOWCASE SLIDER (PURE CSS 60FPS) ================= */
.showcase-slider {
  position: relative;
  width: 100%;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.75), 0 0 15px -3px rgba(56, 189, 248, 0.2);
  background: #000000;
}

.showcase-track-animated {
  display: flex !important;
  width: 500% !important;
  height: 100% !important;
  animation: miniSlideShow 12s cubic-bezier(0.45, 0, 0.15, 1) infinite !important;
  will-change: transform;
}

.showcase-slider:hover .showcase-track-animated,
.showcase-slider:hover .showcase-dot-1,
.showcase-slider:hover .showcase-dot-2,
.showcase-slider:hover .showcase-dot-3,
.showcase-slider:hover .showcase-dot-4 {
  animation-play-state: paused !important;
}

@keyframes miniSlideShow {
  0%, 18% {
    transform: translateX(0%);
  }
  25%, 43% {
    transform: translateX(-20%);
  }
  50%, 68% {
    transform: translateX(-40%);
  }
  75%, 93% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(-80%);
  }
}

.showcase-slide-item {
  width: 20% !important;
  flex: 0 0 20% !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}

.showcase-slide-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.showcase-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

/* Synchronized Active Dots */
.showcase-dot-1, .showcase-dot-2, .showcase-dot-3, .showcase-dot-4 {
  height: 6px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.showcase-dot-1 {
  animation: dotSync1 12s infinite;
}
.showcase-dot-2 {
  animation: dotSync2 12s infinite;
}
.showcase-dot-3 {
  animation: dotSync3 12s infinite;
}
.showcase-dot-4 {
  animation: dotSync4 12s infinite;
}

@keyframes dotSync1 {
  0%, 18% { width: 16px; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
  25%, 100% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
}

@keyframes dotSync2 {
  0%, 18% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
  25%, 43% { width: 16px; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
  50%, 100% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
}

@keyframes dotSync3 {
  0%, 43% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
  50%, 68% { width: 16px; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
  75%, 100% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
}

@keyframes dotSync4 {
  0%, 68% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
  75%, 93% { width: 16px; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
  100% { width: 6px; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
}
