/* ==========================================================================
   Poslytic — Marketing Site Design System
   Style: Glassmorphism · Navy + Sky-blue · Plus Jakarta Sans
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — red. 500/600/700 are the EXACT POS app primaries
     (apps/pos-desktop tailwind primary #AA0000/#990000/#880000) so the site
     and the product read as one brand. */
  --red-50:  #FDF1F1;
  --red-100: #FBE1E1;
  --red-200: #F5C4C4;
  --red-300: #E89B9B;
  --red-400: #D64545;
  --red-500: #AA0000;
  --red-600: #990000;
  --red-700: #880000;
  --red-800: #6B0000;
  --red-900: #4D0000;

  /* Warm-dark surfaces (KDS / dark bands) + neutral warm grays */
  --navy-950: #120B0C;
  --navy-900: #201416;
  --navy-800: #2E1E20;
  --navy-700: #44312F;
  --slate-500: #6E6360;
  --slate-400: #9A8E8A;
  --slate-300: #CFC4C1;
  --slate-200: #ECE3E2;
  --slate-100: #F6EFEE;
  --slate-50:  #FBF7F6;

  --emerald-500: #10B981;
  --amber-500: #F59E0B;
  --rose-500: #F43F5E;

  /* Semantic tokens (light) */
  --color-bg: var(--slate-50);
  --color-bg-elevated: #FFFFFF;
  --color-fg: #1F1315;
  --color-fg-muted: var(--slate-500);
  --color-heading: #2A0E12;
  --color-primary: var(--red-500);
  --color-accent: var(--red-500);
  --color-accent-strong: var(--red-700);
  --color-border: var(--slate-200);
  --color-ring: var(--red-500);

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: 16px;

  /* Gradients */
  --grad-accent: linear-gradient(135deg, #C81414 0%, #880000 100%);
  --grad-accent-soft: linear-gradient(135deg, rgba(170,0,0,0.12), rgba(136,0,0,0.10));
  --grad-hero: radial-gradient(1200px 600px at 12% -10%, rgba(214,69,69,0.20), transparent 60%),
               radial-gradient(900px 500px at 95% 0%, rgba(170,0,0,0.16), transparent 55%);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(2,6,23,0.06), 0 1px 3px rgba(2,6,23,0.05);
  --shadow-md: 0 6px 18px rgba(2,6,23,0.08), 0 2px 6px rgba(2,6,23,0.05);
  --shadow-lg: 0 24px 48px -12px rgba(2,6,23,0.18), 0 8px 24px -8px rgba(2,6,23,0.10);
  --shadow-glow: 0 12px 40px -8px rgba(170,0,0,0.42);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Spacing rhythm (4/8) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  --color-bg: #1A0D0E;
  --color-bg-elevated: #241416;
  --color-fg: #F6E9E9;
  --color-fg-muted: #BBA9A8;
  --color-heading: #FFF3F3;
  --color-primary: #2A1518;
  --color-accent: var(--red-400);
  --color-accent-strong: var(--red-500);
  --color-border: rgba(248,180,180,0.16);
  --glass-bg: rgba(40, 20, 22, 0.55);
  --glass-bg-strong: rgba(36, 18, 20, 0.80);
  --glass-border: rgba(248,180,180,0.16);
  --grad-hero: radial-gradient(1200px 600px at 12% -10%, rgba(214,69,69,0.16), transparent 60%),
               radial-gradient(900px 500px at 95% 0%, rgba(170,0,0,0.20), transparent 55%);
  --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.6), 0 8px 24px -8px rgba(0,0,0,0.5);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

::selection { background: var(--red-500); color: #fff; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-accent-strong);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--grad-accent-soft);
  border: 1px solid var(--color-border);
}

.section-head { max-width: 720px; margin: 0 auto var(--sp-7); text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.section-head p { color: var(--color-fg-muted); font-size: 18px; }

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

.lead { font-size: 19px; color: var(--color-fg-muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--grad-accent); color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -8px rgba(170,0,0,0.5); }

.btn--ghost {
  background: var(--glass-bg); color: var(--color-heading);
  border-color: var(--color-border); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-strong); transform: translateY(-2px); }

