/* ==========================================================================
   VAHED SYSTEM — ULTRA-MODERN RESTAURANT ACCOUNTING PLATFORM
   Theme: Light Studio Palette (Royal Blue #0052ff)
   Strictly Zero Emojis · 100% Pure Vector SVGs · Local Variable Vazirmatn
   ========================================================================== */

/* --- 1. Typography & Font Face (Offline Local Vazirmatn) --- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/vazirmatn-arabic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/vazirmatn-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Monospace code font for JSON, RSA hash & technical readouts */
@font-face {
  font-family: 'MonoCode';
  src: local('Consolas'), local('SF Mono'), local('Menlo'), local('Courier New');
}

/* --- 2. CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Accents */
  --brand-blue: #0052ff;
  --brand-blue-hover: #0043d4;
  --brand-blue-subtle: #eff4ff;
  --brand-blue-border: #bfdbfe;
  --brand-blue-glow: rgba(0, 82, 255, 0.12);

  /* Status Colors */
  --status-green: #059669;
  --status-green-subtle: #ecfdf5;
  --status-green-border: #a7f3d0;
  --status-amber: #d97706;
  --status-amber-subtle: #fffbeb;
  --status-amber-border: #fde68a;
  --status-red: #dc2626;
  --status-red-subtle: #fef2f2;
  --status-red-border: #fecaca;

  /* Surfaces & Canvas */
  --canvas-bg: #f8fafc;
  --surface-white: #ffffff;
  --surface-raised: #ffffff;
  --surface-muted: #f1f5f9;
  --surface-subtle: #f8fafc;
  --surface-dark: #090d16;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.07);
  --border-strong: rgba(15, 23, 42, 0.14);
  --border-focus: #0052ff;

  /* Typography Colors */
  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inverse: #ffffff;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-studio: 0 24px 64px -12px rgba(0, 82, 255, 0.12), 0 12px 32px -4px rgba(15, 23, 42, 0.08);

  /* Layout */
  --container-max: 1280px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- 3. Reset & Base Setup (Universal Vazirmatn Font Enforcement) --- */
*, *::before, *::after, html, body, input, button, select, textarea, optgroup, span, p, h1, h2, h3, h4, h5, h6, a, li, table, th, td, label {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  direction: rtl;
  text-align: right;
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  /* Seamless infinite blueprint grid without any cutoff */
  background-image: 
    radial-gradient(rgba(0, 82, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 24px 24px, 72px 72px, 72px 72px;
  background-position: center top;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Vector SVG helper */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --- 4. Navigation Header (Antigravity Glassmorphism) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

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

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--brand-blue);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.38);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-white);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-muted);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

/* --- 5. Hero Section (Google Antigravity Kinetic Style) --- */
.hero-section {
  padding-top: 56px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-badge-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.highlight-blue {
  color: var(--brand-blue);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 32px;
}

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

.hero-platform-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-platform-specs span.spec-dot {
  color: var(--border-strong);
}

/* --- 6. The Native Desktop Studio Workstation (Centerpiece) --- */
.studio-stage {
  position: relative;
  max-width: 1240px;
  margin-inline: auto;
}

/* Ambient Bloom (Photon Atmosphere) */
.studio-atmosphere {
  position: absolute;
  top: -40px;
  left: 10%;
  right: 10%;
  height: 480px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 82, 255, 0.12) 0%, rgba(5, 150, 105, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* Native OS Window Shell */
.workstation-window {
  position: relative;
  z-index: 1;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-studio);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

/* Window Header / Title Bar */
.window-titlebar {
  height: 48px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  user-select: none;
}

.window-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.traffic-red { background: #ff5f56; }
.traffic-yellow { background: #ffbd2e; }
.traffic-green { background: #27c93f; }

.window-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.window-breadcrumbs svg {
  width: 14px;
  height: 14px;
  color: var(--text-faint);
}

.window-breadcrumbs .crumb-active {
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--brand-blue-border);
}

.window-telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-item.online {
  color: var(--status-green);
  background: var(--status-green-subtle);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--status-green-border);
}

/* ==========================================================================
   VAHED CLOUD RESTAURANT APPLICATION (Interactive Web OS Workstation)
   Modeled strictly after User's Concept Design (media_1789919743174.png)
   ========================================================================== */

.app-workstation-frame {
  background: #f4f6fa;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px -10px rgba(15, 23, 42, 0.12), 0 8px 24px -4px rgba(0, 82, 255, 0.08);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* App Top Header Bar */
.app-topbar {
  height: 60px;
  background: #ffffff;
  border-bottom: 1px solid #eef0f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.app-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-topbar-brand img {
  height: 36px;
  width: auto;
}

.app-topbar-brand-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #090d16;
  line-height: 1.2;
}

.app-topbar-brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0052ff;
}

.app-topbar-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.app-user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.app-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0052ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-topbar-clock {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.8rem;
}

/* App Main Body: Right Sidebar + Main Content */
.app-main-body {
  display: flex;
  min-height: 660px;
  background: #f4f6fa;
}

/* Right Blue Vertical Navigation Bar (Width: 96px) */
.app-sidebar-nav {
  width: 96px;
  background: #0052ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 20px 14px;
  flex-shrink: 0;
  user-select: none;
}

.app-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 4px;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.app-nav-item svg {
  width: 22px;
  height: 22px;
}

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

.app-nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-right: 4px solid #ffffff;
}

.app-sidebar-version {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* App Content Area */
.app-content-stage {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.app-view-screen {
  display: none;
  animation: appFadeIn 0.25s ease forwards;
}

.app-view-screen.active {
  display: block;
}

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

/* --- SCREEN 1: POS SCREEN (Split 320px Cart + Catalog) --- */
.pos-screen-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
  align-items: flex-start;
}

/* Left Cart Column */
.pos-left-cart-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pos-printer-status-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #eef0f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.printer-status-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #090d16;
}

.printer-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: #64748b;
}

