/* RemoTap — site styles
   Brand: #8C52FF purple, #3776FF blue, #00000E ink. Display font: Lastica (drop the
   woff2 in assets/fonts/ to use it) with Michroma as the free stand-in. */

/* To use the real brand font: put Lastica.woff2 in assets/fonts/ and change
   local("Lastica") below to url("../fonts/Lastica.woff2") format("woff2"). */
@font-face {
  font-family: "Lastica";
  src: local("Lastica");
  font-display: swap;
}

:root {
  --ink: #00000e;
  --bg: #03031a;
  --surface: #0a0a24;
  --surface-2: #11112f;
  --line: rgba(140, 82, 255, 0.18);
  --line-strong: rgba(140, 82, 255, 0.42);
  --text: #eeecff;
  --muted: #a3a1c4;
  --faint: #6f6d93;
  --purple: #8c52ff;
  --blue: #3776ff;
  --cyan: #2fd6f5;
  --ok: #3ee08f;
  --grad: linear-gradient(120deg, var(--purple) 0%, var(--blue) 100%);
  --grad-rev: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 10px 40px -10px rgba(140, 82, 255, 0.55);
  --font-display: "Lastica", "Michroma", "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
  color-scheme: dark;
}

html[lang="ar"] {
  --font-display: "Cairo", "Sora", system-ui, sans-serif;
  --font-body: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--purple); color: #fff; }

.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Atmosphere ---------- */
.atmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 85% -5%, rgba(55, 118, 255, 0.22), transparent 70%),
    radial-gradient(50% 40% at 0% 10%, rgba(140, 82, 255, 0.22), transparent 70%),
    var(--ink);
}
.atmos::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 82, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 82, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
html[lang="en"] h1, html[lang="en"] h2 { text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 58ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-rev); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--grad);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b-bg); color: #fff; font-weight: 700; font-size: 0.98rem;
  box-shadow: var(--shadow-glow);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.35s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -10px rgba(55, 118, 255, 0.7); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}
.btn-ghost {
  --b-bg: rgba(140, 82, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--purple), 0 10px 30px -12px rgba(140, 82, 255, 0.6); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Tap feedback: every button/link flips colour and emits NFC waves */
.btn.is-tapped { --b-bg: var(--grad-rev); }
.btn-ghost.is-tapped { --b-bg: rgba(47, 214, 245, 0.16); box-shadow: inset 0 0 0 1px var(--cyan); }
.tap-fx {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  color: var(--cyan);
  animation: tapPop 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.tap-fx svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(47, 214, 245, 0.8)); }
