/* ==========================================================================
   SYS POS — static site stylesheet
   Plain hand-authored CSS (no build step, no framework required).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --background: #f7f8fb;
  --foreground: #0b1220;

  --brand-50: #eef4ff;
  --brand-100: #dfe9ff;
  --brand-200: #b8ceff;
  --brand-300: #8bb0ff;
  --brand-400: #5a8bff;
  --brand-500: #3366ff;
  --brand-600: #2149e0;
  --brand-700: #1a39b3;
  --brand-800: #162e8c;
  --brand-900: #0f1f5c;

  --ink-900: #060a17;
  --ink-800: #0b1220;
  --ink-700: #121b2e;
  --ink-600: #1a2540;
  --ink-500: #4b5875;
  --ink-400: #7a8699;
  --ink-300: #aab2c2;

  --accent-teal: #17d1b9;
  --accent-violet: #7c5cff;

  --surface: #ffffff;
  --surface-muted: #f1f4fa;
  --border-subtle: #e4e8f2;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-card-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 60px -20px rgba(15, 23, 42, 0.22);
  --shadow-btn-primary: 0 8px 24px -8px rgba(33, 73, 224, 0.55);

  --container-max: 80rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
main { flex: 1; }
::selection { background: var(--brand-200); color: var(--ink-900); }

.text-gradient-brand {
  background: linear-gradient(90deg, #3366ff 0%, #7c5cff 55%, #17d1b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(51, 102, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 102, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-blob { filter: blur(90px); opacity: 0.55; border-radius: 9999px; position: absolute; pointer-events: none; }
.glow-brand { background: var(--brand-500); }
.glow-violet { background: var(--accent-violet); }

@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fade-up 0.6s ease-out both; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem; } }

.section { padding-block: 5rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } }
.section-tight { padding-block: 4rem; }
@media (min-width: 640px) { .section-tight { padding-block: 5rem; } }

.bg-surface-section { background: var(--background); }
.bg-muted-section { background: var(--surface-muted); }
.bg-dark-section { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.bg-dark-section .container { position: relative; z-index: 1; }

/* ---------- Flex / grid helpers ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-inline: auto; }

.gap-1 { gap: 0.375rem; }
.gap-2 { gap: 0.625rem; }
.gap-3 { gap: 0.875rem; }
.gap-4 { gap: 1.25rem; }
.gap-5 { gap: 1.5rem; }
.gap-6 { gap: 2rem; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .row { flex-direction: row; } }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }
.grid-split { grid-template-columns: 1fr; align-items: center; gap: 3rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
  .grid-split { grid-template-columns: 1fr 1fr; }
}
.order-1-lg { order: 2; }
.order-2-lg { order: 1; }
@media (min-width: 1024px) {
  .order-1-lg { order: 1; }
  .order-2-lg { order: 2; }
}
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-md { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-btn-primary); }
.btn-primary:hover { background: var(--brand-700); }
.btn-secondary { background: #fff; color: var(--ink-800); border: 1px solid var(--border-subtle); }
.btn-secondary:hover { border-color: var(--brand-300); color: var(--brand-700); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.25); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-fit { width: fit-content; }
.btn:disabled { cursor: not-allowed; opacity: 0.7; }

/* ---------- Badge / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.kicker svg { width: 0.875rem; height: 0.875rem; }
.kicker-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.15); }

/* ---------- Section heading ---------- */
.section-heading { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; }
.section-heading.centered { align-items: center; text-align: center; margin-inline: auto; }
.section-heading.left { align-items: flex-start; text-align: left; }
.section-heading h2 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink-900);
}
@media (min-width: 640px) { .section-heading h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-heading h2 { font-size: 2.75rem; } }
.section-heading.on-dark h2 { color: #fff; }
.section-heading p { font-size: 1rem; line-height: 1.7; color: var(--ink-600); }
@media (min-width: 640px) { .section-heading p { font-size: 1.125rem; } }
.section-heading.on-dark p { color: rgba(255,255,255,0.7); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 5rem;
}
@media (min-width: 640px) { .hero { padding-block: 5rem 7rem; } }
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}
.hero h1 {
  max-width: 56rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; line-height: 1.08; } }
