@font-face { font-family: "Kufi"; src: url("../fonts/NotoKufiArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Kufi"; src: url("../fonts/NotoKufiArabic-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
  @font-face { font-family: "Kufi"; src: url("../fonts/NotoKufiArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

  :root {
    --bg: #05090c; --bg-2: #0a141b; --charcoal: #0f1f29;
    --panel: rgba(255,255,255,.035); --line: rgba(255,255,255,.09);
    --text: #eef3f5; --muted: #8d9ca6;
    --green: #a4ff00; --green-2: #3cc81e; --green-ink: #0a0a0a;
    --font: "Kufi", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --wrap: 1200px; --slide: -1;
  }
  :root[lang="en"] { --font: "Manrope", system-ui, sans-serif; --slide: 1; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
  .mono { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
  :root[lang="ar"] .mono { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: 13px; }
  .accent { background: linear-gradient(100deg, var(--green) 10%, #7dff3a 55%, var(--green-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  ::selection { background: var(--green); color: var(--green-ink); }
  .chev { width: 34px; height: 30px; flex: none; margin-top: 6px; }
  :root[dir="rtl"] .chev { transform: none; }
  :root[dir="ltr"] .chev { transform: scaleX(-1); }

  /* ---------- nav ---------- */
  .nav { position: sticky; top: 0; z-index: 50; background: rgba(5,9,12,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(164,255,0,.18); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
  .nav .logo img { height: 22px; width: auto; }
  .nav ul { display: flex; gap: 30px; list-style: none; font-size: 15px; color: #c9d3d8; }
  .nav ul a:hover { color: var(--text); }
  .nav ul a.cta { color: var(--green); }
  .lang { display: flex; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
  .lang button { border: 0; background: none; color: var(--muted); font: 600 12px var(--font); padding: 5px 12px; border-radius: 99px; cursor: pointer; }
  .lang button[data-lang="ar"] { font-family: "Kufi", sans-serif; }
  .lang button[data-lang="en"] { font-family: "Manrope", sans-serif; }
  .lang button.on { background: var(--text); color: var(--bg); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; border-radius: 12px; font: 700 16px/1.2 var(--font); cursor: pointer; border: 0; transition: transform .25s, box-shadow .25s; }
  .btn-primary { background: var(--green); color: var(--green-ink); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(164,255,0,.6); }

  /* ---------- hero + form ---------- */
  .hero { padding: 56px 0 72px; background: radial-gradient(60% 70% at 70% 30%, rgba(164,255,0,.07), transparent 60%); }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(54px, 7vw, 92px); line-height: 1.1; font-weight: 700; color: var(--green); }
  .hero h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; font-weight: 700; margin-top: 6px; }
  .hero .lead { display: flex; gap: 14px; margin-top: 22px; font-size: clamp(17px, 1.6vw, 22px); color: #dfe6ea; max-width: 520px; }
  .form-card { background: #000; border: 1px solid rgba(255,255,255,.28); border-radius: 22px; padding: 26px 22px 30px; }
  .form-card h3 { font-size: 30px; font-weight: 400; text-align: center; line-height: 1.4; }
  .form-card .fsub { text-align: center; color: #e2e8eb; font-size: 17px; margin-bottom: 16px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 99px; padding: 3px; margin-bottom: 12px; position: relative; }
  .seg button { position: relative; z-index: 1; background: none; border: 0; color: #111; font: 600 13px var(--font); padding: 9px; cursor: pointer; }
  .seg .knob { position: absolute; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc(50% - 3px); background: var(--green); border-radius: 99px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .seg[data-mode="provider"] .knob { transform: translateX(calc(100% * var(--slide))); }
  form { display: grid; gap: 12px; }
  form .extra { display: none; }
  form[data-mode="provider"] .extra { display: block; }
  input { width: 100%; font: 400 15px var(--font); padding: 12px 14px; border-radius: 4px; border: 1px solid transparent; background: #fff; color: #111; outline: none; text-align: start; }
  input::placeholder { color: #a3a9ad; }
  input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(164,255,0,.3); }
  input.bad { border-color: #ff5a5a; box-shadow: 0 0 0 3px rgba(255,90,90,.25); }
  form .btn { border-radius: 4px; font-size: 20px; padding: 11px; margin-top: 4px; }
  .done { display: none; text-align: center; padding: 26px 0 6px; }
  .done .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; background: var(--green); display: grid; place-items: center; }
  .done .tick svg { width: 30px; stroke: var(--green-ink); stroke-width: 3; fill: none; }
  .done b { display: block; font-size: 22px; }
  .done p { color: var(--muted); }
  .form-card.ok form, .form-card.ok .seg { display: none; }
  .form-card.ok .done { display: block; }

  /* PPF slide: film colours */
  .chap .film { margin-top: 14px; font-size: 14px; color: #c3cfd5; }
  .chap .film b { color: var(--text); font-weight: 600; }
  .swatches { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
  .swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); cursor: pointer; padding: 0; transition: transform .25s, border-color .25s, box-shadow .25s;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 45%), var(--c); }
  .swatches button.matte { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.08), transparent 60%), var(--c); }
  .swatches button.clear { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.6), transparent 45%), linear-gradient(135deg, transparent 46%, rgba(255,255,255,.75) 47% 53%, transparent 54%), var(--c); }
  .swatches button:hover { transform: scale(1.08); }
  .swatches button.on { border-color: var(--green); transform: scale(1.14); box-shadow: 0 0 0 4px rgba(164,255,0,.22); }

  /* services the visitor picks: the service tiles, a check in the corner when selected */
  .pick { border: 0; min-width: 0; margin-top: 4px; }
  .pick legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: #e2e8eb; }
  .svc-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .svc-opt { position: relative; display: grid; justify-items: center; align-content: start; gap: 7px; cursor: pointer; font: 600 12px/1.35 var(--font); color: #9aa7ae; text-align: center; -webkit-tap-highlight-color: transparent; }
  .svc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .svc-opt .tile { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(160deg, #b8f25a, #8ec63a); display: grid; place-items: center; opacity: .45; filter: saturate(.55); transition: opacity .25s, filter .25s, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
  .svc-opt .tile img { width: 66%; height: 66%; object-fit: contain; }
  .svc-opt:hover .tile { opacity: .75; }
  .svc-opt input:checked + .tile { opacity: 1; filter: none; transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 12px 30px -12px rgba(164,255,0,.75); }
  .svc-opt input:checked ~ span { color: var(--text); }
  .svc-opt input:focus-visible + .tile { outline: 2px solid var(--green); outline-offset: 4px; }
  .svc-opt .chk { position: absolute; top: -7px; inset-inline-end: -7px; width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.45); transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
  .svc-opt .chk svg { width: 14px; stroke: #0a0a0a; stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .svc-opt input:checked + .tile .chk { transform: scale(1); }

  /* customers: car brand, searchable list with logos */
  .brand { display: grid; gap: 12px; }
  form[data-mode="provider"] .brand { display: none; }
  .brand-combo { position: relative; }
  .brand-combo input { padding-inline-start: 50px; padding-inline-end: 36px; }
  .brand-combo::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 8px; height: 8px; border: solid #6b7479; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
  .bl { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
  .bl img { max-width: 30px; max-height: 26px; object-fit: contain; }
  .bl b { width: 26px; height: 26px; border-radius: 50%; background: #e7ecef; color: #3a4348; display: grid; place-items: center; font: 700 13px/1 "Manrope", var(--font); }
  .brand-ico { position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
  .brand-ico:empty::before { content: ""; width: 24px; height: 24px; background: #a3a9ad; -webkit-mask: var(--car-ico) center / contain no-repeat; mask: var(--car-ico) center / contain no-repeat; }
  .brand { --car-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11l1.6-4.3A2 2 0 0 1 8.5 5.4h7a2 2 0 0 1 1.9 1.3L19 11h.5A1.5 1.5 0 0 1 21 12.5V17h-2v1.5a1 1 0 0 1-2 0V17H7v1.5a1 1 0 0 1-2 0V17H3v-4.5A1.5 1.5 0 0 1 4.5 11zm2.2 0h9.6l-1.2-3.4a.8.8 0 0 0-.7-.5H9.1a.8.8 0 0 0-.7.5zM6.5 15a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4zm11 0a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4z'/%3E%3C/svg%3E"); }
  .brand-combo ul { display: none; position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 4px); max-height: 290px; overflow-y: auto; overscroll-behavior: contain; list-style: none; padding: 4px; background: #fff; color: #111; border-radius: 8px; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
  .brand-combo.open ul { display: block; }
  .brand-combo li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1.3; }
  .brand-combo li small { margin-inline-start: auto; color: #8a9297; font-size: 12px; }
  .brand-combo li.act { background: #eefad9; }
  .brand-combo li.oth { border-top: 1px solid #e7ecef; margin-top: 4px; padding-top: 9px; }
  .brand .other { display: none; }
  .brand.other-on .other { display: block; }

  /* ---------- about ---------- */
  .about { padding: 20px 0 40px; }
  .about-card { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--charcoal), #07100a); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 340px; }
  .about-card .shot { position: relative; align-self: stretch; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 26px 0; }
  .about-card .shot::before { content: ""; position: absolute; width: 150%; aspect-ratio: 1; left: -25%; top: 50%; transform: translateY(-50%) rotate(45deg); background: linear-gradient(135deg, var(--green), #6fd400); opacity: .9; clip-path: polygon(38% 0, 62% 0, 100% 100%, 76% 100%); }
  .about-card .shot img { position: relative; height: 290px; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(0,0,0,.5)); }
  .about-card .txt { padding: 40px clamp(24px, 4vw, 56px); }
  .about-card h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 700; color: var(--green); line-height: 1.1; margin-bottom: 18px; }
  .about-card .row { display: flex; gap: 14px; font-size: clamp(16px, 1.5vw, 19px); color: #d8e0e4; }
  .about-card .row b { color: var(--green); font-weight: 600; }

  /* ---------- sections ---------- */
  .sec { padding: 90px 0; position: relative; }
  .sec h2.big { font-size: clamp(38px, 5vw, 66px); font-weight: 700; line-height: 1.15; }
  .sec .kicker { font-size: 20px; font-weight: 700; margin-top: 8px; }
  .sec .lead { display: flex; gap: 14px; margin-top: 16px; color: #d0d9de; font-size: 17px; max-width: 860px; }
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }


  .steps3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 36px; }
  .step { border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 26px; background: linear-gradient(120deg, rgba(255,255,255,.04), rgba(0,0,0,.6)); min-height: 200px; }
  .step b { display: block; color: var(--green); font-size: 28px; font-weight: 700; font-family: "Manrope", sans-serif; }
  .step h3 { color: var(--green); font-size: 38px; font-weight: 700; margin: 26px 0 6px; line-height: 1.2; }
  .step p { color: #d3dade; font-size: 14px; }
  .arrow { width: 32px; height: 30px; }
  :root[dir="ltr"] .arrow { transform: scaleX(-1); }

  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
  .pillar { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 24px; background: linear-gradient(120deg, rgba(255,255,255,.04), rgba(0,0,0,.6)); }
  .pillar .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--green); display: grid; place-items: center; }
  .pillar .ic svg { width: 26px; height: 26px; stroke: var(--green-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .pillar h3 { color: var(--green); font-size: 38px; font-weight: 700; margin: 26px 0 4px; line-height: 1.2; }
  .pillar p { color: #d3dade; font-size: 14px; }

  /* ---------- 3D showcase ---------- */
  .show { position: relative; height: min(calc(100svh - 64px), 780px); min-height: 600px; overflow: hidden; background: radial-gradient(60% 55% at 50% 60%, #10202a, var(--bg)); }
  #gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .show::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 85% 80% at 50% 50%, transparent 55%, rgba(3,6,8,.8)); }
  .show .loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: var(--muted); transition: opacity .6s; }
  .show .loading i { display: block; width: 180px; height: 2px; background: rgba(255,255,255,.1); margin: 10px auto 0; overflow: hidden; }
  .show .loading i b { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
  .show.ready .loading { opacity: 0; pointer-events: none; }
  .chap { position: absolute; z-index: 2; top: 50%; inset-inline-start: max(24px, calc((100vw - var(--wrap)) / 2)); width: min(440px, 40vw); --o: 0; opacity: var(--o); visibility: hidden; pointer-events: none; transform: translate(calc((1 - var(--o)) * 40px * var(--slide) * -1), -50%); }
  .chap::before { content: ""; position: absolute; inset: -70px -90px; z-index: -1; background: radial-gradient(closest-side, rgba(5,9,12,.82), rgba(5,9,12,.5) 55%, transparent); }
  .chap .num { color: var(--green); }
  .chap h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; line-height: 1.25; margin: 8px 0 12px; }
  .chap p { color: #c3cfd5; font-size: 16px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .chips span { border: 1px solid var(--line); background: rgba(255,255,255,.05); border-radius: 99px; padding: 4px 14px; font-size: 13px; color: #d6dfe4; }
  .gauge { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
  .gauge .gt { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
  .gauge .gt i { display: block; height: 100%; width: 0; background: var(--green); }
  .gauge .gtxt { color: var(--green); min-width: 120px; display: flex; gap: 8px; }
  .hud { position: absolute; z-index: 3; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
  .hud div { width: 92px; cursor: pointer; }
  .hud span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; text-align: center; white-space: nowrap; transition: color .3s; }
  .hud div:hover span, .hud div.on span { color: var(--green); }
  .hud b { display: block; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
  .hud b i { display: block; height: 100%; width: 0; background: var(--green); }
  .player { position: absolute; z-index: 3; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
  .player button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5,9,12,.55); color: var(--text); display: grid; place-items: center; cursor: pointer; }
  .player button:hover { border-color: var(--green); color: var(--green); }
  .player svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .player .pl { display: none; fill: currentColor; }
  /* in Arabic the row runs right-to-left: "previous" sits on the right, so its chevron must point right and "next" must point left */
  :root[dir="rtl"] .player [data-step] svg { transform: scaleX(-1); }
  .player .paused .pz { display: none; } .player .paused .pl { display: block; }

  .chap .reg { margin-top: 20px; }
  .show { touch-action: pan-y; cursor: grab; user-select: none; }
  .show.dragging { cursor: grabbing; }
  /* finger hint: swipe left / right to change the slide */
  .swipe-hint { position: absolute; z-index: 3; bottom: 128px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; color: var(--muted); pointer-events: none; transition: opacity .6s; }
  .swipe-hint.gone { opacity: 0; }
  .swipe-hint .hand { position: relative; width: 120px; height: 58px; }
  .swipe-hint .trail { position: absolute; top: 12px; left: 22px; right: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(164,255,0,.85), transparent); opacity: .5; }
  .swipe-hint svg { position: absolute; top: 0; left: 50%; width: 40px; margin-left: -14px; animation: swipeX 2.4s cubic-bezier(.45,0,.2,1) infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }
  @keyframes swipeX { 0%, 100% { transform: translateX(-34px); } 45%, 55% { transform: translateX(34px); } }
  @media (max-width: 760px) { .swipe-hint { bottom: auto; top: 90px; } }

  /* ---------- faq + footer ---------- */
  .faq { max-width: 820px; margin: 30px auto 0; }
  details { border-bottom: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-family: var(--mono); color: var(--green); font-size: 22px; transition: transform .3s; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { color: var(--muted); padding-bottom: 22px; }
  footer { border-top: 1px solid rgba(164,255,0,.25); padding: 28px 0 34px; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #d3dade; }
  footer img { height: 22px; width: auto; }

  @media (max-width: 1000px) {
    .hero .wrap, .about-card { grid-template-columns: 1fr; }
    .about-card .shot { height: 300px; order: 2; }
    .about-card .shot img { height: 250px; }
    .steps3 { grid-template-columns: 1fr; }
    .steps3 .arrow { transform: rotate(-90deg); margin: 0 auto; }
    .pillars { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .nav ul { display: none; }
    .hero { padding-top: 34px; }
    .chap { top: auto; bottom: 118px; left: 16px; right: 16px; width: auto; transform: translateY(calc((1 - var(--o)) * 40px)); background: rgba(5,9,12,.78); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
    .chap::before { display: none; }
    .chap h2 { font-size: 24px; margin: 2px 0 4px; }
    .chap p { font-size: 14px; }
    .chap .chips { display: none; }
    .chap .gauge { margin-top: 10px; }
    .chap .reg { margin-top: 12px; padding: 9px 18px; font-size: 15px; }
    .chap .film { margin-top: 8px; font-size: 13px; }
    .swatches { gap: 8px; margin-top: 6px; }
    .swatches button { width: 26px; height: 26px; }
    .hud div { width: 54px; }
    .hud span { font-size: 10px; }
    .show { height: calc(100svh - 64px); }
  }
  @media (max-width: 520px) {
    .pillars { grid-template-columns: 1fr; }
    .step h3, .pillar h3 { font-size: 30px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
  }
