/* ==========================================================================
   Digitek POS — Landing 2026
   Design tokens, layout primitives, components
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand-50: #f1efff;
  --brand-200: #c9c2ff;
  --brand-400: #8b7cff;
  --brand-500: #6d5efc;
  --brand-600: #5a49f0;
  --brand-700: #4834cf;

  --mint-400: #3ef0b3;
  --mint-500: #16d99a;
  --amber-400: #ffc857;

  --ink-900: #05070d;
  --ink-850: #080b13;
  --ink-800: #0b0f1a;
  --ink-700: #111726;
  --ink-600: #182033;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f8;
  --text-dim: #a7b0c4;
  --text-faint: #6f7990;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 90px -35px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(109, 94, 252, 0.35), 0 20px 60px -20px rgba(109, 94, 252, 0.6);

  --container: 1200px;
  --gutter: 24px;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

html[data-theme="light"] {
  --ink-900: #f6f7fb;
  --ink-850: #ffffff;
  --ink-800: #f2f4fa;
  --ink-700: #ffffff;
  --ink-600: #eef1f8;
  --line: rgba(10, 14, 30, 0.1);
  --line-strong: rgba(10, 14, 30, 0.18);
  --text: #0d1220;
  --text-dim: #4d566b;
  --text-faint: #8b93a6;
  --shadow-md: 0 18px 40px -22px rgba(20, 25, 60, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(20, 25, 60, 0.4);
  --glow: 0 0 0 1px rgba(109, 94, 252, 0.3), 0 20px 60px -24px rgba(109, 94, 252, 0.55);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  color-scheme: dark;
}
html[data-theme="light"] { color-scheme: light; }

body {
  font-family: var(--font);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

::selection { background: var(--brand-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-150%);
  background: var(--brand-500); color: #fff;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 3. Layout ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-200);
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(109, 94, 252, 0.1);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .eyebrow { color: var(--brand-600); }

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.h-display {
  font-size: clamp(2rem, 4vw, 3.05rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 62ch;
  text-wrap: pretty;
}

.grad {
  background: linear-gradient(100deg, var(--brand-200), var(--brand-500) 42%, var(--mint-400) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: 20px; }
.grid > *, .bento > *, .statstrip > *, .panel__grid > *, .plans > *, .app-grid > *, .cta-band > *, .footer__grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--brand-500);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  background: var(--btn-bg); color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px -14px rgba(109, 94, 252, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), opacity 0.2s;
  isolation: isolate;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -16px rgba(109, 94, 252, 1); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--brand-600), var(--brand-400) 55%, var(--mint-500));
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); box-shadow: none; }
html[data-theme="light"] .btn--ghost { background: #fff; box-shadow: var(--shadow-sm); }

.btn--wa { --btn-bg: #1f8f4e; box-shadow: 0 12px 30px -14px rgba(31, 143, 78, 0.9); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 5. Surfaces ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
html[data-theme="light"] .card { background: #fff; box-shadow: var(--shadow-sm); }
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(140deg, var(--brand-400), transparent 45%, var(--mint-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.4s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card--flat:hover { transform: none; box-shadow: none; }

.icon-badge {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(150deg, rgba(109,94,252,0.28), rgba(22,217,154,0.16));
  border: 1px solid var(--line-strong);
  margin-bottom: 18px;
}
.icon-badge svg { width: 23px; height: 23px; color: var(--brand-200); }
html[data-theme="light"] .icon-badge svg { color: var(--brand-600); }

/* ---------- 6. Background FX ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 42% at 12% 4%, rgba(109, 94, 252, 0.42), transparent 62%),
    radial-gradient(48% 38% at 88% 10%, rgba(22, 217, 154, 0.26), transparent 60%),
    radial-gradient(52% 44% at 50% 96%, rgba(109, 94, 252, 0.24), transparent 64%);
  filter: blur(28px);
}
html[data-theme="light"] .aurora { opacity: 0.5; }

.grid-lines {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 78%);
}
html[data-theme="light"] .grid-lines {
  background-image:
    linear-gradient(to right, rgba(10,14,30,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,14,30,0.05) 1px, transparent 1px);
}

.spotlight {
  position: fixed; z-index: -1; width: 460px; height: 460px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s;
}
.spotlight.on { opacity: 1; }

/* ---------- 7. Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.stuck {
  background: color-mix(in srgb, var(--ink-850) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header.hidden { transform: translateY(-105%); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.03em; font-size: 19px; }
.brand__logo {
  display: flex; align-items: center;
  height: 44px; padding: 6px 13px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.brand__logo img { display: block; height: 32px; width: auto; max-width: none; }
.brand:hover .brand__logo { transform: scale(1.03); box-shadow: 0 10px 26px -10px rgba(109, 94, 252, 0.8); }
.brand__txt small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: var(--text-faint); text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
html[data-theme="light"] .nav__links a:hover,
html[data-theme="light"] .nav__links a.active { background: rgba(10,14,30,0.05); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.icon-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
html[data-theme="light"] .icon-btn { background: #fff; }
html[data-theme="light"] .icon-btn:hover { background: #f1f3fa; }

.theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .sun { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: block; }

.burger { display: none; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 110;
  width: min(86vw, 360px);
  background: var(--ink-850);
  border-left: 1px solid var(--line);
  padding: 26px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); box-shadow: -30px 0 80px -30px rgba(0,0,0,0.8); }
.drawer a { padding: 14px 12px; border-radius: 14px; font-weight: 700; font-size: 17px; }
.drawer a:hover { background: rgba(255,255,255,0.06); }
.drawer .btn { margin-top: 14px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.scrim {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(3, 5, 12, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.scrim.on { opacity: 1; pointer-events: auto; }

/* ---------- 8. Hero ---------- */
.hero { padding: clamp(120px, 16vw, 178px) 0 clamp(60px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 44px; align-items: center; }

.hero h1 { margin: 22px 0 20px; }
.hero__sub { font-size: clamp(1.03rem, 1.35vw, 1.18rem); color: var(--text-dim); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.hero__proof li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dim); font-weight: 600; }
.hero__proof svg { width: 17px; height: 17px; color: var(--mint-400); flex: none; }

