/*------------------------------------------------------------------
  WashTrack — marketing page
  -----------------------------------------------------------------
  Deliberately NOT the usual SaaS template (split hero + mock laptop +
  three feature cards). The page is built from the car wash itself:

    hero      a wash tunnel cars actually drive through, an LED ticker
    journey   one car, five stations, driven by the scroll
    features  a wash price board
    roles     dashboards seen through a windshield, with a wiper
    loyalty   a tilting membership card
    close     the pitch printed as a wash receipt

  Self-contained: loads only washtrack-brand.css for the logo.
-------------------------------------------------------------------*/

:root {
    --ink: #111111;
    --navy: #1A1A1A;
    --navy-2: #2A2A2A;
    --blue: #E85A16;
    --blue-2: #F06A2A;
    --sky: #F9B48A;
    --foam: #FFEBDC;
    --cyan: #FF9F5A;
    --led: #fbbf24;
    --paper: #f5f8fd;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #5b6b86;
    --line: #e3e9f3;
    --ok: #10b981;

    --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --r: 22px;
    --wrap: min(1200px, calc(100% - 40px));
}

html[dir="rtl"] {
    --f-display: 'IBM Plex Sans Arabic', 'Bricolage Grotesque', sans-serif;
    --f-text: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--f-text);
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.05; letter-spacing: -.03em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--f-mono);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
}
.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff 0 20%, var(--blue-2) 45%);
    box-shadow: 0 0 0 4px rgba(240, 106, 42, .15);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-family: var(--f-text); font-weight: 600; }
.on-dark .eyebrow { color: var(--sky); }

