/* ========================================================
   DISHA 8.2 — Enterprise Sovereign Fintech Design System
   Full-Bleed Navigation, Double-Entry Ledger, VPA Routing & Compliance
   Fonts: Space Grotesk (Headlines) + Inter (Body) + JetBrains Mono (Data)
   ======================================================== */

:root {
  /* Brand Chromatic Tokens */
  --bg-obsidian: #05070B;
  --bg-surface: #0A0D15;
  --bg-card: rgba(12, 16, 26, 0.92);
  --bg-card-hover: rgba(18, 24, 38, 0.96);
  --bg-elevated: #0E1320;
  
  --disha-indigo: #6366F1;
  --disha-indigo-glow: rgba(99, 102, 241, 0.35);
  --disha-teal: #14B8A6;
  --disha-teal-glow: rgba(20, 184, 166, 0.35);
  --disha-cyan: #06B6D4;
  --crimson-bleed: #EF4444;
  --crimson-glow: rgba(239, 68, 68, 0.35);
  --gold-warm: #F59E0B;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --hacker-purple: #8B5CF6;
  
  --pure-white: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-tertiary: #94A3B8;
  --text-muted: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-specular: rgba(255, 255, 255, 0.16);
  --border-teal: rgba(20, 184, 166, 0.4);
  --border-red: rgba(239, 68, 68, 0.35);
  
  /* Precision Font Stacks */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  
  /* Easing Curves */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle Film Grain Texture */
.cinema-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Looped Ambient Particles */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Scroll Progress Header Line */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #EF4444, #8B5CF6, #6366F1, #14B8A6);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* Floating Toast Notification HUD */
.disha-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(9, 13, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 184, 166, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(20, 184, 166, 0.25);
  border-radius: 9999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #F8FAFC;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
  pointer-events: none;
}

.disha-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--disha-teal);
  box-shadow: 0 0 10px var(--disha-teal);
  animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ========================================================
   FULL-BLEED PROFESSIONAL ENTERPRISE NAVIGATION
   Edge-to-Edge, Clean Typographic Branding, High-Impact Controls
======================================================== */
.disha-bleed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px;
  background: rgba(5, 7, 11, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-bleed-container {
  width: 100%;
  max-width: 1360px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Left: Sleek Brand Identity */
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
}

.brand-badge-pro {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.nav-system-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s infinite ease-in-out;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #6EE7B7;
  letter-spacing: 0.05em;
}

/* Center: Clean Enterprise Navigation Links */
.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: #FFFFFF;
  background: rgba(20, 184, 166, 0.14);
  color: #5EEAD4;
}

/* Right: Telemetry & Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-telemetry-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pill-accent {
  color: var(--gold-warm);
  font-weight: 700;
}

.pill-text {
  color: var(--text-tertiary);
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.audio-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(99, 102, 241, 0.5);
}

.audio-toggle-btn.active {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.45);
  color: #99F6E4;
}

.audio-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.wave-bar {
  width: 2px;
  background: var(--disha-teal);
  height: 3px;
  border-radius: 1px;
}

.audio-toggle-btn.active .wave-bar:nth-child(1) { animation: eqBounce 0.7s infinite alternate 0.1s ease-in-out; }
.audio-toggle-btn.active .wave-bar:nth-child(2) { animation: eqBounce 0.7s infinite alternate 0.3s ease-in-out; }
.audio-toggle-btn.active .wave-bar:nth-child(3) { animation: eqBounce 0.7s infinite alternate 0.5s ease-in-out; }

@keyframes eqBounce {
  0% { height: 2px; }
  100% { height: 10px; }
}

.btn-nav-primary {
  position: relative;
  background: linear-gradient(135deg, var(--disha-indigo), var(--disha-teal));
  color: var(--pure-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
  transition: all 0.25s var(--ease-spring);
  overflow: hidden;
}

.btn-nav-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 25px rgba(20, 184, 166, 0.6);
}

.btn-glow-ring {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-nav-primary:hover .btn-glow-ring {
  transform: translateX(100%);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle-btn span {
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(9, 13, 20, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 24px;
  z-index: 999;
}

.mobile-menu-drawer.active {
  display: block;
  animation: drawerDown 0.25s ease-out;
}

@keyframes drawerDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-link:hover, .mobile-link.active {
  color: #FFFFFF;
  background: rgba(20, 184, 166, 0.15);
}

.mobile-link.highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(20, 184, 166, 0.25));
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #99F6E4;
  font-weight: 700;
}

/* ========================================================
   GLOBAL SECTION & TYPOGRAPHY ARCHITECTURE
   Zero Gaps, Unified Padding, Cohesive Visual Rhythm
======================================================== */
.story-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
}

.story-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  box-sizing: border-box;
  scroll-margin-top: 68px;
  width: 100%;
}

.scene-inner-bounds {
  width: min(94%, 1280px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Eyebrows */
.enterprise-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
}

.eyebrow-teal {
  color: var(--disha-teal);
  border: 1px solid rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.08);
}

