/* Design System & Reset - Modern, Bright Product Company Theme */
:root {
  --bg-main: #f8fafc;
  --bg-section-alt: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.08);
  --accent: #3b82f6;
  --accent-secondary: #10b981;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --success: #10b981;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --transition: all 0.25s ease-in-out;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: SFMono-Regular, Consolas, monospace;
}

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

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

body {
  overflow-x: hidden;
  background-color: var(--bg-main);
}

a {
  color: inherit;
  text-decoration: none;
}

code, kbd {
  font-family: var(--font-mono);
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid #e2e8f0;
}

kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1.5px 0 #94a3b8;
  color: #334155;
  font-weight: 600;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 2.2rem;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Products Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: #f1f5f9;
}

.dropdown-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.dropdown-item-desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

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

.header-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-1.5px);
  border-color: var(--border-hover);
}

.btn-accent {
  background: var(--accent-secondary);
  color: #fff;
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 320px;
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 7rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #f0f7ff 0%, var(--bg-main) 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Business Dashboard Mockup */
.hero-mockup {
  position: relative;
  z-index: 10;
}

.dashboard-mockup {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.card-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
}

.dashboard-chart-preview {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.chart-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 95px;
  margin-top: 0.5rem;
}

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

.chart-bar {
  width: 100%;
  background: var(--primary-glow);
  border-radius: 4px;
  transition: var(--transition);
}

.chart-bar.active {
  background: var(--primary);
}

.chart-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 0.4rem;
  white-space: nowrap;
}

/* Product Highlight Card Mockup */
.product-highlight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.highlight-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.highlight-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.highlight-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-family: var(--font-display);
}

.highlight-badge.pos {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.highlight-badge.erp {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-secondary);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.highlight-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
}

.highlight-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.highlight-bullet-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.bullet-tag {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Sections General */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Products Showcase Grid */
.products-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.product-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.15);
}

.showcase-content {
  padding: 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-meta-header {
  margin-bottom: 1.25rem;
}

.product-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.product-showcase-card h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.showcase-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.showcase-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.showcase-features li::before {
  content: "✓";
  color: var(--accent-secondary);
  font-weight: bold;
}

.showcase-visual {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  min-height: 200px;
}

.showcase-actions {
  margin-top: auto;
}

/* CoirFlow Graphic representation */
.coirflow-diagram {
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.coirflow-diagram-title {
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  font-family: var(--font-display);
}

.stat-badge {
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Secondary product grid */
.secondary-products-title {
  margin: 5rem 0 3rem;
}

.secondary-products-title h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 16px;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Simulator Section - Bright & User-Friendly Cashier Style */
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.pos-simulator-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
}

.pos-sim-header {
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.pos-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  font-family: var(--font-display);
}

.pos-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: var(--accent-secondary);
  box-shadow: 0 0 6px var(--accent-secondary);
}

.biller-badge, .sync-badge {
  background: #e2e8f0;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  color: #334155;
}

.pos-sim-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 400px;
}

/* Catalog UI */
.pos-catalog {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  background: #f8fafc;
}

.catalog-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.catalog-item-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.catalog-item-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
}

