/* ==========================================================================
   BillGo - High-Speed GST Billing, Barcode POS & Cloud ERP Design System
   Engineered for Indian Retailers, Wholesalers & Hospitality Trades
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Dark Theme Default (Clean Slate/Navy) */
  --bg-body: #090D16;
  --bg-surface: #0E1626;
  --bg-surface-elevated: #141F36;
  --bg-surface-hover: #1A2844;
  --bg-glass: rgba(14, 22, 38, 0.88);
  --bg-glass-card: rgba(18, 28, 48, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(220, 38, 38, 0.35);
  --border-active: #DC2626;

  /* Primary Brand Tokens (Refined Crimson) */
  --brand-red: #DC2626;
  --brand-red-hover: #B91C1C;
  --brand-red-light: #EF4444;
  --brand-red-subtle: rgba(220, 38, 38, 0.1);
  --brand-red-glow: rgba(220, 38, 38, 0.2);

  /* Functional Accents */
  --accent-emerald: #10B981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.1);
  --accent-emerald-border: rgba(16, 185, 129, 0.25);

  --accent-indigo: #6366F1;
  --accent-indigo-subtle: rgba(99, 102, 241, 0.1);
  --accent-indigo-border: rgba(99, 102, 241, 0.25);

  --accent-amber: #F59E0B;
  --accent-amber-subtle: rgba(245, 158, 11, 0.1);
  --accent-amber-border: rgba(245, 158, 11, 0.25);

  --accent-rose: #F43F5E;
  --accent-rose-subtle: rgba(244, 63, 94, 0.1);
  --accent-rose-border: rgba(244, 63, 94, 0.25);

  --accent-cyan: #06B6D4;
  --accent-cyan-subtle: rgba(6, 182, 212, 0.1);
  --accent-cyan-border: rgba(6, 182, 212, 0.25);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverted: #0F172A;

  /* Elevation Shadows (Tight & Sharp) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 140ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables & Refinements */
[data-theme="light"] {
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-hover: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-glass-card: rgba(255, 255, 255, 0.96);
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-hover: rgba(220, 38, 38, 0.35);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-inverted: #FFFFFF;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.09);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px; /* Clean, compact, high-density enterprise baseline */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Technical Subtle Background Grid (No AI Blur Blobs) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-image: 
    radial-gradient(ellipse 70% 35% at 50% -10%, rgba(220, 38, 38, 0.07), transparent),
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}

[data-theme="light"] .ambient-glow {
  background-image: 
    radial-gradient(ellipse 70% 30% at 50% -10%, rgba(220, 38, 38, 0.04), transparent),
    linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers (Scaled for Clean Information Density) */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Section Header Styles */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-red);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-tag.emerald {
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border-color: var(--accent-emerald-border);
}

.section-tag.indigo {
  color: var(--accent-indigo);
  background: var(--accent-indigo-subtle);
  border-color: var(--accent-indigo-border);
}

.section-tag.amber {
  color: var(--accent-amber);
  background: var(--accent-amber-subtle);
  border-color: var(--accent-amber-border);
}

.section-title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.gradient-red {
  color: var(--brand-red);
}

[data-theme="dark"] .gradient-red {
  background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.55;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-medium);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-name .badge-pro {
  font-size: 0.6rem;
  font-weight: 800;
  background: var(--brand-red);
  color: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.btn-icon-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-lg {
  padding: 0.72rem 1.45rem;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header Dropdown Menus (Services & Solutions + Download Hub)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger,
.nav-item-dropdown.open .nav-dropdown-trigger {
  color: var(--brand-red);
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron,
.nav-actions-dropdown:hover .dropdown-chevron,
.nav-actions-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-red);
}

/* Services Mega Dropdown */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
  pointer-events: none;
}

[data-theme="light"] .nav-dropdown-menu,
[data-theme="light"] .action-dropdown-menu {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu.wide-dropdown {
  min-width: 580px;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

.dropdown-col-header {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.dropdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.dropdown-link-item:hover {
  background: var(--bg-surface-elevated);
  transform: translateX(2px);
}

.dropdown-item-icon {
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-link-item:hover .dropdown-item-icon {
  background: var(--brand-red-subtle);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.25;
}

/* Download Hub Actions Dropdown */
.nav-actions-dropdown {
  position: relative;
}

.action-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  min-width: 265px;
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-actions-dropdown:hover .action-dropdown-menu,
.nav-actions-dropdown.open .action-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.action-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.action-dropdown-item:hover {
  background: var(--bg-surface-elevated);
}

.action-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.action-item-icon {
  font-size: 1.15rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-item-text {
  display: flex;
  flex-direction: column;
}

.action-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.action-item-subtitle {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.action-item-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.action-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.25rem 0;
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   Mobile Services Accordion (inside .nav-links.mobile-open drawer)
   ========================================================================== */

/* Hidden on desktop - shown only in mobile drawer via media query */
.mobile-services-toggle {
  display: none !important;
}

/* Sub-list collapsed by default */
.mobile-services-sub {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0.1rem 0 0;
}

.mobile-services-sub.mobile-expanded {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mobile-sub-link {
  display: block;
  padding: 0.46rem 0.85rem 0.46rem 2.1rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-sub-link:hover {
  background: var(--bg-surface-elevated);
  color: var(--brand-red);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: var(--radius-full);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.hero-announcement-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-announcement-text strong {
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.download-pill-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: 0.2rem;
  font-weight: 700;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  flex-direction: column;
}

.stat-chip-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-chip-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 26px;
  background: var(--border-subtle);
}

/* Hero Visual Showcase */
.hero-visual-wrapper {
  position: relative;
}

.hero-mockup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.65rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.65rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-address-bar {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-subtle);
}

.sync-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.sync-live-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-emerald);
  border-radius: var(--radius-full);
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* Floating Metric Badge (Restrained, No Loop Bounce) */
.floating-metric-badge {
  position: absolute;
  bottom: -0.75rem;
  left: -0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
}

.floating-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-badge-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.floating-badge-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* ==========================================================================
   Trust & Key Highlights Bar
   ========================================================================== */
.trust-bar {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-red);
  flex-shrink: 0;
}

.trust-item.emerald .trust-icon-wrap { color: var(--accent-emerald); }
.trust-item.indigo .trust-icon-wrap { color: var(--accent-indigo); }
.trust-item.amber .trust-icon-wrap { color: var(--accent-amber); }

.trust-meta h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.trust-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   NEW: Specialized Industry Billing Solutions Section
   ========================================================================== */
.industry-section {
  padding: 4.5rem 0;
  position: relative;
  background: var(--bg-body);
}

.industry-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.industry-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.industry-tab-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.industry-tab-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.industry-pane {
  display: none;
}

.industry-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.industry-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}

.industry-details-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.industry-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
}

.industry-pill-badge.amber {
  background: var(--accent-amber-subtle);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
}

.industry-pill-badge.indigo {
  background: var(--accent-indigo-subtle);
  color: var(--accent-indigo);
  border: 1px solid var(--accent-indigo-border);
}

.industry-pill-badge.rose {
  background: var(--accent-rose-subtle);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose-border);
}

.industry-pill-badge.emerald {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

.industry-details-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.industry-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.industry-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.industry-spec-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.industry-spec-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-primary);
}

.industry-spec-head svg {
  color: var(--brand-red);
  flex-shrink: 0;
}

.industry-spec-item p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Industry Live Preview Mockup Card */
.industry-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.preview-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.preview-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Hotel Preview: Table Map & KOT */
.hotel-preview-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.table-node {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.table-node.active {
  border-color: var(--accent-amber);
  background: var(--accent-amber-subtle);
  color: var(--accent-amber);
}

.table-node.billed {
  border-color: var(--brand-red);
  background: var(--brand-red-subtle);
  color: var(--brand-red);
}

.table-node.vacant {
  color: var(--accent-emerald);
}

.kot-ticket-box {
  background: #FFFBEB;
  color: #78350F;
  border: 1px dashed #FDE68A;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  margin-bottom: 1rem;
}

.kot-ticket-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  border-bottom: 1px dashed #FDE68A;
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

/* Hardware Preview: Wire Cut & Ledger */
.hardware-calc-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-line:last-child {
  border-bottom: none;
  font-weight: 700;
  color: var(--text-primary);
}

.party-khata-card {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--accent-indigo-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Clothing Preview: Barcode Tag */
.garment-tag-box {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-sans);
  text-align: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.barcode-svg-bars {
  font-family: var(--font-mono);
  letter-spacing: 3px;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0.3rem 0;
}

/* POS Terminal Preview: Thermal ESC/POS Slip */
.thermal-slip-box {
  background: #F8FAFC;
  color: #0F172A;
  border: 1px dashed #94A3B8;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.slip-divider {
  border-top: 1px dashed #94A3B8;
  margin: 0.4rem 0;
}

.slip-row {
  display: flex;
  justify-content: space-between;
  margin: 0.2rem 0;
}

/* ==========================================================================
   Interactive Live Simulator / Bill Generator
   ========================================================================== */
.demo-section {
  padding: 4.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.simulator-box {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Preset Picker Bar in Simulator */
.sim-preset-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface-elevated);
  padding: 3px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid var(--border-subtle);
}

.sim-preset-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 0.65rem;
}

.sim-preset-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-preset-btn:hover {
  color: var(--text-primary);
}

.sim-preset-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
}

.sim-mode-toggle {
  display: flex;
  background: var(--bg-surface-elevated);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.sim-mode-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-mode-btn.active {
  background: var(--brand-red);
  color: #fff;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Invoice Builder Controls */
.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sim-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sim-input, .sim-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.sim-input:focus, .sim-select:focus {
  border-color: var(--brand-red);
}

.sim-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.sim-items-table th {
  text-align: left;
  padding: 0.4rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.74rem;
}

.sim-items-table td {
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-items-table input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  padding: 0.28rem 0.45rem;
  border-radius: var(--radius-xs);
  width: 100%;
}

.btn-add-item-row {
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-add-item-row:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Live Paper Render */
.invoice-preview-paper {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.inv-shop-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
}

.inv-shop-sub {
  font-size: 0.72rem;
  color: #64748B;
}

.inv-badge-gst {
  background: var(--brand-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  height: fit-content;
}

.inv-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-bottom: 0.75rem;
  color: #475569;
}

.inv-table-preview {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  margin-bottom: 0.75rem;
}

.inv-table-preview th {
  background: #F1F5F9;
  color: #0F172A;
  padding: 0.4rem;
  text-align: left;
  font-weight: 700;
}

.inv-table-preview td {
  padding: 0.4rem;
  border-bottom: 1px solid #E2E8F0;
  color: #1E293B;
}

.inv-totals-box {
  margin-left: auto;
  width: 55%;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid #CBD5E1;
  padding-top: 0.5rem;
}

.inv-total-row {
  display: flex;
  justify-content: space-between;
  color: #475569;
}

.inv-total-row.grand-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-red);
  border-top: 2px solid #E2E8F0;
  padding-top: 0.35rem;
  margin-top: 0.2rem;
}

.inv-qr-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #CBD5E1;
}

.inv-upi-badge {
  font-size: 0.68rem;
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* POS Quick Items Grid */
.pos-quick-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-quick-item:hover {
  border-color: var(--brand-red);
  background: var(--bg-surface-elevated);
  transform: translateY(-1px);
}

.pos-item-title {
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--text-primary);
}

.pos-item-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.pos-item-price {
  font-weight: 800;
  color: var(--brand-red);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

/* POS Held Cart Bar */
.pos-toolbar-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.74rem;
}

.btn-pos-action {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pos-action:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* ==========================================================================
   Complete Features & Services Matrix
   ========================================================================== */
.features-section {
  padding: 4.5rem 0;
  position: relative;
}

.feature-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.tab-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.45rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.feature-card.emerald .feature-icon-box { color: var(--accent-emerald); }
.feature-card.indigo .feature-icon-box { color: var(--accent-indigo); }

.feature-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.feature-badge.new {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald-border);
}

.feature-badge.hot {
  background: var(--brand-red-subtle);
  color: var(--brand-red);
  border-color: rgba(220, 38, 38, 0.25);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.825rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.feature-point .check {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   Dedicated App Download Section
   ========================================================================== */
.download-section {
  padding: 4.5rem 0;
  position: relative;
}

.download-banner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.75rem;
}

.apk-highlight-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.apk-badge-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.65rem;
  border-bottom-left-radius: var(--radius-xs);
}

.apk-info-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.apk-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.apk-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.apk-details p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.apk-specs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.apk-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

.store-buttons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.store-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.store-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.store-btn-icon {
  font-size: 1.35rem;
}

.store-btn-text span {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

.store-btn-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.download-phone-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-mockup-wrapper {
  max-width: 270px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #1E293B;
  overflow: hidden;
  position: relative;
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.qr-floating-card {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.qr-code-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-xs);
  background: #fff;
  padding: 2px;
}

.qr-card-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 4.5rem 0;
  position: relative;
}

.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.pricing-switch {
  display: flex;
  background: var(--bg-surface-elevated);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.pricing-switch-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-switch-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
}

.save-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--brand-red);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.95rem;
  border-radius: var(--radius-full);
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.pricing-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 36px;
  line-height: 1.45;
}