.hero p.lead { max-width: 42rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
@media (min-width: 640px) { .hero p.lead { font-size: 1.125rem; } }
.hero-highlights { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; margin-top: 0.5rem; }
.hero-highlights span.item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.hero-highlights svg { width: 1rem; height: 1rem; color: var(--brand-400); }

/* ---------- Cards ---------- */
.card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.card-lg { box-shadow: var(--shadow-card-lg); }
.card-pad { padding: 1.5rem; }
.card-hover { transition: all 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: var(--shadow-card-lg); }

.feature-card { display: flex; flex-direction: column; gap: 1rem; }
.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--brand-50);
  color: var(--brand-600);
  transition: all 0.2s ease;
}
.feature-card-icon svg { width: 1.25rem; height: 1.25rem; }
.feature-card:hover .feature-card-icon { background: var(--brand-600); color: #fff; }
.feature-card h3, .feature-detail-card h3, .principle-card h3 { font-size: 1rem; font-weight: 600; color: var(--ink-900); }
.feature-card p, .principle-card p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-600); }

.feature-detail-card { display: flex; flex-direction: column; gap: 1rem; }
.feature-detail-card .head { display: flex; align-items: center; gap: 0.75rem; }
.feature-detail-card .icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: var(--brand-50); color: var(--brand-600);
}
.feature-detail-card .icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.feature-detail-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-detail-card li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-600); }
.feature-detail-card li .dot { margin-top: 0.4rem; width: 0.25rem; height: 0.25rem; border-radius: 9999px; background: var(--brand-400); flex-shrink: 0; }

.tag-pill {
  display: inline-flex; align-items: center;
  border-radius: 0.5rem; border: 1px solid var(--border-subtle);
  background: var(--surface-muted); color: var(--ink-700);
  padding: 0.4rem 0.75rem; font-size: 0.875rem; font-weight: 500;
}

.check-list { display: grid; grid-template-columns: 1fr; gap: 0.625rem; }
@media (min-width: 640px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-700); }
.check-item .tick {
  margin-top: 0.15rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.125rem; height: 1.125rem; border-radius: 9999px; background: var(--brand-100); color: var(--brand-700);
}
.check-item .tick svg { width: 0.625rem; height: 0.625rem; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(228,232,242,0.7);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding-block: 0.875rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background: var(--ink-900); color: #fff;
}
.brand-mark svg { width: 1.125rem; height: 1.125rem; }
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); }
.brand-name span { color: var(--brand-600); }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-links a {
  border-radius: 9999px; padding: 0.5rem 0.9rem; font-size: 0.875rem; font-weight: 500;
  color: var(--ink-600); transition: all 0.2s ease;
}
.nav-links a:hover { background: var(--surface-muted); color: var(--ink-900); }
.nav-links a.active { background: var(--brand-50); color: var(--brand-700); }

.nav-actions { display: none; align-items: center; gap: 0.5rem; }
.nav-login {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-radius: 9999px; padding: 0.65rem 1rem; font-size: 0.875rem; font-weight: 600;
  color: var(--ink-800); transition: background 0.2s ease;
}
.nav-login:hover { background: var(--surface-muted); }
.nav-login svg { width: 1rem; height: 1rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--border-subtle);
  background: none; color: var(--ink-800);
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-nav { display: none; border-top: 1px solid var(--border-subtle); background: #fff; padding: 1rem 1.25rem 1.25rem; }
.mobile-nav.open { display: block; }
.mobile-nav .links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav .links a { border-radius: 0.5rem; padding: 0.65rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-700); }
.mobile-nav .links a:hover { background: var(--surface-muted); }
.mobile-nav .actions { margin-top: 1rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.65rem; }
.mobile-nav .actions .nav-login { justify-content: center; border: 1px solid var(--border-subtle); }

@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.1); background: var(--ink-900); color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-brand { grid-column: span 2; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .footer-brand { grid-column: span 3; } }
@media (min-width: 1024px) { .footer-brand { grid-column: span 2; } }
.footer-brand p { max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-domain { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.4); }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); margin-bottom: 0.9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.5rem; }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); text-align: center; }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; text-align: left; } }

