/* iqrestaurants.com. The scroll effects in site.js only change the custom
   properties used here (--p, --pf, --q, --r, --fill, --spin); without them
   every part shows in its finished place. */
:root {
  color-scheme: dark;
  --bg: #06080F;
  --panel: #0E1424;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --text: #F5F7FB;
  --muted: #A6B0C4;
  --dim: #7A849C;
  --orange: #FF7A2F;
  --amber: #FFB547;
  --soft: #FF9A4D;
  --ink: #1A0E05;
  --grad: linear-gradient(135deg, #FFB547 0%, #FF7A2F 48%, #FF4D2E 100%);
  --sans: Manrope, 'Noto Sans Arabic', system-ui, sans-serif;
  --kufi: Manrope, 'Noto Kufi Arabic', 'Noto Sans Arabic', system-ui, sans-serif;
  --latin: Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --flip: 1; /* 1 right to left, -1 left to right: mirrors the 3D layout */
}
:root[dir='ltr'] { --flip: -1; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--kufi); font-weight: 800; text-wrap: balance; }
figure { margin: 0; }
main { overflow-x: clip; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; top: -80px; inset-inline-start: 16px; z-index: 100; padding: 8px 16px; border-radius: 10px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 700; }
.skip:focus { top: 16px; }

/* Bar at the very top that fills as you scroll */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: calc(50% + var(--flip) * 50%) 50%; transform: scaleX(var(--prog, 0)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(255, 106, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(255, 106, 47, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 19px; }

/* Navigation */
.nav {
  position: fixed; top: 12px; inset-inline: 16px; z-index: 50;
  max-width: 1120px; margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 7px; padding-inline-start: 14px;
  border-radius: 999px;
  background: rgba(9, 13, 24, .66);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 40px -10px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 17px/1 var(--latin); letter-spacing: -.01em; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.links { display: flex; gap: 2px; margin-inline: auto; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-end { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.links + .nav-end { margin-inline-start: 0; }
.switch { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.switch a { padding: 6px 11px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.switch a:hover { color: var(--text); }
.switch .on { background: rgba(255, 255, 255, .1); color: var(--text); }
.switch [lang='en'] { font-family: var(--latin); font-weight: 700; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 128px 0 40px; overflow-x: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; }
.g1 { width: 1100px; height: 700px; top: -340px; left: 50%; margin-left: -550px; background: radial-gradient(closest-side, rgba(255, 122, 47, .42), transparent); }
.g2 { width: 800px; height: 600px; top: 38%; left: -320px; background: radial-gradient(closest-side, rgba(92, 84, 255, .22), transparent); }
.g3 { width: 700px; height: 560px; top: 30%; right: -300px; background: radial-gradient(closest-side, rgba(255, 181, 71, .16), transparent); }
.floor { position: absolute; inset: auto -40% 0; height: 62%; perspective: 520px; perspective-origin: 50% 0%; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%); mask-image: linear-gradient(to top, #000 0%, transparent 92%); }
.floor-grid {
  position: absolute; inset: 0 0 -10%;
  transform: rotateX(68deg); transform-origin: 50% 0%;
  background-image: linear-gradient(rgba(255, 140, 70, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 140, 70, .2) 1px, transparent 1px);
  background-size: 76px 76px;
  background-position: center calc(var(--fy, 0) * 1px);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line2); color: #D5DBE8; font-size: 15px; font-weight: 600; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.display { max-width: 15ch; font-size: clamp(42px, 7.4vw, 96px); line-height: 1.3; perspective: 600px; }
.display .w { display: inline-block; animation: rise 1s var(--ease) backwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(.45em) rotateX(-55deg); filter: blur(10px); } }
.grad { padding: 0 .04em .14em; margin-bottom: -.14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); animation: fade 1s .45s var(--ease) backwards; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; animation: fade 1s .6s var(--ease) backwards; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }

.stage { position: relative; width: min(1080px, 100% - 32px); margin: 56px auto 0; perspective: 1700px; perspective-origin: 50% 20%; }
.tilt { transform-style: preserve-3d; transform: rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -4deg)); transition: transform .6s var(--ease); }
.rig {
  position: relative; transform-style: preserve-3d; transform-origin: 50% 100%;
  transform: translateY(calc(var(--p, 0) * -24px)) rotateX(calc((1 - var(--p, 0)) * 24deg)) scale(calc(.9 + var(--p, 0) * .1));
}
.screen {
  position: relative; overflow: hidden; border-radius: 18px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line2), 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(255, 122, 47, .45);
}
.screen img, .card3d img { width: 100%; }
.bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: #121A2B; border-bottom: 1px solid var(--line); }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: #2C3653; }
.bar i:first-child { background: #FF5F57; } .bar i:nth-child(2) { background: #FEBC2E; } .bar i:nth-child(3) { background: #28C840; }
.bar span { margin-inline: auto; padding: 2px 16px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--muted); font: 600 12px/1.6 var(--latin); transform: translateX(-27px); }

.ph {
  position: absolute; width: 250px; aspect-ratio: 1170 / 2532; padding: 7px; border-radius: 40px;
  background: linear-gradient(150deg, #39445F, #0B0F1A 45%, #1D2538);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -24px rgba(0, 0, 0, .9);
}
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.ph::before { content: ''; position: absolute; top: 15px; left: 50%; width: 30%; height: 3.4%; margin-left: -15%; border-radius: 999px; background: #04060B; z-index: 1; }
.ph-hero { width: 21%; inset-inline-end: 4%; bottom: -16%; transform: translate3d(0, calc(var(--p, 0) * -110px), 190px) rotate(calc(var(--flip) * -5deg)); }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding-block: 10px; padding-inline: 16px 12px; border-radius: 16px; white-space: nowrap; font-size: 15px; line-height: 1.5;
  background: rgba(16, 22, 40, .78); box-shadow: inset 0 0 0 1px var(--line2), 0 24px 50px -14px rgba(0, 0, 0, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.chip b { display: block; font-weight: 700; }
.chip small { display: block; color: var(--muted); font-size: 13px; }
.chip .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 19px; background: rgba(77, 140, 255, .18); color: #8DB4FF; }
.chip .ok { background: rgba(40, 200, 64, .16); color: #6EE08A; }
.chip .up { background: rgba(255, 122, 47, .18); color: var(--soft); }
.chip-a { top: 9%; inset-inline-end: -5%; transform: translate3d(0, calc(var(--p, 0) * -70px), 120px); }
.chip-b { top: 44%; inset-inline-start: -6%; transform: translate3d(0, calc(var(--p, 0) * -120px), 170px); }
.chip-c { bottom: 9%; inset-inline-start: 12%; transform: translate3d(0, calc(var(--p, 0) * -40px), 90px); }

/* Moving row of restaurant kinds */
.ticker { padding: 90px 0 40px; text-align: center; }
.ticker > p { color: var(--dim); font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.track span { display: flex; align-items: center; gap: 14px; padding-inline: 30px; color: #CDD4E2; font: 700 clamp(22px, 3vw, 34px)/1.6 var(--kufi); white-space: nowrap; }
.track .i { color: var(--orange); }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }
[dir='ltr'] .track { animation-name: marquee-ltr; }

/* Sections */
.sec { position: relative; padding: 120px 0; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 56px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 154, 77, .08); box-shadow: inset 0 0 0 1px rgba(255, 154, 77, .22); color: var(--soft); font-size: 15px; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.38; }
.sub { max-width: 640px; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); }
.ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .i { margin-top: .38em; color: var(--soft); stroke-width: 2.6; }

/* Features: screens that change in 3D while the text scrolls past */
.deck-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.deck-sticky { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.deck-steps { grid-column: 1; grid-row: 1; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; transition: opacity .45s var(--ease); }
.js .step:not(.on) { opacity: .3; }
.step .num { display: flex; align-items: center; gap: 12px; color: var(--soft); font-weight: 700; font-size: 15px; }
.step .num span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 154, 77, .1); box-shadow: inset 0 0 0 1px rgba(255, 154, 77, .25); font: 800 14px/1 var(--latin); }
.step h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
.step > p { color: var(--muted); font-size: 18px; }
.deck-stage { position: relative; aspect-ratio: 16 / 10.4; perspective: 1500px; }
.deck-rot { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc((13deg - var(--pf, 0) * 2deg) * var(--flip))) rotateX(5deg); }
.card3d {
  position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line2), 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(255, 122, 47, .35);
  transform-origin: 50% 100%;
}
.card3d img { height: calc(100% - 34px); object-fit: cover; object-position: top; }
html:not(.js) .card3d + .card3d { display: none; }
.tabs { display: flex; gap: 8px; }
.tab { position: relative; flex: 1; overflow: hidden; padding: 9px 8px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: color .3s, box-shadow .3s; }
.tab::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--grad); transform-origin: calc(50% + var(--flip) * 50%) 50%; transform: scaleX(var(--f, 0)); }
.tab.on { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 154, 77, .35); }

