/* ==========================================================================
   Arabia Pay — marketing site stylesheet
   Design tokens first: change brand colors/fonts here and the site follows.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #2413ec;
  --brand-dark: #1b0eb8;
  --brand-tint: #eceafe;
  --navy: #131244;
  --ink: #16153f;
  --ink-soft: #4c4f6e;
  --ink-muted: #62658a;
  --surface: #ffffff;
  --surface-alt: #f6f6fc;
  --line: #e7e7f3;

  /* Gradient palette (hero) */
  --g1: #2413ec;
  --g2: #7a5cff;
  --g3: #00e0c0;
  --g4: #ff4ecd;
  --g5: #ffc24d;

  /* Type */
  --font-body: "Inter", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --font-logo: "Poppins", "IBM Plex Sans Arabic", sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.15), 0 1px 3px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);

  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Author display rules must never resurrect [hidden] elements */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Arabic / RTL: swap to the Arabic family and drop latin letter-spacing */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  letter-spacing: 0 !important;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.45;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 99px;
  border: none;
  font: 600 15px/1.5 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

[dir="rtl"] .btn {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}

.btn .arrow {
  transition: transform 0.2s;
  font-weight: 700;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

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

[dir="rtl"] .btn:hover .arrow {
  transform: scaleX(-1) translateX(3px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: #221f6b;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-dark);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding-inline: 4px;
}

.btn-ghost:hover {
  color: var(--brand-dark);
}

.btn-lg {
  padding: 12px 26px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.25s, box-shadow 0.25s;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}

.nav.scrolled,
.nav.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 21px/1 var(--font-logo);
  letter-spacing: 0.01em;
  color: var(--ink);
}

.logo img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 8px;
}

.nav-links > li {
  list-style: none;
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link .caret {
  font-size: 10px;
  transition: transform 0.2s;
}

/* Over-hero (transparent) state: white links, white logo */
.logo .logo-white {
  display: none;
}

.nav.on-hero:not(.scrolled):not(.solid) .nav-link,
.nav.on-hero:not(.scrolled):not(.solid) .logo,
.nav.on-hero:not(.scrolled):not(.solid) .lang-btn {
  color: #fff;
}

.nav.on-hero:not(.scrolled):not(.solid) .logo .logo-dark {
  display: none;
}

.nav.on-hero:not(.scrolled):not(.solid) .logo .logo-white {
  display: block;
}

.nav.on-hero:not(.scrolled):not(.solid) .nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.nav.on-hero:not(.scrolled):not(.solid) .nav-cta {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.nav.on-hero:not(.scrolled):not(.solid) .nav-cta:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links li:hover .caret {
  transform: rotate(180deg);
}

.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.dropdown a:hover {
  background: var(--surface-alt);
}

.dropdown .dd-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 15px;
}

.dropdown .dd-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.dropdown .dd-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

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

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  font: 600 14px/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 99px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--brand);
}

/* Arabic label inside the switcher always renders in the Arabic face */
.lang-btn[data-next="ar"] {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-inline-start: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  color: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

.nav.on-hero:not(.scrolled):not(.solid) .nav-burger span {
  color: #fff;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 12px;
  z-index: 99;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .mm-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .mm-group:last-of-type {
  border-bottom: none;
}

.mobile-menu .mm-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.mobile-menu a {
  display: block;
  padding: 8px 4px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}

.mobile-menu a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   Hero with animated diagonal gradient (Stripe-style)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  bottom: 0;
  overflow: hidden;
  transform: skewY(-6deg);
  transform-origin: top left;
  z-index: -1;
}

[dir="rtl"] .hero-bg {
  transform: skewY(6deg);
  transform-origin: top right;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 55% at 18% 22%, var(--g3) 0%, transparent 70%),
    radial-gradient(42% 60% at 82% 12%, var(--g4) 0%, transparent 70%),
    radial-gradient(50% 65% at 68% 78%, var(--g5) 0%, transparent 72%),
    radial-gradient(55% 70% at 30% 85%, var(--g2) 0%, transparent 72%),
    linear-gradient(115deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 100%);
  animation: gradient-drift 16s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, -4%, 0) rotate(3deg) scale(1.06); }
  100% { transform: translate3d(-3%, 3%, 0) rotate(-3deg) scale(1.03); }
}

