/* ============================================================
   Public landing page (demo mode only).
   Uses the shared design tokens from tokens.css so it tracks
   brand color + dark mode automatically. RTL-safe: logical
   properties only (inline-start/end, no left/right).
   ============================================================ */

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  color: var(--text-primary);
}

/* ============================================================
   Animations — restrained: a one-time hero load-in, scroll
   reveals (toggled by landing.js adding .is-visible), and one
   slow ambient float. All disabled under prefers-reduced-motion.
   ============================================================ */

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes landing-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Slow vertical bob for the hero product frame. */
@keyframes landing-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Gentle drift + breathe for the hero background glow (keeps centering). */
@keyframes landing-drift {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(26px) scale(1.06);
  }
}

/* Hero copy animates in on load with a gentle stagger. */
.landing-hero-copy>* {
  animation: landing-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-hero-copy>*:nth-child(1) {
  animation-delay: 0.05s;
}

.landing-hero-copy>*:nth-child(2) {
  animation-delay: 0.13s;
}

.landing-hero-copy>*:nth-child(3) {
  animation-delay: 0.21s;
}

.landing-hero-copy>*:nth-child(4) {
  animation-delay: 0.29s;
}

.landing-hero-copy>*:nth-child(5) {
  animation-delay: 0.37s;
}

.landing-hero-visual {
  animation: landing-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.18s;
}

/* Scroll-reveal — start state; landing.js adds .is-visible in view. */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger items within a grid so a row cascades in rather than snapping
   together. Keyed to position, capped so later rows don't feel sluggish. */
.landing-features>[data-reveal]:nth-child(4n+2),
.landing-steps>[data-reveal]:nth-child(2),
.landing-industries>[data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.landing-features>[data-reveal]:nth-child(4n+3),
.landing-steps>[data-reveal]:nth-child(3),
.landing-industries>[data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.landing-features>[data-reveal]:nth-child(4n+4) {
  transition-delay: 0.24s;
}

/* No JS / no observer fallback: never leave content hidden. */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .landing-hero-copy>*,
  .landing-hero-visual {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .landing-mock-badge,
  .landing-feat-badge,
  .landing-mock,
  .landing-monitor,
  .landing-bg::before,
  .landing-tablet,
  .landing-hero-main,
  .landing-float-card {
    animation: none;
  }

  .landing-shot-img {
    transition: none;
  }

  .landing-mock:hover .landing-shot-img,
  .landing-showcase:hover .landing-shot-img {
    transform: none;
  }

  .landing-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .landing-marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .landing-feat-chip[data-clone] {
    display: none;
  }
}

/* Decorative accent glow behind the hero. */
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-bg::before {
  content: "";
  position: absolute;
  inset-block-start: -26rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 70rem;
  height: 70rem;
  border-radius: 9999px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  opacity: 0.9;
  animation: landing-drift 16s ease-in-out infinite;
}

/* Faint dot-grid texture up top, faded out so it never competes with content. */
.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-default) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 75% 45% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 45% at 50% 0%, #000 35%, transparent 78%);
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ── Top navigation ─────────────────────────────────────── */
.landing-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 76px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-primary);
  text-decoration: none;
}

.landing-brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

.landing-brand-logo-dark {
  display: none;
}

.dark .landing-brand-logo-light {
  display: none;
}

.dark .landing-brand-logo-dark {
  display: block;
}

.landing-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 1rem;
}

.landing-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-inline-start: 16px;
}

.landing-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.landing-nav-link:hover {
  color: var(--text-primary);
}

.landing-nav-actions {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons (local, so the page is self-contained) ─────── */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 22px;
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.landing-btn:active {
  transform: translateY(1px);
}

.landing-btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 8px 20px -8px var(--accent-ring);
}

.landing-btn-primary:hover {
  background: var(--accent-hover);
}

.landing-btn-ghost {
  background: var(--bg-surface);
  border-color: var(--border-default);
  color: var(--text-primary);
}

.landing-btn-ghost:hover {
  background: var(--bg-hover);
}

.landing-btn-sm {
  height: 40px;
  padding-inline: 16px;
  font-size: 0.875rem;
}

.landing-btn-lg {
  height: 52px;
  padding-inline: 28px;
  font-size: 1rem;
  border-radius: 13px;
}

/* Directional arrows point toward reading flow — flip in RTL. */
[dir="rtl"] .landing-btn svg {
  transform: scaleX(-1);
}

