﻿/* ==========================================================================
   ShopSilo - Next-Generation Dynamic Retail OS & Fintech Platform
   High-Octane, Interactive, Ultra-Modern Dark/Light Architecture
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  --font-mono: 'JetBrains Mono', monospace;

  /* Vibrant Neon & Fintech Gradients */
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.35);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-dark: #059669;
  
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.3);
  --amber: #f59e0b;
  --cyan: #06b6d4;

  /* Theme: Dark Mode (Default High-Impact Dynamic Atmosphere) */
  --bg-dark: #070913;
  --bg-dark-card: #0e1326;
  --bg-dark-card-hover: #151c38;
  --bg-dark-surface: #12182e;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-glow: rgba(99, 102, 241, 0.4);

  /* General Palette */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  /* Light Mode Equivalents (when toggled) */
  --bg-light: #f8fafc;
  --bg-light-card: #ffffff;
  --bg-light-surface: #f1f5f9;
  --border-light: #e2e8f0;

  /* Transition Speeds */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Light Theme Overrides */
body.light-theme {
  --bg-dark: #f8fafc;
  --bg-dark-card: #ffffff;
  --bg-dark-card-hover: #f1f5f9;
  --bg-dark-surface: #f8fafc;
  --border-dark: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
}

/* ==========================================================================
   Universal Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Ambient Dynamic Grid & Glow Orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 18s infinite alternate ease-in-out;
}

.orb-primary {
  width: 550px;
  height: 550px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, var(--primary), transparent 70%);
}

.orb-secondary {
  width: 480px;
  height: 480px;
  top: 300px;
  right: 5%;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
}

.orb-emerald {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: 10%;
  background: radial-gradient(circle, var(--emerald), transparent 70%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Live Top Dynamic Ticker
   ========================================================================== */
.live-stream-ticker {
  background: linear-gradient(90deg, #1e1b4b, #31104b, #064e3b, #1e1b4b);
  background-size: 300% 300%;
  animation: gradientFlow 12s infinite linear;
  color: #e0e7ff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticker-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  margin-right: 8px;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   Navigation Bar (Glassmorphic Ultra)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  height: 74px;
  transition: all 0.3s ease;
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.88);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-badge-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--primary-glow);
  position: relative;
}

.brand-badge-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  z-index: -1;
  opacity: 0.6;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #ffffff;
}

