/* ==========================================================================
   Wahat360 — AI ERP & Quick POS Software
   Brand Colors derived from Wahat360 Logo (#2196C9 Cyan-Blue & #0B1325 Charcoal)
   ========================================================================== */

:root {
  /* Logo Primary Cyan-Blue ("W", "360" & circuit nodes) */
  --brand-cyan: #2196C9;
  --brand-cyan-bright: #29ABE2;
  --brand-cyan-light: #EBF7FC;
  --brand-cyan-glow: rgba(33, 150, 201, 0.22);
  --brand-blue-deep: #146B96;
  --brand-cta-blue: #1D63DC;

  /* Logo Charcoal / Black ("ahat") & Dark Navy Accents */
  --brand-dark: #0B1325;
  --brand-dark-elevated: #131F38;
  --brand-dark-card: #1B2947;
  --brand-charcoal: #111827;

  /* Clean Light Surfaces (Vyapar UAE Inspired Airy Palette) */
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-cyan: rgba(33, 150, 201, 0.35);

  /* Semantic Status Colors */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;

  /* Typography & Layout */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px -12px rgba(11, 19, 37, 0.14);
  --shadow-cyan: 0 12px 28px -6px rgba(33, 150, 201, 0.32);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.6;
}

body {
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Clean, Elegant Top Announcement Strip
   ========================================================================== */
.top-bar {
  background: #0B1325;
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 4px 0;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.top-bar-pill {
  background: rgba(33, 150, 201, 0.22);
  color: #38BDF8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(56, 189, 248, 0.3);
  white-space: nowrap;
}

.top-bar-text {
  line-height: 1.4;
}

.top-bar-text-mobile {
  display: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.top-bar-right a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.top-bar-right a:hover {
  color: var(--brand-cyan-bright);
}

.top-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Spacious, Uncongested Sticky Navigation Header
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  background: #FFFFFF;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 28px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand-tag {
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-cyan);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-cyan);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--brand-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cta-blue) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(33, 150, 201, 0.45);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  background: var(--brand-cyan-light);
}

.btn-header-cta .btn-text-short {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--brand-cyan);
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
}

.mobile-menu-btn .icon-close {
  display: none;
}

.mobile-menu-btn.active .icon-hamburger {
  display: none;
}

.mobile-menu-btn.active .icon-close {
  display: block;
}

.nav-links-mobile-cta {
  display: none;
}

/* ==========================================================================
   Flagship Grocery POS Showcase Section (Replaces Old Hero Banner)
   ========================================================================== */
.grocery-pos-showcase-section {
  background: radial-gradient(circle at 50% 0%, rgba(33, 150, 201, 0.10) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #FFFFFF 0%, #F1F7FB 100%);
  padding: 44px 0 84px;
  border-bottom: 1px solid var(--border-light);
}

.showcase-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.showcase-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.smart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-cta-blue) 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
}

