:root {
  --bg: #050505;
  --bg-elev: #0d0d0d;
  --card: #121212;
  --ink: #ffffff;
  --muted: #9a9a9c;
  --gold: #fdb913;
  --gold-soft: #ffd54f;
  --border: rgba(255, 255, 255, 0.08);
  --font: "Urbanist", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --max: 1120px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Proper Arabic / Urdu typography when those locales are active */
html[lang="ar"],
html[lang="ur"],
html[dir="rtl"] {
  font-family: var(--font-ar);
}

html[lang="ar"] body,
html[lang="ur"] body,
html[dir="rtl"] body {
  font-family: var(--font-ar);
  line-height: 1.7;
  letter-spacing: 0;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: 0;
}

html[lang="ar"] .btn,
html[lang="ar"] .nav-pill,
html[lang="ar"] .lang-btn,
html[lang="ar"] .lang-option,
html[lang="ur"] .btn,
html[lang="ur"] .nav-pill,
html[lang="ur"] .lang-btn,
html[lang="ur"] .lang-option,
html[dir="rtl"] .btn,
html[dir="rtl"] .nav-pill,
html[dir="rtl"] .lang-btn,
html[dir="rtl"] .lang-option {
  font-family: var(--font-ar);
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.94);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid rgba(253, 185, 19, 0.55);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(253, 185, 19, 0.22);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-copy {
  display: grid;
  gap: 0.1rem;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
}

.logo-tag {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-pill {
  display: none;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-pill a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.nav-pill a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}

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

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(253, 185, 19, 0.35);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 16px;
  height: 2px;
  background: #fff;
  display: block;
}

.drawer {
  position: fixed;
  z-index: 99;
  inset: 84px 1rem auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.drawer[hidden] {
  display: none;
}

.drawer a {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.drawer a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.25rem;
}

.hero-map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 38%, rgba(253, 185, 19, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 12% 72%, rgba(59, 130, 246, 0.1), transparent 50%),
    linear-gradient(160deg, #0a1218 0%, #050505 45%, #0c0a05 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  animation: grid-drift 28s linear infinite;
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: -40px;
  right: 8%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.45), transparent 70%);
  animation: orb-drift 12s ease-in-out infinite;
}

.orb-b {
  width: 220px;
  height: 220px;
  bottom: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  animation: orb-drift 16s ease-in-out infinite reverse;
}