/* hero stat strip */
.statstrip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(48px, 6vw, 76px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--line); overflow: hidden;
}
.statstrip > div { background: var(--ink-850); padding: 24px 22px; }
html[data-theme="light"] .statstrip > div { background: #fff; }
.statstrip b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; }
.statstrip span { font-size: 13px; color: var(--text-faint); font-weight: 600; }

.mock-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--ink-700) 88%, transparent);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  font-size: 12.5px; font-weight: 700;
  animation: floaty 6s ease-in-out infinite;
}
.mock-chip--1 { top: -20px; left: 34px; }
.mock-chip--2 { bottom: -20px; right: 44px; animation-delay: -2s; }
.mock-chip svg { width: 15px; height: 15px; color: var(--mint-400); }
@media (max-width: 1180px) { .mock-chip { display: none; } }

/* ---------- 9b. Floating POS screen (hero) ---------- */
.pos-wrap { position: relative; min-width: 0; }
.pos-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.pos-scroll::-webkit-scrollbar { display: none; }

.pos {
  position: relative;
  width: 100%; min-width: 0;
  border-radius: 16px;
  background: #eef1f6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(109, 94, 252, 0.18);
  overflow: hidden;
  color: #1e293b;
  font-size: 9px;
  transform: perspective(1700px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
  animation: floaty 9s ease-in-out infinite;
}
.pos:hover { transform: perspective(1700px) rotateY(-1deg) rotateX(0deg) scale(1.012); }
@media (prefers-reduced-motion: reduce) { .pos { animation: none; transform: none; } }
@media (max-width: 1080px) { .pos { transform: none; animation: none; margin-inline: auto; } }

.pos__top {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; background: #fff; border-bottom: 1px solid #dde3ec;
}
.pos__loc { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 9.5px; }
.pos__loc span { color: #64748b; font-weight: 600; }
.pos__date {
  margin-left: 6px; padding: 5px 12px; border-radius: 7px;
  background: linear-gradient(120deg, #4f46e5, #4338ca); color: #fff;
  font-weight: 700; font-size: 9px; letter-spacing: 0.02em;
}
.pos__tools { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.pos__tool {
  width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center;
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569;
}
.pos__tool svg { width: 12px; height: 12px; }
.pos__tool--red { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.pos__expense {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 7px; background: #fff;
  border: 1px solid #cbd5e1; font-weight: 700; font-size: 9px; color: #0f172a;
}
.pos__expense svg { width: 12px; height: 12px; }

.pos__body { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); }
.pos__left { display: flex; flex-direction: column; min-width: 0; background: #f7f9fc; border-right: 1px solid #dde3ec; }

.pos__tools-row { display: flex; gap: 6px; padding: 8px 9px 6px; }
.pos__field {
  display: flex; align-items: center; gap: 5px; flex: 1;
  background: #fff; border: 1px solid #dbe2ec; border-radius: 7px;
  padding: 5px 7px; color: #94a3b8; font-size: 9px;
}
.pos__field svg { width: 11px; height: 11px; flex: none; }
.pos__field b { color: #0f172a; font-weight: 600; }
.pos__plus {
  width: 22px; height: 22px; border-radius: 6px; flex: none; display: grid; place-items: center;
  background: #2563eb; color: #fff;
}
.pos__plus svg { width: 12px; height: 12px; }
.pos__tools-row2 { display: flex; align-items: center; gap: 6px; padding: 0 9px 8px; }
.pos__price {
  display: flex; align-items: center; gap: 6px; flex: 1;
  background: #fff; border: 1px solid #dbe2ec; border-radius: 7px; padding: 5px 8px;
  font-weight: 600; color: #0f172a;
}
.pos__price svg { width: 12px; height: 12px; color: #475569; }
.pos__info { width: 18px; height: 18px; border-radius: 50%; background: #e0f2fe; color: #0284c7; display: grid; place-items: center; font-size: 8px; font-weight: 800; }

.pos__table { width: 100%; border-collapse: collapse; }
.pos__table th {
  text-align: left; padding: 5px 8px; font-size: 8px; font-weight: 800;
  color: #64748b; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0; background: #fff;
}
.pos__table th:nth-child(3), .pos__table th:nth-child(4) { text-align: center; }
.pos__table td { padding: 7px 8px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
.pos__table td:first-child { color: #94a3b8; width: 16px; }
.pos__prod { display: flex; align-items: center; gap: 7px; }
.pos__thumb { width: 26px; height: 26px; border-radius: 5px; background: #e9edf3; flex: none; display: grid; place-items: center; }
.pos__thumb svg { width: 13px; height: 13px; color: #b6c0cf; }
.pos__prod b { display: block; color: #2563eb; font-size: 9.5px; font-weight: 700; }
.pos__prod small { font-size: 8px; color: #64748b; }
.pos__qty { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pos__qty span { min-width: 46px; text-align: center; background: #fff; border: 1px solid #dbe2ec; border-radius: 6px; padding: 4px 2px; font-weight: 600; }
.pos__qty i {
  width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  font-style: normal; font-weight: 800; font-size: 11px; line-height: 1;
}
.pos__qty i.m { background: #fee2e2; color: #dc2626; }
.pos__qty i.p { background: #dcfce7; color: #16a34a; }
.pos__unit { display: block; text-align: center; margin-top: 3px; font-size: 8px; color: #475569; }
.pos__sub { text-align: center; font-weight: 700; font-size: 9.5px; }
.pos__del { width: 20px; height: 20px; border-radius: 50%; background: #fee2e2; color: #dc2626; display: grid; place-items: center; }
.pos__del svg { width: 11px; height: 11px; }

.pos__totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); margin-top: auto; border-top: 1px solid #e2e8f0; background: #fff; }
.pos__totals div { padding: 7px 9px; border-right: 1px solid #eef2f7; }
.pos__totals small { display: block; font-size: 7.5px; font-weight: 800; color: #94a3b8; letter-spacing: 0.05em; text-transform: uppercase; }
.pos__totals b { font-size: 11px; letter-spacing: -0.02em; }
.pos__totals .r { color: #dc2626; }
.pos__totals .grand { background: #f0fdf4; border-right: 0; text-align: center; }
.pos__totals .grand b { color: #15803d; font-size: 15px; }

.pos__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 7px 9px; background: #fff; border-top: 1px solid #e2e8f0; }
.pos__act {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 9px; border-radius: 7px; border: 1px solid #dbe2ec;
  background: #fff; font-weight: 700; font-size: 8.5px; color: #334155;
}
.pos__act svg { width: 11px; height: 11px; }
.pos__act--danger { border-color: #fca5a5; color: #dc2626; background: #fff; font-weight: 800; }
.pos__act--dark { background: #1e293b; border-color: #1e293b; color: #fff; }
.pos__act--cash { background: #10b981; border-color: #10b981; color: #fff; }
.pos__act--recent { margin-left: auto; background: #4f46e5; border-color: #4f46e5; color: #fff; }

.pos__right { display: flex; flex-direction: column; min-width: 0; background: #f7f9fc; }
.pos__chips { display: flex; gap: 5px; padding: 8px 8px 6px; }
.pos__chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 8px; border-radius: 7px; background: #fff;
  border: 1px solid #dbe2ec; font-weight: 700; font-size: 8.5px; color: #0f172a;
}
.pos__chip svg { width: 11px; height: 11px; }
.pos__chip em { font-style: normal; font-size: 7.5px; color: #6366f1; background: #eef2ff; padding: 2px 5px; border-radius: 99px; }
.pos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 0 8px 8px; }
.pos__item {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 7px;
  padding: 5px 4px 6px; text-align: center; overflow: hidden;
}
.pos__item .ph { height: 22px; border-radius: 4px; background: #eef1f6; display: grid; place-items: center; margin-bottom: 4px; }
.pos__item .ph svg { width: 12px; height: 12px; color: #c3ccd9; }
.pos__item b { display: block; font-size: 7px; line-height: 1.25; color: #334155; font-weight: 600; height: 18px; overflow: hidden; }
.pos__item small { font-size: 6.5px; color: #94a3b8; }
.pos__item em { display: block; font-style: normal; font-size: 6.5px; color: #16a34a; font-weight: 600; margin-top: 2px; }
.pos__item--out { opacity: 0.42; }
.pos__item--out em { color: #dc2626; }

/* ---------- 10. Marquee / logos ---------- */
.logos { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; }
.logos__title { text-align: center; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 800; margin-bottom: 22px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee span { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-faint); opacity: .78; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- 11. Steps ---------- */
.steps, .grid.g-3 { counter-reset: s; }
.steps { display: grid; gap: 18px; }
.step {
  position: relative; padding: 30px 28px 30px 84px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
html[data-theme="light"] .step { background: #fff; }
.step:hover { border-color: var(--line-strong); transform: translateX(5px); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 26px; top: 28px;
  font-family: var(--mono); font-size: 26px; font-weight: 800;
  background: linear-gradient(160deg, var(--brand-200), var(--brand-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--text-dim); font-size: 15px; margin-top: 8px; }

/* ---------- 12. Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 980px) { .bento > *, .bento .span-3, .bento .span-6 { grid-column: span 6; } }
@media (min-width: 981px) and (max-width: 1180px) { .bento > * { grid-column: span 3; } .bento .span-3 { grid-column: span 3; } }

.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--text-dim); font-size: 15px; }

.checklist { display: grid; gap: 9px; margin-top: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-dim); }
.checklist svg { width: 17px; height: 17px; color: var(--mint-400); flex: none; margin-top: 3px; }

/* terminal list (hardware) */
.terminals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (max-width: 720px) { .terminals { grid-template-columns: minmax(0, 1fr); } }
.terminal { border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; background: rgba(255,255,255,0.025); }
.terminal div { height: 78px; display: grid; place-items: center; margin-bottom: 8px; }
.terminal div svg { width: 74px; height: 74px; color: var(--text-dim); }
.terminal b { display: block; font-size: 14.5px; }
.terminal small { color: var(--text-faint); font-size: 12px; }

/* ---------- 13. Tabs (showcase) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  padding: 11px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  font-size: 14px; font-weight: 700; color: var(--text-dim);
  transition: all 0.28s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.active { background: var(--text); color: var(--ink-900); border-color: transparent; }

.panel { display: none; }
.panel.active { display: block; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
@media (max-width: 900px) { .panel__grid { grid-template-columns: minmax(0, 1fr); } }

.device {
  border-radius: var(--r-lg); border: 1px solid var(--line);
}
html[data-theme="light"] .device { background: #fff; }
.device__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.device__bar i:nth-child(2) { background: #febc2e; }
.device__bar i:nth-child(3) { background: #28c840; }
.device__bar span { margin-left: 8px; font-size: 11px; font-family: var(--mono); color: var(--text-faint); }
.device__body { padding: 16px; display: grid; gap: 11px; min-height: 300px; align-content: start; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); padding: 7px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 9px 8px; border-bottom: 1px dashed var(--line); color: var(--text-dim); }
.table tr:last-child td { border-bottom: 0; }
.table td b { color: var(--text); }
.pill { display: inline-block; padding: 3px 9px; border-radius: var(--r-pill); font-size: 11px; font-weight: 800; }
.pill--ok { background: rgba(62, 240, 179, 0.14); color: var(--mint-400); }
.pill--warn { background: rgba(255, 200, 87, 0.16); color: var(--amber-400); }
.pill--info { background: rgba(109, 94, 252, 0.18); color: var(--brand-200); }
html[data-theme="light"] .pill--info { color: var(--brand-600); }

.progress { height: 7px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-500), var(--mint-400)); transition: width 1.2s var(--ease); }

/* ---------- 13b. Mobile app section ---------- */
.app-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
@media (max-width: 980px) { .app-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

.phones {
  position: relative; display: flex; justify-content: flex-start; align-items: flex-start;
  padding: 8px 0 26px 26px; min-height: 580px;
  perspective: 1500px; perspective-origin: 58% 42%;
}

.phone {
  position: relative; z-index: 2; width: 258px; flex: none;
  border-radius: 46px; padding: 11px;
  background:
    linear-gradient(155deg, #6b7699 0%, #2b3350 18%, #0d1220 46%, #171d2e 66%, #4a5474 92%, #8e99b8 100%);
  transform: rotateY(-16deg) rotateX(5deg) translateZ(0);
  transform-style: preserve-3d;
  box-shadow:
    /* fake body thickness receding to the left */
    -7px 0 0 -1px #2a3350, -13px 0 0 -3px #161c2c, -18px 0 0 -6px #05080f,
    /* contact shadow */
    0 34px 60px -12px rgba(0, 0, 0, 0.7), 0 6px 14px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  animation: phoneFloat 7s var(--ease) infinite;
}
.phone--back {
  position: absolute; z-index: 1; right: 24px; top: 86px;
  width: 224px; margin: 0;
  transform: rotateY(-16deg) rotateX(5deg) translateZ(-46px);
  animation-delay: -3.5s;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-16deg) rotateX(5deg) translate3d(0, 0, 0); }
  50%      { transform: rotateY(-11deg) rotateX(3deg) translate3d(0, -14px, 0); }
}
.phone--back { animation-name: phoneFloatBack; }
@keyframes phoneFloatBack {
  0%, 100% { transform: rotateY(-16deg) rotateX(5deg) translate3d(0, 0, -46px); }
  50%      { transform: rotateY(-11deg) rotateX(3deg) translate3d(0, -12px, -46px); }
}
@media (max-width: 620px) {
  .phone--back { display: none; }
  .phones { min-height: 0; justify-content: center; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
}

/* hardware keys — sit on the metal frame, extruded with the 3D context */
.phone__key {
  position: absolute; z-index: 3; width: 3px; border-radius: 3px;
  transform: translateZ(2px);
  background: linear-gradient(90deg, #2b3350, #99a3c2 45%, #3a4462);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.phone__key--v1 { left: -1px; top: 27%; height: 34px; }
.phone__key--v2 { left: -1px; top: 38%; height: 34px; }
.phone__key--p  { right: -1px; top: 32%; height: 52px; }

.phone__screen {
  position: relative; border-radius: 36px; overflow: hidden;
  background: #eef2f9; aspect-ratio: 9 / 18.5;
  display: flex; flex-direction: column;
  font-size: 10px; color: #0d1220;
  transform: translateZ(3px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 0 22px rgba(0, 0, 0, 0.45) inset;
}
.phone--back .phone__screen { aspect-ratio: 9 / 18.5; }

/* glass reflection sweeping across the panel */
.phone__gloss {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: 36px;
  background:
    linear-gradient(112deg,
      rgba(255, 255, 255, 0.26) 0%,
      rgba(255, 255, 255, 0.06) 18%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(255, 255, 255, 0.1) 100%),
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.22), transparent 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.phone__notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 15px; border-radius: 99px; background: #0b0f1a; z-index: 4;
}
.phone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px 4px; font-size: 8.5px; font-weight: 700; color: #334155;
  background: #fff;
}
.phone__status span { display: flex; align-items: center; gap: 3px; }
.phone__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 8px; background: #fff; border-bottom: 1px solid #e6ebf3;
  font-size: 11px; font-weight: 800;
}
.phone__bar i { width: 13px; height: 13px; border-radius: 4px; background: #cbd5e1; display: block; }

.app-body { padding: 9px; display: grid; gap: 7px; align-content: start; overflow: hidden; flex: 1; }

.app-hello {
  border-radius: 12px; padding: 10px 11px; color: #fff;
  background: linear-gradient(120deg, #3b82f6, #1d4ed8);
  display: flex; align-items: center; justify-content: space-between;
}
.app-hello small { display: block; font-size: 8px; opacity: .85; }
.app-hello b { font-size: 12.5px; letter-spacing: -0.02em; }
.app-hello i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.22); font-style: normal; font-weight: 800; font-size: 11px;
}

.app-card { background: #fff; border-radius: 11px; padding: 9px 10px; border: 1px solid #e8edf5; }
.app-card > b { display: block; font-size: 9.5px; margin-bottom: 3px; }
.app-card > small { font-size: 7.5px; color: #64748b; display: flex; align-items: center; gap: 3px; }

.app-tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.app-tile { background: #fff; border: 1px solid #e8edf5; border-radius: 10px; padding: 7px 8px; }
.app-tile small { display: block; font-size: 7px; color: #64748b; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.app-tile b { font-size: 11px; letter-spacing: -0.02em; }
.app-tile b.g { color: #16a34a; }
.app-tile b.a { color: #ea580c; }

.app-profit {
  background: linear-gradient(110deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0; border-radius: 11px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.app-profit small { font-size: 7.5px; color: #047857; font-weight: 700; }
.app-profit b { font-size: 12px; color: #047857; letter-spacing: -0.02em; }
.app-profit em {
  font-style: normal; font-size: 7px; font-weight: 800; letter-spacing: .08em;
  color: #047857; background: #a7f3d0; padding: 2px 6px; border-radius: 99px;
}

.app-qa { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: #fff; border: 1px solid #e8edf5; border-radius: 11px; padding: 8px 6px; }
.app-qa div { text-align: center; }
.app-qa svg { width: 17px; height: 17px; margin: 0 auto 3px; color: var(--brand-500); }
.app-qa span { font-size: 6.5px; color: #475569; font-weight: 700; display: block; line-height: 1.2; }

.app-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 5px 0; border-bottom: 1px dashed #e2e8f0; font-size: 8.5px;
}
.app-row:last-child { border-bottom: 0; }
.app-row span { color: #475569; }
.app-row b { font-size: 8.5px; }
.app-row .paid { color: #16a34a; font-weight: 800; font-size: 7px; }
.app-dot { width: 16px; height: 16px; border-radius: 5px; background: #dbeafe; flex: none; display: grid; place-items: center; color: #2563eb; font-size: 7px; font-weight: 800; }
.app-line { display: flex; align-items: center; gap: 6px; }

.app-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  font-weight: 700; font-size: 14px;
}
.app-badge svg { width: 20px; height: 20px; }
.app-badge small { display: block; font-size: 11px; font-weight: 600; color: var(--text-faint); }
.app-badge--soon { opacity: 0.65; }

.app-feats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 560px) { .app-feats { grid-template-columns: minmax(0, 1fr); } }
.app-feat { display: flex; gap: 12px; align-items: flex-start; }
.app-feat i {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  font-style: normal;
  background: linear-gradient(150deg, rgba(109, 94, 252, 0.26), rgba(22, 217, 154, 0.14));
  border: 1px solid var(--line-strong);
}
.app-feat i svg { width: 19px; height: 19px; color: var(--brand-200); }
html[data-theme="light"] .app-feat i svg { color: var(--brand-600); }
.app-feat b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.app-feat p { font-size: 13px; color: var(--text-dim); line-height: 1.45; }

.soon-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: rgba(255, 200, 87, 0.14); border: 1px solid rgba(255, 200, 87, 0.32);
  font-size: 12.5px; font-weight: 700; color: var(--amber-400);
}

/* ---------- 13c. Full feature list ---------- */
.featlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 26px; }
@media (max-width: 900px) { .featlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .featlist { grid-template-columns: minmax(0, 1fr); } }
.featlist li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  transition: border-color 0.25s, transform 0.25s var(--ease), color 0.25s;
}
html[data-theme="light"] .featlist li { background: #fff; }
.featlist li:hover { border-color: var(--line-strong); transform: translateX(3px); color: var(--text); }
.featlist svg { width: 16px; height: 16px; color: var(--mint-400); flex: none; }

/* ---------- 13d. Services section ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

.svc {
  position: relative; padding: 32px 30px; border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
html[data-theme="light"] .svc { background: #fff; box-shadow: var(--shadow-sm); }
.svc:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.svc::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.22), transparent 68%);
}
.svc--app::after { background: radial-gradient(circle, rgba(22, 217, 154, 0.2), transparent 68%); }
.svc > * { position: relative; z-index: 1; }

.svc__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.svc__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; flex: none;
  background: linear-gradient(150deg, rgba(109, 94, 252, 0.3), rgba(22, 217, 154, 0.14));
  border: 1px solid var(--line-strong);
}
.svc__ico svg { width: 25px; height: 25px; color: var(--brand-200); }
html[data-theme="light"] .svc__ico svg { color: var(--brand-600); }
.svc__top h3 { font-size: 20px; }
.svc__top small { font-size: 12.5px; color: var(--text-faint); font-weight: 600; }

.svc__list { display: grid; gap: 11px; margin-top: 4px; }
.svc__list li { display: flex; gap: 11px; align-items: flex-start; }
.svc__list svg { width: 17px; height: 17px; color: var(--mint-400); flex: none; margin-top: 3px; }
.svc__list b { display: block; font-size: 14.5px; color: var(--text); }
.svc__list p { font-size: 13.4px; color: var(--text-dim); line-height: 1.5; }

.svc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc__tags span {
  font-size: 11.5px; font-weight: 700; color: var(--text-dim);
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
html[data-theme="light"] .svc__tags span { background: #f4f6fb; }

/* ---------- 14. Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .industries { grid-template-columns: minmax(0, 1fr); } }
.ind {
  position: relative; padding: 26px 22px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(255,255,255,0.025);
  overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s;
}
html[data-theme="light"] .ind { background: #fff; }
.ind:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.ind h3 { font-size: 17px; margin-bottom: 6px; }
.ind p { font-size: 13.6px; color: var(--text-dim); }
.ind__n { position: absolute; right: 16px; top: 12px; font-family: var(--mono); font-size: 42px; font-weight: 800; color: var(--line); z-index: 0; }
.ind > * { position: relative; z-index: 1; }
.ind svg { width: 26px; height: 26px; color: var(--brand-200); margin-bottom: 12px; }
html[data-theme="light"] .ind svg { color: var(--brand-600); }

/* ---------- 15. Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,0.02); }
html[data-theme="light"] .compare-wrap { background: #fff; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); background: rgba(255,255,255,0.03); }
.compare thead th:nth-child(2) { color: var(--brand-200); }
html[data-theme="light"] .compare thead th:nth-child(2) { color: var(--brand-600); }
.compare tbody th { font-weight: 700; color: var(--text); width: 34%; }
.compare td { color: var(--text-dim); }
.compare tbody tr:hover { background: rgba(255,255,255,0.03); }
html[data-theme="light"] .compare tbody tr:hover { background: rgba(10,14,30,0.03); }
.compare .yes { color: var(--mint-400); }
.compare .no { color: var(--text-faint); }
.compare .warn-cell { color: var(--amber-400); font-weight: 700; font-size: 13.5px; }
.compare svg { width: 19px; height: 19px; }
.compare-wrap.is-pulse { animation: pulse 0.5s var(--ease); }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(109,94,252,0.22); } }

/* live activity ticker */
.live-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px; color: var(--text-dim);
  animation: slideIn 0.5s var(--ease);
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 16. Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

.plan {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(255,255,255,0.025);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.4s var(--ease);
}
html[data-theme="light"] .plan { background: #fff; }
.plan:hover { transform: translateY(-4px); }
.plan--hot {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(109,94,252,0.14), rgba(255,255,255,0.02));
  box-shadow: var(--glow);
}
html[data-theme="light"] .plan--hot { background: #fff; }
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 15px; border-radius: var(--r-pill);
  background: linear-gradient(100deg, var(--brand-500), var(--mint-500));
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  white-space: nowrap;
}
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.045em; }
.plan__price span { color: var(--text-faint); font-size: 14px; font-weight: 600; }
.plan__per { font-size: 13px; color: var(--text-faint); }
.plan ul { display: grid; gap: 10px; font-size: 14.4px; color: var(--text-dim); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--mint-400); flex: none; margin-top: 3px; }
.plan li b { color: var(--text); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan__more { font-size: 12.5px; color: var(--text-faint); text-align: center; }

.price-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--text-faint); }
.price-note a { color: var(--brand-200); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="light"] .price-note a { color: var(--brand-600); }

/* ---------- 17. Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 940px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
.review { display: flex; flex-direction: column; gap: 16px; }
.review__stars { display: flex; gap: 3px; color: var(--amber-400); }
.review__stars svg { width: 17px; height: 17px; }
.review blockquote { font-size: 15px; color: var(--text-dim); flex: 1; text-wrap: pretty; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.review__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(145deg, var(--brand-500), var(--brand-700)); flex: none; }
.review__who b { display: block; font-size: 14.5px; }
.review__who small { color: var(--text-faint); font-size: 12.5px; }

.review--cta {
  justify-content: flex-start;
  background: linear-gradient(160deg, rgba(109, 94, 252, 0.2), rgba(22, 217, 154, 0.08) 70%, transparent);
  border-color: var(--line-strong);
}
html[data-theme="light"] .review--cta { background: #fff; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,0.025); overflow: hidden; transition: border-color 0.3s; }
html[data-theme="light"] .qa { background: #fff; }
.qa.open { border-color: var(--line-strong); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16px; }
.qa__i { position: relative; width: 20px; height: 20px; flex: none; }
.qa__i::before, .qa__i::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--brand-200); border-radius: 2px; transform: translateY(-50%); transition: transform 0.35s var(--ease); }
html[data-theme="light"] .qa__i::before, html[data-theme="light"] .qa__i::after { background: var(--brand-600); }
.qa__i::after { transform: translateY(-50%) rotate(90deg); }
.qa.open .qa__i::after { transform: translateY(-50%) rotate(0deg); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.qa__a div { padding: 0 22px 22px; color: var(--text-dim); font-size: 15px; }

/* ---------- 19. CTA + form ---------- */
.cta-band {
  position: relative; border-radius: var(--r-xl); padding: clamp(38px, 6vw, 66px);
  border: 1px solid var(--line-strong); overflow: hidden;
  background: linear-gradient(140deg, rgba(109,94,252,0.24), rgba(22,217,154,0.12) 60%, transparent);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center;
}
@media (max-width: 940px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }
.cta-band::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(22,217,154,0.28), transparent 68%); pointer-events: none;
}
.cta-form { display: grid; gap: 12px; }
.cta-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 520px) { .cta-form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--text-faint); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 13px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 15px; transition: border-color 0.25s, background 0.25s;
}
html[data-theme="light"] .field input, html[data-theme="light"] .field select, html[data-theme="light"] .field textarea { background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); background: rgba(109,94,252,0.07); }
.field textarea { resize: vertical; min-height: 84px; }

/* Native select dropdown follows the theme instead of rendering white-on-white */
.field select option,
.field select optgroup { background: var(--ink-700); color: var(--text); }
html[data-theme="light"] .field select option,
html[data-theme="light"] .field select optgroup { background: #fff; color: #0d1220; }
.field select option:checked { background: var(--brand-600); color: #fff; }

/* honeypot — off-screen, not display:none so bots still fill it */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field--err input, .field--err select { border-color: #ff6b6b; }
.field small { font-size: 11.5px; color: #ff8080; display: none; }
.field--err small { display: block; }
.form-msg { font-size: 14px; font-weight: 700; display: none; }
.form-msg.on { display: block; }
.form-msg--ok { color: var(--mint-400); }
.form-msg--err { color: #ff8080; }
.btn.loading { pointer-events: none; opacity: 0.75; }
.btn.loading .btn__label { opacity: 0.6; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 20. Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 66px 0 30px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-faint); margin-bottom: 16px; }
.footer li + li { margin-top: 9px; }
.footer a { color: var(--text-dim); font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: var(--text); }
.footer__about p { color: var(--text-dim); font-size: 14.5px; margin: 16px 0; max-width: 38ch; }
.social { display: flex; gap: 9px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); }
.social a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.social svg { width: 17px; height: 17px; }
.footer__bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-faint); }
.footer__bar a:hover { color: var(--text); }

/* ---------- 21. Floating actions ---------- */
.fabs { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; }
.fab {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.fab:hover { transform: translateY(-3px) scale(1.02); }
.fab--wa { background: #1f8f4e; }
.fab--call { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.fab svg { width: 19px; height: 19px; }
.fab span { display: none; }
@media (min-width: 720px) { .fab span { display: inline; } }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.25); animation: ring 2.6s var(--ease) infinite;
}
.fab { position: relative; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fab::before { animation: none; } }

/* ---------- 22. Toast + progress ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%);
  z-index: 150; padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--ink-700); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg); font-size: 14.5px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.5s var(--ease);
}
html[data-theme="light"] .toast { background: #fff; }
.toast.on { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--mint-400); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  z-index: 130; background: linear-gradient(90deg, var(--brand-500), var(--mint-400));
}

/* ---------- 23. Reveal animation ---------- */
/* Gated on .js so content is always visible if JavaScript is unavailable or fails */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .reviews, .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .hide-sm { display: none; }
  .hide-xs { display: none; }
  .nav { gap: 10px; }
  .brand__txt { font-size: 17px; }
  .statstrip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g-2, .g-3, .g-4, .reviews, .industries, .panel__grid { grid-template-columns: minmax(0, 1fr); }
  .nav__actions .btn--primary { display: none; }
  .section-head--center { text-align: left; }
  .step { padding: 26px 22px 26px 22px; }
  .step::before { position: static; display: block; margin-bottom: 8px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta-band { padding: 28px 20px; }
  .bento { gap: 14px; }
  .card { padding: 22px; }

  /* POS screen: simplified on phones so nothing overflows */
  .pos { font-size: 8.5px; }
  .pos__right { display: none; }
  .pos__body { grid-template-columns: minmax(0, 1fr); }
  .pos__tools-row { flex-wrap: wrap; }
  .pos__field { min-width: 0; }
  .pos__tools .pos__tool:nth-child(n + 6) { display: none; }
  .pos__act--recent { margin-left: 0; }
  .pos__totals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pos__totals .grand { grid-column: 1 / -1; }
  .pos-wrap { padding: 26px 0 30px; }
  .mock-chip--1 { top: -6px; left: 8px; }
  .mock-chip--2 { bottom: -4px; right: 8px; }
}