.ai-erp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-cyan-light);
  border: 1px solid var(--border-cyan);
  color: var(--brand-blue-deep);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.scale-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.showcase-title {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.showcase-title span {
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-cta-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 22px;
}

/* Full-Featured Attractive Grocery POS Application Frame */
.grocery-pos-frame {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid rgba(33, 150, 201, 0.28);
  box-shadow: 0 28px 70px -15px rgba(11, 19, 37, 0.14), 0 0 0 6px rgba(33, 150, 201, 0.06);
  overflow: hidden;
}

/* POS Top Status Bar */
.gpos-topbar {
  background: linear-gradient(90deg, #0B1325 0%, #132342 100%);
  color: #FFFFFF;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gpos-store-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gpos-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.gpos-store-title {
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.gpos-store-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Digital Weighing Scale & Scanner Telemetry in Topbar */
.gpos-hardware-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hardware-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
}

.scale-readout {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-family: var(--font-mono);
  font-weight: 700;
}

.gpos-mode-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 10px;
}

.terminal-tab {
  background: transparent;
  color: #CBD5E1;
  border: none;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-tab.active {
  background: var(--brand-cyan);
  color: #FFFFFF;
}

/* Main Grocery POS Workspace */
.terminal-pane {
  display: none;
}

.terminal-pane.active {
  display: block;
}

/* Mobile POS View Switcher & Bottom Bar (Hidden on Desktop) */
.gpos-mobile-nav {
  display: none;
}

.gpos-mobile-cart-bar {
  display: none;
}

.register-mobile-header {
  display: none;
}

.scan-text-mobile {
  display: none;
}

@media (min-width: 993px) {
  .gpos-catalog-side.mob-hidden,
  .gpos-register-side.mob-hidden {
    display: flex !important;
  }
}

.gpos-workspace {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 540px;
}

/* Left Side: Grocery Catalog, Barcode Bar & Category Pills */
.gpos-catalog-side {
  padding: 22px;
  background: #F8FAFC;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gpos-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gpos-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}

.gpos-search-input-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
}

.gpos-scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cta-blue) 100%);
  color: #FFFFFF;
  border: none;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(33, 150, 201, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gpos-scan-btn:hover {
  transform: translateY(-1px);
}

/* Grocery Category Filter Pills */
.gpos-cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gpos-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.gpos-cat-pill.active,
.gpos-cat-pill:hover {
  background: var(--brand-cyan);
  color: #FFFFFF;
  border-color: var(--brand-cyan);
}

/* Attractive Visual Grocery Product Cards Grid */
.gpos-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pos-item-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pos-item-btn:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(33, 150, 201, 0.22);
}

.gpos-prod-thumb {
  height: 86px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gpos-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pos-item-btn:hover .gpos-prod-thumb img {
  transform: scale(1.06);
}

.gpos-unit-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.gpos-stock-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #0F172A;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
}

.pos-item-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 6px;
  display: block;
}

.pos-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 6px;
}

.pos-item-sku {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.pos-item-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

/* Right Side: Grocery Checkout Bill & Payment Register */
.gpos-register-side {
  padding: 22px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gpos-customer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.gpos-customer-bar strong {
  color: var(--text-primary);
}

.gpos-cart-table-head {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-light);
}

.pos-cart-items {
  max-height: 215px;
  min-height: 175px;
  overflow-y: auto;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pos-cart-row {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.85fr;
  align-items: center;
  font-size: 0.82rem;
  padding: 8px 10px;
  background: var(--bg-page);
  border: 1px solid #EEF2F6;
  border-radius: 10px;
}

.pos-cart-row-title {
  color: var(--text-primary);
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.pos-cart-row-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 7px;
  padding: 2px 6px;
}

.qty-btn {
  background: none;
  border: none;
  font-weight: 800;
  color: var(--brand-cyan);
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0 3px;
}

.pos-cart-row-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 800;
}

.gpos-totals-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 8px;
}

.pos-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.pos-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1.5px dashed #CBD5E1;
}