/* ---------- CTA section ---------- */
.cta-section { position: relative; overflow: hidden; }
.cta-section h2 { max-width: 42rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
@media (min-width: 640px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p { max-width: 36rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
@media (min-width: 640px) { .cta-section p { font-size: 1.125rem; } }

/* ---------- Icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; display: block; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }

/* ---------- Inline info rows (icon + label) ---------- */
.info-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.info-row svg { width: 1rem; height: 1rem; color: var(--brand-600); }
.info-row-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }

/* ---------- Icon tile row (dark inventory-style card) ---------- */
.tile-row { display: flex; align-items: flex-start; gap: 1rem; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); padding: 1rem; }
.tile-row .icon-wrap { margin-top: 0.1rem; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: rgba(51,102,255,0.2); color: var(--brand-300); }
.tile-row .icon-wrap svg { width: 1rem; height: 1rem; }
.tile-row h3 { font-size: 0.875rem; font-weight: 600; color: #fff; }
.tile-row p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* ---------- Icon badge grid (business types) ---------- */
.badge-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  border-radius: 0.75rem; border: 1px solid var(--border-subtle); background: var(--surface);
  padding: 1.25rem; text-align: center; box-shadow: var(--shadow-card); transition: border-color 0.2s ease;
}
.badge-card:hover { border-color: var(--brand-200); }
.badge-card .icon-wrap { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--brand-50); color: var(--brand-600); }
.badge-card .icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.badge-card span.label { font-size: 0.875rem; font-weight: 600; color: var(--ink-800); }
.badge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .badge-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Steps ---------- */
.step-card { display: flex; flex-direction: column; gap: 0.75rem; }
.step-card .num { font-size: 1.875rem; font-weight: 700; color: var(--brand-100); }

/* ---------- Role cards ---------- */
.role-card { display: flex; flex-direction: column; gap: 0.75rem; }
.role-badge { width: fit-content; border-radius: 9999px; background: var(--brand-600); color: #fff; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; }
.role-card p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-600); }