.orb-c {
  width: 160px;
  height: 160px;
  top: 45%;
  left: 40%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.22), transparent 70%);
  animation: orb-drift 10s ease-in-out infinite 1s;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(5, 5, 5, 0.88)),
    radial-gradient(480px 260px at 75% 35%, rgba(253, 185, 19, 0.1), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.hero.is-ready .reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(253, 185, 19, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.75rem;
  background: rgba(253, 185, 19, 0.06);
  backdrop-filter: blur(8px);
}

.spark {
  color: var(--gold);
  display: inline-block;
  animation: spark-spin 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  max-width: 11ch;
  margin-bottom: 0.7rem;
}

.accent-shine {
  background: linear-gradient(
    110deg,
    #fdb913 0%,
    #ffe08a 35%,
    #fdb913 55%,
    #ffc94d 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-text 4s linear infinite;
}

.lead {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: btn-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

.btn-ghost {
  backdrop-filter: blur(6px);
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.trust li:hover {
  border-color: rgba(253, 185, 19, 0.35);
  background: rgba(253, 185, 19, 0.08);
  transform: translateY(-1px);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(253, 185, 19, 0.5);
  animation: pulse-dot 2.4s ease-out infinite;
}

/* Device screenshots already include bezels — float them with light shadow only */
.phone {
  position: relative;
  width: min(100%, 260px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 24px rgba(253, 185, 19, 0.12));
  will-change: transform;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.phone-lg {
  width: min(100%, 300px);
  margin: 0 auto;
}

.phone-lg img {
  animation: shot-fade 0.35s ease;
}

.hero-phones {
  position: relative;
  height: 380px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  max-width: 360px;
  perspective: 900px;
}

.reveal-phones {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.hero.is-ready .reveal-phones {
  opacity: 1;
  transform: none;
}

.phone-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(253, 185, 19, 0.22);
  box-shadow:
    0 0 40px rgba(253, 185, 19, 0.08),
    inset 0 0 40px rgba(253, 185, 19, 0.04);
  animation: ring-spin 18s linear infinite;
  z-index: 0;
}

.phone-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: ring-spin 28s linear infinite reverse;
}

.phone-pulse {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.28), transparent 70%);
  animation: pulse-ring 3.2s ease-out infinite;
  z-index: 0;
}

.hero-phones .phone-main {
  width: 190px;
  z-index: 3;
  animation: float-y 5.5s ease-in-out infinite;
  translate: calc(var(--px, 0) * 1.1) calc(var(--py, 0) * 1.1);
}

.hero-phones .phone-float {
  position: absolute;
  width: 132px;
  opacity: 0.92;
  filter: brightness(0.92);
  z-index: 2;
}

.hero-phones .phone-back {
  left: 0;
  top: 28px;
  z-index: 1;
  animation: float-y-tilt-l 6.5s ease-in-out infinite;
  translate: calc(var(--px, 0) * 0.55) calc(var(--py, 0) * 0.55);
}

.hero-phones .phone-front {
  right: 0;
  bottom: 20px;
  z-index: 2;
  animation: float-y-tilt-r 7s ease-in-out infinite;
  translate: calc(var(--px, 0) * 0.85) calc(var(--py, 0) * 0.85);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.showcase {
  background: linear-gradient(180deg, #080808, #050505);
}

.showcase-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tab-list {
  display: grid;
  gap: 0.65rem;
}

.tab {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.tab:hover,
.tab.is-active {
  border-color: rgba(253, 185, 19, 0.35);
  background: rgba(253, 185, 19, 0.06);
}

.tab.is-active {
  transform: translateX(4px);
}

.tab strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.tab small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.color-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.25s;
}

.color-icon--lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.25rem;
}

.color-icon--gold {
  color: #ffd54f;
  background: linear-gradient(135deg, #fdb91340, #fdb91314);
  box-shadow: 0 4px 20px #fdb91340;
}

.color-icon--blue {
  color: #60a5fa;
  background: linear-gradient(135deg, #3b82f64d, #3b82f614);
  box-shadow: 0 4px 20px #3b82f640;
}

.color-icon--green {
  color: #4ade80;
  background: linear-gradient(135deg, #22c55e4d, #22c55e14);
  box-shadow: 0 4px 20px #22c55e40;
}

.color-icon--orange {
  color: #fb923c;
  background: linear-gradient(135deg, #f973164d, #f9731614);
  box-shadow: 0 4px 20px #f9731640;
}

.color-icon--purple {
  color: #c084fc;
  background: linear-gradient(135deg, #a855f74d, #a855f714);
  box-shadow: 0 4px 20px #a855f740;
}

.color-icon--cyan {
  color: #22d3ee;
  background: linear-gradient(135deg, #22d3ee4d, #22d3ee14);
  box-shadow: 0 4px 20px #22d3ee40;
}

.service-card:hover .color-icon,
.feature-card:hover .color-icon,
.step-card:hover .color-icon,
.tab:hover .color-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* Gallery — Built for real trips */
.gallery {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050505 0%, #0a0d12 45%, #050505 100%);
}

.gallery-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 15% 20%, rgba(253, 185, 19, 0.12), transparent 60%),
    radial-gradient(520px 280px at 90% 80%, rgba(59, 130, 246, 0.1), transparent 55%);
  pointer-events: none;
}

.gallery-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.gallery-head .section-head {
  margin: 0;
  max-width: 36rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-progress {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: min(100%, 200px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-progress span:first-child {
  color: var(--gold);
}

.gallery-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.gallery-progress-bar {
  height: 100%;
  width: 37.5%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffe08a);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.trips-board {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.trips-stage {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(253, 185, 19, 0.08), transparent 40%),
    linear-gradient(180deg, #12151c, #0b0d12);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.trips-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: 10%;
  left: 12%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: orb-drift 10s ease-in-out infinite;
}

.trips-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 240px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
}

.trips-phone::before {
  content: "";
  position: absolute;
  inset: 8% -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.18), transparent 70%);
  z-index: -1;
  animation: pulse-ring 3.8s ease-out infinite;
}

.trips-phone img {
  width: 100%;
  display: block;
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.trips-phone.is-swapping img {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}

.trips-meta {
  position: relative;
  z-index: 1;
  text-align: center;
}

.trips-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.7rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  background: var(--gold);
}

.trips-meta h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.trips-meta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 auto 1.1rem;
}

.trips-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.trips-points li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trips-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.trips-thumb {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.trips-thumb img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.trips-thumb span {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.trips-thumb:hover {
  border-color: rgba(253, 185, 19, 0.3);
  background: rgba(253, 185, 19, 0.06);
  transform: translateY(-2px);
}

.trips-thumb.is-active {
  border-color: rgba(253, 185, 19, 0.55);
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.16), rgba(253, 185, 19, 0.04));
  box-shadow: 0 10px 28px rgba(253, 185, 19, 0.12);
}

.trips-thumb.is-active span {
  color: #fff;
}

.service-grid,
.feature-grid,
.steps,
.apps-grid {
  display: grid;
  gap: 0.9rem;
}

.service-card,
.feature-card,
.step-card,
.app-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.service-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-card:hover,
.feature-card:hover,
.step-card:hover,
.app-card:hover {
  border-color: rgba(253, 185, 19, 0.28);
  background: rgba(253, 185, 19, 0.04);
  transform: translateY(-2px);
}

.service-card h3,
.feature-card h3,
.step-card h3,
.app-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.service-card p,
.feature-card p,
.step-card p,
.app-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  background: radial-gradient(800px 400px at 50% 0%, rgba(253, 185, 19, 0.08), transparent 60%);
}

.feature-card {
  padding: 1.35rem;
}

.app-card-shot {
  margin: 0 auto 1.1rem;
  max-width: 200px;
  background: transparent;
}

.app-card-shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.app-card-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  min-height: 220px;
}

.app-card-shots img {
  width: 42%;
  max-width: 150px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s;
}

.app-card-shots img:first-child {
  transform: rotate(-6deg) translateY(8px);
  z-index: 1;
}

.app-card-shots img:last-child {
  transform: rotate(5deg);
  z-index: 2;
}

.app-card:hover .app-card-shots img:first-child {
  transform: rotate(-4deg) translateY(0);
}

.app-card:hover .app-card-shots img:last-child {
  transform: rotate(3deg) translateY(-6px);
}

/* Apps showcase — Download the Tawseel experience */
.apps-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050505 0%, #0a0e14 50%, #050505 100%);
}

.apps-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 20% 30%, rgba(253, 185, 19, 0.1), transparent 60%),
    radial-gradient(560px 280px at 85% 70%, rgba(59, 130, 246, 0.08), transparent 55%);
  pointer-events: none;
}

.apps-head {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.apps-showcase {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.app-panel {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #141820, #0b0d12 60%);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.app-panel:hover {
  border-color: rgba(253, 185, 19, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.app-panel--customer {
  background:
    linear-gradient(145deg, rgba(253, 185, 19, 0.1), transparent 42%),
    linear-gradient(165deg, #151820, #0b0d12 65%);
}

.app-panel--rider {
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.1), transparent 42%),
    linear-gradient(165deg, #121820, #0a0c12 65%);
}

.app-panel-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 1rem 0.5rem 0.5rem;
}

.app-panel-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.28), transparent 70%);
  filter: blur(8px);
  animation: orb-drift 9s ease-in-out infinite;
}

.app-panel--rider .app-panel-glow {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 70%);
}

.app-panel-phones {
  position: relative;
  width: min(100%, 280px);
  height: 260px;
  z-index: 1;
}

.app-phone {
  position: absolute;
  width: 58%;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-phone--back {
  left: 0;
  top: 28px;
  transform: rotate(-9deg) scale(0.92);
  opacity: 0.88;
  z-index: 1;
}

.app-phone--front {
  right: 0;
  top: 8px;
  transform: rotate(7deg);
  z-index: 2;
}

.app-panel:hover .app-phone--back {
  transform: rotate(-5deg) translateY(-6px) scale(0.94);
}

.app-panel:hover .app-phone--front {
  transform: rotate(3deg) translateY(-10px);
}

.app-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(253, 185, 19, 0.3);
}

.app-badge--rider {
  background: #60a5fa;
  color: #061018;
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

html[dir="rtl"] .app-badge {
  left: auto;
  right: 8px;
}

.app-panel-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
}

.app-panel-body h3 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 0;
}