.gpos-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.pos-mini-btn {
  padding: 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-hold {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.btn-disc {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.btn-clear-cart {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.btn-pay-big {
  grid-column: span 3;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-pay-big:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -6px rgba(16, 185, 129, 0.55);
}

/* Core 4 Modules Strip Below POS Frame (PDF Page 1: Sales, Inventory, Accounts, Reports) */
.showcase-pillars-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.pillar-strip-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pillar-strip-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-strip-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-strip-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.pillar-strip-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AI Copilot & Live Ledger Panes inside Showcase */
.ai-copilot-box {
  padding: 28px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-insight-card {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3.5px solid var(--brand-cyan-bright);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
}

.ai-insight-card strong {
  color: #38BDF8;
  display: block;
  margin-bottom: 4px;
}

.ai-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ai-kpi-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.ai-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38BDF8;
}

.ai-kpi-lbl {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* ==========================================================================
   Common Section Headers
   ========================================================================== */
.section {
  padding: 92px 0;
}

.section-alt {
  background: #FFFFFF;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-cyan);
  background: var(--brand-cyan-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Industries Built For Everyday Selling (PDF Page 1 Verticals)
   ========================================================================== */
.industries-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.industry-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.industry-tab-btn:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.industry-tab-btn.active {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-cta-blue));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
}

.industry-panel {
  display: none;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 42px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.industry-panel.active {
  display: grid;
}

.industry-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: var(--brand-cyan-light);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.industry-panel h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.industry-panel p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.industry-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.industry-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.industry-visual-card {
  background: linear-gradient(145deg, var(--brand-dark) 0%, #162647 100%);
  color: #FFFFFF;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(33, 150, 201, 0.3);
  position: relative;
}

.industry-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.industry-metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
}

.industry-metric-box strong {
  display: block;
  font-size: 1.35rem;
  color: #38BDF8;
}

.industry-metric-box span {
  font-size: 0.78rem;
  color: #CBD5E1;
}

/* ==========================================================================
   Page 2 of PDF: "Everything you need at the checkout" (20-Feature Connected Workflow)
   ========================================================================== */
.checkout-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--brand-cyan);
  color: #FFFFFF;
  border-color: var(--brand-cyan);
}

.checkout-20-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checkout-pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
  cursor: pointer;
}

.checkout-pill-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.checkout-pill-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkout-pill-card:hover .checkout-pill-icon {
  background: var(--brand-cyan);
  color: #FFFFFF;
}

.checkout-pill-title {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.checkout-pill-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.checkout-pill-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--brand-blue-deep);
  flex-shrink: 0;
}

/* ==========================================================================
   Page 3 of PDF: "Faster checkout. Better control." (6 Rich Feature Cards)
   ========================================================================== */
.faster-checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.feature-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-showcase-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-cyan-light), #D5F0FA);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-card-desc {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.6;
}

.feature-mini-ui {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-page);
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.barcode-visual {
  font-family: var(--font-mono);
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--brand-charcoal);
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   AI ERP Intelligence Suite Banner
   ========================================================================== */
.ai-erp-section {
  background: linear-gradient(135deg, #0A1326 0%, #10213F 60%, #0D2D47 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.ai-erp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ai-erp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(41, 171, 226, 0.25);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.ai-erp-card:hover {
  background: rgba(33, 150, 201, 0.14);
  border-color: var(--brand-cyan-bright);
  transform: translateY(-5px);
}

.ai-erp-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.14);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.ai-erp-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.ai-erp-card p {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   Page 4 of PDF: "Inventory + accounting in one place" (9-Card 3x3 Grid)
   ========================================================================== */
.inv-acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inv-acc-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.inv-acc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cta-blue));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.inv-acc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-cyan);
}

.inv-acc-card:hover::before {
  opacity: 1;
}

.inv-acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.inv-acc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inv-acc-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--text-primary);
}

.inv-acc-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.inv-acc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--bg-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue-deep);
}

/* ==========================================================================
   Page 5 of PDF: "Know your business. Act faster." (Dark Analytics + CTA Banner)
   ========================================================================== */