.landing-theme-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-theme-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ── Hero (two-column on desktop) ───────────────────────── */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px 64px;
  text-align: center;
}

.landing-hero-copy {
  min-width: 0;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.landing-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--positive);
  box-shadow: 0 0 0 3px var(--positive-soft);
}

.landing-hero-title {
  margin-block: 24px 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-hero-title .accent {
  color: var(--accent);
}

.landing-hero-sub {
  margin-block: 22px 0;
  margin-inline: auto;
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.landing-hero-cta {
  margin-block-start: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.landing-hero-trust {
  margin-block-start: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

.landing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.landing-trust-item svg {
  color: var(--positive);
}

/* Small payment-gateway logos under the hero trust row. */
.landing-hero-pays {
  margin-block-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-hero-pays-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.landing-hero-pays-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.landing-hero-pay {
  height: 24px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.landing-hero-pay:hover {
  opacity: 1;
}

/* ── Hero product mockup ────────────────────────────────── */
.landing-hero-visual {
  position: relative;
  min-width: 0;
}

.landing-mock {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: landing-bob 6.5s ease-in-out infinite;
}

.landing-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-block-end: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.landing-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--border-strong);
}

.landing-mock-omni {
  margin-inline-start: 10px;
  flex: 1;
  min-width: 0;
  height: 24px;
  border-radius: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-inline: 12px;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
}

.landing-mock-omni svg {
  color: var(--positive);
  flex: none;
}

.landing-mock-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 16px;
}

.landing-mock-grid {
  min-width: 0;
}

/* Real screenshot dropped into the window frame (hero + showcase). */
.landing-shot-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-mock:hover .landing-shot-img,
.landing-showcase:hover .landing-shot-img {
  transform: scale(1.025);
}

.landing-mock-search {
  height: 30px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-block-end: 12px;
  display: flex;
  align-items: center;
  padding-inline: 10px;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.landing-mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.landing-mock-tile {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  background: var(--bg-surface);
}

.landing-mock-thumb {
  height: 34px;
  border-radius: 7px;
  background: var(--accent-soft);
  margin-block-end: 8px;
}

.landing-mock-tile:nth-child(3n+2) .landing-mock-thumb {
  background: var(--positive-soft);
}

.landing-mock-tile:nth-child(3n) .landing-mock-thumb {
  background: var(--warning-soft);
}

.landing-mock-line {
  height: 7px;
  border-radius: 4px;
  background: var(--bg-active);
}

.landing-mock-line.short {
  width: 56%;
  margin-block-start: 5px;
}

.landing-mock-cart {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-mock-cart-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-mock-cart-row .landing-mock-line {
  flex: 1;
}

.landing-mock-chip {
  width: 26px;
  height: 18px;
  border-radius: 5px;
  background: var(--bg-active);
}

.landing-mock-total {
  margin-block-start: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 10px;
  border-block-start: 1px dashed var(--border-default);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.landing-mock-total b {
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.landing-mock-pay {
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Floating "offline" badge clipped to the visual. */
.landing-mock-badge {
  position: absolute;
  inset-block-end: -14px;
  inset-inline-start: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  font-weight: 600;
  animation: landing-float 4.5s ease-in-out infinite;
}

.landing-mock-badge svg {
  color: var(--positive);
}

/* Floating key-feature badges around the hero visual. */
.landing-feat-badge {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-pop);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: landing-float 5s ease-in-out infinite;
}

.landing-feat-badge svg {
  color: var(--accent);
}

/* 3 badges down the left edge, 3 down the right — top / mid / bottom. */
.landing-feat-badge.is-pos-1 {
  /* left — bottom */
  inset-block-end: 6%;
  inset-inline-start: -5%;
  animation-duration: 4.5s;
}

.landing-feat-badge.is-pos-1 svg {
  color: var(--positive);
}

.landing-feat-badge.is-pos-2 {
  /* right — top */
  inset-block-start: 6%;
  inset-inline-end: -4%;
  animation-duration: 5.4s;
}

.landing-feat-badge.is-pos-3 {
  /* left — top */
  animation-duration: 6.2s;
  inset-block-start: 8%;
  inset-inline-start: 4%;
  top: 12%;
}

.landing-feat-badge.is-pos-4 {
  /* right — bottom */
  inset-block-end: 8%;
  inset-inline-end: -4%;
  animation-duration: 5.8s;
}

.landing-feat-badge.is-pos-5 {
  /* right — middle */
  inset-block-start: 46%;
  inset-inline-end: -6%;
  animation-duration: 6.6s;
}

/* Keep the hero uncluttered on small screens — show only the first badge. */
@media (max-width: 768px) {

  .landing-feat-badge.is-pos-2,
  .landing-feat-badge.is-pos-3,
  .landing-feat-badge.is-pos-4 {
    display: none;
  }
}

/* ── Stat strip ─────────────────────────────────────────── */
.landing-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.landing-stat {
  background: var(--bg-surface);
  padding: 24px 16px;
  text-align: center;
}

.landing-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.landing-stat-label {
  margin-block-start: 4px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ── Generic section ────────────────────────────────────── */
.landing-section {
  padding-block: 72px;
}

.landing-section-head {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 48px;
}

.landing-eyebrow-text {
  display: inline-block;
  margin-block-end: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.landing-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.landing-section-sub {
  margin-block-start: 14px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Feature grid ───────────────────────────────────────── */
.landing-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.landing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}

.landing-card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-block-end: 18px;
}

.landing-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.landing-card-body {
  margin-block-start: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Lightbox (screenshot viewer) ───────────────────────── */
.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(8, 9, 10, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.landing-lightbox.is-open {
  opacity: 1;
}

.landing-lightbox[hidden] {
  display: none;
}

.landing-lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 92vw);
}

.landing-lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.landing-lightbox-cap {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.landing-lightbox-nav,
.landing-lightbox-close {
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 9999px;
  transition: background 0.15s ease;
}

.landing-lightbox-nav:hover,
.landing-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.landing-lightbox-nav {
  width: 52px;
  height: 52px;
}

.landing-lightbox-close {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
}

[dir="rtl"] .landing-lightbox-nav svg {
  transform: scaleX(-1);
}

@media (max-width: 560px) {
  .landing-lightbox-nav {
    position: absolute;
    inset-block-end: 22px;
    width: 46px;
    height: 46px;
  }

  .landing-lightbox-prev {
    inset-inline-start: 24px;
  }

  .landing-lightbox-next {
    inset-inline-end: 24px;
  }
}

/* ── Dashboard showcase ─────────────────────────────────── */
.landing-showcase {
  border-radius: 18px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
}

/* ── Sell anywhere (payments + languages) ───────────────── */
.landing-global {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.landing-global-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.landing-global-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.landing-global-body {
  margin-block: 10px 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9999px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.landing-chip svg {
  color: var(--accent);
}

/* Logo chip — holds a payment-gateway image instead of text. */
.landing-chip-logo {
  padding: 8px 16px;
}

.landing-chip-logo img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

/* ── How it works (steps) ───────────────────────────────── */
.landing-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}

.landing-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.landing-step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-block-end: 16px;
}

.landing-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.landing-step-body {
  margin-block-start: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Industries ─────────────────────────────────────────── */
.landing-industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.landing-industry {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.landing-industry::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.85;
}

.landing-industry-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-block-end: 18px;
}

.landing-industry-title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.landing-industry-body {
  margin-block-start: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── CTA band ───────────────────────────────────────────── */
.landing-cta {
  position: relative;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 64px 32px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset-block-start: -55%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 46rem;
  height: 46rem;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.landing-cta>* {
  position: relative;
}

.landing-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-cta-sub {
  margin-block: 14px auto;
  max-width: 54ch;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.landing-cta-actions {
  margin-block-start: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.landing-cta-note {
  margin-block-start: 18px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ── Everything-included feature marquees ───────────────────
   Three rows of feature chips scroll infinitely (alternating
   direction), with faded edges and hover-to-pause. Items render
   twice for a seamless loop; clones hide under reduced motion. --*/
.landing-marquees {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.landing-marquee {
  overflow: hidden;
  /* Vertical room so a chip's lift + shadow on hover isn't clipped. */
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.landing-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: landing-marquee 48s linear infinite;
}

.landing-marquee.is-reverse .landing-marquee-track {
  animation-direction: reverse;
}

.landing-marquee:nth-child(2) .landing-marquee-track {
  animation-duration: 58s;
}

.landing-marquee:nth-child(3) .landing-marquee-track {
  animation-duration: 42s;
}

.landing-marquee:hover .landing-marquee-track {
  animation-play-state: paused;
}

@keyframes landing-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.landing-feat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 20px 28px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-feat-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.25);
}

.landing-feat-chip svg {
  color: var(--accent);
  flex: none;
}

.landing-grid-more {
  margin-block-start: 28px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Screenshot slider (carousel) ───────────────────────── */
.landing-slider {
  position: relative;
}

.landing-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 4px;
  cursor: grab;
  /* Soft faded edges, matching the feature marquees. JS toggles
     .at-start / .at-end to drop the fade where there's no more content. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.landing-slider-track.at-start {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, #000 0%, #000 95%, transparent);
}

.landing-slider-track.at-end {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 100%);
}

.landing-slider-track.at-start.at-end {
  -webkit-mask-image: none;
  mask-image: none;
}

.landing-slider-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.landing-slider-track.is-dragging .landing-slide,
.landing-slider-track.is-dragging .landing-slide-img {
  cursor: grabbing;
}

.landing-slider-track::-webkit-scrollbar {
  display: none;
}

.landing-slide {
  flex: 0 0 86%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.landing-slide {
  cursor: zoom-in;
}

.landing-slide-frame {
  display: block;
  overflow: hidden;
  background: var(--bg-elevated);
}

.landing-slide-img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}

.landing-slide-cap {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-block-start: 1px solid var(--border-subtle);
}

.landing-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-pop);
  transition: background 0.15s ease;
}

.landing-slider-btn:hover {
  background: var(--bg-hover);
}

.landing-slider-prev {
  inset-inline-start: -8px;
}

.landing-slider-next {
  inset-inline-end: -8px;
}

[dir="rtl"] .landing-slider-btn svg {
  transform: scaleX(-1);
}

/* ── Tech stack ─────────────────────────────────────────── */
.landing-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.landing-tech-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.landing-tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.landing-tech-logo {
  max-height: 46px;
  max-width: 78%;
  width: auto;
  height: auto;
}

.landing-tech-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Brand-coloured monogram shown until a real logo SVG is dropped in
   public/images/landing/tech/<slug>.svg. */
.landing-tech-badge {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--tech, var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1;
}

.landing-tech-badge.is-laravel {
  --tech: #FF2D20;
}

.landing-tech-badge.is-php {
  --tech: #777BB4;
}

.landing-tech-badge.is-mysql {
  --tech: #00758F;
}

.landing-tech-badge.is-tailwindcss {
  --tech: #0EA5E9;
}

.landing-tech-badge.is-alpinejs {
  --tech: #2D3748;
}

.landing-tech-badge.is-vite {
  --tech: #646CFF;
}

/* ── Pricing / license comparison ───────────────────────── */
.landing-pricing-scroll {
  overflow-x: auto;
}

.landing-pricing-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
}

.landing-pricing-table th,
.landing-pricing-table td {
  padding: 14px 18px;
  text-align: start;
  font-size: 0.9375rem;
  border-block-end: 1px solid var(--border-subtle);
}

.landing-pricing-table tbody tr:last-child td {
  border-block-end: 0;
}

.landing-pricing-table thead th {
  font-weight: 700;
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.landing-pricing-table .col-mark {
  text-align: center;
  width: 22%;
  white-space: nowrap;
}

.landing-pricing-table .is-rec {
  background: var(--accent-soft);
}

.landing-pricing-badge {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.landing-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
}

.landing-mark-yes {
  background: var(--positive-soft);
  color: var(--positive);
}

.landing-mark-no {
  background: var(--bg-active);
  color: var(--text-tertiary);
}

.landing-pricing-band {
  margin-block-start: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
}

.landing-pricing-band-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Customization help band (matches the design system) ── */
.landing-help {
  position: relative;
  text-align: center;
  border-radius: 24px;
  padding: 64px 32px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
}

.landing-help::before {
  content: "";
  position: absolute;
  inset-block-start: -55%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 46rem;
  height: 46rem;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.landing-help>* {
  position: relative;
}

.landing-help-title {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.landing-help-body {
  margin: 16px auto 28px;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Footer ─────────────────────────────────────────────── */
.landing-footer {
  margin-block-start: auto;
  border-block-start: 1px solid var(--border-subtle);
  padding-block: 36px;
}

.landing-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.landing-footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.landing-footer-link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.landing-footer-link:hover {
  color: var(--text-primary);
}

.landing-footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.landing-footer-made {
  margin-block-start: 2px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.landing-footer-heart {
  color: var(--danger);
  font-style: normal;
}

/* Smooth scroll for the in-page "explore" / anchor jumps. */
html {
  scroll-behavior: smooth;
}

/* ── Hero desktop monitor mockup (CSS — screen + stand) ──── */
.landing-monitor {
  position: relative;
  animation: landing-bob 6.5s ease-in-out infinite;
}

.landing-monitor-screen {
  padding: 14px;
  border-radius: 14px;
  background: #0e0e12;
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.landing-monitor-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Stand: a centred neck (::before) rising into a wider foot (::after). */
.landing-monitor-stand {
  position: relative;
  height: 44px;
}

.landing-monitor-stand::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 30px;
  background: linear-gradient(180deg, #d2d2d8, #b4b4bd);
  border-radius: 0 0 4px 4px;
}

.landing-monitor-stand::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 42%;
  max-width: 230px;
  height: 12px;
  background: linear-gradient(180deg, #dcdce2, #b0b0b9);
  border-radius: 8px;
  box-shadow: 0 16px 24px -10px rgba(0, 0, 0, 0.45);
}

.dark .landing-monitor-stand::before {
  background: linear-gradient(180deg, #3a3b42, #2a2b31);
}

.dark .landing-monitor-stand::after {
  background: linear-gradient(180deg, #3a3b42, #232429);
}

/* ── Hero main image (preview mode — replaces the devices) ── */
.landing-hero-main {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.18));
  animation: landing-bob 6.5s ease-in-out infinite;
}

/* ── Hero tablet — clean CSS frame (slim bezel + camera) ──── */
.landing-tablet {
  position: absolute;
  inset-block-end: -9%;
  inset-inline-end: -5%;
  z-index: 5;
  width: 32%;
  padding: 12px;
  border-radius: 24px;
  background: #101015;
  box-shadow:
    0 30px 50px -16px rgba(0, 0, 0, 0.5),
    0 4px 10px -4px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: landing-float 5s ease-in-out infinite;
}

.landing-tablet-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Front camera dot in the top bezel. */
.landing-tablet::before {
  content: "";
  position: absolute;
  inset-block-start: 5px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #33333b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ── Hero floating accent cut-outs (barcode + receipt) ──── */
.landing-float-card {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-pop);
}

.landing-float-card img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-float-barcode {
  inset-block-start: 6%;
  inset-inline-start: -6%;
  width: 150px;
  animation: landing-float 5.5s ease-in-out infinite;
}

.landing-float-receipt {
  inset-block-end: 10%;
  inset-inline-start: -8%;
  width: 110px;
  animation: landing-bob 7s ease-in-out infinite;
}

/* ── "Explore more" button under the feature cards ──────── */
.landing-features-more {
  margin-block-start: 36px;
  display: flex;
  justify-content: center;
}

.landing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.landing-text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-text-link svg {
  transition: transform 0.15s ease;
}

.landing-text-link:hover svg {
  transform: translateY(2px);
}

.landing-icon-up {
  transform: rotate(180deg);
}

/* ── Back-to-top button ─────────────────────────────────── */
.landing-totop {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--accent-fg);
  background: var(--accent);
  border: 0;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease, visibility 0.2s;
}

.landing-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.landing-totop:hover {
  background: var(--accent-hover);
}

/* ── Floating "Buy now" CTA (mirrors admin demo-buy-now pill) ───── */
.landing-buy-now {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-pop);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.landing-buy-now:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
}

.landing-buy-now:active {
  transform: translateY(0);
}

.landing-buy-now-label {
  line-height: 1;
}

@media (max-width: 640px) {
  .landing-buy-now {
    inset-block-end: 16px;
    inset-inline-start: 16px;
    padding: 11px 15px;
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (min-width: 640px) {
  .landing-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-industries {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-global {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-slide {
    flex-basis: 56%;
  }
}

@media (min-width: 900px) {
  .landing-stats {
    grid-template-columns: repeat(6, 1fr);
  }

  .landing-tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .landing-slide {
    flex-basis: 40%;
  }

  .landing-slider-prev {
    inset-inline-start: -18px;
  }

  .landing-slider-next {
    inset-inline-end: -18px;
  }
}

@media (min-width: 1100px) {
  .landing-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) {
  .landing-nav-links {
    display: inline-flex;
  }
}

@media (min-width: 960px) {
  .landing-hero {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: start;
    gap: 56px;
    padding-block: 72px 80px;
  }

  .landing-hero-sub {
    margin-inline: 0;
  }

  .landing-hero-cta,
  .landing-hero-trust,
  .landing-hero-pays-logos {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .landing-features {
    grid-template-columns: repeat(4, 1fr);
  }
}