.app-panel-body > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
  max-width: 36ch;
}

.app-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0.25rem 0 0.5rem;
}

.app-chips li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-panel--customer .app-chips li {
  border-color: rgba(253, 185, 19, 0.2);
  background: rgba(253, 185, 19, 0.08);
}

.app-panel--rider .app-chips li {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(96, 165, 250, 0.08);
}

.app-panel-body .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.app-panel-cta {
  border-color: rgba(96, 165, 250, 0.45);
}

.app-panel-cta:hover {
  background: rgba(96, 165, 250, 0.12);
}

.gallery--rider {
  background: linear-gradient(180deg, #050505 0%, #0c1018 40%, #080a0e 100%);
}

.gallery-bg--rider {
  background:
    radial-gradient(680px 300px at 80% 15%, rgba(253, 185, 19, 0.14), transparent 60%),
    radial-gradient(480px 260px at 10% 75%, rgba(34, 197, 94, 0.08), transparent 55%);
}

.trips-stage--rider {
  background:
    linear-gradient(145deg, rgba(253, 185, 19, 0.12), transparent 42%),
    linear-gradient(180deg, #141820, #0b0e14);
}

.rider-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.rider-strip figure {
  margin: 0;
  text-align: center;
}

.rider-strip img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s;
}

.rider-strip figure:hover img {
  transform: translateY(-6px);
}

.rider-strip figcaption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 699px) {
  .rider-strip {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rider-strip img {
    max-width: 160px;
  }
}

.app-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.app-card li {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 0.9rem;
  position: relative;
}

.app-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.app-card--alt {
  background: linear-gradient(160deg, rgba(253, 185, 19, 0.08), rgba(255, 255, 255, 0.02));
}

.step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.cta-panel {
  position: relative;
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3.8rem) 1.4rem;
  border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(253, 185, 19, 0.22), transparent 65%),
    #101010;
  border: 1px solid rgba(253, 185, 19, 0.2);
  overflow: hidden;
}