/* ---------- Bar chart ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: 0.5rem; height: 10rem; }
.bar-chart .bar { flex: 1; border-radius: 0.375rem 0.375rem 0 0; background: linear-gradient(to top, var(--brand-600), var(--accent-teal)); }

/* ---------- Mockups: POS terminal ---------- */
.pos-mock { width: 100%; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(11,18,32,0.6); box-shadow: var(--shadow-card-lg); backdrop-filter: blur(6px); }
.pos-mock-bar { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(6,10,23,0.6); padding: 0.75rem 1rem; }
.pos-mock-bar .dot { width: 0.65rem; height: 0.65rem; border-radius: 9999px; }
.pos-mock-bar .dot.red { background: rgba(248,113,113,0.7); }
.pos-mock-bar .dot.amber { background: rgba(251,191,36,0.7); }
.pos-mock-bar .dot.green { background: rgba(52,211,153,0.7); }
.pos-mock-bar .label { margin-left: 0.5rem; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.5); }
.pos-mock-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pos-mock-body { grid-template-columns: 3fr 2fr; } }
.pos-mock-products { border-right: none; padding: 1rem; }
@media (min-width: 640px) { .pos-mock-products { border-right: 1px solid rgba(255,255,255,0.1); } }
.pos-mock-search { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; border-radius: 0.5rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); padding: 0.5rem 0.75rem; }
.pos-mock-search svg { width: 1rem; height: 1rem; color: rgba(255,255,255,0.4); }
.pos-mock-search svg.scan { margin-left: auto; color: var(--brand-400); }
.pos-mock-search span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.pos-mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
@media (min-width: 480px) { .pos-mock-grid { grid-template-columns: repeat(3, 1fr); } }
.pos-mock-product { display: flex; flex-direction: column; gap: 0.5rem; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); padding: 0.65rem; }
.pos-mock-product .thumb { height: 3rem; border-radius: 0.5rem; background: linear-gradient(to bottom right, rgba(90,139,255,0.25), rgba(124,92,255,0.2)); }
.pos-mock-product .name { font-size: 0.68rem; font-weight: 500; color: rgba(255,255,255,0.85); line-height: 1.2; }
.pos-mock-product .meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.6rem; color: rgba(255,255,255,0.4); }
.pos-mock-product .meta .price { font-weight: 600; color: var(--brand-300); }
.pos-mock-cart { display: flex; flex-direction: column; padding: 1rem; }
.pos-mock-cart .cart-title { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.pos-mock-cart .cart-title svg { width: 0.85rem; height: 0.85rem; }
.pos-mock-cart .cart-items { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; }
.pos-mock-cart .cart-item { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; }
.pos-mock-cart .cart-item .name { color: rgba(255,255,255,0.85); display: block; }
.pos-mock-cart .cart-item .qty { color: rgba(255,255,255,0.35); display: block; }
.pos-mock-cart .cart-item .amt { font-weight: 500; color: rgba(255,255,255,0.7); }
.pos-mock-coupon { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.4rem; border-radius: 0.5rem; border: 1px dashed rgba(90,139,255,0.3); background: rgba(51,102,255,0.1); padding: 0.4rem 0.6rem; font-size: 0.6rem; color: var(--brand-300); }
.pos-mock-coupon svg { width: 0.7rem; height: 0.7rem; }
.pos-mock-totals { margin-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.68rem; }
.pos-mock-totals .row { display: flex; justify-content: space-between; color: rgba(255,255,255,0.5); }
.pos-mock-totals .row.total { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.35rem; font-size: 0.85rem; font-weight: 700; color: #fff; }
.pos-mock-pay { margin-top: 0.75rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.pos-mock-pay button { display: flex; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 0.5rem; padding: 0.5rem; font-size: 0.68rem; font-weight: 600; color: #fff; border: none; }
.pos-mock-pay button svg { width: 0.85rem; height: 0.85rem; }
.pos-mock-pay button.cash { background: rgba(255,255,255,0.1); }
.pos-mock-pay button.card { background: var(--brand-600); }

/* ---------- Mockups: Dashboard ---------- */
.dash-mock { width: 100%; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); box-shadow: var(--shadow-card-lg); }
.dash-mock-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); background: var(--surface-muted); padding: 0.85rem 1.25rem; }
.dash-mock-bar span.title { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.dash-mock-bar span.live { border-radius: 9999px; background: #ecfdf5; padding: 0.25rem 0.65rem; font-size: 0.68rem; font-weight: 600; color: #059669; }
.dash-mock-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 1.25rem; }
@media (min-width: 640px) { .dash-mock-stats { grid-template-columns: repeat(4, 1fr); } }
.dash-stat { display: flex; flex-direction: column; gap: 0.5rem; border-radius: 0.75rem; border: 1px solid var(--border-subtle); padding: 0.85rem; }
.dash-stat .top { display: flex; align-items: center; justify-content: space-between; }
.dash-stat .icon-wrap { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--brand-50); color: var(--brand-600); }
.dash-stat .icon-wrap svg { width: 1rem; height: 1rem; }
.dash-stat .change { display: flex; align-items: center; gap: 0.15rem; font-size: 0.68rem; font-weight: 600; color: #059669; }
.dash-stat .change svg { width: 0.75rem; height: 0.75rem; }
.dash-stat .value { font-size: 1.125rem; font-weight: 700; color: var(--ink-900); }
.dash-stat .label { font-size: 0.68rem; color: var(--ink-500); }
.dash-mock-panels { display: grid; grid-template-columns: 1fr; gap: 0.75rem; padding: 0 1.25rem 1.25rem; }
@media (min-width: 1024px) { .dash-mock-panels { grid-template-columns: repeat(5, 1fr); } }
.dash-panel { display: flex; flex-direction: column; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--border-subtle); padding: 1rem; }
.dash-panel.trend { grid-column: span 1; }
@media (min-width: 1024px) { .dash-panel.trend { grid-column: span 3; } }
@media (min-width: 1024px) { .dash-panel.stock { grid-column: span 2; } }
.dash-panel .head { display: flex; align-items: center; justify-content: space-between; }
.dash-panel .head span.t { font-size: 0.75rem; font-weight: 600; color: var(--ink-800); }
.dash-panel .head span.s { font-size: 0.68rem; color: var(--ink-400); }
.dash-mini-bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 7rem; }
.dash-mini-bars .bar { flex: 1; border-radius: 0.375rem 0.375rem 0 0; background: linear-gradient(to top, var(--brand-600), var(--brand-400)); }
.dash-panel .divider { border-top: 1px solid var(--border-subtle); padding-top: 0.75rem; }
.dash-panel .tx-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; padding-block: 0.25rem; }
.dash-panel .tx-row .id { font-weight: 500; color: var(--ink-700); }
.dash-panel .tx-row .muted { color: var(--ink-400); }
.dash-panel .tx-row .amt { font-weight: 600; color: var(--ink-900); }
.dash-alert-title { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--ink-800); }
.dash-alert-title svg { width: 0.85rem; height: 0.85rem; color: #f59e0b; }
.dash-stock-item { border-radius: 0.5rem; background: var(--surface-muted); padding: 0.65rem; }
.dash-stock-item .row { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; font-weight: 500; color: var(--ink-800); }
.dash-stock-item .row .left { color: #d97706; }
.dash-stock-bar { margin-top: 0.4rem; height: 0.375rem; width: 100%; overflow: hidden; border-radius: 9999px; background: var(--border-subtle); }
.dash-stock-bar .fill { height: 100%; border-radius: 9999px; background: #f59e0b; }
.dash-note { margin-top: auto; border-radius: 0.5rem; border: 1px dashed var(--border-subtle); padding: 0.65rem; font-size: 0.68rem; color: var(--ink-500); }

/* ---------- Mockups: Platform hub ---------- */
.hub { position: relative; margin-inline: auto; display: grid; max-width: 48rem; grid-template-columns: repeat(2, 1fr); align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hub { grid-template-columns: repeat(4, 1fr); } }
.hub-node { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; border-radius: 0.75rem; border: 1px solid var(--border-subtle); background: var(--surface); padding: 1rem; text-align: center; box-shadow: var(--shadow-card); }
.hub-node .icon-wrap { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--brand-50); color: var(--brand-600); }
.hub-node .icon-wrap svg { width: 1.15rem; height: 1.15rem; }
.hub-node span.label { font-size: 0.75rem; font-weight: 600; color: var(--ink-800); }
.hub-center { grid-column: span 2; display: flex; align-items: center; justify-content: center; padding-block: 1rem; }
@media (min-width: 640px) { .hub-center { grid-column: span 4; } }
.hub-center .badge { display: flex; align-items: center; gap: 0.75rem; border-radius: 1rem; background: var(--ink-900); padding: 1rem 1.75rem; color: #fff; box-shadow: var(--shadow-card-lg); }
.hub-center .badge .icon-wrap { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem; background: rgba(255,255,255,0.1); }
.hub-center .badge .icon-wrap svg { width: 1.125rem; height: 1.125rem; }
.hub-center .badge span.name { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.hub-center .badge span.name .accent { color: var(--brand-400); }

/* ---------- Mockups: Workflow steps ---------- */
.workflow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; row-gap: 1rem; }
.workflow-step { display: flex; align-items: center; }
.workflow-step .step-inner { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; padding-inline: 0.75rem; text-align: center; }
@media (min-width: 640px) { .workflow-step .step-inner { padding-inline: 1rem; } }
.workflow-step .icon-wrap { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); color: var(--brand-600); box-shadow: var(--shadow-card); }
.workflow-step .icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.workflow-step span.label { max-width: 6.5rem; font-size: 0.75rem; font-weight: 600; line-height: 1.25; color: var(--ink-800); }
.workflow-step .arrow { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--ink-300); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--ink-800); }
.field input, .field textarea {
  width: 100%; border-radius: 0.75rem; border: 1px solid var(--border-subtle); background: var(--surface);
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink-900); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-100); }
.field textarea { resize: none; }
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.form-card { display: flex; flex-direction: column; gap: 1.25rem; border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); padding: 1.5rem; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-error { font-size: 0.875rem; font-weight: 500; color: #dc2626; }
.form-notice { display: flex; align-items: flex-start; gap: 0.65rem; border-radius: 0.75rem; border: 1px solid var(--brand-100); background: var(--brand-50); padding: 0.85rem; font-size: 0.75rem; line-height: 1.6; color: var(--brand-800); }
.form-notice svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.form-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-card); }
.form-success .icon-wrap { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: #ecfdf5; color: #059669; }
.form-success .icon-wrap svg { width: 1.75rem; height: 1.75rem; }
.form-success h3 { font-size: 1.125rem; font-weight: 600; color: var(--ink-900); }
.form-success p { max-width: 22rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-600); }