/* Main Invoice Card */
.pos-invoice-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #eef0f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.invoice-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.invoice-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: #090d16;
}

.invoice-table-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0052ff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 14px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.cart-item-media {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: #090d16;
}

.cart-item-price {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0052ff;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.stepper-btn:hover {
  background: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
}

.stepper-count {
  font-size: 0.84rem;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

.trash-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

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

/* Totals Summary */
.invoice-totals-list {
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.invoice-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.payable-highlight-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.payable-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0052ff;
}

.payable-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0052ff;
}

.btn-print-invoice {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  background: #0052ff;
  color: #ffffff;
  border: none;
  font-size: 0.94rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.28);
  transition: all 0.2s ease;
}

.btn-print-invoice:hover {
  background: #0043d4;
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.38);
}

/* Center Menu / Catalog Column */
.pos-center-catalog-col {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #eef0f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.catalog-welcome-banner {
  margin-bottom: 18px;
}

.welcome-title {
  font-size: 1.28rem;
  font-weight: 900;
  color: #090d16;
  margin-bottom: 4px;
}

.welcome-sub {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}

.catalog-controls-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.catalog-search-box {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 260px;
}

.catalog-search-input {
  width: 100%;
  padding: 8px 36px 8px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.catalog-search-input:focus {
  border-color: #0052ff;
}

.catalog-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.category-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill-btn:hover {
  background: #eef4ff;
  border-color: #bfdbfe;
  color: #0052ff;
}

.cat-pill-btn.active {
  background: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
}

/* 4-Columns Food Grid */
.pos-food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.food-item-card {
  background: #ffffff;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.food-item-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 82, 255, 0.08);
}

.food-item-card:active {
  transform: scale(0.98);
}

.food-card-photo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.food-item-card:hover .food-card-photo {
  transform: scale(1.06);
}

.food-card-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #090d16;
  margin-bottom: 4px;
  line-height: 1.3;
}

.food-card-cost {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

/* --- OTHER SCREENS (INVOICES, INVENTORY, RECIPE, KDS, MODYAN, SETTINGS) --- */
.screen-card-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #eef0f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.screen-card-box .view-header-strip {
  margin-bottom: 22px;
}

/* Invoices Table Screen */
.invoices-table-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #eef0f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.invoices-filter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.invoices-search-input {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  outline: none;
  width: 240px;
}

.invoices-table-responsive {
  overflow-x: auto;
}

.invoices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 600px;
}

.invoices-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid #e2e8f0;
}

.invoices-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  font-weight: 600;
}

.invoices-table tr:hover td {
  background: #f8fbff;
}

.badge-paid {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-pending {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.btn-table-action {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #0052ff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-table-action:hover {
  background: #0052ff;
  color: #ffffff;
}

/* Settings Screen */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.settings-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #eef0f6;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.settings-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0052ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-card-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #090d16;
}

.settings-card-sub {
  font-size: 0.76rem;
  color: #64748b;
}

.settings-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-block: 8px;
  border-bottom: 1px dashed #f1f5f9;
}

.settings-item-label {
  color: #475569;
  font-weight: 600;
}

.settings-item-status {
  font-weight: 700;
  font-size: 0.76rem;
}

@media (max-width: 1024px) {
  .pos-screen-layout {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .app-sidebar-nav {
    width: 76px;
  }
  .app-nav-item span {
    font-size: 0.72rem;
  }
}

/* 1. Left Vertical Nav Rail */
.workstation-nav-rail {
  background: #f8fafc;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 16px;
  gap: 12px;
}

.rail-tool-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

.rail-tool-btn svg {
  width: 22px;
  height: 22px;
}

.rail-tool-btn:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.rail-tool-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
}

