/* FAST · TaxiF is now FAST — Qatar landing page
   Palette: night black + FAST gold (from the app icon) + Qatar maroon (#8A1538) + pearl. */
:root {
  --night: #07070a;
  --ink: #0e0e13;
  --ink-2: #15151c;
  --line: rgba(255, 255, 255, .09);
  --text: #f5f3ee;
  --muted: #a9a69f;
  --gold: #ffbf00;
  --gold-2: #ffd54a;
  --gold-3: #ffe9a3;
  --gold-deep: #c99300;
  --maroon: #8a1538;
  --maroon-2: #5c0d25;
  --pearl: #f6f1e7;
  --radius: 22px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-ar: 'Reem Kufi', 'Poppins', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 16px/1.6 var(--font); overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ar, [lang="ar"] { font-family: var(--font-ar); }
.gold {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, #ff9f00);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .06em;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); }
.wrap-narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
  will-change: transform;
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn-gold {
  color: #141006; background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, #f2ad00);
  box-shadow: 0 10px 30px -8px rgba(255, 191, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-gold:hover { box-shadow: 0 16px 40px -8px rgba(255, 191, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 191, 0, .55); }
.btn-wa { color: #fff; background: #1faa59; box-shadow: 0 10px 30px -10px rgba(31, 170, 89, .7); }
.btn-wa:hover { background: #22c063; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- National Day ribbon ---------- */
.ribbon {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 16px 8px 40px; background: var(--maroon); color: #fff; font-size: 14px; font-weight: 600; text-align: center;
}
.ribbon[hidden] { display: none; }
.ribbon-flag {
  position: absolute; left: 0; top: 0; bottom: 0; width: 26px; background: var(--pearl);
  -webkit-mask: conic-gradient(from 225deg at right, #0000, #000 1deg 89deg, #0000 90deg) 50% / 100% 10px;
          mask: conic-gradient(from 225deg at right, #0000, #000 1deg 89deg, #0000 90deg) 50% / 100% 10px;
  width: 22px;
}
.ribbon-ar { opacity: .85; font-weight: 600; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.topbar.scrolled { background: rgba(7, 7, 10, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 191, 0, .35), 0 6px 18px -6px rgba(255, 191, 0, .5); }
.brand-word { font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: -.02em; color: var(--gold); }
.topbar .btn { margin-left: auto; }

/* ---------- hero ---------- */
.hero {
  --px: 0; --py: 0;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(980px, max(720px, 100svh)); margin-top: -72px; padding-top: 72px;
  background:
    radial-gradient(1200px 520px at 70% 108%, rgba(138, 21, 56, .55), transparent 65%),
    radial-gradient(900px 460px at 12% 100%, rgba(138, 21, 56, .35), transparent 70%),
    radial-gradient(700px 420px at 78% 30%, rgba(255, 191, 0, .12), transparent 70%),
    linear-gradient(180deg, #050508 0%, #0b0811 55%, #160a14 100%);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.moon {
  position: absolute; z-index: -1; top: 118px; right: clamp(24px, 9vw, 150px); width: 64px; height: 64px; border-radius: 50%;
  box-shadow: inset -14px 6px 0 0 #f7e8b8; filter: drop-shadow(0 0 22px rgba(255, 233, 163, .55));
  transform: translate(calc(var(--px) * -8px), calc(var(--py) * -6px)) rotate(-18deg);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 36%; width: 60vmax; height: 60vmax; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 191, 0, .10), transparent 60%); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding-top: clamp(36px, 6vh, 72px); padding-bottom: clamp(190px, 25vw, 300px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; color: #e8e4dc;
}
.eyebrow .ar { color: var(--gold-2); font-size: 15px; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 2px #fff3; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--maroon); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.headline { display: grid; margin: 22px 0 22px; font-weight: 900; line-height: .9; }
.h-old {
  position: relative; justify-self: start; font-size: clamp(48px, 8.4vw, 112px); font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px rgba(245, 243, 238, .55); letter-spacing: -.03em;
}
.h-old::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 54%; height: .09em; border-radius: 9px;
  background: linear-gradient(90deg, var(--maroon), var(--gold)); transform-origin: left; transform: scaleX(1);
  box-shadow: 0 0 18px rgba(255, 191, 0, .5);
}
.h-now { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: 0; color: var(--muted); margin: .45em 0 .15em .08em; font-style: italic; }
.h-new {
  position: relative; justify-self: start; font-size: clamp(88px, 15vw, 210px); font-style: italic; font-weight: 900; letter-spacing: -.045em;
  padding-right: .12em; line-height: .86; min-width: 3.2ch;
  background: linear-gradient(100deg, #fff3c4 0%, var(--gold-2) 18%, var(--gold) 52%, #ff9a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 191, 0, .38)) drop-shadow(0 6px 0 rgba(0, 0, 0, .35));
}
.h-new::before { /* speed lines */
  content: ""; position: absolute; right: 100%; top: 26%; width: .9em; height: 48%; margin-right: .05em;
  background: repeating-linear-gradient(180deg, transparent 0 11%, rgba(255, 191, 0, .9) 11% 16%, transparent 16% 33%);
  -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); opacity: .85;
}
.js .h-old::after { animation: strike .7s .55s var(--ease) backwards; }
.js .h-new { animation: fast-in .8s 1.05s var(--ease) backwards; }
.js .h-now { animation: fade-up .6s .85s var(--ease) backwards; }
@keyframes strike { from { transform: scaleX(0); } }
@keyframes fast-in { from { opacity: 0; transform: translateX(-28px) skewX(-8deg); filter: blur(10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.lead { max-width: 33em; font-size: clamp(16px, 1.35vw, 19px); color: #d8d4cc; }
.lead strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.platforms li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #cfcbc3; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.platforms .free { color: #141006; background: var(--gold); border-color: var(--gold); }

/* hero visual: fanned store screenshots */
.hero-visual { position: relative; height: clamp(440px, 46vw, 600px); perspective: 1400px; }
.fan {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px) * 9deg)) rotateX(calc(var(--py) * -7deg));
  transition: transform .4s var(--ease);
}
.shot {
  position: absolute; left: 50%; top: 50%; width: clamp(190px, 17vw, 250px); height: auto; border-radius: 26px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .8s var(--ease), filter .8s var(--ease), opacity .8s; cursor: pointer;
}
.shot[data-pos="0"] { z-index: 3; transform: translate(-50%, -50%) translateZ(60px); }
.shot[data-pos="1"] { z-index: 2; transform: translate(-112%, -46%) rotate(-11deg) translateZ(0); filter: brightness(.62) saturate(.8); }
.shot[data-pos="2"] { z-index: 1; transform: translate(12%, -44%) rotate(10deg) translateZ(-20px); filter: brightness(.55) saturate(.8); }
.shot:not([data-pos]) { transform: translate(-50%, -50%); }
.chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px;
  font-size: 14px; font-weight: 700; color: #fff; background: rgba(20, 18, 26, .72); border: 1px solid rgba(255, 191, 0, .35);
  backdrop-filter: blur(12px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite;
}
.chip .ico { color: var(--gold); }
.chip-a { left: 0; top: 18%; }
.chip-b { right: -2%; top: 52%; animation-delay: -2s; }
.chip-c { left: 6%; bottom: 8%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* skyline + corniche */
.skyline {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 34px; height: clamp(190px, 26vw, 360px); pointer-events: none;
}
.skyline svg { width: 100%; height: 100%; }
.layer-far { transform: translateX(calc(var(--px) * -10px)); transition: transform .5s var(--ease); }
.layer-main { transform: translateX(calc(var(--px) * -22px)); transition: transform .5s var(--ease); }
.flame { transform-box: fill-box; transform-origin: center; animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(.86); opacity: .85; } 70% { transform: scale(1.08); } }
.beacon { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.dhow { transform-box: fill-box; transform-origin: center bottom; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(3px) rotate(1.5deg); } }
.ripples path { stroke-dasharray: 10 14; animation: ripple 6s linear infinite; }
@keyframes ripple { to { stroke-dashoffset: -96; } }
.corniche {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 36px;
  background: linear-gradient(180deg, #0b0a0f, #050506); border-top: 1px solid rgba(255, 191, 0, .18);
}
.lane { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 191, 0, .45) 0 26px, transparent 26px 52px); }
.car { position: absolute; bottom: 8px; left: 0; width: 120px; animation: drive 13s linear infinite; }
.car svg { width: 120px; height: auto; filter: drop-shadow(0 0 14px rgba(255, 191, 0, .45)); }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(calc(100vw + 40px)); } }

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 3; overflow: hidden; background: var(--gold); color: #141006;
  transform: rotate(-1.6deg) scale(1.03); margin: -14px 0 0; box-shadow: 0 20px 50px -20px rgba(255, 191, 0, .55);
}
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: ticker 32s linear infinite; }
.ticker span { font-weight: 900; font-style: italic; font-size: clamp(18px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ticker span.ar { font-style: normal; text-transform: none; font-size: clamp(20px, 2.4vw, 30px); }
.ticker i { font-style: normal; color: var(--maroon); font-size: 18px; }
.ticker b { color: var(--maroon); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 2px; }
.section-head h2, .qatar h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
}
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--maroon), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1s .25s var(--ease); }
.step.in::after, .no-io .step::after { transform: scaleX(1); }
.step-no { position: absolute; right: 18px; top: 6px; font-size: 76px; font-weight: 900; font-style: italic; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 191, 0, .28); }
.step-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 191, 0, .12); color: var(--gold); margin-bottom: 22px; font-size: 22px; }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step p { color: #c9c5bd; }
.step strong { color: #fff; font-weight: 600; }

/* segmented control */
.section-apps { background: radial-gradient(900px 500px at 15% 30%, rgba(138, 21, 56, .22), transparent 70%), var(--ink); }
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; margin-bottom: 44px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.seg button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 150px; height: 50px; padding: 0 22px; border: 0; background: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 16px; color: #d4d0c8; transition: color .3s;
}
.seg button[aria-selected="true"] { color: #141006; }
.seg-thumb {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 8px 24px -8px rgba(255, 191, 0, .7);
  transition: transform .45s var(--ease);
}
.seg[data-active="driver"] .seg-thumb { transform: translateX(100%); }

.panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.js .panel:not([hidden]) { animation: fade-up .55s var(--ease); }
.gallery { min-width: 0; }
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; scrollbar-width: none; cursor: grab; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent);
}
.shots::-webkit-scrollbar { display: none; }
.shots.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.shots figure { flex: none; width: clamp(190px, 21vw, 240px); margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .9); user-select: none; -webkit-user-drag: none; transition: transform .4s var(--ease); }
.shots figure:hover img { transform: translateY(-6px); }
.shots figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: #d2cec6; text-align: center; }
.gallery-nav { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.round:hover { background: rgba(255, 191, 0, .15); border-color: var(--gold); }
.round:active { transform: scale(.94); }
.progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; border-radius: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold)); transition: width .3s, transform .3s; }