.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--color-heading); letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-accent); display: grid; place-items: center; box-shadow: var(--shadow-glow); flex: none; }
.brand__mark svg { width: 20px; height: 20px; }
.brand__logo { height: 34px; width: auto; display: block; }
.brand__logo--sm { height: 30px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500;
  color: var(--color-fg-muted); transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--color-heading); background: var(--grad-accent-soft); }
.nav__links a.active { color: var(--color-accent-strong); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-heading);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--color-accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-heading); }
.nav__burger svg { width: 22px; height: 22px; margin: 0 auto; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--glass-bg-strong); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px 28px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 12px; font-size: 17px; font-weight: 500; border-radius: var(--r-md); color: var(--color-heading); }
.mobile-menu a:hover { background: var(--grad-accent-soft); }
.mobile-menu .btn { margin-top: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-hero);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--color-border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.hero__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; margin-bottom: 22px; }
.hero p { font-size: clamp(17px, 2vw, 21px); color: var(--color-fg-muted); max-width: 640px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: 14px; color: var(--color-fg-muted); display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; color: var(--emerald-500); }

/* floating accent blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: 0.55; }
.blob--1 { width: 360px; height: 360px; background: rgba(214,69,69,0.45); top: 8%; left: -80px; animation: float1 14s var(--ease) infinite; }
.blob--2 { width: 300px; height: 300px; background: rgba(170,0,0,0.4); top: 20%; right: -60px; animation: float2 16s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(-30px, 40px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* ---------- Hero product mockup ---------- */
.hero__app {
  margin-top: 56px; position: relative;
  perspective: 1800px;
}
.app-frame {
  margin: 0 auto; max-width: 1040px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}
.app-frame__bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--color-border);
  background: var(--glass-bg);
}
.app-dot { width: 11px; height: 11px; border-radius: 50%; }
.app-dot--r { background: #FF5F57; } .app-dot--y { background: #FEBC2E; } .app-dot--g { background: #28C840; }
.app-frame__url { margin-left: 14px; flex: 1; max-width: 340px; height: 28px; border-radius: var(--r-pill); background: var(--color-bg); border: 1px solid var(--color-border); display: flex; align-items: center; padding: 0 14px; font-size: 12.5px; color: var(--color-fg-muted); gap: 6px; }
.app-frame__url svg { width: 13px; height: 13px; color: var(--emerald-500); }

/* ==========================================================================
   Generic POS UI mockup (used in hero + features)
   ========================================================================== */
.pos { display: grid; grid-template-columns: 220px 1fr 280px; min-height: 440px; background: var(--color-bg); font-size: 13px; }
.pos--noright { grid-template-columns: 220px 1fr; }
.pos__side { padding: 18px 14px; border-right: 1px solid var(--color-border); background: var(--color-bg-elevated); }
.pos__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--color-heading); margin-bottom: 22px; }
.pos__brand i { width: 26px; height: 26px; border-radius: 7px; background: var(--grad-accent); display: block; flex: none; }
.pos__nav { display: flex; flex-direction: column; gap: 3px; }
.pos__nav span { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-sm); color: var(--color-fg-muted); font-weight: 500; }
.pos__nav span.on { background: var(--grad-accent-soft); color: var(--color-accent-strong); font-weight: 600; }
.pos__nav span i { width: 16px; height: 16px; border-radius: 4px; background: currentColor; opacity: 0.55; display: block; flex: none; }

.pos__main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pos__topline { display: flex; align-items: center; justify-content: space-between; }
.pos__topline h4 { font-size: 17px; }
.pos__search { height: 30px; width: 180px; border-radius: var(--r-pill); border: 1px solid var(--color-border); background: var(--color-bg-elevated); }

.pos__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pos__stat { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 14px; }
.pos__stat b { display: block; font-size: 22px; color: var(--color-heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pos__stat small { color: var(--color-fg-muted); font-size: 11.5px; }
.pos__stat em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--emerald-500); }

.pos__panel { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 16px; flex: 1; }
.pos__panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pos__panel-h b { color: var(--color-heading); font-size: 13.5px; }
.pos__panel-h span { font-size: 11px; color: var(--color-accent-strong); font-weight: 600; }

/* mini bar chart */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 8px; }
.chart .bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad-accent); opacity: 0.85; min-height: 8%; }
.chart .bar:nth-child(even) { opacity: 0.55; }