/* Tooltip on hover */
.rail-tool-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: var(--surface-dark);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.15s ease;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.rail-tool-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* 2. Central Interactive Viewport */
.workstation-viewport {
  padding: 24px;
  background: #ffffff;
  overflow-y: auto;
  border-left: 1px solid var(--border-subtle);
}

.viewport-view {
  display: none;
  animation: fadeInView 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.viewport-view.active {
  display: block;
}

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

/* View Header */
.view-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.view-header-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-header-title svg {
  color: var(--brand-blue);
}

.view-header-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* View 1: POS & Floorplan Components */
.zone-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.zone-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.zone-pill.active, .zone-pill:hover {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
}

/* Floorplan Table Grid */
.floorplan-schematic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.table-node {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-node:hover {
  border-color: var(--brand-blue-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.table-node.active {
  border-color: var(--brand-blue);
  background: #f8fbff;
  box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.15);
}

.table-node-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-node-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 800;
}

.table-node.free .table-node-icon {
  background: var(--status-green-subtle);
  color: var(--status-green);
  border: 1px solid var(--status-green-border);
}

.table-node.busy .table-node-icon {
  background: var(--status-red-subtle);
  color: var(--status-red);
  border: 1px solid var(--status-red-border);
}

.table-node.ordering .table-node-icon {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.table-node-details {
  display: flex;
  flex-direction: column;
}

.table-node-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.table-node-status {
  font-size: 0.74rem;
  font-weight: 600;
}

.table-node-bill {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-blue);
}

/* Touch Menu Dish Grid */
.menu-section-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dish-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dish-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

.dish-card:hover {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
}

.dish-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dish-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}

.dish-stock-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--status-green);
}

.dish-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dish-specs {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.dish-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.dish-price {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-primary);
}

.dish-add-action {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.dish-add-action:hover {
  background: var(--brand-blue-hover);
  transform: scale(1.05);
}

.dish-add-action svg {
  width: 16px;
  height: 16px;
}

/* View 2: Kilogram Inventory Styling */
.inventory-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.inv-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

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

.inv-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.inv-kg-badge {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-blue);
}