/* ---------- Login panel ---------- */
.login-panel { margin-inline: auto; width: 100%; max-width: 28rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); background: var(--surface); padding: 1.75rem; box-shadow: var(--shadow-card-lg); }
@media (min-width: 640px) { .login-panel { padding: 2rem; } }
.login-panel h2 { font-size: 1.125rem; font-weight: 600; color: var(--ink-900); }
.login-panel .sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-500); }
.login-panel form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.login-panel .foot { margin-top: 1.5rem; text-align: center; font-size: 0.75rem; color: var(--ink-400); }
.login-panel .foot a { font-weight: 600; color: var(--brand-600); }
.login-highlights { display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.login-highlights li { display: flex; align-items: center; gap: 0.65rem; }
.login-highlights li::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--brand-400); flex-shrink: 0; }

/* ---------- Receipt / stock log ---------- */
.receipt { border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); padding: 1.5rem; box-shadow: var(--shadow-card-lg); font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace; font-size: 0.75rem; color: var(--ink-700); }
.receipt .head { margin-bottom: 0.75rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--border-subtle); padding-bottom: 0.75rem; }
.receipt .head .name { font-weight: 600; color: var(--ink-900); }
.receipt .head .id { color: var(--ink-400); }
.receipt .lines { display: flex; flex-direction: column; gap: 0.4rem; }
.receipt .lines .line { display: flex; justify-content: space-between; }
.receipt .totals { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; border-top: 1px dashed var(--border-subtle); padding-top: 0.75rem; }
.receipt .totals .line { display: flex; justify-content: space-between; color: var(--ink-500); }
.receipt .totals .grand { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 700; color: var(--ink-900); }
.receipt .foot { margin-top: 0.75rem; border-top: 1px dashed var(--border-subtle); padding-top: 0.75rem; color: var(--ink-400); }