/* QR menu: three phones that stand up and fan out */
.qr-grid, .off-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.qr-copy, .off-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 700; }
.langs .i { color: var(--soft); }
.langs [lang='en'] { font-family: var(--latin); }
.phones { --w: 250px; position: relative; height: 660px; perspective: 1600px; transform-style: preserve-3d; }
.phones .ph {
  --s: 0; --z: 0px;
  left: 50%; top: 50%; width: var(--w); margin: calc(var(--w) * -1.082) 0 0 calc(var(--w) / -2);
  transform:
    translate3d(calc(var(--s) * var(--q, 1) * 82%), calc((1 - var(--q, 1)) * 90px), calc(var(--q, 1) * var(--z)))
    rotateX(calc((1 - var(--q, 1)) * 62deg))
    rotateY(calc(var(--s) * var(--q, 1) * -24deg))
    rotateZ(calc(var(--s) * var(--q, 1) * 5deg));
}
.phones .side-a { --s: 1; --z: -90px; }
.phones .side-b { --s: -1; --z: -90px; }
.phones .mid { --z: 70px; }
.qr-tag {
  position: absolute; bottom: 7%; inset-inline-end: 2%; z-index: 1; display: grid; place-items: center;
  width: 112px; height: 112px; border-radius: 26px; background: #F5F7FB; color: #0B0F1A; font-size: 76px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .06);
  transform: translate3d(calc((1 - var(--q, 1)) * 120px * var(--flip)), calc((1 - var(--q, 1)) * 160px), 150px) rotateY(calc(var(--q, 1) * 24deg * var(--flip))) rotateZ(calc(var(--q, 1) * -8deg * var(--flip)));
}
.qr-tag .i { stroke-width: 1.6; }