/* Aurora ribbons — the silk-wave shimmer that sweeps across the hero.
   Pure CSS, transform-only animation (GPU-composited): zero effect on
   page load and no repaints while it plays. */
.hero-bg .ribbon {
  position: absolute;
  left: -25%;
  width: 150%;
  border-radius: 50%;
  filter: blur(44px);
  will-change: transform;
  pointer-events: none;
}
.hero-bg .r1 {
  top: 2%;
  height: 46%;
  opacity: 0.55;
  background: linear-gradient(100deg, transparent 6%, rgba(255, 255, 255, 0.6) 34%, var(--g4) 62%, transparent 92%);
  animation: ribbon-flow 18s ease-in-out infinite alternate;
}
.hero-bg .r2 {
  top: 36%;
  height: 42%;
  opacity: 0.48;
  background: linear-gradient(95deg, transparent 8%, var(--g5) 36%, var(--g4) 64%, transparent 90%);
  animation: ribbon-flow 26s ease-in-out infinite alternate-reverse;
}
.hero-bg .r3 {
  top: 64%;
  height: 44%;
  opacity: 0.38;
  background: linear-gradient(105deg, transparent 10%, var(--g3) 38%, rgba(255, 255, 255, 0.55) 68%, transparent 92%);
  animation: ribbon-flow 22s ease-in-out infinite alternate;
  animation-delay: -9s;
}
@keyframes ribbon-flow {
  0%   { transform: translate3d(-6%, 0, 0) rotate(-7deg) scaleY(1); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(-2.5deg) scaleY(1.28); }
  100% { transform: translate3d(8%, 2%, 0) rotate(-8deg) scaleY(0.88); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-light {
  box-shadow: var(--shadow-md);
}

.hero-ctas .btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.hero-ctas .btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero visual: dashboard card + phone checkout.
   The mockups tilt gently in 3D toward the cursor (see main.js). */
.hero-visual {
  position: relative;
  min-height: 480px;
  perspective: 1100px;
}

.hero-visual .mock-dashboard {
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.hero-visual .mock-phone {
  transform: rotateY(calc(var(--tilt-x, 0deg) * 1.6)) rotateX(calc(var(--tilt-y, 0deg) * 1.6));
  transition: transform 0.45s ease-out;
  will-change: transform;
}

/* Floating payment chips in the hero: idle float + cursor parallax */
.float-chip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  transform: translate(
    calc(var(--par-x, 0px) * var(--depth, 1)),
    calc(var(--par-y, 0px) * var(--depth, 1))
  );
  transition: transform 0.5s ease-out;
  will-change: transform;
}

.fc-1 {
  top: -18px;
  inset-inline-start: -30px;
  --depth: 1.4;
}

.fc-2 {
  bottom: 26px;
  inset-inline-start: -48px;
  --depth: 0.8;
}

.fc-3 {
  top: 84px;
  inset-inline-end: -22px;
  --depth: 1.9;
}

.fc-body {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
  font: 600 13px/1 var(--font-body);
  color: var(--ink);
  animation: chip-float 5.5s ease-in-out infinite;
}

[dir="rtl"] .fc-body {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}

.fc-2 .fc-body {
  animation-duration: 6.8s;
  animation-delay: -2.4s;
}

.fc-3 .fc-body {
  animation-duration: 4.8s;
  animation-delay: -1.2s;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.fc-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.fc-ico.green {
  background: #c9f2e4;
  color: #0b6b52;
}

.fc-ico.blue {
  background: var(--brand-tint);
  color: var(--brand);
}

/* Soft light glow that follows the cursor across the hero gradient */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    620px circle at var(--gx, 50%) var(--gy, 30%),
    rgba(255, 255, 255, 0.16),
    transparent 60%
  );
}

.hero-bg.glow-on::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .mock-dashboard,
  .hero-visual .mock-phone {
    transform: none;
    transition: none;
  }

  .card::after,
  .hero-bg::after {
    display: none;
  }

  .hero-bg .ribbon {
    animation: none;
  }

  .fc-body {
    animation: none;
  }

  .float-chip {
    transition: none;
  }
}