.cta-phones {
  display: none;
  position: absolute;
  inset: auto 0 -40px;
  justify-content: center;
  gap: 1.5rem;
  pointer-events: none;
  opacity: 0.18;
}

.cta-phones img {
  width: 160px;
  border-radius: 20px;
}

.cta-panel h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}

.cta-panel p {
  position: relative;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.4rem;
}

.cta-panel .hero-cta {
  position: relative;
  justify-content: center;
  margin-bottom: 0;
}

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(253, 185, 19, 0.18);
  padding: 0 0 1.75rem;
  background:
    linear-gradient(180deg, #0b0b0b 0%, #070707 100%);
}

.footer-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background: radial-gradient(500px 160px at 50% 0%, rgba(253, 185, 19, 0.14), transparent 70%);
  pointer-events: none;
}

.footer-cta-band {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 2.25rem 0 2.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(253, 185, 19, 0.28);
  background:
    linear-gradient(135deg, rgba(253, 185, 19, 0.12), rgba(255, 255, 255, 0.02) 45%, rgba(59, 130, 246, 0.06)),
    #101010;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.footer-cta-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.footer-cta-band h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.footer-cta-band p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40ch;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.2rem;
}

.footer-blurb {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.footer-chips span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.95rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  margin-bottom: 0.55rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--gold-soft);
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer-made {
  color: rgba(253, 185, 19, 0.75);
  font-weight: 600;
  font-family: var(--font-ar), var(--font);
}

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

@keyframes float-y-tilt-l {
  0%,
  100% {
    transform: rotate(-8deg) translateY(8px);
  }
  50% {
    transform: rotate(-6deg) translateY(0);
  }
}

@keyframes float-y-tilt-r {
  0%,
  100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-10px);
  }
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -18px) scale(1.08);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