/* Offline: the layers pull apart as you scroll */
.layers { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.layers li { display: flex; align-items: center; gap: 14px; }
.layers .tile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); color: #C9D2E4; }
.layers .l1 .tile { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 106, 47, .7); }
.layers b { display: block; font-weight: 700; }
.layers small { display: block; color: var(--muted); font-size: 15px; line-height: 1.6; }
.iso { position: relative; height: 620px; display: grid; place-items: center; perspective: 2600px; }
.iso::before { content: ''; position: absolute; width: 80%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 47, .22), transparent); }
.iso-rig {
  --gap: calc(36px + var(--q, 1) * 92px);
  position: relative; width: 290px; height: 290px; transform-style: preserve-3d;
  transform: translateY(calc(var(--gap) * .7)) rotateX(58deg) rotateZ(calc((-54deg + var(--q, 1) * 14deg) * var(--flip)));
}
.plate {
  --i: 0;
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 34px;
  transform: translateZ(calc(var(--i) * var(--gap)));
  background: linear-gradient(135deg, rgba(40, 54, 86, .94), rgba(14, 20, 36, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 60px -10px rgba(0, 0, 0, .7);
  color: #C9D2E4;
}
.plate .glyphs { display: flex; gap: 22px; font-size: 64px; }
.plate .i { stroke-width: 1.6; }
.p1 { --i: 1; background: linear-gradient(135deg, rgba(255, 181, 71, .96), rgba(255, 90, 40, .94)); color: var(--ink); box-shadow: 0 0 90px -10px rgba(255, 106, 47, .75); }
.p1 .glyphs { font-size: 110px; }
.p2 { --i: 2; }
.p2 .glyphs { font-size: 120px; color: #8DB4FF; }
.beam { position: absolute; left: 50%; top: 50%; width: 3px; height: var(--gap); margin-left: -1.5px; transform-origin: 50% 0; }
.b0 { transform: translateZ(0) rotateX(90deg); background: var(--soft); box-shadow: 0 0 14px var(--orange); }
.b1 { transform: translateZ(var(--gap)) rotateX(90deg); background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 6px, transparent 6px 12px); }
.b0::after { content: ''; position: absolute; left: -3.5px; width: 10px; height: 10px; border-radius: 50%; background: #FFF4E5; box-shadow: 0 0 12px 3px var(--amber); animation: packet 1.8s linear infinite; }
@keyframes packet { from { top: 100%; } to { top: 0%; } }

/* Everything else: cards that lift into place and tilt under the pointer */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
[data-reveal] {
  transform: perspective(1000px) translateY(calc((1 - var(--r, 1)) * 70px)) rotateX(calc((1 - var(--r, 1)) * 26deg + var(--ty, 0deg))) rotateY(var(--tx, 0deg));
  opacity: calc(.15 + var(--r, 1) * .85);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.card {
  position: relative; overflow: hidden; padding: 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--line);
}
.card.wide { grid-column: span 2; }
.card::before, .price::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 154, 77, .16), transparent 55%); }
.card:hover::before, .price:hover::before { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px rgba(255, 154, 77, .3); }
.tile { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; font-size: 24px; color: var(--ink); background: var(--grad); box-shadow: 0 10px 30px -10px rgba(255, 106, 47, .65), inset 0 1px 0 rgba(255, 255, 255, .45); }
.card h3 { margin-bottom: 6px; font-size: 21px; line-height: 1.55; }
.card p { position: relative; color: var(--muted); font-size: 16px; }
.card.wide p { max-width: 34ch; }
.ghost { position: absolute; inset-inline-end: -10px; bottom: -34px; font-size: 150px; color: var(--soft); opacity: .06; }
.ghost .i { stroke-width: 1.2; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 940px; margin-inline: auto; align-items: start; }
.price {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 34px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--line);
}
.price h3 { font-size: 22px; line-height: 1.5; }
.amt { margin-top: 10px; font: 800 clamp(52px, 6.4vw, 76px)/1.05 var(--latin); letter-spacing: -.035em; }
.per { color: var(--soft); font-weight: 700; font-size: 17px; }
.note { margin-top: 8px; color: var(--muted); }
.inc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; color: #D5DBE8; font-weight: 700; }
.price .ticks { margin: 8px 0 22px; }
.price .btn { width: 100%; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hot {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #131B30, #0B101E) padding-box,
    conic-gradient(from var(--ang), #FF7A2F, #FFB547, rgba(92, 84, 255, .9), #FF4D2E, #FF7A2F) border-box;
  box-shadow: 0 30px 90px -30px rgba(255, 106, 47, .55);
  animation: turn 7s linear infinite;
}
@keyframes turn { to { --ang: 360deg; } }
.badge { margin-bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--ink); font-size: 13px; font-weight: 800; }

/* How to start */
.path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.path::before, .path::after { content: ''; position: absolute; top: 29px; inset-inline: 12.5%; height: 2px; background: var(--line2); }
.path::after { background: var(--grad); transform-origin: calc(50% + var(--flip) * 50%) 50%; transform: scaleX(var(--fill, 1)); box-shadow: 0 0 16px rgba(255, 122, 47, .6); }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 700; font-size: 18px; line-height: 1.6; }
.node b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #0E1424; box-shadow: inset 0 0 0 1px var(--line2); font: 800 22px/1 var(--latin); transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease); }
.node.lit b, html:not(.js) .node b { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(255, 106, 47, .7); transform: scale(1.06); }