.mock-dashboard {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: min(460px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mock-head .mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 14px var(--font-logo);
  color: var(--ink);
}

.mock-head .mock-brand img {
  width: 20px;
  height: 20px;
}

.mock-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #0b6b52;
  background: #c9f2e4;
  padding: 2px 9px;
  border-radius: 99px;
}

.mock-metric-label {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 10px;
}

.mock-metric-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mock-metric-delta {
  font-size: 12.5px;
  font-weight: 600;
  color: #0b6b52;
}

.mock-chart {
  margin-top: 12px;
}

.mock-rows {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
  font-size: 13px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--ink-soft);
}

.mock-row .mr-amount {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mock-row .mr-method {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 5px;
}

.mock-phone {
  position: absolute;
  bottom: -36px;
  inset-inline-end: -8px;
  width: 250px;
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--navy);
  padding: 22px 18px 18px;
}

.mock-phone .mp-merchant {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}

.mock-phone .mp-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

.mock-phone .mp-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  color: var(--ink);
}

.mock-phone .mp-desc {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.mock-phone .mp-field {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mock-phone .mp-pay {
  width: 100%;
  border: none;
  background: var(--brand);
  color: #fff;
  font: 600 14px var(--font-body);
  border-radius: 8px;
  padding: 11px;
  margin-top: 6px;
  cursor: default;
}

.mock-phone .mp-secure {
  text-align: center;
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 9px;
}

/* --------------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Logos strip
   -------------------------------------------------------------------------- */

.logos-strip {
  padding: 40px 0 8px;
}

.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

[dir="rtl"] .logos-label {
  letter-spacing: 0;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
}

.partner-logo {
  display: inline-block;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.25s, filter 0.25s, transform 0.25s;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.partner-logo img {
  height: 34px;
  width: auto;
}

.trust-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.trust-badge:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.trust-badge svg {
  color: var(--brand);
  flex: none;
}

/* --------------------------------------------------------------------------
   Payment methods marquee
   -------------------------------------------------------------------------- */

.marquee {
  /* The strip has to clip horizontally — the track is far wider than the
     page — but `overflow: hidden` clips both axes, so a chip lifting on
     hover had its top sliced off and its shadow cut in a hard line at the
     bottom edge. The padding gives the 7px lift and the 35px-deep shadow
     room to exist inside the clip box; the negative margins of exactly the
     same size hand that space straight back, so the logos sit where they
     always did. */
  margin-top: -16px;
  margin-bottom: -40px;
  padding: 16px 0 40px;
  overflow: hidden;
  /* Anchor the track LTR so the loop is seamless in Arabic (RTL) mode too */
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  direction: ltr; /* logos scroll the same way in both languages */
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 18px;
  padding-inline-end: 18px;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.pm-chip {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 128px;
  height: 68px;
  padding: 0 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-chip:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.pm-chip img {
  height: 26px;
  width: auto;
  max-width: 104px;
  object-fit: contain;
}

.methods-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Numbered steps in the How-it-works section */
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* --------------------------------------------------------------------------
   Feature / product cards
   -------------------------------------------------------------------------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.cards-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Cursor spotlight: a soft glow that follows the mouse across the card */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(36, 19, 236, 0.1),
    rgba(0, 224, 192, 0.06) 45%,
    transparent 70%
  );
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--brand);
  color: #fff;
}

.card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--ink-soft);
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand);
}

.card .card-link:hover {
  color: var(--brand-dark);
}

/* --------------------------------------------------------------------------
   Payment methods chips
   -------------------------------------------------------------------------- */

.methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.method-chip {
  min-width: 108px;
  text-align: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.method-chip small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Developer / code window
   -------------------------------------------------------------------------- */

.dev-section {
  background: var(--navy);
  color: #fff;
}

/* Hairline between the stats band and the dev band when adjacent */
.stats-section + .dev-section {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.dev-section .section-title {
  color: #fff;
}

.dev-section .section-lead {
  color: #b1b4d8;
}

.dev-section .eyebrow-tag {
  color: #9d97ff;
}

.dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.dev-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.dev-points li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: #ced1ec;
  font-size: 15.5px;
}

.dev-points .check {
  color: #4ade80;
  font-weight: 800;
  flex: none;
}

.code-window {
  position: relative;
  background: #131039;
  border: 1px solid #2c2768;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  direction: ltr; /* code stays LTR in Arabic mode */
  text-align: left;
}

.code-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(46, 230, 201, 0.08),
    transparent 70%
  );
}