.analytics-dark-section {
  background: linear-gradient(170deg, #0B1325 0%, #0E1930 60%, #12213F 100%);
  color: #FFFFFF;
  padding: 96px 0;
}

.analytics-dark-section .section-title {
  color: #FFFFFF;
}

.analytics-dark-section .section-desc {
  color: #CBD5E1;
}

.analytics-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.analytics-dark-card {
  background: rgba(27, 41, 71, 0.75);
  border: 1px solid rgba(41, 171, 226, 0.25);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.analytics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.analytics-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.analytics-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(33, 150, 201, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-dark-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
}

.analytics-dark-card p {
  color: #CBD5E1;
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.chart-bars-wrap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  height: 150px;
  padding: 18px 14px 8px;
  background: rgba(9, 15, 30, 0.55);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.chart-bar {
  width: 100%;
  max-width: 32px;
  background: linear-gradient(180deg, #38BDF8 0%, var(--brand-cta-blue) 100%);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar-lbl {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 600;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 12px;
  border-radius: 12px;
}

.product-margin-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.product-margin-table th {
  text-align: left;
  color: #94A3B8;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-margin-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #F1F5F9;
}

.margin-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
}

.simplify-pos-banner {
  background: linear-gradient(135deg, #1A62D6 0%, var(--brand-cyan) 100%);
  border-radius: 26px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: 0 24px 60px rgba(26, 98, 214, 0.45);
  position: relative;
  overflow: hidden;
}

.simplify-kicker {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E0F2FE;
  margin-bottom: 10px;
}

.simplify-pos-banner h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.simplify-pos-banner p {
  font-size: 1.06rem;
  color: #F0F9FF;
  max-width: 600px;
  margin-bottom: 16px;
}

.simplify-modules-line {
  font-weight: 800;
  font-size: 0.95rem;
  color: #BAE6FD;
  letter-spacing: 0.03em;
}

.btn-white-cta {
  background: #FFFFFF;
  color: #0F172A;
  padding: 16px 30px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-white-cta:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  color: var(--brand-cta-blue);
}

/* ==========================================================================
   Pricing Plans & FAQ
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card.popular {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  right: 26px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cta-blue));
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 6px;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-features {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-cyan);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.28s ease;
}

.faq-item.active .faq-answer {
  max-height: 260px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer & Modals
   ========================================================================== */
.site-footer {
  background: #080E1C;
  color: #94A3B8;
  padding: 72px 0 36px;
  border-top: 1px solid rgba(33, 150, 201, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-cyan-bright);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 30, 0.72);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-page);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.thermal-receipt {
  font-family: var(--font-mono);
  background: #FFFDF9;
  border: 1px dashed #94A3B8;
  padding: 20px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: #1E293B;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Mobile First & Congestion-Free)
   ========================================================================== */
@media (max-width: 1120px) {
  .gpos-workspace {
    grid-template-columns: 1fr;
  }
  .gpos-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase-pillars-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-panel.active,
  .analytics-cards-grid {
    grid-template-columns: 1fr;
  }
  .ai-erp-grid,
  .inv-acc-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Mobile POS View Switcher & Workspace Tabs (<= 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .gpos-mobile-nav {
    display: flex;
    gap: 8px;
    background: #EDF2F7;
    padding: 6px;
    border-bottom: 1.5px solid var(--border-light);
  }

  .gpos-mob-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 0.86rem;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .gpos-mob-tab.active {
    background: #FFFFFF;
    color: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    font-weight: 800;
  }

  .gpos-mob-cart-badge {
    background: var(--brand-cyan);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
  }

  .gpos-workspace {
    display: block !important;
    min-height: auto;
  }

  .gpos-catalog-side.mob-hidden,
  .gpos-register-side.mob-hidden {
    display: none !important;
  }

  .gpos-mobile-cart-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #0B1325 0%, #172544 100%);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(11, 19, 37, 0.35);
    margin-top: 14px;
    position: sticky;
    bottom: 12px;
    z-index: 25;
  }

  .mob-cart-summary {
    display: flex;
    flex-direction: column;
  }

  .mob-cart-items-count {
    font-size: 0.74rem;
    color: #94A3B8;
  }

  .mob-cart-items-count strong {
    color: #38BDF8;
  }

  .mob-cart-total-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
  }

  .btn-view-bill-mob {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cta-blue) 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.86rem;
    font-family: var(--font-sans);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(33, 150, 201, 0.4);
    white-space: nowrap;
    transition: transform 0.15s ease;
  }

  .btn-view-bill-mob:active {
    transform: scale(0.97);
  }

  .register-mobile-header {
    display: flex;
    margin-bottom: 12px;
  }

  .btn-back-to-catalog {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-sans);
    color: var(--text-primary);
    cursor: pointer;
  }
}

@media (max-width: 820px) {
  /* Navigation & Mobile Drawer */
  .nav-inner {
    height: 66px;
    gap: 14px;
  }

  .brand-logo img {
    height: 36px;
    max-width: 170px;
  }

  .desktop-only-tag,
  .brand-tag {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    padding: 6px 0;
    font-size: 1rem;
    color: var(--text-primary);
  }

  .nav-links-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-contact-links {
    display: flex;
    gap: 10px;
  }

  .mobile-contact-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F1F5F9;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .mobile-contact-pill.whatsapp {
    background: #ECFDF5;
    color: #059669;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Grid Reductions */
  .gpos-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-pillars-strip,
  .checkout-20-grid,
  .faster-checkout-grid,
  .ai-erp-grid,
  .inv-acc-grid,
  .pricing-grid,
  .footer-grid,
  .industry-checklist {
    grid-template-columns: 1fr;
  }

  .simplify-pos-banner {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  /* Prevent Any Layout Overflow */
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  .container {
    padding: 0 16px;
  }

  /* Top Bar De-congestion */
  .top-bar-right {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    min-height: 32px;
    padding: 5px 0;
    font-size: 0.72rem;
  }

  .top-bar-left {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .top-bar-text-desktop {
    display: none;
  }

  .top-bar-text-mobile {
    display: inline;
  }

  .top-bar-pill {
    font-size: 0.68rem;
    padding: 1px 7px;
  }

  /* Sticky Navbar on Phone */
  .nav-inner {
    height: 60px;
    gap: 10px;
  }

  .brand-logo img {
    height: 32px;
    max-width: 140px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-header-cta {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .btn-header-cta .btn-text-full {
    display: none;
  }

  .btn-header-cta .btn-text-short {
    display: inline;
  }

  .mobile-menu-btn {
    padding: 7px 9px;
  }

  /* Hero & Showcase Section */
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.94rem;
    margin-bottom: 26px;
  }

  .grocery-pos-showcase-section {
    padding: 24px 0 54px;
  }

  .showcase-title {
    font-size: clamp(1.65rem, 5.8vw, 2.3rem);
    line-height: 1.22;
  }

  .showcase-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .showcase-badges {
    gap: 6px;
  }

  .smart-pill,
  .ai-erp-pill,
  .scale-pill {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  /* Interactive POS Terminal Frame */
  .grocery-pos-frame {
    border-radius: 18px;
    box-shadow: 0 16px 40px -10px rgba(11, 19, 37, 0.12);
  }

  .gpos-topbar {
    padding: 12px 14px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .gpos-store-info {
    gap: 8px;
  }

  .gpos-store-title {
    font-size: 0.86rem;
    font-weight: 800;
  }

  .gpos-store-sub {
    display: none;
  }

  .gpos-hardware-strip {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .hardware-scanner,
  .hardware-printer {
    display: none;
  }

  .scale-readout {
    padding: 4px 9px;
    font-size: 0.74rem;
    border-radius: 8px;
  }

  .gpos-mode-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px;
    display: flex;
    gap: 4px;
  }

  .gpos-mode-tabs::-webkit-scrollbar {
    display: none;
  }

  .terminal-tab {
    flex-shrink: 0;
    padding: 6px 11px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .gpos-catalog-side {
    padding: 14px;
    border-right: none;
    gap: 12px;
  }

  .gpos-search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .gpos-search-input-wrap {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
  }

  .gpos-scan-btn {
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .scan-text-desktop {
    display: none;
  }

  .scan-text-mobile {
    display: inline;
  }

  .gpos-cat-bar {
    gap: 6px;
    padding-bottom: 4px;
  }

  .gpos-cat-pill {
    padding: 6px 12px;
    font-size: 0.76rem;
    border-radius: 8px;
  }

  .gpos-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pos-item-btn {
    padding: 8px;
    border-radius: 12px;
    min-width: 0;
  }

  .gpos-prod-thumb {
    height: 78px;
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .gpos-unit-tag {
    font-size: 0.62rem;
    padding: 2px 5px;
    top: 4px;
    left: 4px;
  }

  .gpos-stock-dot {
    font-size: 0.62rem;
    padding: 2px 5px;
    bottom: 4px;
    right: 4px;
  }

  .pos-item-name {
    font-size: 0.78rem;
    margin-bottom: 4px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
  }

  .pos-item-meta {
    padding-top: 4px;
  }

  .pos-item-sku {
    font-size: 0.62rem;
  }

  .pos-item-price {
    font-size: 0.82rem;
  }

  /* POS Register / Checkout Side */
  .gpos-register-side {
    padding: 14px;
  }

  .gpos-customer-bar {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .gpos-cart-table-head {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    font-size: 0.68rem;
    padding: 4px 6px;
  }

  .pos-cart-row {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    padding: 8px 8px;
    gap: 6px;
    font-size: 0.76rem;
    border-radius: 8px;
  }

  .pos-cart-row-title {
    font-size: 0.76rem;
    word-break: break-word;
  }

  .pos-cart-row-unit {
    font-size: 0.66rem;
  }

  .qty-stepper {
    gap: 3px;
    padding: 1px 4px;
  }

  .qty-btn {
    font-size: 0.82rem;
    padding: 0 2px;
  }

  .pos-cart-row-right {
    font-size: 0.76rem;
    gap: 4px;
  }

  .gpos-totals-card {
    padding: 10px 12px;
  }

  .pos-summary-line {
    font-size: 0.78rem;
  }

  .pos-summary-total {
    font-size: 1.05rem;
    padding-top: 6px;
    margin-top: 6px;
  }

  .gpos-action-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
  }

  .pos-mini-btn {
    padding: 9px 4px;
    font-size: 0.72rem;
    text-align: center;
    white-space: nowrap;
    border-radius: 8px;
  }

  .btn-pay-big {
    grid-column: span 3;
    padding: 13px 8px;
    font-size: 0.86rem;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    border-radius: 10px;
  }

  /* Copilot & Shifts Panes */
  .ai-copilot-box {
    padding: 16px 14px;
    gap: 12px;
  }

  .ai-kpi-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ai-kpi-item {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .ai-kpi-val {
    font-size: 1.15rem;
  }

  .ai-insight-card {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  /* Showcase Pillars Strip */
  .showcase-pillars-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .pillar-strip-card {
    padding: 14px 16px;
  }

  /* Industries */
  .industries-tabs {
    gap: 6px;
    margin-bottom: 24px;
  }

  .industry-tab-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
  }

  .industry-panel {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 22px;
  }

  .industry-panel h3 {
    font-size: 1.38rem;
  }

  .industry-checklist {
    gap: 10px;
  }

  .industry-check-item {
    font-size: 0.86rem;
  }

  .industry-visual-card {
    padding: 18px 14px;
  }

  .industry-metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .industry-metric-box {
    padding: 10px;
  }

  .industry-metric-box strong {
    font-size: 1.1rem;
  }

  /* Checkout Features & Workflows */
  .checkout-pill-card {
    padding: 14px 14px;
  }

  .checkout-pill-title {
    font-size: 0.92rem;
  }

  .checkout-pill-sub {
    font-size: 0.76rem;
  }

  .checkout-pill-icon {
    width: 38px;
    height: 38px;
  }

  /* Faster Checkout Cards */
  .feature-showcase-card {
    padding: 20px 16px;
  }

  .feature-card-title {
    font-size: 1.15rem;
  }

  .feature-mini-ui {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }

  /* AI ERP & Inventory Grids */
  .ai-erp-card {
    padding: 22px 18px;
  }

  .inv-acc-card {
    padding: 22px 18px;
  }

  /* Analytics & Table */
  .analytics-dark-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .chart-bars-wrap {
    gap: 6px;
    padding: 12px 8px 6px;
  }

  .chart-bar-lbl {
    font-size: 0.62rem;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-margin-table {
    min-width: 440px;
  }

  /* Blue Banner CTA */
  .simplify-pos-banner {
    padding: 24px 18px;
    border-radius: 18px;
    gap: 20px;
  }

  .simplify-pos-banner h3 {
    font-size: 1.55rem;
  }

  .btn-white-cta {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  /* Pricing Cards */
  .pricing-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .price-amount {
    font-size: 2.1rem;
  }

  /* Footer & Modals */
  .site-footer {
    padding: 48px 0 28px;
  }

  .footer-grid {
    gap: 26px;
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .modal-card {
    padding: 22px 16px;
    border-radius: 18px;
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 380px) {
  .brand-logo img {
    height: 28px;
    max-width: 120px;
  }

  .btn-header-cta {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .gpos-products-grid {
    grid-template-columns: 1fr;
  }

  .gpos-action-grid {
    grid-template-columns: 1fr;
  }

  .btn-pay-big {
    grid-column: span 1;
  }
}