.pricing-trial-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

.pricing-price-wrap {
  margin: 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pricing-feature-item .check {
  color: var(--accent-emerald);
  font-weight: 800;
  margin-top: 1px;
}

/* AutoPay Notice Card */
.autopay-notice-box {
  margin-top: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.autopay-icon {
  font-size: 1.75rem;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.autopay-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.autopay-content p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
  position: relative;
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  font-size: 0.9rem;
  color: var(--brand-red);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.35rem 1rem;
  color: var(--text-secondary);
  font-size: 0.825rem;
  line-height: 1.6;
}

/* ==========================================================================
   Download Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.18s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.download-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  background: var(--bg-surface-elevated);
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0.75rem 0 1rem 0;
  max-width: 300px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Responsive Breakpoints: Mobile, Tablet & High-Density Handheld Friendly
   ========================================================================== */

/* Universal Responsive Utilities */
.mobile-only-action {
  display: none;
}

.sim-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Touch targets optimization */
button, input, select, a {
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   Tablets & Laptops (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 640px;
  }

  .hero-mockup-card {
    max-width: 680px;
    margin: 0 auto;
  }

  .industry-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pricing-card.popular {
    grid-column: span 2;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Tablets Portrait & Large Phones (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  html {
    font-size: 14.5px;
  }

  .site-header {
    height: 3.85rem;
  }

  .nav-container {
    height: 3.85rem;
  }

  .brand-logo-img {
    height: 28px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    display: none;
  }

  #web-admin-portal-link {
    display: none;
  }

  .mobile-only-action {
    display: block;
    margin-top: 0.35rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 3.85rem;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 3.85rem);
    overflow-y: auto;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.65rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
    animation: fadeIn 0.18s ease-out;
  }

  /* Inside mobile drawer: hide desktop mega-dropdown, show accordion toggle */
  .nav-links.mobile-open .nav-item-dropdown > .nav-dropdown-trigger {
    display: none !important;
  }

  .nav-links.mobile-open .mobile-services-toggle {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-links.mobile-open .mobile-services-toggle:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-subtle);
    color: var(--brand-red);
  }

  /* Completely hide the desktop wide-dropdown panel inside mobile drawer */
  .nav-links.mobile-open .nav-dropdown-menu {
    display: none !important;
  }

  .nav-link {
    font-size: 0.92rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
  }

  .nav-link:hover, .nav-link.active {
    background: var(--bg-surface-elevated);
    border-color: var(--border-subtle);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
  }

  /* Horizontal swipeable tabs for mobile touch */
  .industry-nav-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 0.35rem 0.25rem 0.75rem;
    scrollbar-width: none;
    margin-bottom: 1.75rem;
  }

  .industry-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .industry-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
  }

  .sim-preset-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 3px;
  }

  .sim-preset-bar::-webkit-scrollbar {
    display: none;
  }

  .sim-preset-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.74rem;
  }

  .feature-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 0.25rem 0.25rem 0.75rem;
    scrollbar-width: none;
    margin-bottom: 2rem;
  }

  .feature-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .features-grid, .pricing-grid, .trust-grid, .store-buttons-row, .industry-features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    grid-column: span 1;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .download-banner-card {
    padding: 2rem 1.5rem;
  }

  .apk-highlight-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .apk-highlight-card .btn {
    width: 100%;
    justify-content: center;
  }

  .simulator-box {
    padding: 1.25rem;
  }

  .inv-totals-box {
    width: 100%;
  }

  .hotel-preview-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-metric-badge {
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.5rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Standard & Small Mobile Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.85rem;
  }

  .hero-section {
    padding: 2.25rem 0 2.5rem 0;
  }

  .hero-announcement {
    padding: 0.25rem 0.65rem;
    margin-bottom: 1rem;
  }

  .hero-announcement-text {
    font-size: 0.7rem;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1.15rem;
  }

  .hero-social-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding-top: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .stat-chip-number {
    font-size: 1.05rem;
  }

  .stat-chip-label {
    font-size: 0.65rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-desc {
    font-size: 0.84rem;
    margin-bottom: 1.75rem;
  }

  .section-tag {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
  }

  /* Industry Section on Mobile */
  .industry-section {
    padding: 3rem 0;
  }

  .industry-details-card {
    padding: 1.25rem 1rem;
  }

  .industry-details-card h3 {
    font-size: 1.2rem;
  }

  .industry-desc {
    font-size: 0.825rem;
    margin-bottom: 1.25rem;
  }

  .industry-preview-card {
    padding: 1rem 0.85rem;
  }

  .hotel-preview-map {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .table-node {
    padding: 0.4rem 0.25rem;
    font-size: 0.68rem;
  }

  .kot-ticket-box {
    padding: 0.65rem 0.75rem;
    font-size: 0.7rem;
  }

  /* Simulator on Mobile */
  .demo-section {
    padding: 3rem 0;
  }

  .simulator-box {
    padding: 1rem 0.75rem;
  }

  .simulator-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .sim-mode-toggle {
    width: 100%;
  }

  .sim-mode-btn {
    flex: 1;
    text-align: center;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  .sim-input-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .sim-items-table {
    min-width: 320px;
    font-size: 0.76rem;
  }

  .sim-items-table th, .sim-items-table td {
    padding: 0.35rem 0.25rem;
  }

  .sim-controls-panel > div:last-child {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sim-controls-panel > div:last-child .btn {
    width: 100%;
  }

  .invoice-preview-paper {
    padding: 1rem 0.75rem;
  }

  .inv-shop-title {
    font-size: 0.95rem;
  }

  .inv-meta-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .inv-meta-row div:last-child {
    text-align: left !important;
  }

  .inv-totals-box {
    width: 100%;
  }

  /* POS Mode on Mobile */
  .pos-toolbar-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  #pos-items-catalog {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pos-quick-item {
    padding: 0.55rem;
  }

  .pos-item-title {
    font-size: 0.78rem;
  }

  .pos-item-meta {
    font-size: 0.62rem;
  }

  .pos-item-price {
    font-size: 0.8rem;
  }

  /* Download Section on Mobile */
  .download-section {
    padding: 3rem 0;
  }

  .download-banner-card {
    padding: 1.5rem 1rem;
  }

  .qr-floating-card {
    display: none;
  }

  .phone-mockup-wrapper {
    max-width: 220px;
    border-width: 3px;
  }

  /* Pricing & AutoPay on Mobile */
  .pricing-section {
    padding: 3rem 0;
  }

  .pricing-card {
    padding: 1.5rem 1.15rem;
  }

  .pricing-amount {
    font-size: 2rem;
  }

  .autopay-notice-box {
    flex-direction: column;
    text-align: center;
    padding: 1.15rem 1rem;
    gap: 0.65rem;
  }

  /* FAQ on Mobile */
  .faq-section {
    padding: 3rem 0;
  }

  .faq-question {
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
  }

  .faq-answer-inner {
    padding: 0 1rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Modal on Mobile */
  .download-modal-card {
    padding: 1.35rem 1rem;
    max-height: 92vh;
    overflow-y: auto;
  }

  /* Footer on Mobile */
  .site-footer {
    padding: 2.75rem 0 1.75rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
