/* Stampzi marketing site
   Brand tokens live in :root. Swap them to re-skin the whole site.
   Layout uses logical properties (inline-start/end) so the Arabic pages flip cleanly. */

:root {
  /* Brand: Option 2 "The Buzz" (chosen 21 Nov 2026). Palette: Paper, Ink, Vermilion, Blush, Stone. */
  --bg: #FFF5E1;              /* Paper */
  --surface: #FFFFFF;
  --surface-2: #FBEBCB;
  --ink: #111111;             /* Ink */
  --ink-2: #3B332E;
  --muted: #6B6259;           /* Stone */
  --line: rgba(17, 17, 17, .10);
  --accent: #D91E2A;          /* Vermilion: fills, big type, the logo. Not for small text on paper. */
  --accent-ink: #111111;      /* text on vermilion */
  --accent-deep: #B3141F;     /* vermilion for small text on light backgrounds (AA) */
  --pop: #FBE1DC;             /* Blush */
  --dark: #111111;
  --on-dark: #FFF5E1;
  --on-dark-muted: rgba(255, 245, 225, .68);
  --btn-fg: #FFF5E1;
  --ok: #1F8A4C;

  --font-display: "Archivo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Archivo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.035em;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 48px -28px rgba(0,0,0,.35);
  --wrap: 1180px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.04; margin: 0; }
p { margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 58px); }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.hl { color: var(--accent-deep); }
.dark .hl { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.dark .btn-ghost { border-color: var(--on-dark); color: var(--on-dark); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand svg, .brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-weight: 600; font-size: 15px; text-decoration: none; }
.login { font-weight: 600; font-size: 15px; text-decoration: none; }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-links, .nav-actions .login, .nav-actions .lang { display: none; }
  .nav-actions { margin-inline-start: 8px; }
  .nav-open .mobile-menu { display: block; }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 0 20px; }
.mobile-menu a { display: block; padding: 12px 4px; font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
@media (max-width: 420px) { .nav-actions .btn { padding: 0 14px; font-size: 14px; } .nav { gap: 12px; } .brand img { height: 28px; } .menu-btn { flex: none; } .nav-actions { margin-inline-start: 4px; } }
@media (max-width: 340px) { .nav-actions .btn { padding: 0 10px; font-size: 13px; } }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); }
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2); margin-top: 22px; max-width: 560px; }
.hero .price-line { margin-top: 22px; font-size: 16px; color: var(--muted); }
.hero .price-line b { color: var(--ink); font-size: 22px; font-family: var(--font-display); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14.5 7' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 560px; }
@media (max-width: 900px) { .hero-art { min-height: 0; padding-top: 12px; } }
.hero-blob { position: absolute; inset: 6% 4% 4% 4%; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%; background: var(--pop); z-index: 0; }
.hero h1 .hl { color: var(--accent-ink); background: var(--accent); padding: 0 .14em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.buzz-arcs { position: absolute; z-index: 0; top: 50%; left: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); pointer-events: none; }
.buzz-arcs path { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; opacity: .9; animation: buzz 2.2s ease-in-out infinite; transform-origin: 230px 230px; }
.buzz-arcs path:nth-child(2n) { animation-delay: .15s; opacity: .55; }
@keyframes buzz { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.04) rotate(-1.5deg); } 82% { transform: scale(1.02) rotate(1.5deg); } }
@media (max-width: 520px) { .buzz-arcs { width: 380px; height: 380px; } }