.tap-fx .w1 { animation: wave 0.75s ease-out 0s both; }
.tap-fx .w2 { animation: wave 0.75s ease-out 0.08s both; }
.tap-fx .w3 { animation: wave 0.75s ease-out 0.16s both; }
.tap-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid var(--purple);
  animation: ring 0.7s ease-out forwards;
}
@keyframes tapPop {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-38px) scale(1.1); opacity: 0; }
}
@keyframes wave { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0.2; } }
@keyframes ring { to { transform: scale(7); opacity: 0; border-color: var(--blue); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(0, 0, 14, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: auto; }
.wordmark { font-family: "Lastica", "Michroma", sans-serif; font-size: 1.05rem; letter-spacing: 0.14em; color: #fff; }
.wordmark .t { color: var(--purple); }
.wordmark .ap { color: var(--blue); }
.nav-links { display: flex; gap: 28px; font-size: 0.93rem; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-height: 40px; min-width: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text); font-weight: 700;
  font-family: "Cairo", var(--font-body);
}
.lang-toggle:hover { border-color: var(--purple); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav .btn-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--faint); }
.hero-note b { color: var(--muted); font-weight: 600; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* Hero visual: card + phone with waves */
.hero-visual { position: relative; height: clamp(320px, 42vw, 480px); perspective: 1200px; }
.nfc-card {
  position: absolute; left: 4%; top: 18%; width: 62%; aspect-ratio: 85.6 / 54;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(55, 118, 255, 0.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(140, 82, 255, 0.25), transparent 60%),
    linear-gradient(145deg, #121230, #05051a 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(140, 82, 255, 0.15), 0 20px 60px -20px rgba(140, 82, 255, 0.45);
  transform: rotateX(14deg) rotateY(-18deg) rotateZ(-6deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 7% 8%;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.nfc-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 45%, transparent 60%);
  transform: translateX(-60%); animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
.nfc-card .c-top { display: flex; justify-content: space-between; align-items: flex-start; }
.nfc-card .c-top img { width: 22%; height: auto; }
.nfc-card .c-nfc { width: 12%; color: rgba(255, 255, 255, 0.55); }
.nfc-card .c-name { font-family: var(--font-body); font-weight: 700; font-size: clamp(0.8rem, 1.6vw, 1.05rem); direction: ltr; text-align: left; }
.nfc-card .c-role { font-size: clamp(0.6rem, 1.1vw, 0.75rem); color: var(--muted); direction: ltr; text-align: left; }
.nfc-card .c-arcs { position: absolute; right: -12%; bottom: -30%; width: 60%; opacity: 0.35; color: var(--blue); }

.phone {
  position: absolute; right: 4%; top: 2%; width: 40%; max-width: 230px; aspect-ratio: 9 / 19;
  border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #22223f, #07071a);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 60px -20px rgba(55, 118, 255, 0.5);
  transform: rotate(5deg);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #0c0c2a, #03031a);
  padding: 14% 9% 8%;
  display: flex; flex-direction: column; align-items: center; gap: 5%;
}
.phone-screen .ps-avatar { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); padding: 3px; }
.phone-screen .ps-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0c0c2a; font-weight: 800; font-size: clamp(0.8rem, 2vw, 1.2rem); }
.phone-screen .ps-name { font-weight: 700; font-size: clamp(0.62rem, 1.3vw, 0.85rem); direction: ltr; }
.phone-screen .ps-row {
  width: 100%; height: 9%; border-radius: 10px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; gap: 8%; padding: 0 8%;
  font-size: clamp(0.5rem, 1vw, 0.68rem); color: var(--muted); direction: ltr;
  opacity: 0; transform: translateY(8px);
  animation: rowIn 0.5s ease forwards;
}
.phone-screen .ps-row i { width: 12%; aspect-ratio: 1; border-radius: 4px; background: var(--grad); flex: none; }
.phone-screen .ps-row:nth-child(3) { animation-delay: 1.1s; }
.phone-screen .ps-row:nth-child(4) { animation-delay: 1.25s; }
.phone-screen .ps-row:nth-child(5) { animation-delay: 1.4s; }
.phone-screen .ps-row:nth-child(6) { animation-delay: 1.55s; }
.phone-screen .ps-row:nth-child(7) { animation-delay: 1.7s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }

.hero-waves { position: absolute; left: 52%; top: 30%; width: 22%; color: var(--cyan); transform: rotate(-10deg); }
.hero-waves path { animation: pulse 1.8s ease-in-out infinite; }
.hero-waves path:nth-child(2) { animation-delay: 0.2s; }
.hero-waves path:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
html[dir="rtl"] .hero-visual { direction: ltr; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(10, 10, 36, 0.55); }
.trust ul { list-style: none; margin: 0 auto; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.trust li svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 14px 0 16px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* Audiences */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud {
  position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden;
}
.aud::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  inset-inline-end: -80px; top: -80px; filter: blur(60px); opacity: 0.35; background: var(--purple);
}
.aud.blue::after { background: var(--blue); }
.aud .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(140, 82, 255, 0.14); color: #c9b2ff; margin-bottom: 18px; }
.aud.blue .tag { background: rgba(55, 118, 255, 0.14); color: #a9c3ff; }
.aud h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.25; margin-bottom: 14px; }
html[lang="en"] .aud h3 { text-transform: uppercase; }
.aud p { color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--grad) center / 12px no-repeat;
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--grad);
  background-size: 12px, cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(10, 10, 36, 0.6); }