.code-window:hover::after {
  opacity: 1;
}

.code-tabs {
  display: flex;
  gap: 2px;
  background: #1a1650;
  padding: 8px 10px 0;
  border-bottom: 1px solid #2c2768;
}

.code-tab {
  background: transparent;
  border: none;
  color: #8e90c0;
  font: 600 12.5px/1 var(--font-body);
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.code-tab.active {
  background: #131039;
  color: #fff;
}

.code-body {
  margin: 0;
  padding: 20px;
  font: 13px/1.7 "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  color: #d5e3f0;
  overflow-x: auto;
  white-space: pre;
  min-height: 264px;
}

.code-body .c-kw { color: #79b8ff; }
.code-body .c-str { color: #85e89d; }
.code-body .c-num { color: #ffab70; }
.code-body .c-cm { color: #5a7288; }
.code-body .c-fn { color: #b392f0; }

/* --------------------------------------------------------------------------
   Stats band with interactive particle globe
   -------------------------------------------------------------------------- */

.stats-section {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.stats-section .section-title {
  color: #fff;
}

.stats-grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.stats-section .stats-row {
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
  text-align: start;
  margin-top: 40px;
}

.stats-section .stat-value {
  color: #2ee6c9;
}

.stats-section .stat-label {
  color: #b1b4d8;
}

.globe-wrap {
  position: relative;
  height: 480px;
  cursor: crosshair;
}

#globe-canvas {
  position: absolute;
  inset: 0;
}

.globe-chip {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  pointer-events: none;
  background: #fff;
  color: var(--ink);
  font: 700 13px/1 var(--font-body);
  padding: 9px 13px;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  direction: ltr;
  z-index: 2;
}

.globe-chip small {
  color: var(--ink-muted);
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-value {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

[dir="rtl"] .stat-value {
  letter-spacing: 0;
}

.stat-label {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Split feature rows (image/text alternating)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}

.split .visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.split p {
  color: var(--ink-soft);
  font-size: 16px;
}

.split ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.split ul li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.split ul .check {
  color: var(--brand);
  font-weight: 800;
  flex: none;
}

.split.flip .visual {
  order: -1;
}

/* Illustration panels on the products page */
.product-visual {
  background: linear-gradient(135deg, var(--brand-tint), var(--surface-alt));
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.product-visual .methods-row {
  max-width: 340px;
}

.mock-phone.in-visual {
  position: static;
  inset: auto;
  width: 250px;
}

.mini-invoice {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 22px;
  width: min(340px, 100%);
}

.mini-invoice .mock-rows {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
}

.mock-row.total {
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}

.link-demo {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.pill-link {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 99px;
  padding: 11px 22px;
  font: 600 14px/1 "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color: var(--brand);
  direction: ltr;
}

.link-demo .qr {
  filter: drop-shadow(0 8px 16px rgba(50, 50, 93, 0.15));
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--g1), #4a3aff 55%, var(--g2));
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}

/* Light glow trailing the cursor inside the CTA band */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.14),
    transparent 65%
  );
}

.cta-band:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band::after,
  .code-window::after {
    display: none;
  }
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16.5px;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 128px;
  overflow: hidden;
}

.page-hero .hero-bg {
  bottom: 0;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 720px;
  text-wrap: balance;
}

[dir="rtl"] .page-hero h1 {
  letter-spacing: 0;
  line-height: 1.35;
}

.page-hero p {
  margin-top: 18px;
  max-width: 600px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(36, 19, 236, 0.06),
    transparent 70%
  );
}

.price-card:hover::after {
  opacity: 1;
}

.price-card.featured {
  border-top: 4px solid var(--brand);
}

.price-card h3 {
  font-size: 20px;
}

.price-card .price-tag {
  margin: 18px 0 4px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

[dir="rtl"] .price-card .price-tag {
  letter-spacing: 0;
}

.price-card .price-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.price-card ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.price-card .check {
  color: var(--brand);
  font-weight: 800;
  flex: none;
}

.fee-table {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row .fee-name {
  font-weight: 600;
  font-size: 15.5px;
}

.fee-row .fee-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.fee-row .fee-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* FAQ accordion */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 4px;
  font: 600 16.5px/1.4 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  text-align: start;
}

[dir="rtl"] .faq-q {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}

.faq-q .faq-plus {
  flex: none;
  font-size: 20px;
  color: var(--brand);
  transition: transform 0.25s;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 4px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* --------------------------------------------------------------------------
   About / values
   -------------------------------------------------------------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.legal-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

/* Label with an "i" info tooltip beside it */
.label-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.label-row label {
  margin-bottom: 0;
}

.info-tip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink-muted);
  cursor: help;
}

.info-tip:hover,
.info-tip:focus {
  color: var(--brand);
  outline: none;
}

.tip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  inset-inline-start: 0;
  z-index: 30;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.tip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline-start: 14px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}

.info-tip:hover .tip-bubble,
.info-tip:focus .tip-bubble,
.info-tip.tip-open .tip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font: 15px/1.5 var(--font-body);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.contact-info .card {
  margin-bottom: 20px;
}

.form-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.about-p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Legal pages (Privacy Policy, Terms of Service)
   -------------------------------------------------------------------------- */

.legal-wrap {
  max-width: 800px;
  margin-inline: auto;
  /* Legal text is authoritative in English; keep it LTR in Arabic mode */
  direction: ltr;
  text-align: left;
}

/* Wide content gets its own scroller so the page body never scrolls
   sideways on a phone. */
.table-scroll {
  overflow-x: auto;
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.legal-table th {
  background: var(--wash, #f7f7fd);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.legal-table td {
  color: var(--ink-soft);
}

.legal-updated {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 30px;
}

.legal-arnote {
  max-width: 800px;
  margin: 0 auto 28px;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 14.5px;
  font-weight: 600;
}

.legal-arnote:empty {
  display: none;
}

.legal-wrap h2 {
  font-size: 22px;
  margin: 38px 0 12px;
}

.legal-wrap h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-wrap ul {
  padding-inline-start: 22px;
  margin: 0 0 14px;
}

.legal-wrap a {
  color: var(--brand);
  font-weight: 600;
}

.contact-info .card a {
  color: var(--brand);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Onboarding wizard (get-started.html)
   -------------------------------------------------------------------------- */

.wizard {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

.wiz-head {
  margin-bottom: 28px;
}

.wiz-count {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.wiz-progress {
  height: 6px;
  background: var(--surface-alt);
  border-radius: 99px;
  overflow: hidden;
}

.wiz-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--brand), var(--g2));
  border-radius: 99px;
  transition: width 0.4s ease;
}

.wiz-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}

.wiz-step.active {
  display: block;
  animation: wiz-in 0.35s ease;
}

@keyframes wiz-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

.wiz-step h3 {
  font-size: 21px;
  margin-bottom: 20px;
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.wiz-nav .btn:last-child {
  margin-inline-start: auto;
}

.wiz-error {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #c0264b;
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: #c0264b;
  box-shadow: 0 0 0 3px rgba(192, 38, 75, 0.12);
}

/* Informational notice above the wizard (e.g. already-submitted) */
.wiz-notice {
  background: var(--brand-tint);
  color: var(--ink-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* "Resend code" link-style button on the verification step */
.verify-actions {
  margin-top: 4px;
  font-size: 13px;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  font: 600 13.5px var(--font-body);
  color: var(--brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:disabled {
  color: var(--ink-muted);
  cursor: default;
  text-decoration: none;
}

.verify-actions .form-hint {
  margin-top: 6px;
  display: inline-block;
  margin-inline-start: 10px;
  color: #0a7a4b;
}

/* Phone fields with dial-code selector */
.tel-group {
  display: flex;
  gap: 8px;
}

.tel-group .dial-select {
  flex: none;
  width: 118px;
  padding-inline: 8px;
}

.tel-group input {
  flex: 1;
  min-width: 0;
  direction: ltr;
}

/* Searchable comboboxes in the wizard */
.combo {
  position: relative;
}

.combo select {
  display: none !important;
}

.combo-dial {
  flex: none;
  width: 118px;
}

.combo-dial .combo-input {
  padding-inline: 8px;
}

.combo-list {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  min-width: 100%;
  width: max-content;
  max-width: 320px;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  max-height: 240px;
  overflow-y: auto;
}

.combo-list button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 9px 13px;
  background: none;
  border: none;
  font: 14.5px/1.4 var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}

.combo-list button.hover,
.combo-list button:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.combo-list button.selected {
  color: var(--brand);
  font-weight: 600;
}

/* Address autocomplete suggestions */
.addr-search-wrap {
  position: relative;
}

.addr-suggest {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  max-height: 240px;
  overflow-y: auto;
}

.addr-suggest button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--surface-alt);
  font: 14px/1.45 var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
}

.addr-suggest button:last-child {
  border-bottom: none;
}

.addr-suggest button:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

/* Application received */
.received-card {
  text-align: center;
}

.received-card .about-p {
  margin-inline: auto;
}

.rc-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #c9f2e4;
  color: #0b6b52;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

/* --------------------------------------------------------------------------
   Consent notice
   -------------------------------------------------------------------------- */

.consent-bar {
  position: fixed;
  bottom: 16px;
  inset-inline: 16px;
  z-index: 300;
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 13px 18px;
  animation: consent-in 0.5s ease;
}

.consent-bar p {
  font-size: 13.5px;
  color: var(--ink-soft);
  flex: 1;
}

.consent-bar .btn {
  padding: 7px 16px;
  font-size: 13.5px;
  flex: none;
}

@media (max-width: 640px) {
  .consent-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .consent-bar p {
    font-size: 13px;
    line-height: 1.55;
  }

  .consent-actions {
    display: flex;
    gap: 10px;
  }

  .consent-actions .btn {
    flex: 1;
  }
}

.consent-bar.consent-out {
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(12px);
}

@keyframes consent-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Pricing extras
   -------------------------------------------------------------------------- */

.price-period {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-inline-start: 3px;
}

.pricing-procnote {
  max-width: 880px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.pricing-procnote a {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Products page interactive visuals
   -------------------------------------------------------------------------- */

.pm-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pm-cluster .pm-chip {
  min-width: 132px;
  transform: translate(
    calc(var(--cx, 0px) * var(--depth, 1)),
    calc(var(--cy, 0px) * var(--depth, 1))
  );
  transition: transform 0.5s ease-out, box-shadow 0.25s;
  will-change: transform;
}

.pm-cluster .pm-chip:hover {
  box-shadow: var(--shadow-md);
}

.mp-pay.processing {
  opacity: 0.75;
}

.mp-pay.paid {
  background: #0b6b52;
}

.mock-badge.stamp {
  animation: badge-stamp 0.55s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes badge-stamp {
  0% { transform: scale(2.2) rotate(-12deg); opacity: 0; }
  60% { transform: scale(0.94) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

.mr-method {
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.mr-method.sent {
  background: #c9f2e4;
  border-color: #9adfc4;
  color: #0b6b52;
}

/* --------------------------------------------------------------------------
   Checkout localization demo (products page)
   -------------------------------------------------------------------------- */

.locale-demo {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.locale-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}

.locale-tab {
  border: none;
  background: transparent;
  font: 600 12.5px/1 var(--font-body);
  color: var(--ink-soft);
  padding: 7px 13px;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.locale-tab:hover {
  color: var(--brand);
}

.locale-tab.active {
  background: var(--brand);
  color: #fff;
}

.mock-phone.switching .mp-amount,
.mock-phone.switching .mp-desc,
.mock-phone.switching .mp-field,
.mock-phone.switching .mp-pay {
  opacity: 0.15;
  transition: opacity 0.18s;
}

.mock-phone .mp-amount,
.mock-phone .mp-desc,
.mock-phone .mp-field,
.mock-phone .mp-pay {
  transition: opacity 0.25s;
}

/* --------------------------------------------------------------------------
   Invoice lifecycle animation (products page)
   -------------------------------------------------------------------------- */

.pv-invoicing .mock-row {
  transition: opacity 0.4s, transform 0.4s;
}

.pv-invoicing .mock-row.hidden-row {
  opacity: 0;
  transform: translateY(10px);
}

.mock-badge.due {
  background: #feefc7;
  color: #8a6116;
}

.mini-invoice .mock-head {
  position: relative;
}

.conf-dot {
  position: absolute;
  top: 10px;
  inset-inline-end: 30px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  pointer-events: none;
  animation: conf-burst 0.85s ease-out forwards;
}

@keyframes conf-burst {
  to {
    transform: translate(var(--dx, 0), var(--dy, -60px)) rotate(240deg);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Ecosystem / integrations diagram (home page)
   -------------------------------------------------------------------------- */

.connect-section {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.connect-section .section-title {
  color: #fff;
}

.connect-section .section-lead {
  color: #b1b4d8;
}

.connect-section .eyebrow-tag {
  color: #9d97ff;
}

.eco-wrap {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  aspect-ratio: 900 / 440;
  direction: ltr; /* fixed coordinate space in both languages */
}

.eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eco-line {
  fill: none;
  stroke: #37336e;
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}

.eco-wrap.eco-anim .eco-line {
  animation: eco-march 1.4s linear infinite;
}

.eco-line.eco-money {
  stroke: #1f6b60;
  stroke-width: 2;
}

@keyframes eco-march {
  to { stroke-dashoffset: -11; }
}

.eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #1d1a55;
  border: 1px solid #37336e;
  color: #cdd0ee;
  font-size: clamp(9px, 1.5vw, 13px);
  font-weight: 600;
  padding: 0.55em 1em;
  border-radius: 9px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.eco-node.eco-psp {
  border-color: #2ee6c9;
  color: #7defd8;
  background: #12303e;
}

.eco-center {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(46px, 8vw, 72px);
  height: clamp(46px, 8vw, 72px);
  border-radius: 22%;
  background: linear-gradient(135deg, var(--brand), #4a3aff);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(122, 92, 255, 0.16), 0 0 42px rgba(66, 46, 255, 0.55);
}

.eco-center::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  box-shadow: 0 0 64px 12px rgba(66, 46, 255, 0.6);
  opacity: 0;
  animation: eco-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes eco-glow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.85; }
}

.eco-center img {
  width: 58%;
  height: 58%;
}

.eco-cluster {
  display: flex;
  gap: 6px;
  padding: 0.45em 0.6em;
}

.eco-ico {
  width: clamp(16px, 2.6vw, 24px);
  height: clamp(16px, 2.6vw, 24px);
  color: #9d97ff;
  display: grid;
  place-items: center;
  transition: opacity 0.25s, transform 0.25s;
}

.eco-ico svg {
  width: 100%;
  height: 100%;
}

.eco-ico.swap {
  opacity: 0;
  transform: scale(0.5) rotate(-30deg);
}

.eco-note {
  color: #8f92bb;
}

@media (prefers-reduced-motion: reduce) {
  .eco-wrap.eco-anim .eco-line,
  .eco-center::after {
    animation: none;
  }

  .eco-dot {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer .logo {
  margin-bottom: 14px;
}

.footer-tagline {
  color: var(--ink-muted);
  max-width: 280px;
  font-size: 14px;
}

.footer-contact {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.footer-contact a {
  color: var(--brand);
  font-weight: 600;
}

/* The registered address is a card-network requirement, not a selling point —
   present, findable, and quieter than the line above it. */
.footer-address {
  font-size: 12.5px;
  opacity: 0.82;
  /* Latin address stays LTR even on the Arabic site */
  direction: ltr;
  display: inline-block;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.footer-disclosure {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 18px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 760px;
}

.footer-disclosure + .footer-bottom {
  border-top: none;
  padding-top: 0;
}

.footer h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

[dir="rtl"] .footer h3 {
  letter-spacing: 0;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 9px;
}

.footer li a {
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer li a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cards-grid,
  .cards-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .stats-grid-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .globe-wrap {
    height: 380px;
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .dev-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .nav-actions .nav-cta {
    display: none;
  }

  .split,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* On one column, text always reads first */
  .split.flip .visual {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 520px) {
  .cards-grid,
  .cards-grid.cols-2,
  .cards-grid.cols-4,
  .values-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 48px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Support chat widget
   -------------------------------------------------------------------------- */

.apc-launcher {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 290;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(19, 18, 68, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.apc-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(19, 18, 68, 0.42);
}

.apc-launcher.apc-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* Keep the launcher clear of the consent bar while it is on screen */
body:has(.consent-bar:not(.consent-out)) .apc-launcher {
  bottom: 96px;
}

.apc-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 320;
  width: min(388px, calc(100vw - 32px));
  height: min(680px, calc(100dvh - 40px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.apc-panel.apc-open {
  opacity: 1;
  transform: none;
}

/* Mirror the widget's screen position on the Arabic (RTL) site; the chat
   language only affects the panel's internal layout. */
[dir="rtl"] .apc-launcher,
[dir="rtl"] .apc-panel {
  right: auto;
  left: 22px;
}

[dir="rtl"] .apc-panel {
  left: 20px;
}

.apc-panel.apc-ar {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}

.apc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px 13px;
  border-bottom: 2px solid var(--brand);
  flex: none;
}

.apc-title {
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  margin: 0;
}

.apc-head-actions {
  display: flex;
  gap: 4px;
}

.apc-min,
.apc-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.apc-min:hover,
.apc-close:hover {
  background: #f1f2f8;
  color: var(--ink);
}

.apc-log {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apc-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.apc-bot {
  align-self: flex-start;
  background: #f2f3f8;
  color: var(--ink);
  border-start-start-radius: 4px;
}

.apc-user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-start-end-radius: 4px;
}

.apc-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: flex-end;
  gap: 8px;
  max-width: 92%;
}

.apc-chip {
  background: #fff;
  border: 1px solid #d9dbe8;
  border-radius: 9px;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(50, 50, 93, 0.08);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.apc-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 2px 6px rgba(36, 19, 236, 0.12);
}

/* Handoff card — appears in the log when the assistant passes a question
   to a person. The visitor reviews the drafted message, then sends. */
.apc-handoff {
  align-self: stretch;
  background: #fff;
  border: 1px solid #d9dbe8;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(50, 50, 93, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apc-ho-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.apc-ho-lab {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

.apc-ho-email,
.apc-ho-msg {
  width: 100%;
  border: 1px solid #d9dbe8;
  border-radius: 9px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: #fbfbfe;
  resize: vertical;
}

.apc-ho-msg { min-height: 92px; }

.apc-ho-email:focus,
.apc-ho-msg:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 19, 236, 0.1);
}

.apc-ho-err {
  font-size: 12.5px;
  color: #c0392b;
}

.apc-ho-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.apc-ho-send {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.apc-ho-send:hover:not(:disabled) { opacity: 0.9; }
.apc-ho-send:disabled { opacity: 0.55; cursor: default; }

.apc-ho-skip {
  background: none;
  border: 0;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink-muted);
  cursor: pointer;
}

.apc-ho-skip:hover { color: var(--ink); }

.apc-ho-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.apc-typing {
  display: inline-flex;
  gap: 5px;
  padding: 13px 16px;
}

.apc-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-muted);
  opacity: 0.35;
  animation: apc-blink 1.1s infinite;
}

.apc-typing span:nth-child(2) { animation-delay: 0.18s; }
.apc-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes apc-blink {
  0%, 100% { opacity: 0.25; }
  40% { opacity: 0.9; }
}

.apc-inputrow {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 8px 10px;
  flex: none;
}

.apc-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 8px;
}

.apc-input:disabled {
  cursor: not-allowed;
}

.apc-input::placeholder {
  color: var(--ink-muted);
}

.apc-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  flex: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.apc-send:hover:not(:disabled) {
  transform: translateY(-1px);
}

.apc-send:disabled {
  background: #d9dbe8;
  cursor: not-allowed;
}

.apc-note {
  font-size: 11.5px;
  color: var(--ink-muted);
  text-align: center;
  padding: 0 14px 10px;
  margin: 0;
  flex: none;
}

@media (max-width: 520px) {
  .apc-panel {
    inset: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-panel,
  .apc-launcher {
    transition: none;
  }

  .apc-typing span {
    animation: none;
    opacity: 0.6;
  }
}

/* Contact form success message */
.form-sent {
  background: #eaf7ee;
  border: 1px solid #cde8d6;
  color: #0b6b34;
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14.5px;
}

/* Consent bar v2: choice buttons + policy link */
.consent-bar { flex-wrap: wrap; gap: 10px; }
.consent-actions { display: flex; gap: 8px; flex: none; margin-inline-start: auto; }
.consent-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.consent-bar .btn-ghost { border: 1px solid var(--line); }