.catalog-item-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.catalog-item-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.item-shortcut {
  background: #f1f5f9;
  color: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Cart UI */
.pos-cart-panel {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.cart-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.cart-table-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 240px;
  margin-bottom: 1rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cart-table th {
  text-align: left;
  color: var(--text-light);
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-remove {
  color: #ef4444;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 1.25rem;
}

.cart-summary {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.summary-row.total-row {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
}

.payment-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.payment-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.6rem 0.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.payment-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hotkey-label {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  font-weight: normal;
  margin-top: 0.2rem;
}

/* Console Input Footer */
.pos-console-footer {
  background: #f8fafc;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.console-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.console-label {
  color: var(--text-main);
}

.helper-text {
  color: var(--text-light);
}

.console-input-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.25rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.console-input-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.prompt-arrow {
  color: var(--primary);
  font-weight: 800;
  margin-right: 0.75rem;
}

#shorthandInput {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  flex-grow: 1;
  padding: 0.6rem 0;
}

.console-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Receipt Paper Design */
.receipt-container {
  perspective: 1000px;
}

.receipt-paper {
  background: #fff;
  color: #222;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: top center;
  transform: rotateX(15deg) translateY(-15px);
  opacity: 0;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
  pointer-events: none;
}

.receipt-container.active .receipt-paper {
  transform: rotateX(0deg) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.receipt-tear {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(-45deg, transparent 4px, #fff 0), linear-gradient(45deg, transparent 4px, #fff 0);
  background-repeat: repeat-x;
  background-size: 8px 8px;
  transform: translateY(-4px);
}

.receipt-header {
  text-align: center;
}

.receipt-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.receipt-divider {
  text-align: center;
  margin: 0.5rem 0;
  letter-spacing: -1px;
}

.rec-item {
  display: grid;
  grid-template-columns: 1fr 40px 60px;
  margin-bottom: 0.25rem;
}

.rec-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.rec-total-row.grand {
  font-size: 0.9rem;
  font-weight: 700;
  border-top: 1px dashed #222;
  border-bottom: 1px dashed #222;
  padding: 0.4rem 0;
  margin-top: 0.4rem;
}

.receipt-footer {
  text-align: center;
  margin-top: 1rem;
}

.receipt-footer .thanks {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.barcode {
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.04);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Custom Inquiry Card (Bottom of index.html) */
.inquiry-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  margin-top: 5rem;
}

.inquiry-content {
  max-width: 600px;
}

.inquiry-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.inquiry-content p {
  color: var(--text-muted);
}

/* Specs Section */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.spec-row {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.spec-title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  color: var(--text-main);
}

.spec-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.specs-illustration {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  border-radius: 16px;
  padding: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pos-layout-diagram {
  position: relative;
  width: 280px;
  height: 240px;
}

.mini-diagram {
  width: 180px;
  height: 150px;
}

.device {
  position: absolute;
  background: #ffffff;
  border: 4px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.screen-dev {
  width: 180px;
  height: 120px;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-diagram .screen-dev {
  width: 130px;
  height: 90px;
}

.glass-screen {
  width: 90%;
  height: 90%;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accent-glow-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.printer-dev {
  width: 80px;
  height: 80px;
  bottom: 20px;
  right: 10px;
  z-index: 3;
}

.mini-diagram .printer-dev {
  width: 60px;
  height: 60px;
  bottom: 10px;
  right: 10px;
}

.paper-output {
  width: 40px;
  height: 30px;
  background: #fff;
  position: absolute;
  top: -15px;
  left: 16px;
  border-radius: 2px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.03);
  animation: rollPaper 3s infinite alternate;
  border: 1px solid var(--border);
}

.mini-diagram .paper-output {
  width: 30px;
  height: 20px;
  top: -10px;
  left: 11px;
}

@keyframes rollPaper {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.keyboard-dev {
  width: 120px;
  height: 15px;
  bottom: 10px;
  left: 40px;
  z-index: 4;
}

/* Contact Card & Form */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.contact-header {
  margin-bottom: 3rem;
}

.lead-form {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-display);
}

.form-group input, .form-group select, .form-group textarea {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group.invalid input {
  border-color: #ef4444;
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-success-msg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  text-align: center;
  padding: 2rem;
}

.form-success-msg.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success-msg h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-success-msg p {
  color: var(--text-muted);
  max-width: 420px;
}

/* Footer Section */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-info .logo-text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--primary);
}

.footer-tagline {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 260px;
  margin-bottom: 1rem;
}

.footer-location {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-link-col h5 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.footer-link-col a {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-link-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .products-showcase {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inquiry-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4.5rem);
    background: #ffffff;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dropdown-item {
    padding: 0.5rem;
  }

  .contact-cta-mobile {
    display: block !important;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .simulator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .pos-sim-body {
    grid-template-columns: 1fr;
  }
  
  .pos-catalog {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 2.5rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Form Error Banner */
.form-error-banner {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  animation: fadeInDown 0.25s ease;
}

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