.eyebrow-red {
  color: var(--crimson-bleed);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.eyebrow-cyan {
  color: var(--disha-cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.08);
}

.pulse-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s infinite ease-in-out;
  display: inline-block;
}

.hud-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
}

/* Section Header Structure */
.scene-lead-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.scene-master-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.scene-master-sub {
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 3D Tilt Card Class */
.tilt-card {
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.magnetic-btn {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   GLOBAL ANCHOR OFFSET & SECTION SPACING
   Ensures sticky nav (68px) never overlaps anchor targets
======================================================== */
.story-scene, section[id] {
  scroll-margin-top: 84px;
}

/* ========================================================
   ACT 1: BALANCED INTEGRATED HERO SECTION
   Left: Clear Headline, Direct Explanation, Actions & Metrics
   Right: Shop Context & Live Terminal HUD side-by-side
======================================================== */
.scene-hero-balanced, .scene-opening {
  padding-top: 104px;
  padding-bottom: 64px;
  background: radial-gradient(circle at 75% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.07) 0%, transparent 55%);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
  width: 100%;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-content-col .hero-master-title {
  text-align: left;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

.hero-content-col .hero-master-sub {
  text-align: left;
  margin: 0 0 28px 0;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-content-col .hero-action-group {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-content-col .hero-metrics-pill-strip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-visual-col {
  width: 100%;
}

.hero-visual-col .cinematic-overlay-stage {
  margin-top: 0;
  min-height: auto;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  position: relative;
}

.hero-visual-col .stage-overlay-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: auto;
}

.stage-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.stage-story-snippet {
  background: rgba(5, 7, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
}

.stage-story-headline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.stage-story-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.stage-story-text em {
  color: #5EEAD4;
  font-style: normal;
  font-weight: 600;
}

.hud-due-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 12px;
}

.hud-due-col {
  display: flex;
  flex-direction: column;
}

.hud-due-vpa {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #5EEAD4;
  font-weight: 600;
}

.hud-due-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.hud-due-amt {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
}

.text-right {
  text-align: right;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--disha-indigo), var(--disha-teal));
  color: var(--pure-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
  transition: all 0.25s var(--ease-spring);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(20, 184, 166, 0.6);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-intro-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
}

.hero-master-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero-master-sub {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 26px;
}

.hero-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--disha-indigo), var(--disha-teal));
  color: var(--pure-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
  transition: all 0.25s var(--ease-spring);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(20, 184, 166, 0.6);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-metrics-pill-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.h-metric-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.h-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.h-lbl {
  font-size: 0.66rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-top: 2px;
}

.h-metric-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   CINEMATIC OVERLAY STAGE (TEXT OVERLAID ON IMAGE)
======================================================== */
.cinematic-overlay-stage {
  position: relative;
  width: 100%;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-specular);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  margin-top: 32px;
}

.morning-stage {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.15);
}

.stage-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stage-scim-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.88) 48%, rgba(5, 7, 11, 0.45) 75%, rgba(5, 7, 11, 0.88) 100%),
              linear-gradient(180deg, rgba(5, 7, 11, 0.3) 0%, rgba(5, 7, 11, 0.9) 100%);
  pointer-events: none;
}

.stage-overlay-content {
  position: relative;
  z-index: 5;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  min-height: 500px;
}

/* Left Overlaid Story Narrative */
.stage-story-narrative {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #FDE68A;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.stage-story-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.stage-story-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
}

.story-quote {
  color: #FDE68A;
  font-style: italic;
  font-weight: 600;
}

.stage-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Right Overlaid Live Checkout Terminal HUD */
.stage-terminal-hud {
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hud-store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-store-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hud-store-vpa {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.hud-store-vpa code {
  color: #FDE68A;
}

.hud-live-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hud-due-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #04060A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
}

.hud-due-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.hud-due-amt {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
  color: #FFFFFF;
}

.hud-qr-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.hud-qr-frame {
  width: 105px;
  height: 105px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  position: relative;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-spring);
}

.hud-qr-frame:hover {
  transform: scale(1.04);
}

.qr-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.scanner-laser {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B, 0 0 16px #F59E0B;
  animation: laserScan 2.2s infinite ease-in-out;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.scanner-laser.success {
  background: #10B981;
  box-shadow: 0 0 10px #10B981, 0 0 20px #10B981;
}

@keyframes laserScan {
  0%, 100% { top: 8px; }
  50% { top: calc(100% - 10px); }
}

.hud-qr-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.hud-prompt-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-warm);
}

.hud-sub-text {
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

.hud-btn-tap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.hud-btn-tap:hover {
  background: #FFFFFF;
  color: #05070B;
}

/* ========================================================
   ACT 2: THE 2.36% CRISIS (THE 3 FAILURE MODES)
======================================================== */
.scene-crisis {
  background: radial-gradient(circle at 50% 25%, rgba(239, 68, 68, 0.06) 0%, transparent 65%);
}

.crisis-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.trio-cinematic-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-lux);
}