.step .num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: "Michroma", sans-serif; font-size: 1rem; background: var(--grad); box-shadow: var(--shadow-glow);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.seg {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  margin: 0 auto 36px; position: relative;
}
.seg button {
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
}
.seg button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.seg button svg { width: 18px; height: 18px; }
.seg-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.plan.featured {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(140, 82, 255, 0.6);
}
.plan .badge {
  position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; background: var(--grad); font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
html[dir="rtl"] .plan .badge { transform: translateX(50%); }
.plan h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }
html[lang="en"] .plan h3 { text-transform: uppercase; letter-spacing: 0.06em; }
.plan .sub { color: var(--muted); font-size: 0.93rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.price .amt { font-family: "Michroma", var(--font-display); font-size: clamp(2.2rem, 5vw, 2.9rem); line-height: 1; }
.price .cur { color: var(--muted); font-weight: 700; }
.price-note { font-size: 0.85rem; color: var(--faint); margin-bottom: 22px; min-height: 1.4em; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.plan .ticks li.off { color: var(--faint); }
.plan .ticks li.off::before { background: var(--surface-2); background-image: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.upsell-line { text-align: center; color: var(--muted); margin-top: 26px; font-size: 0.95rem; }
.upsell-line b { color: #fff; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan.featured { order: -1; } }

/* Compare */
.compare { max-width: 860px; margin: 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
html[lang="ar"] .compare thead th { letter-spacing: 0; font-size: 0.95rem; }
.compare td:nth-child(2) { color: var(--faint); }
.compare td:nth-child(3) { color: #fff; font-weight: 600; }
.compare thead th:nth-child(3) { color: #c9b2ff; }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px; font-size: 0.86rem; } }

/* Demo */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo-phone { position: relative; width: min(300px, 80%); margin: 0 auto; aspect-ratio: 9 / 19; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #22223f, #07071a); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 80px -30px rgba(140, 82, 255, 0.7); }
.demo-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: var(--ink); }
.demo-list { display: grid; gap: 16px; margin: 26px 0 30px; }
.demo-list div { display: flex; gap: 14px; align-items: flex-start; }
.demo-list svg { width: 26px; height: 26px; color: var(--cyan); flex: none; margin-top: 2px; }
.demo-list p { color: var(--muted); font-size: 0.95rem; }
.demo-list b { color: #fff; display: block; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 0 22px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--purple); transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 70px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(55, 118, 255, 0.45), transparent 60%), radial-gradient(80% 120% at 0% 100%, rgba(140, 82, 255, 0.5), transparent 60%), var(--surface-2);
  border: 1px solid var(--line-strong); text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-band .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { padding: 48px 0 110px; border-top: 1px solid var(--line); margin-top: 40px; color: var(--faint); font-size: 0.9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a:hover { color: #fff; }
.foot .tagline { margin-top: 8px; letter-spacing: 0.2em; font-size: 0.72rem; text-transform: uppercase; }
html[lang="ar"] .foot .tagline { letter-spacing: 0; font-size: 0.85rem; }

/* WhatsApp float + mobile sticky CTA */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
}
.wa-float svg { width: 28px; height: 28px; }
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 14, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .inner { display: flex; gap: 12px; align-items: center; }
.sticky-cta .from { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.sticky-cta .from b { display: block; color: #fff; font-size: 1rem; }
.sticky-cta .btn { flex: 1; }
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  .wa-float { bottom: 92px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Order page ---------- */
.order-page { padding: clamp(28px, 5vw, 56px) 0 80px; }
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .order-layout { grid-template-columns: 1fr; } }
.progress { display: flex; gap: 8px; margin: 22px 0 28px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; position: relative; }
.progress span.on::after { content: ""; position: absolute; inset: 0; background: var(--grad); }
.progress-label { font-size: 0.85rem; color: var(--muted); }
.panel { border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(10, 10, 36, 0.75); padding: clamp(20px, 4vw, 34px); }
.panel h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-bottom: 8px; }
.panel .lead { margin-bottom: 24px; font-size: 1rem; }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.choice:hover .box { border-color: var(--line-strong); }
.choice input:checked + .box { border-color: var(--purple); background: rgba(140, 82, 255, 0.1); box-shadow: 0 0 0 4px rgba(140, 82, 255, 0.12); }
.choice input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.choice .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(140, 82, 255, 0.14); color: #c9b2ff; flex: none; }
.choice .ico svg { width: 24px; height: 24px; }
.choice b { display: block; }
.choice small { color: var(--muted); font-size: 0.86rem; display: block; line-height: 1.45; margin-top: 2px; }
.choice .pr { margin-inline-start: auto; font-weight: 800; white-space: nowrap; }
.choice .pill { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--grad); margin-inline-start: 6px; vertical-align: 2px; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field label .opt { color: var(--faint); font-weight: 400; }
.field .hint { font-size: 0.8rem; color: var(--faint); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(140, 82, 255, 0.15); }
.input[aria-invalid="true"] { border-color: #ff5d7a; }
.err { color: #ff8da1; font-size: 0.82rem; min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.ltr { direction: ltr; text-align: left; }
html[dir="rtl"] .ltr::placeholder { text-align: right; }
.qty { justify-self: start; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.qty button { width: 48px; height: 48px; border: 0; background: var(--surface); cursor: pointer; font-size: 1.3rem; }
.qty input { width: 56px; height: 48px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 16px; }
.links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .links-grid { grid-template-columns: 1fr; } }
.file-drop {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-strong);
  background: var(--surface); cursor: pointer;
}
.file-drop .thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-2) center / cover; flex: none; display: grid; place-items: center; color: var(--faint); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nudge {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px;
  background: linear-gradient(120deg, rgba(140, 82, 255, 0.16), rgba(55, 118, 255, 0.1)); border: 1px solid var(--line-strong);
}
.nudge p { font-size: 0.92rem; flex: 1; }
.nudge[hidden] { display: none; }
@media (max-width: 480px) { .nudge { flex-direction: column; align-items: stretch; } }
.step-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 26px; flex-wrap: wrap; }
.step-actions .btn { min-width: 140px; }

.summary { position: sticky; top: 90px; }
.summary h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
html[lang="en"] .summary h3 { text-transform: uppercase; letter-spacing: 0.08em; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.93rem; }
.sum-line span:first-child { color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.sum-total b { font-family: "Michroma", var(--font-display); font-size: 1.6rem; }
.sum-perks { margin-top: 18px; display: grid; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.sum-perks div { display: flex; gap: 8px; align-items: center; }
.sum-perks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

.pay-box { text-align: center; }
.pay-box .ok-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: var(--shadow-glow); }
.pay-box .ok-ico svg { width: 34px; height: 34px; }
.pay-amount { font-family: "Michroma", var(--font-display); font-size: clamp(2rem, 6vw, 2.8rem); margin: 10px 0 4px; }
.pay-steps { text-align: start; display: grid; gap: 14px; margin: 26px 0; }
.pay-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pay-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 800; font-size: 0.85rem; flex: none; }
.pay-step .body { flex: 1; min-width: 0; }
.copy-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.copy-row code { font-family: ui-monospace, Menlo, monospace; font-size: 1rem; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); direction: ltr; word-break: break-all; }
.btn-wa { --b-bg: linear-gradient(120deg, #25d366, #16a34a); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.6); }
.btn-wa.is-tapped { --b-bg: var(--grad-rev); }

.chat-alt { margin-top: 18px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.chat-alt a { color: #7ff0b5; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