/* order tickets (right rail) */
.pos__tickets { padding: 16px; border-left: 1px solid var(--color-border); background: var(--color-bg-elevated); display: flex; flex-direction: column; gap: 10px; }
.pos__tickets h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-fg-muted); margin-bottom: 4px; }
.ticket { border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 11px; background: var(--color-bg); }
.ticket__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ticket__h b { font-size: 12.5px; color: var(--color-heading); }
.pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); letter-spacing: 0.03em; }
.pill--new { background: rgba(170,0,0,0.12); color: var(--red-700); }
.pill--cook { background: rgba(245,158,11,0.16); color: #B45309; }
.pill--done { background: rgba(16,185,129,0.15); color: #047857; }
.ticket__line { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-fg-muted); padding: 2px 0; }
.ticket__line span:last-child { color: var(--color-heading); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Logos / trust strip
   ========================================================================== */
.trust { padding: 40px 0 8px; }
.trust p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 26px; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; opacity: 0.85; }
.trust__logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--color-fg-muted); letter-spacing: -0.01em; }
.trust__logo svg { width: 22px; height: 22px; }

/* ==========================================================================
   Bento feature grid
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .cell { padding: 26px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.bento .cell h3 { font-size: 19px; margin: 14px 0 8px; }
.bento .cell p { color: var(--color-fg-muted); font-size: 14.5px; }
.cell--lg { grid-column: span 4; min-height: 280px; }
.cell--sm { grid-column: span 2; }
.cell--md { grid-column: span 3; }

.feat-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-accent-soft); border: 1px solid var(--color-border); color: var(--color-accent-strong); }
.feat-icon svg { width: 23px; height: 23px; }

.cell--feature {
  background: var(--grad-accent); color: #fff; border: none; box-shadow: var(--shadow-glow);
}
.cell--feature h3, .cell--feature p { color: #fff; }
.cell--feature p { color: rgba(255,255,255,0.85); }
.cell--feature .feat-icon { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); color: #fff; }

/* feature card list */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { padding: 28px; border-radius: var(--r-lg); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.fcard h3 { font-size: 19px; margin: 18px 0 10px; }
.fcard p { color: var(--color-fg-muted); font-size: 14.5px; }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: var(--sp-9); }
.split__media { position: relative; }
.split--rev .split__text { order: 2; }
.split__text h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.split__text > p { color: var(--color-fg-muted); font-size: 17px; margin-bottom: 22px; }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--grad-accent-soft); color: var(--color-accent-strong); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 14px; height: 14px; }
.checklist b { color: var(--color-heading); }
.checklist span { color: var(--color-fg-muted); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--color-primary); color: #fff; border-radius: var(--r-xl); padding: 54px 40px; position: relative; overflow: hidden; }
html[data-theme="dark"] .stats-band { background: #241416; border: 1px solid var(--color-border); }
.stats-band::after { content:""; position:absolute; inset:0; background: var(--grad-hero); opacity: 0.6; }
.stats-band__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-big b { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: #fff; display: block; font-variant-numeric: tabular-nums; }
.stat-big span { color: var(--slate-300); font-size: 14px; }

/* ==========================================================================
   Steps / how it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--r-lg); position: relative; }
.step__num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-accent); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-glow); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--color-fg-muted); font-size: 14.5px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { padding: 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 18px; }
.testi__stars { display: flex; gap: 3px; color: var(--amber-500); }
.testi__stars svg { width: 17px; height: 17px; }
.testi p { font-size: 15.5px; line-height: 1.65; color: var(--color-fg); }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.testi__who b { display: block; font-size: 14.5px; color: var(--color-heading); }
.testi__who small { color: var(--color-fg-muted); font-size: 13px; }

/* ==========================================================================
   Pricing teaser (on home)
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { padding: 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.price--featured { background: var(--color-primary); color: #fff; transform: scale(1.03); position: relative; box-shadow: var(--shadow-lg); }
html[data-theme="dark"] .price--featured { background: #241416; border: 1px solid var(--color-accent); }
.price--featured h3, .price--featured .price__amt { color: #fff; }
.price__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); background: var(--grad-accent); color: #fff; }
.price h3 { font-size: 18px; margin-bottom: 6px; }
.price__desc { font-size: 13.5px; color: var(--color-fg-muted); margin-bottom: 18px; }
.price--featured .price__desc { color: var(--slate-300); }
.price__amt { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: var(--color-heading); }
.price__amt span { font-size: 15px; font-weight: 500; color: var(--color-fg-muted); }
.price--featured .price__amt span { color: var(--slate-300); }
.price ul { display: flex; flex-direction: column; gap: 11px; margin: 22px 0; flex: 1; }
.price li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.price li svg { width: 17px; height: 17px; color: var(--color-accent); flex: none; transition: transform 0.28s var(--ease); }
.price--featured li svg { color: var(--red-300); }
.price-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--color-fg-muted); }

/* --- pricing hover / motion (framer-like feel, pure CSS) --- */
.price { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); will-change: transform; position: relative; overflow: hidden; }
.price:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.price--featured { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.price--featured:hover { transform: scale(1.03) translateY(-12px); }
.price:hover .price__amt { transform: scale(1.05); transition: transform 0.4s var(--ease); }
.price:hover li svg { transform: scale(1.28) rotate(-6deg); }
.price li { transition: transform 0.28s var(--ease); }
.price:hover li { transform: translateX(3px); }
.price:hover .price__tag { animation: pricePulse 1.1s var(--ease) infinite; }
/* sweeping sheen on hover */
.price::after { content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(115deg, transparent, rgba(255,255,255,0.14), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
.price:hover::after { animation: priceSheen 0.9s var(--ease) forwards; }
@keyframes priceSheen { 0% { left: -60%; opacity: 0; } 20% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
@keyframes pricePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .price, .price:hover, .price--featured:hover { transform: none; transition: none; }
  .price:hover::after, .price:hover .price__tag { animation: none; }
  .price:hover .price__amt, .price:hover li, .price:hover li svg { transform: none; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { text-align: center; padding: 64px 32px; border-radius: var(--r-xl); position: relative; overflow: hidden; background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 50% -20%, rgba(255,255,255,0.25), transparent 60%); }
.cta-band__in { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 30px; }
.cta-band .btn--ghost { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--navy-900); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.cta-band .btn--primary:hover { background: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--color-border); margin-top: var(--sp-8); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__brand p { color: var(--color-fg-muted); font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-fg-muted); transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.footer__social a:hover { color: var(--color-accent-strong); border-color: var(--color-accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-fg-muted); margin-bottom: 16px; }
.footer__col a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--color-fg-muted); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--color-accent-strong); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--color-border); flex-wrap: wrap; gap: 14px; }
.footer__bottom p { font-size: 13.5px; color: var(--color-fg-muted); }
.footer__bottom .links { display: flex; gap: 22px; }
.footer__bottom .links a { font-size: 13.5px; color: var(--color-fg-muted); }
.footer__bottom .links a:hover { color: var(--color-accent-strong); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__aside h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.contact__aside > p { color: var(--color-fg-muted); font-size: 18px; margin-bottom: 32px; }
.contact__list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; }
.contact__item .feat-icon { flex: none; }
.contact__item b { display: block; color: var(--color-heading); font-size: 15px; margin-bottom: 2px; }
.contact__item span { color: var(--color-fg-muted); font-size: 14.5px; }

.form { padding: 32px; border-radius: var(--r-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--color-heading); margin-bottom: 7px; }
.field label .req { color: var(--rose-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px; font-size: 15px; font-family: inherit;
  color: var(--color-fg); background: var(--color-bg-elevated);
  border: 1px solid var(--color-border); border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(170,0,0,0.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field__error { font-size: 13px; color: var(--rose-500); margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--rose-500); }
.field.invalid .field__error { display: block; }
.field__hint { font-size: 13px; color: var(--color-fg-muted); margin-top: 6px; }

.form__success { display: none; text-align: center; padding: 24px; }
.form__success.show { display: block; }
.form__success .ok { width: 60px; height: 60px; border-radius: 50%; background: rgba(16,185,129,0.15); color: var(--emerald-500); display: grid; place-items: center; margin: 0 auto 18px; }
.form__success .ok svg { width: 30px; height: 30px; }
.form__success h3 { font-size: 22px; margin-bottom: 8px; }
.form__success p { color: var(--color-fg-muted); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: transparent; border: none; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--color-heading); }
.faq__q svg { width: 20px; height: 20px; color: var(--color-accent); transition: transform 0.3s var(--ease); flex: none; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--color-fg-muted); font-size: 15px; line-height: 1.7; }

/* ==========================================================================
   Page hero (sub pages)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + 64px) 0 56px; text-align: center; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: var(--grad-hero); }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin-bottom: 18px; }
.page-hero p { font-size: 19px; color: var(--color-fg-muted); max-width: 600px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 20px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--lg, .cell--md, .cell--sm { grid-column: span 2; min-height: 0; }
  .split { gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__actions .btn--primary { display: none; }
  .feature-grid, .testi-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
  .split, .split--rev .split__text { grid-template-columns: 1fr; order: 0; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: 2; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .pos { grid-template-columns: 1fr; min-height: 0; }
  .pos__side, .pos__tickets { display: none; }
  .section { padding: var(--sp-8) 0; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .pos__stats { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   Live product demo (animated mockups) + screenshots gallery + analytics
   ========================================================================== */
.demo-band { background: var(--navy-950); color: #F6E9E9; }
.demo-band .section-head h2, .demo-band h3 { color: #FFF3F3; }
.demo-band .section-head p { color: #BBA9A8; }

.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
  background: #201416; border: 1px solid rgba(248,180,180,0.14);
  border-radius: var(--r-lg); padding: 18px; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.demo-card > h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.demo-card > h3 svg { width: 18px; height: 18px; color: var(--red-400); }
.demo-card > p { font-size: 13.5px; color: #BBA9A8; }
.demo-stage { background: #120B0C; border-radius: 12px; padding: 14px; min-height: 240px; position: relative; }

/* --- Demo 1: order punching --- */
.dm-line {
  display: flex; justify-content: space-between; font-size: 13px; font-weight: 600;
  padding: 8px 10px; border-radius: 8px; background: #241416; margin-bottom: 8px;
  opacity: 0; animation: dmLine 9s infinite var(--ease);
}
.dm-line span:last-child { color: #E89B9B; }
.dm-line:nth-child(1) { animation-delay: 0.4s; }
.dm-line:nth-child(2) { animation-delay: 1.3s; }
.dm-line:nth-child(3) { animation-delay: 2.2s; }
.dm-line:nth-child(4) { animation-delay: 3.1s; }
@keyframes dmLine {
  0% { opacity: 0; transform: translateY(8px); }
  6%, 88% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; }
}
.dm-total {
  display: flex; justify-content: space-between; font-size: 14px; font-weight: 800;
  padding: 10px; border-top: 1px dashed rgba(248,180,180,0.25); color: #FFF3F3;
  opacity: 0; animation: dmLine 9s infinite var(--ease); animation-delay: 3.9s;
}
.dm-paid {
  position: absolute; right: 18px; bottom: 16px;
  background: var(--emerald-500); color: #06281D; font-weight: 800; font-size: 13px;
  padding: 6px 14px; border-radius: 999px; transform: scale(0) rotate(-8deg);
  animation: dmPaid 9s infinite var(--ease);
}
@keyframes dmPaid {
  0%, 52% { transform: scale(0) rotate(-8deg); }
  57%, 88% { transform: scale(1) rotate(-8deg); }
  95%, 100% { transform: scale(0) rotate(-8deg); }
}

/* --- Demo 2: kitchen display --- */
.dm-kot { border-left: 4px solid var(--amber-500); background: #241416; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.dm-kot b { font-size: 13px; color: #FFF3F3; display: flex; justify-content: space-between; }
.dm-kot small { font-size: 12px; color: #BBA9A8; display: block; margin-top: 2px; }
.dm-kot .dm-status { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; }
.dm-kot--cycle .dm-status { animation: dmStatus 7s infinite steps(1); background: rgba(245,158,11,0.2); color: #F59E0B; }
.dm-kot--cycle { animation: dmKotBorder 7s infinite steps(1); }
@keyframes dmStatus {
  0% { background: rgba(200,20,20,0.25); color: #E89B9B; }
  33% { background: rgba(245,158,11,0.2); color: #F59E0B; }
  66%, 100% { background: rgba(16,185,129,0.2); color: #34D399; }
}
@keyframes dmKotBorder {
  0% { border-left-color: var(--red-400); }
  33% { border-left-color: var(--amber-500); }
  66%, 100% { border-left-color: var(--emerald-500); }
}
.dm-kot--cycle .dm-status::after { content: 'NEW'; animation: dmStatusText 7s infinite steps(1); }
@keyframes dmStatusText { 0% { content: 'NEW'; } 33% { content: 'COOKING'; } 66%, 100% { content: 'READY'; } }
.dm-progress { height: 4px; border-radius: 999px; background: rgba(248,180,180,0.15); margin-top: 8px; overflow: hidden; }
.dm-progress i { display: block; height: 100%; border-radius: 999px; background: var(--grad-accent); width: 0; animation: dmProg 7s infinite var(--ease); }
@keyframes dmProg { 0% { width: 4%; } 60% { width: 82%; } 66%, 100% { width: 100%; } }

/* --- Demo 3: analytics --- */
.dm-chart { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin-top: 6px; }
.dm-chart .bar2 { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad-accent); transform-origin: bottom; animation: dmBar 5.5s infinite var(--ease); }
@keyframes dmBar { 0% { transform: scaleY(0.12); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(0.12); } }
.dm-spark { width: 100%; height: 74px; margin-top: 12px; }
.dm-spark path { fill: none; stroke: #34D399; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; animation: dmSpark 5.5s infinite var(--ease); }
@keyframes dmSpark { 0% { stroke-dashoffset: 320; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 320; } }
.dm-kpis { display: flex; gap: 10px; margin-top: 4px; }
.dm-kpis span { flex: 1; background: #241416; border-radius: 10px; padding: 8px 10px; font-size: 11px; color: #BBA9A8; }
.dm-kpis b { display: block; font-size: 15px; color: #FFF3F3; }

/* --- Screenshots gallery --- */
.shots { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .shots { grid-template-columns: 1fr; } }
.shot { display: flex; flex-direction: column; gap: 10px; }
.shot > figcaption { font-size: 13.5px; color: var(--color-fg-muted); text-align: center; }
.shot .app-frame { flex: 1; }

.phone-frame {
  border: 1px solid var(--color-border); border-radius: 26px; background: var(--color-bg-elevated);
  box-shadow: var(--shadow-lg); padding: 12px 10px; flex: 1;
}
.phone-frame::before { content: ''; display: block; width: 64px; height: 5px; border-radius: 999px; background: var(--slate-200); margin: 0 auto 10px; }

/* Dine-in floor mockup */
.floor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; background: var(--slate-100); border-radius: 0 0 var(--r-lg) var(--r-lg); min-height: 230px; }
html[data-theme="dark"] .floor { background: #1A0D0E; }
.tbl { border-radius: 14px; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; box-shadow: var(--shadow-sm); }
.tbl small { font-size: 9.5px; font-weight: 600; opacity: 0.85; }
.tbl--free { background: #fff; color: var(--slate-500); border: 1px solid var(--color-border); }
html[data-theme="dark"] .tbl--free { background: #241416; }
.tbl--busy { background: var(--rose-500); }
.tbl--rsv  { background: var(--amber-500); color: #4A3200; }
.tbl--ready { background: var(--emerald-500); animation: tblPulse 2.2s infinite var(--ease); }
@keyframes tblPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); } 50% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } }

/* Owner phone stats */
.ph-stat { background: var(--slate-100); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
html[data-theme="dark"] .ph-stat { background: #241416; }
.ph-stat small { font-size: 11px; color: var(--color-fg-muted); display: block; }
.ph-stat b { font-size: 17px; color: var(--color-heading); }
.ph-stat em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--emerald-500); margin-left: 6px; }
.ph-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; background: var(--slate-100); border-radius: 12px; padding: 10px; }
html[data-theme="dark"] .ph-bars { background: #241416; }
.ph-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: var(--grad-accent); }

/* QR phone menu */
.qr-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--slate-100); margin-bottom: 7px; font-size: 12.5px; font-weight: 600; color: var(--color-fg); }
html[data-theme="dark"] .qr-item { background: #241416; }
.qr-item b { color: var(--color-accent-strong); }
.qr-add { width: 22px; height: 22px; border-radius: 999px; background: var(--grad-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.qr-cta { margin-top: 10px; text-align: center; background: var(--grad-accent); color: #fff; font-weight: 700; font-size: 13px; padding: 10px; border-radius: 12px; }

/* Respect reduced motion for all demo animations */
@media (prefers-reduced-motion: reduce) {
  .dm-line, .dm-total, .dm-paid, .dm-kot--cycle, .dm-kot--cycle .dm-status,
  .dm-kot--cycle .dm-status::after, .dm-progress i, .dm-chart .bar2,
  .dm-spark path, .tbl--ready { animation: none; }
  .dm-line, .dm-total { opacity: 1; transform: none; }
  .dm-paid { transform: scale(1) rotate(-8deg); }
  .dm-progress i { width: 82%; }
  .dm-spark path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Hero "live actions" backdrop + animated hero mockup + ambient motion
   ========================================================================== */

/* Floating POS action chips drifting up BEHIND the hero content — the
   "animated video of the POS working" feel without a video file. */
.hero { position: relative; }
.hero__actions { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.act-chip {
  position: absolute; bottom: -60px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 700; color: var(--color-fg-muted);
  box-shadow: var(--shadow-sm);
  opacity: 0; will-change: transform, opacity;
  animation: actFloat 16s linear infinite;
}
.act-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); display: block; }
.act-chip--red i { background: var(--red-500); }
.act-chip--amber i { background: var(--amber-500); }
@keyframes actFloat {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.85; }
  70% { opacity: 0.55; }
  95% { opacity: 0; }
  100% { transform: translateY(calc(-100vh + 60px)); opacity: 0; }
}

/* Hero mockup: sales bars breathe like a live feed. */
.hero .chart .bar { transform-origin: bottom; animation: heroBar 5s var(--ease) infinite; }
.hero .chart .bar:nth-child(1) { animation-delay: .1s; } .hero .chart .bar:nth-child(2) { animation-delay: .5s; }
.hero .chart .bar:nth-child(3) { animation-delay: .9s; } .hero .chart .bar:nth-child(4) { animation-delay: .2s; }
.hero .chart .bar:nth-child(5) { animation-delay: .7s; } .hero .chart .bar:nth-child(6) { animation-delay: .4s; }
.hero .chart .bar:nth-child(7) { animation-delay: 1s; }  .hero .chart .bar:nth-child(8) { animation-delay: .3s; }
.hero .chart .bar:nth-child(9) { animation-delay: .6s; }
@keyframes heroBar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.72); } }

/* A "new order" ticket that keeps arriving in the hero live-orders panel. */
.ticket--incoming { animation: ticketIn 9s var(--ease) infinite; overflow: hidden; }
@keyframes ticketIn {
  0% { opacity: 0; transform: translateY(-10px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
  8%, 88% { opacity: 1; transform: translateY(0); max-height: 120px; }
  97%, 100% { opacity: 0; transform: translateY(-10px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
}
.pill--new { animation: pillPulse 1.6s var(--ease) infinite; }
@keyframes pillPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(170,0,0,0.35); } 50% { box-shadow: 0 0 0 6px rgba(170,0,0,0); } }

/* Dine-in split floor: tables gently trade status (color shift loop). */
.split__media .tbl-live { animation: tblTrade 8s steps(1) infinite; }
@keyframes tblTrade {
  0% { background: var(--grad-accent); color: #fff; }
  50% { background: rgba(245,158,11,0.16); color: #B45309; }
  75%, 100% { background: var(--grad-accent); color: #fff; }
}

/* Owner-phone bars + QR add buttons get a live breathe too. */
.ph-bars i { transform-origin: bottom; animation: heroBar 5.5s var(--ease) infinite; }
.ph-bars i:nth-child(odd) { animation-delay: .4s; }
.qr-add { animation: pillPulse 2.4s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  .act-chip, .hero .chart .bar, .ticket--incoming, .pill--new,
  .split__media .tbl-live, .ph-bars i, .qr-add { animation: none; }
  .act-chip { display: none; }
  .ticket--incoming { opacity: 1; max-height: none; }
}

/* ==========================================================================
   Pricing page — comparison table, add-ons, FAQ
   ========================================================================== */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--r-lg); background: var(--color-bg-elevated); }
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--color-border); font-size: 14.5px; }
.cmp thead th { background: var(--color-bg-elevated); font-size: 15px; font-weight: 800; color: var(--color-heading); }
.cmp thead th small { display: block; font-size: 12px; font-weight: 600; color: var(--color-fg-muted); }
.cmp thead th.cmp-pop { color: var(--color-accent-strong); }
.cmp .cmp-cat td { background: var(--color-bg); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--color-fg-muted); text-align: left; }
.cmp td.feat { text-align: left; color: var(--color-heading); font-weight: 600; }
.cmp .yes { color: #16a34a; font-weight: 800; }
.cmp .no { color: var(--color-border); }
.cmp tbody tr:hover td { background: rgba(170,0,0,0.04); }
.cmp tbody tr:hover td.cmp-cat, .cmp .cmp-cat:hover td { background: var(--color-bg); }

.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 22px; background: var(--color-bg-elevated); display: flex; gap: 14px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.addon:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.addon svg { width: 26px; height: 26px; color: var(--color-accent); flex: none; }
.addon h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--color-heading); }
.addon p { font-size: 13.5px; color: var(--color-fg-muted); line-height: 1.5; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 22px 24px; background: var(--color-bg-elevated); }
.faq-item h4 { font-size: 16px; margin-bottom: 8px; color: var(--color-heading); }
.faq-item p { font-size: 14.5px; color: var(--color-fg-muted); line-height: 1.6; }

@media (max-width: 860px) {
  .faq-grid, .addon-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Live product showcase (real screenshots)
   ========================================================================== */
.showcase { position: relative; max-width: 1000px; margin: 0 auto; }
.sc-browser { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg-elevated); box-shadow: var(--shadow-lg); }
.sc-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.sc-dot { width: 11px; height: 11px; border-radius: 50%; }
.sc-dot--r { background: #ff5f57; } .sc-dot--y { background: #febc2e; } .sc-dot--g { background: #28c840; }
.sc-url { margin-left: 12px; font-size: 13px; color: var(--color-fg-muted); font-weight: 600; }
.sc-stage { position: relative; aspect-ratio: 16 / 10; background: var(--color-bg); overflow: hidden; }
.sc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .8s var(--ease); will-change: opacity; }
.sc-slide.is-active { opacity: 1; animation: scKen 6.5s ease-out both; }
@keyframes scKen { from { transform: scale(1.06); } to { transform: scale(1); } }
.sc-dots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 14px; background: var(--color-bg-elevated); }
.sc-dots button { height: 8px; width: 8px; border-radius: var(--r-pill); border: none; background: var(--color-border); cursor: pointer; padding: 0; transition: all .3s var(--ease); }
.sc-dots button:hover { background: var(--color-accent); opacity: .6; }
.sc-dots button.is-active { width: 26px; background: var(--color-accent); opacity: 1; }
.sc-caption { text-align: center; font-size: 14px; color: var(--color-fg-muted); font-weight: 600; margin-top: 16px; }

.sc-phone { position: absolute; right: -20px; bottom: -34px; width: 152px; aspect-ratio: 9 / 19.5; border-radius: 28px; border: 7px solid #10131a; background: #000; overflow: hidden; box-shadow: var(--shadow-lg); }
.sc-phone .sc-slide { object-position: top center; }

.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.shot-grid figure { border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: var(--color-bg-elevated); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.shot-grid figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.shot-grid img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.shot-grid figcaption { padding: 10px 13px; font-size: 12.5px; font-weight: 700; color: var(--color-heading); }

@media (max-width: 760px) {
  .sc-phone { width: 104px; right: -6px; bottom: -16px; border-width: 5px; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sc-slide.is-active { animation: none; }
}

/* ==========================================================================
   Framed real screenshots (hero, split media, demo band)
   ========================================================================== */
.app-frame { overflow: hidden; }
.frame-shot { display: block; width: 100%; height: auto; }
.float-soft { animation: floatSoft 7s ease-in-out infinite; will-change: transform; }
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.demo-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; animation: demoKen 15s ease-in-out infinite alternate; will-change: transform; }
@keyframes demoKen { from { transform: scale(1); } to { transform: scale(1.13); } }

@media (prefers-reduced-motion: reduce) {
  .float-soft { animation: none; }
  .demo-shot img { animation: none; }
}