/* Phone + pass */
.phone { position: relative; z-index: 1; width: 290px; aspect-ratio: 290 / 600; background: #0d0d0d; border-radius: 46px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 2px #2a2a2a; flex-shrink: 0; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f1f1f4; display: flex; flex-direction: column; }
.phone-screen.lock { background: linear-gradient(160deg, #3b3b3b, #121212 60%); color: #fff; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0d0d0d; border-radius: 20px; z-index: 3; }
.status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 13px; font-weight: 700; height: 40px; direction: ltr; }
.status i { display: inline-block; width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; }
.status i::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.wallet-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; font-weight: 700; font-size: 15px; color: #202124; }
.wallet-top small { font-weight: 500; color: #5f6368; font-size: 12px; }

.pass { --pc: #2B1D14; --pt: #FFF6E8; --ps: #E9B872; margin: 0 12px; border-radius: 20px; background: var(--pc); color: var(--pt); padding: 16px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.6); transition: background .35s ease, color .35s ease; direction: ltr; text-align: left; }
.pass-head { display: flex; align-items: center; gap: 10px; }
.pass-logo { width: 36px; height: 36px; border-radius: 50%; background: var(--pt); color: var(--pc); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; transition: background .35s, color .35s; }
.pass-name { font-weight: 700; font-size: 15px; line-height: 1.1; }
.pass-name small { display: block; font-weight: 500; font-size: 11px; opacity: .72; }
.pass-title { margin-top: 14px; font-size: 11px; opacity: .72; text-transform: uppercase; letter-spacing: .08em; }
.pass-reward { font-weight: 800; font-size: 20px; line-height: 1.1; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 14px 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--pt) 10%, transparent); }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--pt) 40%, transparent); display: grid; place-items: center; position: relative; }
.stamp svg { width: 70%; height: 70%; opacity: 0; transform: scale(1.8) rotate(-25deg); transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.stamp.on { border-style: solid; border-color: var(--ps); background: var(--ps); }
.stamp.on svg { opacity: 1; transform: scale(1) rotate(0); }
.stamp.on svg path { fill: var(--pc); }
.pass-fields { display: flex; justify-content: space-between; font-size: 11px; }
.pass-fields span { display: block; opacity: .72; text-transform: uppercase; letter-spacing: .06em; }
.pass-fields b { font-size: 14px; white-space: nowrap; }
.pass-code { margin-top: 14px; background: #fff; border-radius: 12px; padding: 10px; display: grid; place-items: center; }
.pass-code svg { width: 92px; height: 92px; }
.pass-foot { text-align: center; font-size: 10px; color: #5f6368; margin-top: 4px; }
.pass.reward-ready .pass-reward { animation: pulse 1s ease 2; }
@keyframes pulse { 50% { transform: scale(1.06); } }

/* Floating bubbles around hero phone */
.bubble { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.25; max-width: 240px; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s ease, transform .4s ease; }
.bubble.show { opacity: 1; transform: none; }
.bubble b { display: block; font-size: 13.5px; }
.bubble .ico { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; }
.bubble.b1 { top: 5%; inset-inline-start: -8%; }
.bubble.b2 { top: 68%; inset-inline-end: -12%; }
.bubble.b3 { bottom: 4%; inset-inline-start: -6%; }
@media (max-width: 900px) {
  .bubble.b1 { inset-inline-start: 0; top: 4%; }
  .bubble.b2 { inset-inline-end: 0; top: 74%; }
  .bubble.b3 { inset-inline-start: 0; bottom: 4%; }
}
@media (max-width: 520px) { .bubble { max-width: 190px; font-size: 12px; padding: 8px 10px; } .bubble .ico { width: 26px; height: 26px; font-size: 13px; } .phone { width: 264px; } }

/* Works-with strip + marquee */
.strip { padding-block: 28px; border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; gap: 28px; }
.works-with { display: flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.works-with .pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--ink); font-weight: 600; background: var(--bg); }
.works-with .pill small { font-weight: 600; font-size: 11px; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 8px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 20px; white-space: nowrap; color: var(--ink-2); display: inline-flex; align-items: center; gap: 36px; }
.marquee-track span::after { content: "●"; color: var(--accent-deep); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@media (max-width: 900px) { .strip-inner { flex-direction: column; align-items: stretch; gap: 18px; } .works-with { flex-wrap: wrap; justify-content: center; } }

/* Paper vs Stampzi */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-card { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); }
.compare-card.good { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.compare-card h3 { font-size: 26px; margin-bottom: 18px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; }
.compare-card li::before { content: "✕"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--muted); margin-top: 2px; }
.compare-card.good li::before { content: "✓"; background: var(--accent); color: var(--accent-ink); }
.compare-card.bad li { color: var(--muted); }

/* How it works */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 23px; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; }
.step-art { margin-top: 22px; height: 150px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.panel[hidden] { display: none; }

/* Automatic messages */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .section-head p, .dark .muted { color: var(--on-dark-muted); }
.dark .eyebrow { color: var(--accent); }
.msgs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .msgs-grid { grid-template-columns: 1fr; } }
.msgs-phone { display: flex; justify-content: center; }
.lock-time { text-align: center; margin-top: 26px; font-size: 64px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; font-family: system-ui, sans-serif; }
.lock-date { text-align: center; font-size: 14px; opacity: .8; margin-top: 4px; }
.lock-stack { position: absolute; inset-inline: 10px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.notif { background: rgba(245, 245, 245, .82); color: #111; backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; transform-origin: top center; animation: notif-in .5s cubic-bezier(.2, 1.2, .4, 1) both; direction: ltr; text-align: left; }
[dir="rtl"] .notif { direction: rtl; text-align: right; }
.notif .app { width: 30px; height: 30px; border-radius: 8px; background: #2B1D14; color: #FFF6E8; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.notif b { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.notif b small { font-weight: 400; opacity: .6; }
@keyframes notif-in { from { opacity: 0; transform: translateY(-14px) scale(.94); } }
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.msg-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.10); transition: background .3s, border-color .3s; cursor: pointer; }
.msg-list li.active { background: rgba(255,255,255,.07); border-color: var(--accent); }
.msg-list .mi { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 20px; }
.msg-list li.active .mi { background: var(--accent); }
.msg-list b { display: block; font-size: 16px; }
.msg-list span { font-size: 14px; color: var(--on-dark-muted); }
.consent-note { margin-top: 22px; font-size: 14px; color: var(--on-dark-muted); display: flex; gap: 10px; align-items: flex-start; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; position: relative; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile.t-a { grid-column: span 4; } .tile.t-b { grid-column: span 2; }
.tile.t-c { grid-column: span 2; } .tile.t-d { grid-column: span 2; } .tile.t-e { grid-column: span 2; }
.tile.dark-tile { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.tile.dark-tile p { color: var(--on-dark-muted); }
.tile.accent-tile { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tile.accent-tile p { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile.t-a, .tile.t-b, .tile.t-c, .tile.t-d, .tile.t-e { grid-column: span 2; } }
@media (min-width: 620px) and (max-width: 980px) { .tile.t-c, .tile.t-d { grid-column: span 1; } }
.tile-art { margin-top: 22px; }
.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 110px; }
.mini-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--on-dark) 18%, transparent); height: var(--h); transform-origin: bottom; }
.mini-chart i.hi { background: var(--accent); }
.in .mini-chart i { animation: grow .9s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes grow { from { transform: scaleY(.1); } }
.kpis { display: flex; gap: 22px; margin-top: 18px; }
.kpis div { font-size: 13px; color: var(--on-dark-muted); }
.kpis b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--on-dark); }
.scanner-mock { margin-top: 18px; background: var(--dark); border-radius: 16px; padding: 14px; color: var(--on-dark); }
.scanner-view { height: 96px; border-radius: 10px; background: repeating-linear-gradient(45deg, #222 0 8px, #1a1a1a 8px 16px); position: relative; overflow: hidden; }
.scanner-view::after { content: ""; position: absolute; inset-inline: 10%; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); top: 20%; animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 80%; } }
.scanner-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; }
.scanner-row .btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
.cust-list { margin-top: 16px; display: grid; gap: 8px; }
.cust-list div { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.cust-list small { color: var(--muted); }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.branch-pins { margin-top: 18px; height: 110px; border-radius: 14px; background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent) 30%, transparent) 0 22px, transparent 23px), radial-gradient(circle at 72% 62%, color-mix(in srgb, var(--accent) 30%, transparent) 0 22px, transparent 23px), linear-gradient(var(--surface-2), var(--surface-2)); position: relative; }
.branch-pins span { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--ink); transform: rotate(-45deg); }