.trio-cinematic-card:hover {
  border-color: var(--border-specular);
  transform: translateY(-4px);
}

.trio-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.trio-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trio-gradient-scim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.5) 0%, rgba(5, 7, 11, 0.88) 45%, rgba(5, 7, 11, 0.98) 100%);
  pointer-events: none;
}

.trio-overlay-content {
  position: relative;
  z-index: 5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.trio-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.trio-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-tertiary);
}

.trio-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.badge-red {
  color: var(--crimson-bleed);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-purple {
  color: var(--hacker-purple);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-amber {
  color: var(--gold-warm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.trio-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
}

.trio-desc {
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.trio-breakdown-table {
  background: rgba(5, 7, 11, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.t-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.t-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 6px;
  margin-top: 4px;
  font-weight: 700;
  color: #FFFFFF;
}

.text-loss {
  color: var(--crimson-bleed);
}

.text-net {
  color: #10B981;
}

.text-teal {
  color: var(--disha-teal);
}

.text-gold {
  color: var(--gold-warm);
}

/* Specimen Box */
.specimen-interactive-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specimen-entry {
  background: rgba(5, 7, 11, 0.9);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.specimen-entry:hover {
  transform: scale(1.02);
}

.specimen-entry.forged {
  border-color: rgba(239, 68, 68, 0.35);
}

.specimen-entry.verified {
  border-color: rgba(20, 184, 166, 0.35);
}

.s-head {
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.s-val {
  font-size: 0.8rem;
  color: #FFFFFF;
}

.s-sub {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Panic Status Card */
.panic-status-card {
  background: rgba(5, 7, 11, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.panic-status-card:hover {
  transform: scale(1.02);
}

.p-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-cross {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  color: var(--crimson-bleed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.p-head {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.p-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.p-sms-quote {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 2px solid var(--crimson-bleed);
}

/* ========================================================
   ACT 3: PRODUCTION STACK ARCHITECTURE
======================================================== */
.scene-arch {
  background: radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 65%);
}

.arch-topology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  width: 100%;
}

.arch-layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.25s var(--ease-lux);
}

.arch-layer-card:hover {
  border-color: var(--border-specular);
  transform: translateY(-3px);
}

.arch-layer-card.highlight-card {
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.95) 0%, rgba(8, 12, 20, 0.95) 100%);
}

.arch-layer-header {
  display: flex;
  gap: 14px;
}

.layer-step {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--disha-teal);
  line-height: 1;
}

.layer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.layer-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.arch-layer-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip-tech {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================================
   ACT 4: SMART VPA ROUTING ENGINE ("DON'T GET BANNED")
======================================================== */
.scene-vpa {
  background: radial-gradient(circle at 50% 20%, rgba(20, 184, 166, 0.06) 0%, transparent 65%);
}

.vpa-engine-container {
  width: 100%;
}

.vpa-pool-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.vpa-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.panel-h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.panel-sub {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.btn-simulate-order {
  background: linear-gradient(135deg, var(--disha-indigo), var(--disha-teal));
  color: #FFFFFF;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(20, 184, 166, 0.4);
  transition: all 0.2s var(--ease-spring);
}

.btn-simulate-order:hover {
  transform: translateY(-2px) scale(1.02);
}

.vpa-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.vpa-status-card {
  background: rgba(6, 9, 15, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.vpa-status-card.active-card {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.15);
}

.vpa-status-card.paused-card {
  opacity: 0.6;
}

.vpa-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vpa-id-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-tertiary);
}

.vpa-state-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

.tag-healthy {
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tag-warning {
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tag-danger {
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.vpa-handle {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
}

.vpa-bank-tag {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-top: -6px;
}

.vpa-stats-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.s-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.s-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
}

.vpa-cooldown-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cooldown-fill {
  height: 4px;
  border-radius: 2px;
}

.cooldown-fill.ready {
  background: #10B981;
}

.cooldown-fill.cooldown {
  background: #F59E0B;
}

.cooldown-fill.paused {
  background: #EF4444;
}

.cooldown-text {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-tertiary);
}

/* Algorithm Telemetry Console */
.vpa-algorithm-telemetry {
  background: #030407;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-mono);
}

.algo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.algo-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-warm);
}

.algo-meta {
  font-size: 0.64rem;
  color: var(--text-muted);
}

.algo-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.log-line {
  color: var(--text-secondary);
}

/* ========================================================
   ACT 5: DOUBLE-ENTRY LEDGER SYSTEM
======================================================== */
.scene-ledger {
  background: radial-gradient(circle at 50% 25%, rgba(99, 102, 241, 0.06) 0%, transparent 65%);
}

.ledger-interactive-wrapper {
  width: 100%;
}

.ledger-balance-banner {
  background: rgba(9, 13, 20, 0.95);
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 18px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.banner-stat {
  display: flex;
  flex-direction: column;
}

.b-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.b-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
}

.banner-eq-sign {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--text-muted);
}

.banner-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #6EE7B7;
}

.ledger-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.ledger-table-header {
  display: grid;
  grid-template-columns: 100px 150px 1.4fr 90px 110px 110px 100px;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.ledger-table-rows {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  display: grid;
  grid-template-columns: 100px 150px 1.4fr 90px 110px 110px 100px;
  gap: 10px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  transition: background 0.15s ease;
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.badge-debit {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-credit {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
}

.chip-verified {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: #10B981;
}

/* ========================================================
   ACT 6: COMPLIANCE ENGINE (GST & IMMUTABLE AUDIT TRAIL)
======================================================== */
.scene-compliance {
  background: radial-gradient(circle at 50% 25%, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
}

.compliance-duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.c-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

.status-live {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--disha-teal);
}

.invoice-preview-box {
  background: rgba(4, 7, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inv-merchant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inv-firm-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.inv-gstin {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.inv-hsn {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.inv-stamp {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.inv-calc-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}

.inv-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
}

.inv-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 4px;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.inv-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-download-inv {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #99F6E4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-download-inv:hover {
  background: var(--disha-teal);
  color: #05070B;
}

.btn-download-inv.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.btn-download-inv.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* TDS & Audit Box */
.tds-audit-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tds-meter-section {
  background: rgba(4, 7, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meter-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.meter-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
  border-radius: 4px;
}

.meter-caption {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.audit-log-stream {
  background: #030508;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stream-title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--disha-teal);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.stream-log-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.s-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--disha-teal);
}

.s-time {
  color: var(--text-muted);
}

.s-msg {
  color: var(--text-secondary);
}

/* ========================================================
   ACT 7: DAILY AUTO-RECONCILIATION ENGINE
======================================================== */
.scene-reconcile {
  background: radial-gradient(circle at 50% 20%, rgba(20, 184, 166, 0.06) 0%, transparent 65%);
}

.reconcile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reconcile-top-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.r-metric {
  display: flex;
  flex-direction: column;
}

.r-lbl {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.r-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
}

.r-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

.r-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #6EE7B7;
}

.reconcile-bars-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.r-b-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.r-progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.r-progress-fill {
  height: 100%;
  background: #10B981;
  border-radius: 4px;
}

.r-progress-fill.warning {
  background: #F59E0B;
}

.r-progress-fill.zero {
  background: transparent;
}

.reconcile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.r-audit-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ========================================================
   ACT 8: LIVE MERCHANT DASHBOARD (WHAT THEY SEE)
======================================================== */
.scene-dashboard {
  background: radial-gradient(circle at 50% 25%, rgba(99, 102, 241, 0.06) 0%, transparent 65%);
}

.merchant-dashboard-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-kpi-quad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.kpi-card.highlight-kpi {
  border-color: rgba(20, 184, 166, 0.4);
  background: linear-gradient(180deg, rgba(14, 22, 34, 0.95) 0%, rgba(8, 12, 20, 0.95) 100%);
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.kpi-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
}

.kpi-sub {
  font-size: 0.7rem;
  font-weight: 600;
}

.dash-duo-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.dash-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.dash-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dash-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--disha-teal);
  text-decoration: none;
}

.dash-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
}

.feed-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.feed-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}

.feed-meta {
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

.feed-right {
  font-size: 0.95rem;
  font-weight: 800;
}

.savings-panel {
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.95) 0%, rgba(6, 10, 16, 0.95) 100%);
  border-color: rgba(20, 184, 166, 0.35);
}

.tag-zero {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.savings-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
}

.savings-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.savings-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.savings-row.highlight {
  font-size: 0.96rem;
  color: #FFFFFF;
}

.savings-row.projection {
  font-size: 0.9rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
}

/* ========================================================
   ACT 9: SOVEREIGN P&L ROI CALCULATOR
======================================================== */
.scene-calc {
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 65%);
}

.calculator-glass-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-slider-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.calc-slider-val {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-warm);
}

.disha-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

.disha-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-warm);
  box-shadow: 0 0 15px var(--gold-warm);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.disha-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.calc-results-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-card {
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-card.legacy-loss {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.calc-card.disha-retained {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.calc-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.calc-big-num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
}

.calc-sub-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ========================================================
   ACT 10: PHYSICAL HARDWARE SOUNDBOX TEST
======================================================== */
.scene-soundbox {
  background: radial-gradient(circle at 50% 25%, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
}

.soundbox-hardware-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.soundbox-bezel-device {
  width: min(100%, 540px);
  background: linear-gradient(180deg, #111520 0%, #080B12 100%);
  border: 2px solid rgba(20, 184, 166, 0.4);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 35px rgba(20, 184, 166, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.soundbox-speaker-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.grille-hole {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #04060A;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.soundbox-led-display {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #020306;
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: inset 0 0 15px rgba(20, 184, 166, 0.2);
}

.led-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 1.5s infinite ease-in-out;
}

.led-text {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: #5EEAD4;
  letter-spacing: 0.05em;
}

.soundbox-controls-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.lang-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.amount-buttons-cluster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.btn-voice-test {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.btn-voice-test:hover {
  background: var(--disha-teal);
  color: #05070B;
  transform: translateY(-2px);
}

/* ========================================================
   GLOBAL PROFESSIONAL FOOTER
======================================================== */
.disha-global-footer {
  position: relative;
  z-index: 10;
  background: #020306;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 28px;
}

.footer-container {
  width: min(94%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.f-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.f-brand-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-tertiary);
  max-width: 420px;
  margin-bottom: 16px;
}

.f-compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-compliance {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 8px;
  border-radius: 6px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-link-h5 {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-links-col a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--disha-teal);
}

.footer-bottom-line {
  width: min(94%, 1280px);
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================
   RESPONSIVE ADAPTATIONS
======================================================== */
@media (max-width: 1024px) {
  .nav-menu-links {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .stage-overlay-content {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .crisis-trio-grid {
    grid-template-columns: 1fr;
  }

  .dash-duo-row {
    grid-template-columns: 1fr;
  }

  .calc-results-duo {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-system-status, .nav-telemetry-pill {
    display: none;
  }

  .hero-metrics-pill-strip {
    gap: 10px;
    padding: 10px 14px;
  }

  .h-metric-sep {
    display: none;
  }

  .ledger-table-header, .ledger-row {
    grid-template-columns: 75px 120px 1fr 70px 85px;
  }

  .col-credit, .col-status {
    display: none;
  }
}


/* ========================================================
   DISHA MERCHANT SAAS STYLES
   Public Site, Login, First-Time Setup & Merchant Dashboard
   ======================================================== */

/* Public Nav additions */
.nav-container {
  width: 100%;
  max-width: 1360px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-center-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-center-links .nav-anchor {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-center-links .nav-anchor:hover {
  color: #ffffff;
}

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

.brand-hexagon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-primary-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-sound-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sound-preview:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Public Hero */
.hero-section {
  padding: 120px 24px 64px 24px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-headline {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.highlight-gradient {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px auto;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

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

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s ease;
}

.metric-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.metric-val {
  font-size: 28px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Sections */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10b981;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Comparison Table */
.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
  padding: 18px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table .highlight-col {
  background: rgba(16, 185, 129, 0.05);
  color: #ffffff;
}

.text-danger { color: #f87171; }
.text-success { color: #10b981; }

/* Soundbox Card */
.soundbox-hero-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.soundbox-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 16px 0;
}

.soundbox-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.soundbox-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.sound-demo-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sound-demo-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.soundbox-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.speaker-orb {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.speaker-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 2;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.6);
}

.sound-pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.ring-2 { width: 130px; height: 130px; animation-delay: 0.6s; }
.ring-3 { width: 160px; height: 160px; animation-delay: 1.2s; }

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

.soundbox-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.status-indicator-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Dashboard Browser Shell Preview */
.preview-browser-shell {
  background: #0d121d;
  border: 1px solid var(--border-specular);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.preview-browser-header {
  background: #080c14;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 18px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.browser-status {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.preview-dashboard-body {
  padding: 32px;
}

.preview-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-biz-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.preview-biz-sub {
  font-size: 13px;
  color: var(--text-tertiary);
}

.preview-filter-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.preview-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.preview-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 18px;
}

.p-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.p-stat-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.p-stat-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.preview-table-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.table-preview-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table-preview-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.table-tag {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.preview-table th {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.preview-cta-strip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-cta-strip span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.btn-preview-login {
  background: #10b981;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-preview-login:hover {
  background: #059669;
}

/* CTA Banner */
.cta-banner-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.05));
  border-top: 1px solid var(--border-subtle);
}

.cta-banner-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner-container h2 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-banner-container p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.btn-cta-main {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 15px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

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

/* Footer */
.public-footer {
  background: #060910;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 30px 24px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-brand .brand-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-col-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col-links a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col-links a:hover {
  color: #10b981;
}

.footer-subtext {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* ========================================================
   AUTHENTICATION & LOGIN STYLES
   ======================================================== */
.auth-body {
  background-color: var(--bg-obsidian);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
}

.auth-wrapper {
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 40px 20px;
}

.auth-top-nav {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--text-primary);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 16px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.auth-alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: #10b981;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.password-input-wrapper {
  position: relative;
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-password:hover {
  color: var(--text-primary);
}

.btn-auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-auth-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.provision-helper-card {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.helper-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.helper-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.preset-merchants-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-merchant-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-merchant-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(16, 185, 129, 0.3);
}

.preset-details {
  display: flex;
  flex-direction: column;
}

.preset-details strong {
  font-size: 12.5px;
  color: #ffffff;
}

.preset-details span {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-preset-use {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.auth-card-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ========================================================
   ONBOARDING / FIRST-TIME SETUP STYLES
   ======================================================== */
.setup-body {
  background-color: var(--bg-obsidian);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  padding: 40px 20px;
}

.setup-wrapper {
  max-width: 620px;
  width: 100%;
}

.setup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.setup-header {
  text-align: center;
  margin-bottom: 32px;
}

.setup-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.setup-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.setup-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.setup-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.step-indicator.active {
  opacity: 1;
}

.step-indicator.completed {
  opacity: 1;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
}

.step-indicator.active .step-number {
  background: #10b981;
  color: #ffffff;
}

.step-indicator.completed .step-number {
  background: #059669;
  color: #ffffff;
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.step-line {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 12px;
}

.step-heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-hint {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.vpa-feedback-box {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vpa-feedback-box.empty {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.vpa-feedback-box.valid {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.vpa-feedback-box.invalid {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.step-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-step-next, .btn-step-finish {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-step-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-step-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.soundbox-pref-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.soundbox-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soundbox-toggle-row strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.soundbox-toggle-row p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

input:checked + .slider {
  background-color: #10b981;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

.btn-test-sound-sample {
  margin-top: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.setup-summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px;
}

.setup-summary-card h4 {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item span {
  color: var(--text-muted);
}

.setup-footer {
  margin-top: 24px;
  text-align: center;
}

.logout-link {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* ========================================================
   DASHBOARD APPLICATION SHELL STYLES
   ======================================================== */
.dashboard-body {
  background-color: #080c14;
  color: var(--text-primary);
  font-family: var(--font-sans);
  height: 100vh;
  overflow: hidden;
}

.dash-shell {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar */
.dash-sidebar {
  width: 250px;
  background: #090d16;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.sidebar-brand {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.sidebar-title-group {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10b981;
}

.sidebar-merchant-info {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.merchant-avatar {
  font-size: 24px;
}

.merchant-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.merchant-meta strong {
  font-size: 13.5px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merchant-meta span {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.side-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.side-nav-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-weight: 600;
}

.nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

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

.user-email-text {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  transition: color 0.2s ease;
}

.btn-logout:hover {
  color: #ef4444;
}

/* Main Area */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #090d16;
}

.dash-header {
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(16px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.bc-root { color: var(--text-muted); }
.bc-sep { color: var(--text-muted); opacity: 0.5; }
.bc-active { color: #ffffff; font-weight: 600; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
  cursor: pointer;
}

.header-soundbox-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  color: #10b981;
}

.header-notif-wrapper {
  position: relative;
}

.btn-notif-bell {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  width: 320px;
  background: #111827;
  border: 1px solid var(--border-specular);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 200;
  overflow: hidden;
}

.notif-drop-header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #ffffff;
}

.btn-mark-all-read {
  background: none;
  border: none;
  color: #10b981;
  font-size: 11.5px;
  cursor: pointer;
}

.notif-drop-list {
  max-height: 280px;
  overflow-y: auto;
}

.notif-drop-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.notif-drop-item.unread {
  background: rgba(16, 185, 129, 0.05);
}

.notif-drop-item strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
  margin-bottom: 2px;
}

.notif-drop-item p {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 10.5px;
  color: var(--text-muted);
}

.empty-notif-drop {
  padding: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn-header-cta {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  background: #059669;
}

/* Content Area */
.dash-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
}

.workspace-section {
  display: none;
}

.workspace-section.active {
  display: block;
}

/* Metrics Row */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.dash-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

.m-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.m-card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.m-card-icon {
  font-size: 18px;
}

.m-card-val {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.m-card-foot {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Panels */
.dash-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.panel-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.panel-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.panel-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.panel-link {
  font-size: 13px;
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
}

/* Split row */
.overview-split-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.overview-split-row .dash-panel {
  margin-bottom: 0;
}

.chart-container {
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding-top: 20px;
}

.empty-chart-state {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.empty-chart-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 16px;
  max-width: 520px;
  margin: 0 auto;
}

.empty-chart-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.12);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.empty-chart-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 4px 0;
}

.empty-chart-card p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.empty-chart-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ec-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ec-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
}

.ec-sep {
  color: var(--text-muted);
  font-size: 11px;
}

.chart-bars-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.bar-amount-tip {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bar-fill {
  width: 100%;
  max-width: 38px;
  background: linear-gradient(180deg, #10b981, rgba(16, 185, 129, 0.3));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

.bar-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 8px;
  white-space: nowrap;
}

.overview-vpa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.overview-vpa-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ov-vpa-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ov-vpa-left strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
}

.ov-bank-name {
  font-size: 11px;
  color: var(--text-muted);
}

.tag-default {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-pill-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.status-pill-paused {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.quick-create-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 16px;
}

.quick-create-box h4 {
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 4px;
}

.quick-create-box p {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-dash-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dash-primary:hover {
  background: #059669;
}

.btn-dash-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-dash-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dash-export {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.dash-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.empty-table-msg {
  text-align: center;
  padding: 36px 16px !important;
  color: var(--text-muted);
}

.btn-table-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}

.btn-table-action:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.btn-table-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 6px;
}

/* Payments Toolbar */
.payments-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 8px;
  min-width: 280px;
}

.search-box input {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  width: 100%;
}

.filter-pills {
  display: flex;
  gap: 6px;
}

.filter-pills .pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  cursor: pointer;
}

.filter-pills .pill.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* Create Payment Grid */
.create-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.currency-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #10b981;
}

.currency-input {
  padding-left: 36px !important;
  font-size: 20px !important;
  font-weight: 800;
}

.qr-idle-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.qr-placeholder-box {
  margin-bottom: 16px;
  opacity: 0.3;
}

.qr-container-card {
  background: #ffffff;
  color: #000000;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto 24px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-merchant-tag {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111827;
}

.qrcode-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.qr-amount-tag {
  font-size: 24px;
  font-weight: 900;
  color: #059669;
  margin-bottom: 6px;
}

.qr-apps-tag {
  font-size: 10px;
  color: #6b7280;
  font-weight: 600;
}

.payment-link-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.simulate-test-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.sim-header {
  margin-bottom: 10px;
}

.sim-header strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.sim-header span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.btn-simulate {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-simulate:hover:not(:disabled) {
  background: #1d4ed8;
}

/* Reports Summary Grid */
.reports-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.report-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 18px;
}

.report-box-title {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.report-box-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.report-box-sub {
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.compliance-note-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.compliance-note-box h4 {
  font-size: 14px;
  color: #10b981;
  margin-bottom: 6px;
}

.compliance-note-box p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Soundbox Workspace */
.soundbox-settings-layout {
  max-width: 580px;
}

.sb-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
}

.vol-slider {
  width: 100%;
  accent-color: #10b981;
  cursor: pointer;
}

.test-sound-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.test-sound-disclaimer {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Notifications List */
.full-notif-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.full-notif-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 16px;
}

.full-notif-card.unread {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.fn-icon {
  font-size: 22px;
}

.fn-content h4 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.fn-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.fn-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Transaction Details Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.tx-details-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: #101623;
  border-left: 1px solid var(--border-specular);
  z-index: 510;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.tx-details-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.btn-close-drawer {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.drawer-amount-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.drawer-amount-label {
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-amount-val {
  font-size: 32px;
  font-weight: 800;
  color: #10b981;
  margin: 6px 0;
}

.drawer-fee-tag {
  font-size: 12px;
  color: #38bdf8;
  font-weight: 600;
}

.drawer-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.drawer-info-item span:first-child {
  color: var(--text-muted);
}

.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 24px;
}

.activity-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
  position: relative;
}

.step-dot {
  position: absolute;
  left: -24px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.timeline-step.done .step-dot {
  background: #10b981;
  color: #ffffff;
}

.timeline-step.pending .step-dot {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.step-content strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 2px;
}

.step-content span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: #111827;
  border: 1px solid var(--border-specular);
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Sidebar Backdrop on Mobile */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .soundbox-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .soundbox-buttons {
    margin: 0 auto;
  }

  .preview-metrics-row, .metrics-grid, .reports-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-split-row, .create-payment-grid, .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-center-links {
    display: none;
  }

  .btn-sidebar-toggle {
    display: block;
  }

  .dash-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .header-soundbox-pill, .header-date-filter {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .preview-metrics-row, .metrics-grid, .reports-summary-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================================================
   DISHA 8.2 REFINED CINEMATIC SECTIONS & ACCESSIBILITY
   ======================================================== */

/* Focus States for Keyboard Navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #10B981 !important;
  outline-offset: 3px !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility Helpers */
.text-teal { color: #10B981 !important; }
.text-loss { color: #EF4444 !important; }
.text-muted { color: #94A3B8 !important; }
.font-bold { font-weight: 700 !important; }

/* ── ACT 3: PIPELINE FLOW GRID ── */
.pipeline-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.pipeline-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease-lux);
}

.pipeline-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.4);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ── ACT 4: SMART VPA ROTATION ENGINE ── */
.vpa-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  margin-bottom: 24px;
}

.vpa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s var(--ease-lux);
}

.vpa-card.active-vpa {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.vpa-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vpa-bank-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.vpa-health-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.health-green {
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.vpa-address {
  font-size: 0.95rem;
  color: #5EEAD4;
  font-weight: 600;
}

.vpa-limits-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.vpa-limit-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #06B6D4);
  border-radius: 3px;
}

.vpa-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.vpa-sim-terminal {
  background: #06090F;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.vpa-sim-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.btn-terminal-action {
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #5EEAD4;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-terminal-action:hover {
  background: rgba(20, 184, 166, 0.35);
  color: #FFFFFF;
}

.vpa-sim-body {
  padding: 16px 18px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #A7F3D0;
}

/* ── ACT 5: DOUBLE-ENTRY LEDGER ── */
.ledger-journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 28px;
  width: 100%;
}

.ledger-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.ledger-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
}

.ledger-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.ledger-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-tertiary);
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ledger-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.ledger-footer-row td {
  background: rgba(255, 255, 255, 0.03);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
}

/* ── ACT 6: ROI CALCULATOR WIDGET ── */
.calc-widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #FFFFFF;
}

.styled-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  margin-bottom: 28px;
}

.styled-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
  cursor: pointer;
}

/* ── ACT 7: HARDWARE SOUNDBOX ── */
.soundbox-hardware-stage {
  display: flex;
  justify-content: center;
  width: 100%;
}

.soundbox-device-box {
  width: min(100%, 540px);
  background: linear-gradient(180deg, #111520 0%, #080B12 100%);
  border: 2px solid rgba(20, 184, 166, 0.4);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 35px rgba(20, 184, 166, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.soundbox-speaker-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 120px;
}

.soundbox-speaker-grille span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #05070A;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 1px rgba(255, 255, 255, 0.05);
}

.soundbox-led-display {
  background: #030406;
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #10B981;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  letter-spacing: 0.08em;
  width: 100%;
  text-align: center;
}

.soundbox-lang-select-box {
  width: 100%;
}

.soundbox-select {
  width: 100%;
  background: #0A0D15;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
}

.btn-soundbox-play {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-soundbox-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

/* ── ACT 8: CONSOLE HERO PREVIEW ── */
.console-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  width: 100%;
}

.console-top-strip {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.console-traffic-lights {
  display: flex;
  gap: 6px;
}

.console-traffic-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.console-traffic-lights span:nth-child(1) { background: #EF4444; }
.console-traffic-lights span:nth-child(2) { background: #F59E0B; }
.console-traffic-lights span:nth-child(3) { background: #10B981; }

.console-url {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.console-preview-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.console-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-lbl {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.kpi-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.console-cta-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.public-footer {
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 30px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 10px;
}

/* ── PREVENT HORIZONTAL SCROLL & OVERFLOW ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.cinematic-container, .story-canvas, .scene-inner-bounds {
  max-width: 100vw;
  box-sizing: border-box;
}

.hero-split-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-content-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.hero-visual-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crisis-trio-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vpa-showcase-grid {
    grid-template-columns: 1fr;
  }

  .console-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-center-links {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 16px;
    gap: 10px;
  }

  .audio-toggle-btn .audio-btn-text {
    display: none;
  }

  .audio-toggle-btn {
    padding: 7px 10px;
    min-width: 38px;
  }

  .btn-primary-login {
    padding: 7px 14px;
    font-size: 12.5px;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 12px;
    gap: 8px;
  }

  .pipeline-flow-grid {
    grid-template-columns: 1fr;
  }

  .calc-results-duo {
    grid-template-columns: 1fr;
  }

  .console-kpi-row {
    grid-template-columns: 1fr;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }

  .hero-content-col .hero-master-title {
    font-size: 1.85rem;
    line-height: 1.16;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-content-col .hero-action-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-content-col .hero-action-group .btn-primary-hero,
  .hero-content-col .hero-action-group .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .hero-content-col .hero-metrics-pill-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
  }

  .hero-content-col .hero-metrics-pill-strip .h-metric-sep {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
    gap: 6px;
  }

  .brand-tag {
    display: none;
  }

  .btn-primary-login {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .btn-primary-login svg {
    display: none;
  }

  .hero-content-col .hero-master-title {
    font-size: 1.6rem;
    line-height: 1.18;
  }

  .hero-master-sub {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .enterprise-eyebrow {
    font-size: 0.68rem;
    padding: 3px 8px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .story-scene {
    padding: 40px 12px;
  }

  .scene-hero-balanced {
    padding-top: 82px;
    padding-bottom: 36px;
  }

  .hud-stats-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hud-payment-amounts {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hud-qr-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* Quick UPI App Launcher Buttons on Dashboard */
.btn-dash-subtle-app {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-dash-subtle-app:hover {
  background: #F8FAFC;
  border-color: #6366F1;
  color: #4F46E5;
  transform: translateY(-1px);
}

.app-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.app-dot.gpay { background: #34A853; }
.app-dot.phonepe { background: #5F259F; }
.app-dot.paytm { background: #00BAF2; }
.app-dot.bhim { background: #F26722; }

/* Dashboard UPI Assistance Modal */
.dash-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

.dash-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.dash-modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dash-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-dash-modal-close {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-dash-modal-close:hover {
  background: #F1F5F9;
  color: #1E293B;
}

.dash-modal-body {
  padding: 20px;
}

.modal-instruction-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-inst-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

.inst-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EEF2FF;
  color: #4338CA;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dash-modal-footer {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