.app-id { display: flex; align-items: center; gap: 16px; }
.app-id img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 191, 0, .4), 0 12px 30px -10px rgba(255, 191, 0, .45); }
.app-id h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }
.app-id p { color: var(--muted); font-size: 14px; font-weight: 500; }
.panel-lead { margin: 20px 0 18px; color: #d2cec6; font-size: 17px; }
.feats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #e5e1d9; }
.feats .ico { color: var(--gold); margin-top: 3px; }
.mini-steps { list-style: none; counter-reset: m; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(138, 21, 56, .35); border: 1px solid rgba(255, 255, 255, .12); }
.mini-steps .ico { color: var(--gold-2); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { display: inline-block; border-radius: 10px; transition: transform .25s var(--ease), filter .25s; }
.badge img { height: 50px; width: auto; }
.badge:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 18px rgba(255, 191, 0, .35)); }

/* ---------- Qatar ---------- */
.qatar {
  position: relative; overflow: hidden; color: #fff; padding-block: clamp(90px, 11vw, 150px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M40 8l9 23 23 9-23 9-9 23-9-23-23-9 23-9z'/%3E%3Crect x='24' y='24' width='32' height='32' transform='rotate(45 40 40)'/%3E%3Crect x='24' y='24' width='32' height='32'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(900px 600px at 80% 20%, rgba(255, 191, 0, .14), transparent 60%),
    linear-gradient(135deg, #9a1840, var(--maroon) 45%, var(--maroon-2));
}
.qatar::before { /* the flag's serrated edge: pearl band with nine-point zigzag */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(34px, 5vw, 64px); background: var(--pearl);
  -webkit-mask: conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) 50% / 100% calc(100% / 9);
          mask: conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) 50% / 100% calc(100% / 9);
}
.qatar-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-left: clamp(56px, 8vw, 110px); }
.qatar-copy p { margin-top: 18px; max-width: 34em; color: #f3dfe5; font-size: clamp(16px, 1.35vw, 18px); }
.kicker-pearl { color: var(--pearl); }
.kicker-pearl::before { background: var(--gold); }
.ar-big { font-family: var(--font-ar); font-weight: 700; font-size: clamp(30px, 4.2vw, 52px) !important; color: var(--gold-2) !important; line-height: 1.4; margin-top: 26px !important; text-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.motifs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.motif {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: 20px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background-color .3s;
}
.motif:hover { transform: translateX(-6px); background: rgba(0, 0, 0, .3); }
.motif svg { grid-row: span 2; width: 64px; height: 64px; fill: none; stroke: var(--gold-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.motif h3 { font-size: 19px; font-weight: 700; }
.motif p { color: #f0d9e0; font-size: 14px; }
.sadu { /* Al Sadu weave-inspired band */
  position: absolute; left: 0; right: 0; top: 0; height: 18px; opacity: .9;
  background:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%) 0 0 / 24px 18px,
    linear-gradient(225deg, var(--gold) 25%, transparent 25%) 0 0 / 24px 18px,
    linear-gradient(315deg, var(--pearl) 25%, transparent 25%) 12px 9px / 24px 18px,
    linear-gradient(45deg, var(--pearl) 25%, transparent 25%) 12px 9px / 24px 18px,
    #2b0a15;
}
.sadu-bottom { top: auto; bottom: 0; transform: scaleY(-1); }

/* ---------- get the app: store badges ---------- */
.get { display: flex; align-items: center; gap: 22px; padding: 18px 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.get .badges { flex-wrap: wrap; }
.get.flash { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 191, 0, .25), 0 30px 60px -30px rgba(255, 191, 0, .6); }
.share { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 22px; border: 1px dashed rgba(255, 191, 0, .4); background: rgba(255, 191, 0, .04); }
.share p { font-weight: 600; font-size: 17px; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none;
  align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: rgba(16, 15, 20, .86); border: 1px solid rgba(255, 191, 0, .35); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9); transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta img { width: 40px; height: 40px; border-radius: 11px; }
.sticky-cta div { display: grid; line-height: 1.25; margin-right: auto; }
.sticky-cta b { font-size: 14px; }
.sticky-cta span { font-size: 12px; color: var(--muted); }
.sticky-cta.show { transform: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { height: 430px; margin-top: 10px; }
  .chip-a { left: 2%; } .chip-b { right: 2%; }
  .panel { grid-template-columns: 1fr; }
  .qatar-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .get { padding: 16px; }
  .get .badges { gap: 10px; }
  .get .badge img { height: 46px; }
  .steps { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-grid { padding-bottom: 210px; }
  .hero-visual { height: 380px; }
  .shot { width: 180px; }
  .shot[data-pos="1"] { transform: translate(-100%, -46%) rotate(-10deg); }
  .shot[data-pos="2"] { transform: translate(0%, -44%) rotate(9deg); }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip-c { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .seg { display: grid; width: 100%; }
  .seg button { min-width: 0; }
  .share { flex-direction: column; align-items: stretch; text-align: center; }
  .share-row .btn { flex: 1; }
  .sticky-cta { display: flex; }
  .ribbon { font-size: 12.5px; padding-left: 30px; }
  .ribbon-ar { display: none; }
  .qatar-in { padding-left: clamp(48px, 12vw, 70px); }
  .skyline { height: 190px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .car { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
