/* ==========================================================================
   Minageesoft Corporate Design System & Custom Styles
   Tailwind CSS Enhancement & Micro-Interactions
   ========================================================================== */

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

:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --bg-dark: #070b14;
  --bg-card: #0e1526;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: #f1f5f9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* Monospace font */
.font-mono {
  font-family: var(--font-mono);
}

/* Glow & Glassmorphism Utilities */
.glass-panel {
  background: rgba(14, 21, 38, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: rgba(14, 21, 38, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 30px -10px rgba(6, 182, 212, 0.15);
}

.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.glass-card-amber:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(245, 158, 11, 0.2), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

/* Gradient text utilities */
.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Gradients */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero-glow-1 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
}

.hero-glow-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
}

.hero-glow-amber {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

@keyframes pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

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

.animate-pulse-ring {
  animation: pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-amber {
  animation: pulse-amber 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Canvas background */
#nodesCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Form Styles */
.form-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #f8fafc;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 1);
}

.form-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* POS Terminal Mockup Styles */
.pos-screen {
  background: #090d16;
  border: 1px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Modal styling */
.modal-backdrop {
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
}

/* Badge glow */
.badge-tech {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #38bdf8;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

/* Active Nav State */
.nav-link.active {
  color: #38bdf8;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  border-radius: 9999px;
}

/* ==========================================================================
   Splash Screen & Laser Scan Animation
   ========================================================================== */
@keyframes laser-scan {
  0% { top: 0%; opacity: 0.8; }
  50% { opacity: 1; }
  100% { top: 96%; opacity: 0.8; }
}

.animate-laser-scan {
  animation: laser-scan 1.8s ease-in-out infinite alternate;
}

@keyframes progress-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.splash-progress-bar {
  animation: progress-fill 2.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==========================================================================
   Ask Minagee Auto Chatbot Styles
   ========================================================================== */
.chat-bubble-bot {
  background: rgba(14, 21, 38, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-bottom-left-radius: 4px;
}

.chat-bubble-user {
  background: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.typing-dot {
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chat scrollbar styling */
.chat-scroll-area::-webkit-scrollbar {
  width: 5px;
}

.chat-scroll-area::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

.chat-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.4);
  border-radius: 9999px;
}

.chat-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.8);
}

/* Facebook Link Branded Styling */
.facebook {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.facebook:hover {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.45));
}

/* ==========================================================================
   Advanced Web UI 2.0: Bento Grids, Glowing Borders & Experience Elements
   ========================================================================== */

/* Shimmer Animation for Heritage & Experience Badges */
@keyframes shimmer-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.shimmer-badge {
  white-space: nowrap !important;
  position: relative;
  overflow: hidden;
}

.shimmer-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-20deg);
  animation: shimmer-sweep 3s infinite ease-in-out;
}

/* Glowing Border Box (Conic & Multi-Stop Ambient Light) */
.glow-border-cyan {
  position: relative;
  border-radius: 1.5rem;
  background: rgba(14, 21, 38, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 25px -8px rgba(6, 182, 212, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-border-cyan:hover {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 12px 36px -8px rgba(6, 182, 212, 0.35), 0 0 0 1px rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
}

.glow-border-amber {
  position: relative;
  border-radius: 1.5rem;
  background: rgba(14, 21, 38, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 25px -8px rgba(245, 158, 11, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-border-amber:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 36px -8px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

/* Bento Card Grid Styles */
.bento-grid {
  display: grid;
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.85) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(2, 6, 23, 0.8), 0 0 25px -5px rgba(6, 182, 212, 0.15);
}

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

/* Interactive Spotlight Card (dynamically tracked by mouse via JS) */
.spotlight-card {
  position: relative;
  background: rgba(14, 21, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px), rgba(6, 182, 212, 0.15), transparent 40%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Timeline Components: 2009 to Present */
.timeline-track-vertical {
  position: relative;
}

.timeline-track-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.25rem;
  width: 2px;
  background: linear-gradient(180deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline-track-horizontal {
    position: relative;
  }
  .timeline-track-horizontal::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);
    z-index: 0;
  }
}

.timeline-node {
  position: relative;
  z-index: 10;
  transition: all 0.3s ease;
}

.timeline-node:hover {
  transform: scale(1.1);
}

/* Gradient multi-color text */
.text-gradient-multi {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 35%, #f472b6 70%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Neon Glow Accents */
.neon-glow-cyan {
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.neon-glow-emerald {
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

/* Modern Gradient Border Button */
.btn-glow-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  box-shadow: 0 0 20px -3px rgba(6, 182, 212, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow-cyan:hover {
  box-shadow: 0 0 30px 2px rgba(6, 182, 212, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   Comprehensive All-Device Responsive Design System
   Mobile (320px-640px), Tablet (641px-1024px), Laptop & Widescreen
   ========================================================================== */

/* Utility: Hide Scrollbars for horizontal swipe lists */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* Global mobile typography & word wrapping safeguards */
h1, h2, h3, h4, h5, h6, p, span, a, button {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Touch targets optimization for mobile */
@media (max-width: 640px) {
  /* Prevent horizontal screen jiggle */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }

  /* Compact glass card padding on small screens */
  .glass-card {
    padding: 1.15rem !important;
    border-radius: 1rem !important;
  }

  /* Bento card mobile adjustments */
  .bento-card {
    padding: 1.25rem !important;
    border-radius: 1rem !important;
  }

  /* Compact glow border boxes on mobile */
  .glow-border-cyan, .glow-border-amber {
    border-radius: 1.15rem !important;
  }

  /* Compact form inputs & comfortable touch targets */
  .form-input {
    font-size: 14px !important;
    min-height: 44px;
  }

  button, a {
    touch-action: manipulation;
  }

  /* Mobile chat widget full width fit */
  #askMinageeWidget {
    width: calc(100vw - 1.25rem) !important;
    right: 0.625rem !important;
    bottom: 5.25rem !important;
    height: 76vh !important;
    max-height: 520px !important;
    border-radius: 1.25rem !important;
  }

  /* Mobile floating action buttons: compact & unobtrusive */
  .floating-hub {
    bottom: 1rem !important;
    right: 0.85rem !important;
    gap: 0.5rem !important;
  }

  .floating-hub-btn {
    width: 2.75rem !important;
    height: 2.75rem !important;
    padding: 0.6rem !important;
    border-radius: 0.875rem !important;
  }

  .floating-hub-btn i {
    font-size: 1.1rem !important;
  }

  /* Mobile drawers safe width */
  #mobileMenuDrawer, #cartDrawer, #savedQuotesDrawer {
    width: 88vw !important;
    max-width: 360px !important;
  }

  /* Modals on small screens: fill view with margin & scroll smoothly */
  .modal-backdrop > div {
    max-height: 92vh !important;
    padding: 1.25rem !important;
    margin: 0.5rem !important;
    border-radius: 1.25rem !important;
  }

  /* Mobile POS table scrolling */
  .pos-table-scroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Tablet (iPad & Medium screens: 641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .bento-card {
    padding: 1.5rem;
  }

  /* 2-column balance on tablet */
  .tablet-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #askMinageeWidget {
    width: 380px !important;
    right: 1.5rem !important;
    bottom: 6rem !important;
  }
}

/* Large Screens & Widescreen Optimization (1440px+) */
@media (min-width: 1536px) {
  .max-w-7xl {
    max-width: 88rem;
  }
}

/* ==========================================================================
   Footer Live Telemetry & Digital Visitor Counter (Start 5005)
   ========================================================================== */
.footer-telemetry-panel {
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.85) 0%, rgba(7, 11, 20, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 35px -10px rgba(6, 182, 212, 0.15);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
}

.digit-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.75rem;
  padding: 0 0.4rem;
  background: linear-gradient(180deg, #090d16 0%, #030712 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.35rem;
  color: #38bdf8;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(6, 182, 212, 0.25);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  overflow: hidden;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

/* Authentic digital flip split line */
.digit-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.digit-card.comma {
  min-width: 0.75rem;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #94a3b8;
  font-size: 1.25rem;
  padding: 0 0.1rem;
}

.digit-card.comma::after {
  display: none;
}

.digit-card.digit-updated {
  transform: translateY(-2px) scale(1.08);
  border-color: #34d399;
  color: #34d399;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.9);
}

@media (max-width: 640px) {
  .digit-card {
    min-width: 1.7rem;
    height: 2.25rem;
    font-size: 1.1rem;
    border-radius: 0.375rem;
  }
}

/* POS Barcode Scanner Laser Flash Animation */
.pos-scan-flash {
  animation: scanFlashAnim 0.4s ease-out;
}

@keyframes scanFlashAnim {
  0% {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.9), inset 0 0 35px rgba(6, 182, 212, 0.5);
    border-color: #38bdf8;
  }
  100% {
    box-shadow: none;
  }
}

/* Clock Blinking Colon */
.clock-colon-blink {
  animation: colonBlink 1s infinite steps(1);
}

@keyframes colonBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}

/* ==========================================================================
   Bento Grid 2.0 Architecture & Dynamic Cursor Spotlight (Linear/Apple Style)
   ========================================================================== */
.bento-card {
  position: relative;
  background: rgba(13, 20, 36, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.bento-card > * {
  position: relative;
  z-index: 3;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.15), 0 0 30px rgba(6, 182, 212, 0.06);
}

/* Dynamic Radial Mouse Spotlight Surface */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    650px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(6, 182, 212, 0.12),
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

/* Dynamic Border Highlight that follows cursor */
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(56, 189, 248, 0.6),
    transparent 45%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.bento-card:hover::after {
  opacity: 1;
}

/* Bento Micro-HUD Elements */
.bento-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

.bento-chip {
  padding: 0.25rem 0.6rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.bento-chip:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #38bdf8;
}

.bento-code-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

/* ==========================================================================
   Realistic Thermal Paper Receipt & Interactive POS Simulator (Option 2.1)
   ========================================================================== */
.thermal-receipt-paper {
  background-color: #faf8f5;
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.08);
  position: relative;
  background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
  background-size: 8px 8px;
}

/* Serrated jagged tear-off receipt edges */
.thermal-receipt-paper::before,
.thermal-receipt-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background-size: 14px 8px;
}

.thermal-receipt-paper::before {
  top: -8px;
  background-image: radial-gradient(circle at 7px 8px, transparent 6px, #faf8f5 7px);
}

.thermal-receipt-paper::after {
  bottom: -8px;
  background-image: radial-gradient(circle at 7px 0px, transparent 6px, #faf8f5 7px);
}

@keyframes receiptFeed {
  0% {
    transform: translateY(-30px) scale(0.96);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.animate-receipt-feed {
  animation: receiptFeed 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Dynamic ROI & Cost Quotation Builder (Option 2.3)
   ========================================================================== */
.quote-calc-pill {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(15, 23, 42, 0.65);
}

.quote-calc-pill:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background-color: rgba(15, 23, 42, 0.9);
}

.quote-calc-pill.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18) 0%, rgba(59, 130, 246, 0.18) 100%);
  border-color: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 20px -3px rgba(6, 182, 212, 0.35);
}

.hardware-toggle-card {
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: rgba(15, 23, 42, 0.5);
  cursor: pointer;
}

.hardware-toggle-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background-color: rgba(15, 23, 42, 0.8);
}

.hardware-toggle-card.selected {
  border-color: #06b6d4;
  background-color: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 15px -4px rgba(6, 182, 212, 0.25);
}

/* ==========================================================================
   Dual Currency & Market Toggle (Option 4.1)
   ========================================================================== */
.currency-toggle-wrapper {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.currency-btn {
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.currency-btn:hover {
  color: #f1f5f9;
}

.currency-btn.active {
  background: #06b6d4;
  color: #020617;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   Navigation Services Dropdown Menu (Sub-menu for Experience, Store & Tools)
   ========================================================================== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 360px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 60;
  padding-top: 0.65rem; /* Invisible bridge to avoid hover loss */
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 1px solid transparent;
}

.nav-dropdown-item:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(3px);
}

/* ==========================================================================
   Ambient Motivational Audio Hub Controller
   ========================================================================== */
#ambientAudioHub {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes eq-wave-1 {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
@keyframes eq-wave-2 {
  0%, 100% { height: 14px; }
  50% { height: 6px; }
}
@keyframes eq-wave-3 {
  0%, 100% { height: 7px; }
  50% { height: 18px; }
}
@keyframes eq-wave-4 {
  0%, 100% { height: 12px; }
  50% { height: 5px; }
}

.audio-bar-1 { animation: eq-wave-1 0.85s ease-in-out infinite; }
.audio-bar-2 { animation: eq-wave-2 0.65s ease-in-out infinite; }
.audio-bar-3 { animation: eq-wave-3 0.95s ease-in-out infinite; }
.audio-bar-4 { animation: eq-wave-4 0.75s ease-in-out infinite; }

.audio-paused .audio-bar {
  animation-play-state: paused !important;
  height: 4px !important;
}

/* Volume range custom slider */
.audio-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 9999px;
  background: #334155;
  outline: none;
  transition: background 0.2s;
}
.audio-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06b6d4;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(6, 182, 212, 0.8);
}
.audio-vol-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06b6d4;
  cursor: pointer;
  border: none;
}

/* ==========================================================================
   Interactive Sri Lanka Client Base Deployment Map
   ========================================================================== */
.sl-map-wrapper {
  background: radial-gradient(circle at 40% 50%, rgba(6, 182, 212, 0.08) 0%, rgba(2, 6, 23, 0.95) 75%);
}

.map-province-path {
  fill: #090e1a;
  stroke: #1e293b;
  stroke-width: 1.2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.map-province-path:hover {
  fill: #0e172a;
  stroke: #0ea5e9;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.3));
}

.map-pin {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-pin:hover {
  transform: scale(1.2);
}

.map-pin circle.pin-core {
  transition: all 0.2s ease;
}

.map-pin:hover circle.pin-core,
.map-pin.active circle.pin-core {
  r: 8px;
  filter: drop-shadow(0 0 10px #22d3ee);
}

.map-pin.active circle.pin-radar {
  stroke: #22d3ee;
  stroke-width: 2;
}

/* Connection Beam Animation */
.map-connection-line {
  stroke-dasharray: 4 6;
  animation: map-dash-flow 1.2s linear infinite;
}

@keyframes map-dash-flow {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

.map-filter-pill {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-filter-pill.active {
  background: #06b6d4;
  color: #020617;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   Live Interactive Software Demo Showcase (#demos)
   ========================================================================== */
.demo-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.75) 0%, rgba(7, 11, 20, 0.95) 100%);
  border: 1px solid rgba(30, 41, 59, 0.8);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.2), 0 0 25px -5px rgba(6, 182, 212, 0.15);
}

.demo-mockup-frame {
  background: #030712;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.demo-card:hover .demo-mockup-frame {
  transform: scale(1.02);
  border-color: rgba(6, 182, 212, 0.4);
}

.demo-pulse-live {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-cred-chip {
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(100, 116, 139, 0.4);
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-cred-chip:hover {
  border-color: #22d3ee;
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.1);
}

.demo-launch-btn {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #020617;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  transition: all 0.25s ease;
}

.demo-launch-btn:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
  color: #020617;
}

#demoLaunchModal.active {
  display: flex !important;
  opacity: 1 !important;
}

#demoLaunchModal.active .demo-modal-dialog {
  transform: scale(1) translateY(0) !important;
}

/* =========================================================================
   7-SOLUTION SALES SHOWCASE & SEO GRID STYLES
   ========================================================================= */
.sol-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.85) 0%, rgba(7, 11, 20, 0.98) 100%);
  border: 1px solid rgba(30, 41, 59, 0.85);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sol-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 20px 45px -15px rgba(6, 182, 212, 0.22), 0 0 20px -5px rgba(6, 182, 212, 0.12);
}

.sol-card.featured-card {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(14, 24, 48, 0.9) 0%, rgba(7, 12, 24, 0.98) 100%);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.15);
}