/* Card designer */
.designer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(22px, 4vw, 48px); }
@media (max-width: 900px) { .designer { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field input[type="text"] { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); }
.field input[type="text"]:focus { outline: none; border-color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; background: var(--c); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 16px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.designer-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.designer-preview { display: flex; justify-content: center; }
.designer-preview .phone { width: 270px; }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, 1fr); } }
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .2s, box-shadow .2s; }
.ind:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ind .e { font-size: 28px; line-height: 1; }
.ind b { display: block; margin-top: 12px; font-size: 17px; }
.ind span { font-size: 14px; color: var(--muted); }

/* Pricing */
.price-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-bottom: 36px; }
.billing { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.billing button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.billing .save { font-size: 11px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 8px; }
.currency { position: relative; }
.currency select { appearance: none; -webkit-appearance: none; height: 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding-inline: 18px 40px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
.currency::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .plans, .plans.four { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--dark); color: var(--on-dark); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.plan.featured .muted, .plan.featured .plan-sub { color: var(--on-dark-muted); }
.badge { position: absolute; top: -12px; inset-inline-start: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; letter-spacing: -0.02em; }
.plan-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan .branches { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink); align-self: flex-start; }
.plan.featured .branches { background: rgba(255,255,255,.1); color: var(--on-dark); }
.amount { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; direction: ltr; justify-content: flex-start; }
[dir="rtl"] .amount { justify-content: flex-end; }
.amount b { font-family: var(--font-display); font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.amount .cur { font-weight: 700; font-size: 18px; }
.amount .per { color: var(--muted); font-size: 15px; }
.plan.featured .amount .per { color: var(--on-dark-muted); }
.yearly-note { font-size: 13px; color: var(--muted); min-height: 20px; margin-top: 6px; }
.plan.featured .yearly-note { color: var(--on-dark-muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--accent-deep); font-weight: 800; }
.plan.featured li::before { color: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured .btn-primary { background: var(--accent); color: var(--accent-ink); }
.enterprise { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius); padding: 22px 26px; }
.enterprise b { font-size: 19px; font-family: var(--font-display); }
.enterprise p { color: var(--muted); font-size: 15px; }
.includes { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.includes span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.center-link { text-align: center; margin-top: 26px; }
.center-link a { font-weight: 700; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { font-family: var(--font-display); font-size: 18px; position: sticky; top: 0; background: var(--surface); }
.cmp thead th small { display: block; font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 600; }
.cmp .grp td { background: var(--surface-2); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .cmp .grp td { letter-spacing: 0; }
.cmp .featured-col { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; flex-shrink: 0; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* Final CTA */
.final { padding-block: clamp(48px, 7vw, 96px); }
.final-box { background: var(--accent); color: var(--accent-ink); border-radius: 36px; padding: clamp(36px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.final-box h2 { font-size: clamp(36px, 6vw, 72px); max-width: 860px; margin-inline: auto; }
.final-box p { margin-top: 16px; font-size: 19px; }
.final-box .cta-row { justify-content: center; }
.final-box .btn-ghost { border-color: var(--accent-ink); color: var(--accent-ink); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-grid h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; font-weight: 700; }
[dir="rtl"] .foot-grid h4 { letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--on-dark); opacity: .9; }
.foot-grid a:hover { opacity: 1; text-decoration: underline; }
.foot-pitch { color: var(--on-dark-muted); margin-top: 16px; max-width: 340px; font-size: 15px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--on-dark-muted); }
.foot-bottom small { max-width: 640px; }

/* Simple pages (legal) */
.page-hero { padding-block: clamp(48px, 7vw, 88px) 24px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 19px; max-width: 640px; }
.prose { max-width: 760px; padding-block: 24px 96px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-inline-start: 22px; }
.note { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); padding: 14px 18px; border-radius: 12px; font-size: 15px; color: var(--ink-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .buzz-arcs path { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scanner-view::after { animation: none; }
  .notif { animation: none; }
  .stamp svg { transition: none; }
}

/* Arabic pages: the demo card reads right to left too */
[dir="rtl"] .pass { direction: rtl; text-align: right; }
[data-count], [data-d-count] { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Stampzi buttons (brand kit, 24 Nov 2026): white text on Vermilion Deep. */
.btn-accent, .plan.featured .btn-primary { background: var(--accent-deep); color: #FFFFFF; }

/* Cherry Stamp (24 Nov 2026) */
:root { --display-weight: 900; }
h1, h2 { font-stretch: 125%; letter-spacing: -.02em; }
.btn-accent, .plan.featured .btn-primary { background: #D91E2A; color: #FFFFFF; }
.btn-accent:hover, .plan.featured .btn-primary:hover { background: #B3141F; }
.brand svg, .brand img { height: 28px; }
@media (max-width: 420px) { .brand img { height: 20px; } }
@media (max-width: 360px) { .nav-actions .btn { display: none; } }