@keyframes btn-sheen {
  0%,
  55% {
    transform: translateX(-120%);
  }
  80%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes spark-spin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(18deg) scale(1.15);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 185, 19, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(253, 185, 19, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(253, 185, 19, 0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shot-fade {
  from {
    opacity: 0.35;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .site-header {
    padding: 0.75rem 2rem;
  }

  .nav-pill {
    display: flex;
  }

  .menu-btn,
  .drawer {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding-top: 0.25rem;
  }

  .hero-phones {
    height: 420px;
    max-width: 400px;
  }

  .hero-phones .phone-main {
    width: 210px;
  }

  .hero-phones .phone-float {
    width: 148px;
  }

  .showcase-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }

  .trips-stage {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    padding: 2rem 2.2rem;
    min-height: 420px;
  }

  .trips-phone {
    width: 260px;
    margin: 0;
  }

  .trips-meta {
    text-align: left;
  }

  .trips-meta p {
    margin-left: 0;
  }

  .trips-points {
    justify-content: flex-start;
  }

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

  .footer-cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 1.75rem 1.75rem;
  }

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

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

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

  .apps-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .app-panel {
    grid-template-rows: auto 1fr;
    padding: 1.6rem;
    min-height: 100%;
  }

  .app-panel-visual {
    min-height: 320px;
  }

  .app-panel-phones {
    height: 300px;
    width: min(100%, 300px);
  }

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

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

  .cta-phones {
    display: flex;
  }

  .cta-phones img {
    width: 140px;
  }
}

@media (max-width: 899px) {
  .hero-phones {
    height: 340px;
    max-width: 300px;
  }

  .hero-phones .phone-main {
    width: 170px;
  }

  .hero-phones .phone-float {
    width: 118px;
  }

  .hero-phones .phone-back {
    left: -4px;
  }

  .hero-phones .phone-front {
    right: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .service-card:hover,
  .feature-card:hover,
  .step-card:hover,
  .app-card:hover,
  .footer-col a:hover {
    transform: none;
  }

  .shot:hover,
  .trips-thumb:hover,
  .trust li:hover {
    transform: none;
  }

  .hero-phones .phone-main,
  .hero-phones .phone-float,
  .orb,
  .phone-ring,
  .phone-pulse,
  .accent-shine,
  .btn-shine::after,
  .spark,
  .trust-dot,
  .hero-grid-bg,
  .marker-icon img,
  .route-marker,
  .route-pulse,
  .pin-dot {
    animation: none !important;
  }

  .reveal,
  .reveal-phones {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-btn:hover,
.lang-switch.is-open .lang-btn {
  border-color: rgba(253, 185, 19, 0.45);
  background: rgba(253, 185, 19, 0.1);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-caret {
  opacity: 0.7;
  transition: transform 0.2s;
}

.lang-switch.is-open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 200px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

html[dir="rtl"] .lang-option {
  font-family: var(--font-ar);
}

/* Inline Arabic snippets on Latin pages */
:lang(ar),
.font-ar {
  font-family: var(--font-ar);
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(253, 185, 19, 0.12);
}

.lang-option small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.lang-option strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}


/* Floating map markers + splash radius */
.float-marker {
  position: absolute;
  z-index: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.9;
}

.float-marker img {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  animation: marker-bob 4s ease-in-out infinite;
}

.float-marker--pin img {
  width: 32px;
  height: 32px;
}

.splash {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid rgba(253, 185, 19, 0.55);
  background: rgba(253, 185, 19, 0.12);
  z-index: 1;
  animation: splash-ring 2.8s ease-out infinite;
}

.splash--delay {
  animation-delay: 1.4s;
}

.splash--gold {
  border-color: rgba(253, 185, 19, 0.65);
  background: rgba(253, 185, 19, 0.16);
}

.splash--green {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.12);
}

.hero,
#services,
.gallery,
.features,
.apps-section,
.cta {
  position: relative;
  overflow: hidden;
}

.hero .wrap,
#services .wrap,
.gallery .wrap,
.features .wrap,
.apps-section .wrap,
.cta .wrap,
.hero-grid {
  position: relative;
  z-index: 1;
}

.fm-hero-1 { top: 18%; left: 6%; width: 64px; height: 64px; }
.fm-hero-1 img { width: 46px; height: 46px; }
.fm-hero-2 { top: 58%; left: 42%; width: 52px; height: 52px; animation-delay: 0.6s; }
.fm-hero-2 img { width: 38px; height: 38px; animation-delay: 0.6s; }
.fm-hero-3 { top: 22%; right: 8%; left: auto; width: 48px; height: 48px; }

.fm-svc-1 { top: 12%; right: 4%; left: auto; }
.fm-svc-2 { bottom: 8%; left: 3%; }

.fm-gal-1 { top: 18%; right: 5%; left: auto; }

.fm-ride-1 { top: 14%; left: 4%; }
.fm-ride-2 { bottom: 12%; right: 6%; left: auto; }

.fm-feat-1 { top: 20%; right: 3%; left: auto; }

.fm-apps-1 { top: 10%; left: 5%; }

@keyframes splash-ring {
  0% {
    transform: scale(0.55);
    opacity: 0.85;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    transform: scale(5.2);
    opacity: 0;
  }
}

@keyframes marker-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 899px) {
  .fm-hero-2,
  .fm-svc-2,
  .fm-ride-2,
  .fm-feat-1 {
    display: none;
  }

  .float-marker {
    width: 44px;
    height: 44px;
    opacity: 0.7;
  }

  .float-marker img {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash,
  .float-marker img {
    animation: none !important;
  }
  .splash {
    transform: scale(2.2);
    opacity: 0.25;
  }
}

.marker-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(253, 185, 19, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(253, 185, 19, 0.25);
  box-shadow: 0 8px 24px rgba(253, 185, 19, 0.12);
}

.marker-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  animation: marker-wiggle 3.5s ease-in-out infinite;
}

.marker-icon--user img {
  width: 30px;
  height: 30px;
}

.service-card:hover .marker-icon img {
  animation-duration: 1.2s;
}

@keyframes marker-wiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(6deg); }
}

@media (max-width: 699px) {
  .header-actions .btn-gold {
    display: none;
  }

  .lang-code {
    display: none;
  }

  .route-track {
    gap: 0.4rem;
  }

  .route-marker {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-marker,
  .route-pulse,
  .pin-dot,
  .marker-icon img {
    animation: none !important;
  }
  .route-marker {
    left: 50%;
    transform: translate(-50%, -58%);
  }
  .app-panel:hover {
    transform: none;
  }

  .app-panel:hover .app-phone--back,
  .app-panel:hover .app-phone--front {
    transform: none;
  }

  .app-phone--back {
    transform: rotate(-9deg) scale(0.92);
  }

  .app-phone--front {
    transform: rotate(7deg);
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ─── Legal / Support pages ─── */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(253, 185, 19, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(253, 185, 19, 0.05), transparent 50%),
    #050505;
}

.legal-page .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.legal-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.legal-nav a.is-active {
  color: #050505;
  background: #fdb913;
  font-weight: 600;
}

.legal-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 5.5rem;
}

.legal-aside h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
  color: #fff;
}

.legal-meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
  padding-inline-end: 0.5rem;
}