.inv-progress-rail {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.inv-progress-fill {
  height: 100%;
  background: var(--brand-blue);
  border-radius: 999px;
}

.inv-progress-fill.warn {
  background: var(--status-amber);
}

.inv-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.inv-log-strip {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.inv-log-head {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inv-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

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

/* View 3: Recipe Yield & P&L Engine */
.recipe-summary-box {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.recipe-pnl-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
  margin-bottom: 18px;
}

.pnl-metric-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.pnl-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.pnl-value {
  font-size: 1.15rem;
  font-weight: 900;
}

.pnl-value.cost { color: var(--text-primary); }
.pnl-value.price { color: var(--brand-blue); }
.pnl-value.profit { color: var(--status-green); }

/* SVG Waterfall Graphic Container */
.waterfall-chart-wrap {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.waterfall-chart-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.waterfall-bars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waterfall-row {
  display: grid;
  grid-template-columns: 140px 1fr 90px;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.waterfall-bar-track {
  height: 10px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.waterfall-bar-chunk {
  height: 100%;
  border-radius: 999px;
}

/* Sensitivity Range Slider */
.recipe-slider-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.recipe-range-input {
  width: 100%;
  accent-color: var(--brand-blue);
  cursor: pointer;
  margin-bottom: 8px;
}

/* View 4: Kitchen KDS Monitor */
.kds-station-lanes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.kds-ticket-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.kds-ticket-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
}

.kds-ticket-header.urgent {
  background: var(--status-red-subtle);
  color: var(--status-red);
  border-bottom: 1px solid var(--status-red-border);
}

.kds-ticket-header.cooking {
  background: var(--status-amber-subtle);
  color: var(--status-amber);
  border-bottom: 1px solid var(--status-amber-border);
}

.kds-ticket-header.ready {
  background: var(--status-green-subtle);
  color: var(--status-green);
  border-bottom: 1px solid var(--status-green-border);
}

.kds-ticket-items {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kds-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
}

.kds-status-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.kds-ticket-actions {
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.kds-action-btn {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kds-action-btn:hover {
  background: var(--status-green);
  color: #ffffff;
  border-color: var(--status-green);
}

/* View 5: Direct Modyan Cryptographic Tax Hub */
.modyan-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.modyan-security-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid var(--status-green-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.modyan-security-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--status-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--status-green-border);
}

.modyan-security-text h4 {
  font-size: 0.94rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 2px;
}

.modyan-security-text p {
  font-size: 0.78rem;
  color: #047857;
  font-weight: 500;
}

.code-terminal-box {
  background: #090d16;
  border-radius: var(--radius-md);
  padding: 16px;
  color: #e2e8f0;
  font-family: 'MonoCode', monospace;
  font-size: 0.78rem;
  direction: ltr;
  text-align: left;
  line-height: 1.6;
  overflow-x: auto;
}

.code-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 0.72rem;
  color: #94a3b8;
}

.code-keyword { color: #f43f5e; }
.code-string { color: #34d399; }
.code-number { color: #38bdf8; }
.code-key { color: #cbd5e1; }

/* 3. Right Digital Thermal Receipt Inspector */
.workstation-receipt-dock {
  background: #f8fafc;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thermal-receipt {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.receipt-serrated-edge {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle at 6px 0, transparent 6px, #ffffff 6px);
  background-size: 12px 6px;
}

.receipt-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
  margin-bottom: 12px;
}

.receipt-brand-name {
  font-size: 0.94rem;
  font-weight: 900;
  color: var(--text-primary);
}

.receipt-branch-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.receipt-table-tag {
  display: inline-block;
  margin-top: 6px;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}

.receipt-items-table {
  width: 100%;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.receipt-items-table tr {
  border-bottom: 1px dashed #f1f5f9;
}

.receipt-items-table td {
  padding-block: 6px;
}

.receipt-total-block {
  border-top: 2px solid var(--text-primary);
  padding-top: 10px;
  margin-bottom: 14px;
}

.receipt-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.receipt-calc-row.final {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--brand-blue);
  margin-top: 6px;
}

.receipt-modyan-stamp {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.stamp-qr-box {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-text {
  font-size: 0.68rem;
  color: #166534;
  line-height: 1.3;
}

.stamp-uid {
  font-family: 'MonoCode', monospace;
  font-weight: 700;
  display: block;
}

.receipt-actions-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-receipt-action {
  width: 100%;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-receipt-action.primary {
  background: var(--status-green);
  color: #ffffff;
}

.btn-receipt-action.primary:hover {
  background: #047857;
}

.btn-receipt-action.secondary {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-receipt-action.secondary:hover {
  background: var(--surface-muted);
  color: var(--brand-blue);
}

/* Bottom Status Strip */
.window-status-strip {
  height: 32px;
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- 7. Interactive Feature Showcase (Photon Studio Style) --- */
.showcase-section {
  padding-block: 84px;
  position: relative;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.showcase-tab-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
}

.showcase-tab-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.25);
}

.showcase-content-box {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.showcase-text-col h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.35;
}

.showcase-text-col p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.feature-check-item svg {
  color: var(--status-green);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.showcase-media-col {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* --- 8. Bento Grid (Hardware & Architectural Robustness) --- */
.bento-section {
  padding-block: 84px;
  background: #f8fafc;
  border-block: 1px solid var(--border-subtle);
}

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

.bento-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-border);
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 9. Industry Roadmap Section --- */
.roadmap-section {
  padding-block: 84px;
}

.roadmap-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-col {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.2s ease;
}

.roadmap-col.active {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.08);
}

.roadmap-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.roadmap-badge.current {
  background: var(--status-green-subtle);
  color: var(--status-green);
  border: 1px solid var(--status-green-border);
}

.roadmap-badge.future {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.roadmap-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.roadmap-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.roadmap-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- 10. Early Access VIP Booking Console --- */
.early-access-section {
  padding-block: 84px;
  background: #ffffff;
  position: relative;
}

.vip-console-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.vip-form-group {
  margin-bottom: 16px;
}

.vip-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vip-input, .vip-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.vip-input:focus, .vip-select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.vip-badge-preview {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.vip-badge-ribbon {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.vip-code-text {
  font-family: 'MonoCode', monospace;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  margin-block: 12px;
}

/* --- 11. FAQ Accordion Section --- */
.faq-section {
  padding-block: 84px;
  background: #f8fafc;
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--brand-blue);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- 12. Engineering Footer --- */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding-block: 64px 32px;
}

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

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 440px;
}

.footer-links-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

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

/* --- 13. Responsive Breakpoints --- */
@media (max-width: 1080px) {
  .workstation-body {
    grid-template-columns: 56px 1fr;
  }
  .workstation-receipt-dock {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-subtle);
  }
  .bento-grid, .roadmap-matrix {
    grid-template-columns: 1fr;
  }
  .bento-card.wide {
    grid-column: span 1;
  }
  .vip-console-box, .showcase-content-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-menu {
    display: none;
  }
  .workstation-body {
    grid-template-columns: 1fr;
  }
  .workstation-nav-rail {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .dish-cards-grid, .inventory-stats-grid, .kds-station-lanes {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
