/* AwsParc website: one stylesheet for AR (rtl) and FR/EN (ltr), logical properties only.
   Same layout as the Aws Umrah site, with the app's own colours and fonts (src/theme/index.js). */
:root {
  --blue: #2f5bea; --blue-deep: #1f3fc4; --blue-50: #eef2fe; --blue-100: #dce4fc;
  --night: #0f172a; --night-2: #1e293b; --amber: #fdb022; --amber-light: #fdc65a; --amber-deep: #b54708;
  --ink: #0f172a; --ink-2: #334155; --muted: #5b6475; --line: #e2e8f0; --bg: #ffffff; --bg-soft: #f6f8fc;
  --radius: 18px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --font: Inter, "Segoe UI", system-ui, sans-serif; --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-ar: "Noto Sans Arabic", Inter, "Segoe UI", Tahoma, sans-serif; --display-ar: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; }
[lang="ar"] body, body[lang="ar"] { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.ic { flex: none; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
[lang="ar"] h1, [lang="ar"] h2 { font-family: var(--display-ar); font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 12px; }

/* brand lockup: the app's mark + the name (always Latin, as in the app) */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font: 700 1.35rem/1 var(--display); letter-spacing: -.02em; direction: ltr; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--blue); font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .6rem 1.35rem; border-radius: 12px; font: 600 1rem/1 inherit; font-family: inherit; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 91, 234, .65); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--night); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; }
[dir="rtl"] .btn .ic--dir { transform: scaleX(-1); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.nav { display: flex; gap: .25rem; margin-inline-start: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .96rem; padding: .45rem .75rem; border-radius: 10px; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang a { padding: .35rem .6rem; font: 600 .82rem/1.4 var(--font); color: var(--muted); }
.lang a[lang="ar"] { font-family: var(--font-ar); }
.lang a[aria-current="page"] { background: var(--night); color: #fff; }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang a[aria-current="page"]:hover { color: #fff; }
.header-actions .btn { min-height: 42px; padding: .5rem 1rem; font-size: .93rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) 0; background:
  radial-gradient(900px 420px at 85% -10%, rgba(47, 91, 234, .12), transparent 70%),
  radial-gradient(700px 380px at 0% 10%, rgba(253, 176, 34, .12), transparent 70%), var(--bg); }
[dir="rtl"] .hero { background:
  radial-gradient(900px 420px at 15% -10%, rgba(47, 91, 234, .12), transparent 70%),
  radial-gradient(700px 380px at 100% 10%, rgba(253, 176, 34, .12), transparent 70%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; text-align: center; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .92rem; font-family: var(--font-ar); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 1rem; max-width: 28ch; }
[lang="ar"] .hero h1 { line-height: 1.45; max-width: 30ch; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1.4rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .ic { color: var(--blue); }
.hero__visual { position: relative; width: 100%; max-width: 1060px; margin-top: .5rem; }
.browser { background: #fff; border-radius: 16px 16px 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 30px 80px -30px rgba(15, 23, 42, .45); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); direction: ltr; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe5; }
.browser__bar span { margin-inline: auto; font: 500 .75rem/1 var(--font); color: var(--muted); background: #fff; padding: 5px 14px; border-radius: 6px; }
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.float-card { position: absolute; inset-inline-end: -18px; bottom: 56px; display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); text-align: start; }
.float-card .ic-wrap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.float-card strong { display: block; font-size: .95rem; }
.float-card span { font-size: .85rem; color: var(--muted); }
.float-card .bar { height: 6px; border-radius: 3px; background: var(--blue-100); margin-top: 6px; overflow: hidden; }
.float-card .bar i { display: block; height: 100%; width: 43%; background: var(--blue); }

/* numbers */
.numbers { background: var(--night); color: #fff; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbers div { padding: 1.8rem 1rem; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.numbers div:first-child { border-inline-start: 0; }
.numbers strong { display: block; font: 600 2.1rem/1.1 var(--display); color: var(--amber-light); font-variant-numeric: tabular-nums; }
.numbers span { color: #b4c0d3; font-size: .92rem; }

/* sections */
.section { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 72px; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: .8rem; }
.section__head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; }

/* flow (tabs) */
.flow { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.flow__steps { display: grid; gap: .5rem; }
.flow__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .3rem 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid transparent; background: transparent; text-align: start; font: inherit; color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.flow__step:hover { background: #fff; }
.flow__step[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.flow__num { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.flow__step[aria-selected="true"] .flow__num { background: var(--blue); color: #fff; }
.flow__step h3 { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.flow__plan { font: 600 .72rem/1 var(--font); color: var(--amber-deep); background: #fff4e5; padding: .3rem .5rem; border-radius: 999px; }
.flow__step p { color: var(--muted); font-size: .95rem; display: none; }
.flow__step[aria-selected="true"] p { display: block; }
.flow__panel { position: sticky; top: 96px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
/* the driver's phone screen: shown whole, centred on a dark stage */
.shot.is-phone { background: linear-gradient(160deg, var(--night), var(--night-2)); }
.shot.is-phone img { object-fit: contain; object-position: center; padding-block: 18px; }
.shot-note { margin-top: .7rem; font-size: .82rem; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.feature .ic-wrap { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.feature h3 { font-size: 1.08rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: .95rem; }

/* tracking spotlight */
.spot { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; overflow: hidden; }
.spot .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.spot .eyebrow { color: var(--amber-light); }
.spot h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: .8rem; color: #fff; }
.spot__lead { margin-top: 1rem; color: #c3cee0; font-size: 1.08rem; }
.checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .7rem; color: #e6ebf4; }
.checks .ic { color: var(--amber-light); margin-top: .25rem; }
.spot .shot { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.spot__plan { margin-top: 1.4rem; font-size: .9rem; color: #94a3b8; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(47, 91, 234, .45); }
.plan__badge { position: absolute; top: -14px; inset-inline-start: 1.6rem; background: var(--amber); color: var(--night); font: 600 .78rem/1 inherit; font-family: inherit; padding: .45rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; font-weight: 600; }
.plan__price span { color: var(--amber-deep); font-weight: 600; font-size: 1.15rem; }
.plan__limits { display: grid; gap: .35rem; padding: 1rem 0; border-block: 1px solid var(--line); font-size: .95rem; }
.plan__limits b { font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; font-size: .95rem; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .55rem; }
.plan li .ic { color: var(--blue); margin-top: .3rem; }
.plan li.is-plus span { font-weight: 600; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
.pricing-quote { text-align: center; margin-top: 1rem; }

/* faq */
.faq { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-2); }

/* cta */
.cta { background: var(--blue); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; }
.cta p { margin-top: .7rem; color: #dbe4fd; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* footer */
.site-footer { background: var(--night); color: #b4c0d3; padding-block: 56px 28px; margin-top: clamp(64px, 9vw, 112px); }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 .9rem; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d5deeb; }
.site-footer .contact li { display: flex; gap: .55rem; align-items: center; }
.site-footer .contact bdi { direction: ltr; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand b { color: var(--amber-light); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }

/* language chooser (root) */
.chooser { min-height: 100vh; display: grid; place-items: center; background: var(--night); color: #fff; text-align: center; padding: 24px; }
.chooser .brand { color: #fff; font-size: 2.2rem; margin-bottom: 2rem; }
.chooser .brand img { width: 56px; height: 56px; }
.chooser .brand b { color: var(--amber-light); }
.chooser nav { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__panel { position: static; order: -1; }
  .spot .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 72px; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1rem; }
  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .header-actions .btn--ghost { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers div:nth-child(3) { border-inline-start: 0; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .site-footer .grid { grid-template-columns: minmax(0, 1fr); }
  .float-card { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn--primary { display: none; }
  .site-header .brand { font-size: 1.15rem; }
  .site-header .brand img { width: 32px; height: 32px; }
  .hero h1 br { display: none; }
  [lang="ar"] .hero h1 { font-size: 1.9rem; }
}