/* Last call, with the logo turning in 3D */
.cta { position: relative; overflow: clip; padding: 120px 0 140px; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { max-width: 18ch; }
.cta-glow { position: absolute; left: 50%; bottom: -320px; width: 1200px; height: 700px; margin-left: -600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 47, .35), transparent); pointer-events: none; }
.coin-wrap { display: grid; place-items: center; height: 230px; perspective: 900px; }
.coin-float { transform-style: preserve-3d; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.coin { position: relative; width: 168px; height: 168px; transform-style: preserve-3d; transform: rotateX(10deg) rotateY(var(--spin, -18deg)); }
.coin i, .coin .face { position: absolute; inset: 0; border-radius: 22%; }
.coin i { background: linear-gradient(135deg, #3A4A72, #141D33); transform: translateZ(calc(var(--k) * -1.2px)); }
.coin .face { width: 100%; height: 100%; transform: translateZ(.5px); box-shadow: 0 0 80px -10px rgba(255, 122, 47, .55); }
.coin .back { transform: translateZ(-17.5px) rotateY(180deg); }
.number { color: var(--muted); }
.number a { color: var(--text); font: 700 18px/1 var(--latin); text-decoration: none; }

/* Footer */
.foot { padding: 34px 0 110px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.tagline { color: var(--dim); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-inline-start: auto; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.copy { width: 100%; color: var(--dim); font: 500 13px/1.6 var(--latin); }

/* WhatsApp button that stays at the bottom */
.fab {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 55;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 26px;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.3), opacity .25s;
}
.js .fab:not(.show) { opacity: 0; transform: translateY(24px) scale(.5); pointer-events: none; }
.fab:hover { transform: scale(1.07); }

/* Tablets */
@media (max-width: 1000px) {
  .links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-grid, .off-grid { grid-template-columns: minmax(0, 1fr); }
  .qr-copy, .off-copy { align-items: center; text-align: center; }
  .layers, .qr-copy .ticks { text-align: start; }
  .chip-a { inset-inline-end: 0; }
  .chip-b { inset-inline-start: 0; }
}

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; inset-inline: 10px; }
  .nav .btn span { display: none; }
  .nav .btn { width: 40px; padding: 0; }
  .nav { gap: 8px; padding-inline-start: 10px; }
  .brand { gap: 8px; font-size: 16px; }
  .switch a { padding: 6px 8px; font-size: 13px; }
  .hero { padding-top: 116px; }
  .stage { margin-top: 48px; }
  .rig { transform: translateY(calc(var(--p, 0) * -10px)) rotateX(calc((1 - var(--p, 0)) * 20deg)) scale(calc(.94 + var(--p, 0) * .06)); }
  .bar { height: 22px; gap: 5px; padding-inline: 10px; }
  .bar i { width: 7px; height: 7px; }
  .bar span { display: none; }
  .ph-hero { width: 30%; bottom: -26%; }
  .ph { padding: 4px; border-radius: 22px; }
  .ph img { border-radius: 18px; }
  .chip { padding-block: 6px; padding-inline: 10px 8px; gap: 8px; border-radius: 12px; font-size: 12px; }
  .chip small { font-size: 11px; }
  .chip .ic { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; }
  .chip-a { top: -7%; inset-inline-end: 2%; }
  .chip-b { top: auto; bottom: -12%; inset-inline-start: 2%; }
  .chip-c { display: none; }
  .ticker { padding-top: 110px; }
  .sec { padding: 90px 0; }
  .sec-head { margin-bottom: 40px; }

  .deck-grid { display: block; }
  .deck-sticky { top: 62px; z-index: 2; height: auto; gap: 14px; margin-inline: -16px; padding: 12px 16px 16px; background: var(--bg); }
  .deck-sticky::after { content: ''; position: absolute; inset: 100% 0 auto; height: 36px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .deck-rot { transform: rotateY(calc((6deg - var(--pf, 0) * 1deg) * var(--flip))) rotateX(4deg); }
  .card3d { border-radius: 12px; }
  .card3d img { height: calc(100% - 22px); }
  .tab { padding: 7px 4px; font-size: 13px; }
  .step { min-height: 64vh; }
  .step > p { font-size: 16px; }

  .phones { --w: 176px; height: 500px; }
  .qr-tag { width: 76px; height: 76px; border-radius: 18px; font-size: 48px; bottom: 4%; }
  .iso { height: 470px; }
  .iso-rig { width: 210px; height: 210px; --gap: calc(28px + var(--q, 1) * 64px); }
  .plate { border-radius: 26px; }
  .plate .glyphs { font-size: 44px; gap: 14px; }
  .p1 .glyphs { font-size: 80px; }
  .p2 .glyphs { font-size: 86px; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .card.wide { grid-column: auto; }
  .ghost { display: none; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price { padding: 26px; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .path::before, .path::after { top: 30px; bottom: 30px; inset-inline: auto; inset-inline-start: 29px; width: 2px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--fill, 1)); }
  .path::before { transform: none; }
  .node { flex-direction: row; text-align: start; }
  .node b { flex: none; }
  .coin-wrap { height: 190px; }
  .coin { width: 132px; height: 132px; }
  .foot-links { margin-inline-start: 0; }
}

/* English: Latin type is set tighter than Arabic script */
:root[lang='en'] body { line-height: 1.65; }
:root[lang='en'] .display { max-width: 20ch; line-height: 1.04; letter-spacing: -.045em; }
:root[lang='en'] h2 { line-height: 1.12; letter-spacing: -.03em; }
:root[lang='en'] .step h3, :root[lang='en'] .track span { line-height: 1.2; letter-spacing: -.02em; }
:root[lang='en'] .card h3, :root[lang='en'] .price h3 { letter-spacing: -.01em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