.legal-toc a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  border-inline-start: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.legal-toc a:hover {
  color: #fdb913;
  background: rgba(253, 185, 19, 0.06);
  border-inline-start-color: #fdb913;
}

.legal-article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.legal-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-article section {
  margin-bottom: 2rem;
  scroll-margin-top: 6rem;
}

.legal-article section:last-child {
  margin-bottom: 0;
}

.legal-article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fdb913;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-article p,
.legal-article li {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-article ul {
  margin: 0.5rem 0 0;
  padding-inline-start: 1.25rem;
}

.legal-article li {
  margin-bottom: 0.55rem;
}

.legal-article li strong {
  color: rgba(255, 255, 255, 0.92);
}

.legal-article a {
  color: #fdb913;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact-card {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.12), rgba(253, 185, 19, 0.03));
  border: 1px solid rgba(253, 185, 19, 0.25);
}

.legal-contact-card p {
  margin: 0.25rem 0;
}

.legal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0 2rem;
  background: transparent;
}

.legal-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.legal-footer a:hover {
  color: #fdb913;
}

.legal-footer-links {
  display: flex;
  gap: 1.25rem;
}

/* Support */
.support-hero {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.support-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.75rem;
  color: #fff;
}

.support-hero p:last-child {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.5rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

a.support-card:hover {
  border-color: rgba(253, 185, 19, 0.4);
  background: rgba(253, 185, 19, 0.06);
  transform: translateY(-2px);
}

.support-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(253, 185, 19, 0.12);
  color: #fdb913;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.support-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.support-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
}

.support-link {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fdb913;
}

.support-faq {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.support-faq h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  text-align: center;
}

.support-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.support-faq summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.support-faq summary::-webkit-details-marker {
  display: none;
}

.support-faq summary::after {
  content: "+";
  color: #fdb913;
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}

.support-faq details[open] summary::after {
  content: "−";
}

.support-faq details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  font-size: 0.95rem;
}

.support-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(253, 185, 19, 0.14), rgba(253, 185, 19, 0.03));
  border: 1px solid rgba(253, 185, 19, 0.22);
}

.support-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #fff;
}

.support-cta p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .legal-toc {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    gap: 0.35rem;
  }

  .legal-toc a {
    border-inline-start: none;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
  }
}

@media (max-width: 899px) {
  .legal-page .site-header {
    flex-wrap: wrap;
    min-height: auto;
    row-gap: 0.65rem;
  }

  .legal-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  .legal-nav::-webkit-scrollbar {
    display: none;
  }

  .legal-nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 699px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-page .header-actions .btn-ghost {
    display: none;
  }
}

[dir="rtl"] .legal-toc a {
  border-inline-start: none;
  border-inline-end: 2px solid transparent;
}

[dir="rtl"] .legal-toc a:hover {
  border-inline-end-color: #fdb913;
}