.sol-badge-sinhala {
  font-family: inherit;
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Triplet CTA Button Layout */
.sol-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .sol-cta-grid {
    grid-template-columns: 1fr;
  }
}

.sol-btn-view {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.6);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: 0.625rem;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.sol-btn-view:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
  border-color: #38bdf8;
}

.sol-btn-demo {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #020617;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.55rem 0.5rem;
  border-radius: 0.625rem;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.sol-btn-demo:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  color: #020617;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.4);
}

.sol-btn-whatsapp {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.55rem 0.5rem;
  border-radius: 0.625rem;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.sol-btn-whatsapp:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
  border-color: #10b981;
}

/* Solution Feature Modal Dialog */
#solutionFeatureModal.active {
  display: flex !important;
  opacity: 1 !important;
}

#solutionFeatureModal.active .sol-modal-dialog {
  transform: scale(1) translateY(0) !important;
}

/* FAQ Accordion Styling */
.faq-card {
  background: rgba(14, 21, 38, 0.7);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: 1rem;
  transition: all 0.25s ease;
  overflow: hidden;
}

.faq-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s ease;
}

.faq-header:hover {
  background: rgba(30, 41, 59, 0.3);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: #22d3ee;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 1.5rem;
  background: rgba(7, 11, 20, 0.4);
}

.faq-card.open .faq-body {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}