.stock-log { border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--surface); padding: 1.5rem; box-shadow: var(--shadow-card-lg); }
.stock-log .title { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-800); }
.stock-log .row { display: flex; align-items: center; justify-content: space-between; padding-block: 0.65rem; border-top: 1px solid var(--border-subtle); font-size: 0.75rem; }
.stock-log .row:first-of-type { border-top: none; }
.stock-log .row .product { font-weight: 500; color: var(--ink-800); }
.stock-log .row .desc { color: var(--ink-400); }
.stock-log .row .change { font-weight: 600; }
.stock-log .row .change.up { color: #059669; }
.stock-log .row .change.down { color: #ef4444; }

/* ---------- Simple content pages (privacy/terms) ---------- */
.prose { display: flex; flex-direction: column; gap: 1.5rem; }
.prose h1 { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-900); }
@media (min-width: 640px) { .prose h1 { font-size: 2.25rem; } }
.prose .updated { font-size: 0.875rem; color: var(--ink-500); }
.prose .body { display: flex; flex-direction: column; gap: 1.5rem; font-size: 0.875rem; line-height: 1.7; color: var(--ink-700); }
.prose .body h2 { font-size: 1.125rem; font-weight: 600; color: var(--ink-900); margin-bottom: 0.5rem; }
.prose .body a { font-weight: 600; color: var(--brand-600); }

/* ---------- Dark CTA capability card ---------- */
.dark-cta-card { display: flex; flex-direction: column; justify-content: center; gap: 1rem; border-radius: 1rem; background: var(--ink-900); padding: 1.5rem; color: #fff; box-shadow: var(--shadow-card-lg); }
.dark-cta-card h3 { font-size: 1.125rem; font-weight: 600; }
.dark-cta-card p { font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.7); }

/* ---------- Utility text colors ---------- */
.text-muted { color: var(--ink-600); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-white-60 { color: rgba(255,255,255,0.6); }