body.light-theme .nav-link-item:hover, body.light-theme .nav-link-item.active {
  color: var(--primary-dark);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Control Pills: Language & Theme */
.lang-selector {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle-btn {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  transform: scale(1.08);
}

/* ==========================================================================
   Buttons & Interactive Action Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-dark);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.5);
}

.btn-rose {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--rose-glow);
}

.btn-rose:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section (Dynamic Neon Mesh & Live Metrics)
   ========================================================================== */
.hero-wrapper {
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
}

.hero-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #a5b4fc;
}

.super-badge-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-main-title {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-title-text {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .gradient-title-text {
  background: linear-gradient(135deg, #0f172a 30%, #4338ca 70%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 38px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Dynamic Live Stat Bar */
.live-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(14, 19, 38, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

body.light-theme .live-stats-banner {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-cell {
  text-align: left;
  border-right: 1px solid var(--border-dark);
  padding-right: 14px;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 2px;
}

.stat-cell-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Interactive Engine / Playground (4 High-Power Modules)
   ========================================================================== */
.playground-section {
  padding: 40px 0 90px;
}

.section-headline-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: #818cf8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-main-heading {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 14px;
}

.section-sub-heading {
  font-size: 16px;
  color: var(--text-muted);
}

.interactive-chassis {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}

body.light-theme .interactive-chassis {
  background: #ffffff;
  border-color: var(--border-light);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

/* Engine Tab Selector */
.chassis-nav-bar {
  display: flex;
  background: var(--bg-dark-surface);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 12px 0;
  gap: 8px;
  overflow-x: auto;
}

.chassis-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chassis-tab-btn svg {
  width: 17px;
  height: 17px;
}

.chassis-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.chassis-tab-btn.active {
  background: var(--bg-dark-card);
  color: #818cf8;
  border-top: 2px solid var(--primary);
}

body.light-theme .chassis-tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
}

.chassis-viewport {
  padding: 30px;
}

.studio-pane {
  display: none;
}

.studio-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   MODULE 1: Ultra-Fast POS Terminal
   -------------------------------------------------------------------------- */
.pos-terminal-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}

.pos-catalog-side {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pos-search-control {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.pos-search-field {
  flex: 1;
  position: relative;
}

.pos-search-field input {
  width: 100%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 11px 14px 11px 40px;
  color: var(--text-main);
  font-size: 13px;
}

.pos-search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.pos-barcode-beep-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pos-barcode-beep-btn:hover {
  background: #10b981;
  color: white;
}

/* AI Voice Bill Simulation Bar */
.ai-voice-bill-bar {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.ai-voice-prompt-text {
  font-size: 13px;
  color: #c7d2fe;
}

.ai-voice-trigger-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-cards-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.catalog-item-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  text-align: left;
}

.catalog-item-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.catalog-item-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #818cf8;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.catalog-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.catalog-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-item-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
}

.catalog-item-code {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* POS Invoice Register Side */
.pos-register-side {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.register-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 14px;
}

.register-items-scroll {
  flex: 1;
  min-height: 180px;
  max-height: 230px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.register-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.register-line-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.register-math-summary {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.math-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.math-row-grand {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border-dark);
  padding-top: 10px;
  margin-top: 8px;
}

body.light-theme .math-row-grand {
  color: #0f172a;
}

.checkout-modes-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   MODULE 2: Digital Khata Panna View
   -------------------------------------------------------------------------- */
.khata-studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 24px;
}

.khata-clients-pane {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.khata-client-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.khata-client-card:hover, .khata-client-card.active {
  border-color: var(--primary);
  background: var(--bg-dark-card-hover);
  transform: translateX(4px);
}

.khata-ledger-viewer {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.ledger-balance-hero {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(225, 29, 72, 0.05));
  border-left: 4px solid var(--rose);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   MODULE 3: Soundbox 2.0 with Canvas Wave Visualizer
   -------------------------------------------------------------------------- */
.soundbox-cockpit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 20px 0;
}

.soundbox-hardware-display {
  background: radial-gradient(circle at 50% 40%, #171f38 0%, #080c18 80%);
  border: 1px solid #1f2a4a;
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hardware-chassis-shell {
  width: 150px;
  height: 150px;
  background: linear-gradient(145deg, #1e293b, #090e1c);
  border-radius: 36px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border: 2px solid #334155;
  position: relative;
}

.hardware-led-ring {
  position: absolute;
  inset: -6px;
  border-radius: 42px;
  border: 3px solid transparent;
  pointer-events: none;
  transition: all 0.3s ease;
}

.hardware-led-ring.speaking {
  border-color: #10b981;
  box-shadow: 0 0 25px #10b981;
  animation: ledPulse 1s infinite alternate;
}

@keyframes ledPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.06); opacity: 1; }
}

#soundbox-audio-canvas {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  margin-top: 14px;
}

/* ==========================================================================
   Features Bento Grid (High Density)
   ========================================================================== */
.features-container {
  padding: 90px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  background: rgba(14, 19, 38, 0.3);
}

.bento-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-power-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.bento-power-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-power-card:hover {
  border-color: var(--border-dark-glow);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

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

.bento-icon-container {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-container svg {
  width: 24px;
  height: 24px;
}

.bento-power-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bento-power-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Profit Yield Calculator
   ========================================================================== */
.roi-calculator-section {
  padding: 90px 0;
}

.roi-glass-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.slider-custom-group label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.slider-custom-group input[type=range] {
  width: 100%;
  accent-color: var(--primary);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.roi-yield-card {
  background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.roi-yield-amount {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 900;
  color: #34d399;
  margin: 10px 0;
}

/* ==========================================================================
   Live Transaction Toast Notification (Bottom Corner)
   ========================================================================== */
.live-toast-ticker {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(14, 19, 38, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.4);
  backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1050;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
}

.live-toast-ticker.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon-pulse {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
}

/* ==========================================================================
   Thermal Receipt & Share Modals
   ========================================================================== */
.modal-backdrop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  padding: 24px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .bento-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-terminal-grid { grid-template-columns: 1fr; }
  .khata-studio-grid { grid-template-columns: 1fr; }
  .soundbox-cockpit { grid-template-columns: 1fr; }
  .roi-glass-box { grid-template-columns: 1fr; }
  .live-stats-banner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-main-title { font-size: 38px; }
  .bento-showcase-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .live-stats-banner { grid-template-columns: 1fr; }
  .live-toast-ticker { display: none; }
}