.sec-title { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-top: 1rem; max-width: 18ch; }
.sec-lede { margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); max-width: 56ch; }
.on-dark .sec-lede { color: #BDBDBD; }

/* --- buttons ------------------------------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    height: 54px;
    padding: 0 1.6rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: .98rem;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
}
.btn .mdi { font-size: 1.2rem; }
.btn-blue {
    color: #fff;
    background: linear-gradient(135deg, #F06A2A, #E85A16 55%, #C94A0F);
    box-shadow: 0 14px 30px -12px rgba(232, 90, 22, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
/* A squeegee of light wipes across on hover */
.btn-blue::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 30%;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: inset-inline-start .6s var(--ease);
}
.btn-blue:hover::after { inset-inline-start: 120%; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(232, 90, 22, .9); }
.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-line { color: var(--text); background: #fff; border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--sky); color: var(--blue); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 1.05rem; border-radius: 12px; font-size: .88rem; }

/*------------------------------------------------------------------
  Nav — a floating capsule
-------------------------------------------------------------------*/
.nav {
    position: fixed;
    top: 14px;
    inset-inline: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.nav-in {
    pointer-events: auto;
    width: min(1200px, calc(100% - 24px));
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem .5rem .5rem 1rem;
    border-radius: 20px;
    background: rgba(17, 17, 17, .55);
    border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    transition: background .4s, box-shadow .4s, border-color .4s;
}
html[dir="rtl"] .nav-in { padding: .5rem 1rem .5rem .5rem; }
.nav.is-light .nav-in {
    background: rgba(255, 255, 255, .85);
    border-color: var(--line);
    box-shadow: 0 14px 40px -20px rgba(26, 26, 26, .35);
}
.nav-logo { display: inline-flex; flex: 0 0 auto; }
.nav .wt-word { color: #fff; transition: color .3s; }
.nav.is-light .wt-word { color: var(--navy); }
.nav:not(.is-light) .wt-word .t { color: var(--wt-orange, #E85A16); }
.nav:not(.is-light) .wt-mark .ring-b .layer { stroke: #fff; }
.nav-links { display: flex; gap: .25rem; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a {
    display: block;
    padding: .55rem .85rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
    transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav.is-light .nav-links a { color: var(--muted); }
.nav.is-light .nav-links a:hover { background: #FFF1E8; color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.lang {
    display: inline-flex;
    padding: 3px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}
.lang a { padding: .35rem .65rem; border-radius: 8px; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.lang a.on { background: #fff; color: var(--navy); }
.nav.is-light .lang { background: #f1f5fb; border-color: var(--line); }
.nav.is-light .lang a { color: var(--muted); }
.nav.is-light .lang a.on { background: var(--navy); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-size: 1.5rem; }
.nav.is-light .burger { color: var(--navy); }
.sheet {
    position: fixed;
    inset: 0;
    z-index: 49;
    padding: 6rem 1.5rem 2rem;
    background: rgba(17, 17, 17, .97);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.sheet.open { opacity: 1; visibility: visible; }
.sheet a:not(.btn) { padding: 1rem .25rem; font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sheet .btn { margin-top: 1.5rem; }

@media (max-width: 960px) {
    .nav-links, .nav-actions .btn, .nav-actions .lang { display: none; }
    .burger { display: inline-flex; align-items: center; justify-content: center; }
    .nav-actions { margin-inline-start: auto; }
}

/*------------------------------------------------------------------
  Hero — the wash tunnel
-------------------------------------------------------------------*/
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 7.25rem 0 0;
    background:
        radial-gradient(1100px 520px at 50% -10%, rgba(232, 90, 22, .55), transparent 65%),
        radial-gradient(600px 400px at 90% 60%, rgba(255, 159, 90, .14), transparent 70%),
        linear-gradient(180deg, var(--ink) 0%, var(--navy) 70%, #2A1A10 100%);
    color: #fff;
    text-align: center;
}
/* Caustic light, like sun through water on a wet floor */
.hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;
    background:
        radial-gradient(closest-side, rgba(249, 180, 138, .12), transparent) 10% 20% / 380px 260px,
        radial-gradient(closest-side, rgba(255, 159, 90, .1), transparent) 70% 30% / 460px 300px,
        radial-gradient(closest-side, rgba(249, 180, 138, .08), transparent) 40% 70% / 520px 340px;
    background-repeat: no-repeat;
    animation: caustic 18s ease-in-out infinite alternate;
}
@keyframes caustic {
    to { transform: translate3d(4%, -3%, 0) rotate(4deg) scale(1.05); }
}

.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubbles span {
    position: absolute;
    bottom: -60px;
    left: var(--x);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(249, 180, 138, .12) 45%, rgba(249, 180, 138, .04) 70%);
    border: 1px solid rgba(252, 210, 182, .25);
    animation: rise var(--d) linear var(--delay) infinite;
}
@keyframes rise {
    0% { transform: translate(0, 0) scale(.6); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(18px, -45vh) scale(1); }
    100% { transform: translate(-10px, -95vh) scale(1.1); opacity: 0; }
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem .4rem .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .85rem;
    font-weight: 600;
    color: #FDE5D4;
}
html[dir="rtl"] .hero-chip { padding: .4rem .45rem .4rem .9rem; }
.hero-chip i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #F06A2A, #FF9F5A);
    font-style: normal;
}
.hero h1 {
    margin: 1.4rem auto 0;
    font-size: clamp(2.7rem, 7.2vw, 6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .95;
}
html[dir="rtl"] .hero h1 { line-height: 1.2; letter-spacing: 0; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 {
    display: block;
    background: linear-gradient(100deg, #F9B48A 0%, #FFEBDC 35%, #FF9F5A 60%, #F06A2A 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-lede { margin: 1.2rem auto 0; max-width: 58ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #C8C8C8; }
.hero-cta { margin-top: 1.7rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

/* the stage */
.tunnel {
    position: relative;
    margin: 1.25rem auto 0;
    width: min(1280px, 100%);
}
.tunnel svg { width: 100%; height: auto; overflow: visible; }
.t-car { animation: drive 10.5s linear infinite; }
.t-car.c2 { animation-delay: -3.5s; }
.t-car.c3 { animation-delay: -7s; }
@keyframes drive {
    0% { transform: translateX(-220px); }
    100% { transform: translateX(1320px); }
}
html[dir="rtl"] .tunnel svg { transform: scaleX(-1); }
.t-bob { animation: bob .32s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-1.4px); } }
.t-rim { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.t-brush { animation: brush .3s linear infinite; }
.t-brush.rev { animation-direction: reverse; }
@keyframes brush { to { stroke-dashoffset: 14; } }
.t-rain { animation: rain .55s linear infinite; }
@keyframes rain { to { stroke-dashoffset: -26; } }
.t-light { animation: blink 1.6s ease-in-out infinite; }
.t-light:nth-of-type(2n) { animation-delay: -.8s; }
@keyframes blink { 50% { opacity: .25; } }
.t-foam { transform-box: fill-box; transform-origin: center; animation: foam 2.2s ease-in-out infinite; }
.t-foam:nth-of-type(3n) { animation-delay: -.7s; }
.t-foam:nth-of-type(3n+1) { animation-delay: -1.4s; }
@keyframes foam { 50% { transform: scale(1.25) translateY(-3px); } }

/* receipts printing out of the exit */
.slips { position: absolute; inset-inline-end: 3%; top: 4%; display: grid; gap: .45rem; justify-items: end; }
.slip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    color: var(--navy);
    font-family: var(--f-mono);
    font-size: .74rem;
    font-weight: 500;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5);
    opacity: 0;
    animation: slip 10.5s var(--ease) infinite;
}
.slip i { color: var(--ok); font-size: .95rem; }
.slip:nth-child(2) { animation-delay: .35s; }
.slip:nth-child(3) { animation-delay: .7s; }
@keyframes slip {
    0%, 52% { opacity: 0; transform: translateY(10px) scale(.96); }
    58%, 86% { opacity: 1; transform: none; }
    94%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* LED ticker */
.ticker {
    position: relative;
    margin-top: -1px;
    border-block: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(rgba(251, 191, 36, .07) 1px, transparent 1.3px) 0 0 / 6px 6px,
        #0D0D0D;
    overflow: hidden;
    padding: .9rem 0;
}
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
html[dir="rtl"] .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding-inline-end: 1.2rem;
    font-family: var(--f-mono);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--led);
    text-shadow: 0 0 8px rgba(251, 191, 36, .6);
    white-space: nowrap;
}
html[dir="rtl"] .ticker span { font-family: var(--f-text); letter-spacing: 0; }
.ticker span::after { content: "◆"; font-size: .6rem; color: #F58A4E; text-shadow: 0 0 8px rgba(245, 138, 78, .8); }
@keyframes tick { to { transform: translateX(-50%); } }

/*------------------------------------------------------------------
  Journey — scroll drives the car
-------------------------------------------------------------------*/
.journey { position: relative; height: 460vh; background: var(--paper); }
.journey-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding-top: 4.5rem;
}
.journey-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.journey-head .sec-title { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 20ch; }
.journey-hint { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.journey-hint i { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* the road with stations */
.road { position: relative; height: 54px; }
.road-line {
    position: absolute;
    inset-inline: 0;
    top: 34px;
    height: 4px;
    border-radius: 4px;
    background: repeating-linear-gradient(90deg, #cbd5e1 0 18px, transparent 18px 30px);
}
.road-fill {
    position: absolute;
    inset-inline-start: 0;
    top: 34px;
    height: 4px;
    border-radius: 4px;
    width: calc(var(--p, 0) * 100%);
    background: linear-gradient(90deg, #FF9F5A, #E85A16);
    box-shadow: 0 0 12px rgba(232, 90, 22, .5);
}
.road-stop {
    position: absolute;
    top: 26px;
    inset-inline-start: var(--at);
    width: 20px;
    height: 20px;
    margin-inline-start: -10px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #cbd5e1;
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.road-stop.on { border-color: var(--blue); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(232, 90, 22, .14); }
.road-stop b {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .74rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}
.road-stop.on b { color: var(--blue); }
.road-car {
    position: absolute;
    top: 0;
    inset-inline-start: calc(var(--p, 0) * 100%);
    margin-inline-start: -22px;
    transition: inset-inline-start .1s linear;
}
.road-car i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #F06A2A, #C94A0F);
    box-shadow: 0 10px 20px -8px rgba(232, 90, 22, .8);
}
html[dir="rtl"] .road-car i { transform: scaleX(-1); }

.journey-track { display: flex; gap: 1.5rem; will-change: transform; padding-inline-start: max(20px, calc((100vw - 1200px) / 2)); }
.step {
    flex: 0 0 min(760px, 82vw);
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.75rem;
    align-items: center;
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -40px rgba(26, 26, 26, .35);
    opacity: .45;
    transform: scale(.96);
    transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.step.on { opacity: 1; transform: none; box-shadow: 0 40px 80px -40px rgba(232, 90, 22, .45); }
.step-n { font-family: var(--f-mono); font-size: .8rem; color: var(--blue); font-weight: 500; }
.step-k { display: inline-block; margin-top: .4rem; padding: .25rem .65rem; border-radius: 8px; background: #FFF1E8; color: var(--blue); font-weight: 700; font-size: .8rem; }
.step h3 { margin-top: .9rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.step p { margin-top: .7rem; color: var(--muted); font-size: .97rem; }

/* step mock-ups */
.mock {
    position: relative;
    min-height: 250px;
    border-radius: 20px;
    padding: 1.15rem;
    background: linear-gradient(160deg, #f1f6ff, #e8f0fe);
    border: 1px solid #F6DFD0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
    overflow: hidden;
}
.plate {
    align-self: center;
    display: grid;
    grid-template-columns: auto 1fr;
    width: 230px;
    border: 3px solid var(--navy);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 22px -12px rgba(26, 26, 26, .5);
    direction: ltr;
}
.plate-side { grid-row: span 2; width: 32px; background: var(--navy); color: #fff; font-size: .55rem; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.plate-side i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #FF9F5A, #E85A16); }
.plate-row { display: flex; justify-content: space-around; padding: .3rem .4rem; font-family: var(--f-mono); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.plate-row + .plate-row { border-top: 2px solid var(--navy); font-family: 'IBM Plex Sans Arabic', sans-serif; }
.search-row { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.search-row .caret { width: 2px; height: 16px; background: var(--blue); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hit { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; background: #fff; border-radius: 12px; border: 1px solid #c7f0de; box-shadow: 0 10px 20px -16px rgba(16, 185, 129, .8); font-size: .85rem; }
.hit .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #F06A2A, #FF9F5A); color: #fff; font-weight: 800; }
.hit b { display: block; font-size: .88rem; }
.hit small { color: var(--muted); }
.hit .ok { margin-inline-start: auto; color: var(--ok); font-size: 1.25rem; }

.pkg { display: flex; align-items: center; gap: 1rem; padding: .9rem; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.ring { --v: 70; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--v) * 1%), #e2e8f0 0); flex: 0 0 auto; }
.ring span { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--navy); }
.pkg b { display: block; }
.pkg small { color: var(--muted); }
.pts { display: flex; gap: .6rem; }
.pts div { flex: 1; padding: .7rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pts b { font-family: var(--f-display); font-size: 1.35rem; color: var(--navy); display: block; line-height: 1.1; }
.pts small { color: var(--muted); font-size: .75rem; }
.claim { display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-weight: 700; font-size: .84rem; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips span { padding: .45rem .75rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.chips span.sel { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 16px -10px rgba(232, 90, 22, .9); }
.mock-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[dir="rtl"] .mock-label { font-family: var(--f-text); letter-spacing: 0; }
.team { display: flex; }
.team i { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-inline-end: -8px; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; }
.mock .go { align-self: stretch; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #F06A2A, #C94A0F); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .88rem; }

.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.stamps i {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed #F2C3A4;
    display: grid;
    place-items: center;
    font-style: normal;
    color: #fff;
    font-size: 1.1rem;
}
.stamps i.f { border: 0; background: radial-gradient(circle at 30% 30%, #F58A4E, #C94A0F); box-shadow: 0 6px 12px -6px rgba(232, 90, 22, .8); animation: stamp .5s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms); }
.step.on .stamps i.f { animation-play-state: running; }
@keyframes stamp { from { transform: scale(0) rotate(-40deg); } }
.tierbar { height: 10px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.tierbar span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #f59e0b); }

.bars { display: flex; align-items: flex-end; gap: .9rem; height: 160px; padding: 0 .4rem; border-bottom: 2px solid #cbd5e1; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; height: 100%; justify-content: flex-end; }
.bars span { width: 100%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #F58A4E, #E85A16); height: var(--h); transform-origin: bottom; transition: transform .9s var(--ease); transform: scaleY(.15); }
.step.on .bars span { transform: none; }
.bars small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.bars em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; color: var(--navy); font-weight: 700; }

/* Without room (or motion) for the ride, the journey is a plain list. */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
    .journey { height: auto; padding: 5rem 0 3rem; }
    .journey-sticky { position: static; height: auto; overflow: visible; padding: 0; }
    .road, .journey-hint { display: none; }
    .journey-track { flex-direction: column; padding: 0; width: var(--wrap); margin-inline: auto; transform: none !important; }
    .step { flex: none; grid-template-columns: 1fr; opacity: 1; transform: none; padding: 1.35rem; }
    .stamps i.f { animation: none; }
    .bars span { transform: none; }
}

/*------------------------------------------------------------------
  Features — the wash price board
-------------------------------------------------------------------*/
.board-sec {
    padding: 7rem 0;
    background:
        radial-gradient(800px 400px at 15% 0%, rgba(232, 90, 22, .35), transparent 70%),
        var(--ink);
    color: #fff;
}
.board-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
.board {
    position: relative;
    margin-top: 3.5rem;
    padding: 2.5rem;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)),
        #151515;
    border: 1px solid rgba(249, 180, 138, .16);
    box-shadow: inset 0 0 80px rgba(232, 90, 22, .12), 0 40px 90px -40px rgba(0, 0, 0, .8);
}
/* screws */
.board::before, .board::after {
    content: "";
    position: absolute;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #64748b, #1e293b);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.board::before { left: 16px; }
.board::after { right: 16px; }
.board-title {
    text-align: center;
    font-family: var(--f-mono);
    letter-spacing: .5em;
    font-size: .9rem;
    color: var(--led);
    text-shadow: 0 0 10px rgba(251, 191, 36, .7);
    margin-bottom: 2rem;
}
html[dir="rtl"] .board-title { letter-spacing: 0; font-family: var(--f-text); font-weight: 700; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 2.25rem; }
.board-col h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding-bottom: .85rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid rgba(249, 180, 138, .25);
    font-size: 1.15rem;
    letter-spacing: -.01em;
}
.board-col h3 i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #F06A2A, #FF9F5A);
    font-size: 1.1rem;
}
.board-col ul { list-style: none; margin: 0; padding: 0; }
.board-col li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .55rem 0;
    font-size: .92rem;
    color: #E6E6E6;
}
.board-col li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgba(249, 180, 138, .25); transform: translateY(-4px); min-width: 12px; }
.board-col li em {
    order: 2;
    font-style: normal;
    font-family: var(--f-mono);
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #FFC08A;
}
html[dir="rtl"] .board-col li em { font-family: var(--f-text); letter-spacing: 0; font-size: .74rem; }
.board-col li span { order: 0; }

@media (max-width: 1000px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
    .board-head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .board { padding: 1.75rem 1.25rem; }
    .board-grid { grid-template-columns: 1fr; }
}

/*------------------------------------------------------------------
  Roles — through the windshield
-------------------------------------------------------------------*/
.roles-sec { padding: 7rem 0; }
.roles-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.roles-head .sec-title { max-width: 20ch; }
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.25rem; }
.role-tabs button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: .9rem;
    color: var(--muted);
    transition: all .25s var(--ease);
}
.role-tabs button:hover { color: var(--blue); border-color: var(--sky); }
.role-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 12px 24px -14px rgba(26, 26, 26, .8); }

.car-front { position: relative; margin: 2.5rem auto 0; width: min(980px, 100%); }
.windshield {
    position: relative;
    padding: 14px;
    border-radius: 34px 34px 24px 24px;
    background: linear-gradient(180deg, #1e293b, #1A1A1A);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
    box-shadow: 0 50px 90px -50px rgba(26, 26, 26, .8);
}
.glass {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 2.25rem 12% 3.25rem;
    border-radius: 24px 24px 14px 14px;
    clip-path: polygon(6.4% 0, 93.6% 0, 100% 100%, 0 100%);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .5) 0 18%, transparent 18.5% 30%, rgba(255, 255, 255, .25) 30.5% 33%, transparent 33.5%),
        linear-gradient(180deg, #FFF0E6, #FFFAF6);
}
.mirror {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 34px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #1A1A1A;
    z-index: 3;
}
.mirror::after { content: ""; position: absolute; inset: 6px 10px; border-radius: 0 0 10px 10px; background: linear-gradient(135deg, #334155, #64748b); }
.wiper {
    position: absolute;
    bottom: 10px;
    left: 16%;
    width: 40%;
    height: 5px;
    border-radius: 6px;
    background: #1A1A1A;
    transform-origin: 0 50%;
    transform: rotate(-2deg);
    z-index: 4;
}
.wiper.r { left: 54%; }
.wiper.sweep { animation: wipe .9s var(--ease); }
.wiper.r.sweep { animation-delay: .06s; }
@keyframes wipe {
    0%, 100% { transform: rotate(-2deg); }
    45% { transform: rotate(-150deg); }
}
.dash { display: grid; gap: 1rem; transition: opacity .3s; }
.dash.fade { opacity: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dash-top b { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy); display: flex; align-items: center; gap: .5rem; }
.dash-top b i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #F06A2A, #C94A0F); color: #fff; font-size: 1.15rem; }
.dash-top > span { font-family: var(--f-mono); font-size: .72rem; color: var(--ok); display: inline-flex; align-items: center; gap: .35rem; }
.dash-top > span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.kpi { padding: .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.kpi small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.kpi i { display: block; margin-top: .55rem; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #FCD2B6, #e2e8f0); width: var(--w); }
.kpi:first-child { background: linear-gradient(135deg, #F06A2A, #C94A0F); border: 0; }
.kpi:first-child small { color: #FDE5D4; }
.kpi:first-child i { background: rgba(255, 255, 255, .5); }
.spark { height: 90px; border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: .6rem; }
.spark svg { width: 100%; height: 100%; }
.dash-note { color: var(--muted); font-size: .95rem; text-align: center; }
.hood { height: 26px; width: 104%; margin-inline-start: -2%; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #1A1A1A, #1e293b); }

@media (max-width: 700px) {
    .glass { padding: 2.5rem 1.2rem 2rem; clip-path: none; border-radius: 18px; }
    .windshield { clip-path: none; border-radius: 24px; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .mirror { width: 80px; height: 22px; }
}

/*------------------------------------------------------------------
  Loyalty — the card
-------------------------------------------------------------------*/
.loyalty-sec { padding: 6rem 0 7rem; background: linear-gradient(180deg, var(--paper), #eaf1fd); }
.loyalty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.loyalty-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.loyalty-list li { display: flex; gap: .85rem; align-items: center; font-weight: 600; }
.loyalty-list i { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: 1.2rem; box-shadow: 0 8px 18px -12px rgba(26, 26, 26, .3); }
.loyalty-cta { margin-top: 2rem; display: flex; gap: .7rem; flex-wrap: wrap; }

.card-stage { perspective: 1200px; display: grid; place-items: center; }
.mcard {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    width: min(440px, 100%);
    aspect-ratio: 1.586;
    border-radius: 26px;
    padding: 1.6rem;
    color: #fff;
    background:
        radial-gradient(400px 220px at 100% 0%, rgba(255, 159, 90, .45), transparent 60%),
        radial-gradient(300px 200px at 0% 100%, rgba(240, 106, 42, .6), transparent 60%),
        linear-gradient(135deg, #1A1A1A, #2A2A2A 55%, #C94A0F);
    box-shadow: 0 40px 70px -30px rgba(26, 26, 26, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .15s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    direction: ltr;
}
.mcard::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .25), transparent 60%);
    pointer-events: none;
}
.mcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mcard-tier { padding: .3rem .7rem; border-radius: 999px; background: linear-gradient(90deg, #fbbf24, #f59e0b); color: #3b2300; font-weight: 800; font-size: .74rem; }
.mcard-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.mcard-name small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #F9B48A; font-family: var(--f-mono); }
.mcard-name b { font-family: var(--f-display); font-size: 1.35rem; }
.mcard-stats { display: flex; gap: 1.4rem; margin-top: .7rem; }
.mcard-stats b { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.mcard-stats small { font-size: .7rem; color: #FCD2B6; }
.qr { width: 92px; height: 92px; padding: 7px; border-radius: 12px; background: #fff; display: grid; grid-template-columns: repeat(11, 1fr); gap: 1px; flex: 0 0 auto; }
.qr i { background: var(--navy); border-radius: 1px; }
.qr i.o { background: transparent; }

@media (max-width: 900px) {
    .loyalty-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/*------------------------------------------------------------------
  Bilingual
-------------------------------------------------------------------*/
.bi-sec { padding: 6rem 0; }
.bi {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
}
.bi-side h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
.bi-side.ar { direction: rtl; text-align: right; font-family: 'IBM Plex Sans Arabic', sans-serif; }
.bi-side.ar h3 { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0; line-height: 1.3; }
.bi-side.en { direction: ltr; text-align: left; }
.bi-side h3 span { color: var(--blue); }
.bi-mid { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.bi-switch { width: 70px; height: 38px; border-radius: 99px; background: #e2e8f0; position: relative; }
.bi-switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #F06A2A, #C94A0F); box-shadow: 0 6px 12px -6px rgba(232, 90, 22, .9); animation: flip 4s var(--ease) infinite; }
@keyframes flip { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(32px); } 100% { transform: none; } }
.bi-mid small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.bi-foot { grid-column: 1 / -1; text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.bi-foot b { display: block; color: var(--text); font-family: var(--f-display); font-size: 1.35rem; margin-bottom: .35rem; }
@media (max-width: 760px) {
    .bi { grid-template-columns: 1fr; padding: 2rem 1.35rem; text-align: center; }
    .bi-side.ar, .bi-side.en { text-align: center; }
    .bi-switch::after { animation: none; }
}

/*------------------------------------------------------------------
  Receipt CTA
-------------------------------------------------------------------*/
.close-sec {
    padding: 6rem 0 7rem;
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(232, 90, 22, .45), transparent 70%),
        var(--ink);
    color: #fff;
    overflow: hidden;
}
.receipt {
    position: relative;
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 2.25rem 1.75rem;
    color: #1f2937;
    background: #fdfdfb;
    font-family: var(--f-mono);
    font-size: .88rem;
    /* torn edges, top and bottom */
    -webkit-mask:
        conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x;
    mask:
        conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x;
    transform: rotate(-1.5deg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
    animation: print 1s var(--ease) backwards;
}
html[dir="rtl"] .receipt { font-family: var(--f-text); }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.receipt-logo { display: flex; justify-content: center; margin-bottom: .6rem; }
.receipt-logo .wt-word { color: var(--navy); }
.receipt h3 { text-align: center; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #64748b; font-weight: 500; }
html[dir="rtl"] .receipt h3 { font-family: var(--f-text); letter-spacing: 0; }
.receipt .meta { display: flex; justify-content: space-between; margin: 1rem 0; color: #64748b; font-size: .76rem; }
.rule { border: 0; border-top: 2px dashed #cbd5e1; margin: .9rem 0; }
.rline { display: flex; justify-content: space-between; gap: 1rem; padding: .32rem 0; }
.rline span:last-child { font-weight: 700; color: var(--navy); }
.rtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.rtotal span:last-child { color: var(--blue); }
.barcode { height: 54px; margin: 1.3rem 0 .6rem; background: repeating-linear-gradient(90deg, #1A1A1A 0 2px, transparent 2px 4px, #1A1A1A 4px 5px, transparent 5px 8px, #1A1A1A 8px 11px, transparent 11px 12px); }
.thanks { text-align: center; color: #64748b; font-size: .78rem; }
.close-cta { margin-top: 3rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

/*------------------------------------------------------------------
  Footer
-------------------------------------------------------------------*/
.foot { background: var(--ink); color: #94a3b8; padding: 3rem 0 2rem; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.foot .wt-word { color: #fff; }
.foot p { margin-top: .85rem; max-width: 34ch; }
.foot h4 { color: #fff; font-family: var(--f-text); font-size: .85rem; letter-spacing: .04em; margin-bottom: .85rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 2.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/*------------------------------------------------------------------
  Reveal on scroll
-------------------------------------------------------------------*/
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .slip { opacity: 1; }
    .t-car.c1 { transform: translateX(860px); }
    .t-car.c2 { transform: translateX(300px); }
    .t-car.c3 { display: none; }
}

/* Phones: the tunnel is the hero's picture, so it is cropped to the wash
   bay and enlarged rather than shrunk to a strip. */
@media (max-width: 700px) {
    .hero { padding-top: 6.5rem; }
    .tunnel { width: 230%; margin: .5rem 0 0 -65%; }
    html[dir="rtl"] .tunnel { margin: .5rem -65% 0 0; }
    .slips { display: none; }
    .hero-cta .btn { width: 100%; }
}
html[dir="rtl"] .journey-hint { font-family: var(--f-text); }
.nav-trial { white-space: nowrap; }
@media (max-width: 760px) { .nav-trial { display: none; } }
.nav.is-light .nav-trial { color: var(--blue); border-color: var(--blue); background: transparent; }
