/* Bizmaize Rider landing page (rider/welcome.php) */
:root {
    --rl-navy: #021A54;
    --rl-navy-2: #0b2f86;
    --rl-orange: #f97316;
    --rl-orange-2: #ea580c;
    --rl-green: #15803d;
    --rl-ink: #0f172a;
    --rl-muted: #64748b;
    --rl-line: #e2e8f0;
    --rl-soft: #f6f8fc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.rl {
    margin: 0;
    background: #fff;
    color: var(--rl-ink);
    font-family: Poppins, system-ui, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

.rl a {
    color: inherit;
}

.rl-wrap {
    width: min(100% - 32px, 1160px);
    margin: 0 auto;
}

.rl h1,
.rl h2,
.rl h3 {
    font-family: "Plus Jakarta Sans", Poppins, sans-serif;
    line-height: 1.15;
    margin: 0;
}

/* ---------- Buttons ---------- */
.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 14px;
    background: var(--rl-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(249, 115, 22, .32);
    transition: transform .15s, background .15s;
}

.rl-btn:hover {
    background: var(--rl-orange-2);
    transform: translateY(-1px);
}

.rl-btn--ghost {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: none;
}

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

.rl-btn--sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 11px;
    box-shadow: none;
}

.rl-link {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.rl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff1e6;
    color: var(--rl-orange-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.rl-eyebrow--light {
    background: rgba(255, 255, 255, .12);
    color: #fed7aa;
}

/* ---------- Nav ---------- */
.rl-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(2, 26, 84, .92);
    backdrop-filter: blur(10px);
    color: #fff;
}

.rl-nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 66px;
}

.rl-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
}

.rl-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.rl-logo b {
    color: var(--rl-orange);
}

.rl-nav__links {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.rl-nav__links a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: .85;
}

.rl-nav__links a:hover {
    opacity: 1;
}

.rl-nav__cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ---------- Hero ---------- */
.rl-hero {
    position: relative;
    padding: 64px 0 90px;
    background:
        radial-gradient(900px 400px at 85% 10%, rgba(249, 115, 22, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(59, 130, 246, .22), transparent 60%),
        linear-gradient(160deg, var(--rl-navy) 0%, #06216b 60%, var(--rl-navy-2) 100%);
    color: #fff;
    overflow: hidden;
}

.rl-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    align-items: center;
}

.rl-hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5.4vw, 60px);
    letter-spacing: -.02em;
}

.rl-hero h1 span {
    color: var(--rl-orange);
}

.rl-hero__text > p {
    max-width: 540px;
    margin: 0 0 26px;
    font-size: 18px;
    color: #cbd5e1;
}

.rl-hero__text strong {
    color: #fff;
}

.rl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rl-hero__ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    font-size: 14px;
    color: #cbd5e1;
}

.rl-hero__ticks i {
    color: #4ade80;
    margin-right: 6px;
}

/* Phone mockup */
.rl-phone-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 560px;
}

.rl-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, .45), rgba(249, 115, 22, 0) 70%);
    filter: blur(10px);
}

.rl-phone {
    position: relative;
    width: 290px;
    border-radius: 40px;
    padding: 14px;
    background: #0b1220;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px #1e293b;
    transform: rotate(-4deg);
    animation: rl-float 6s ease-in-out infinite;
}

@keyframes rl-float {
    50% { transform: rotate(-4deg) translateY(-10px); }
}

.rl-phone__notch {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 90px;
    height: 22px;
    margin-left: -45px;
    border-radius: 0 0 14px 14px;
    background: #0b1220;
    z-index: 2;
}

.rl-phone > *:not(.rl-phone__notch) {
    background: #f1f4f9;
}

.rl-phone__top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 30px 14px 12px;
    border-radius: 28px 28px 0 0;
    background: var(--rl-navy) !important;
    color: #fff;
}

.rl-phone__top div {
    flex: 1;
    display: grid;
    line-height: 1.2;
}

.rl-phone__top b {
    font-size: 13px;
}

.rl-phone__top small {
    font-size: 10px;
    opacity: .8;
}

.rl-phone__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--rl-orange);
    font-weight: 700;
    font-size: 13px;
}

.rl-phone__online {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 4px;
    border-radius: 999px;
    background: var(--rl-green);
    font-size: 10px;
    font-weight: 700;
}

.rl-phone__online i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}

.rl-phone__map {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #eef2f7 !important;
}

.rl-phone__map svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rl-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .3);
}

.rl-pin--a { left: 62px; top: 112px; background: var(--rl-navy-2); }
.rl-pin--b { left: 222px; top: 20px; background: var(--rl-green); }
.rl-pin--me { left: 150px; top: 64px; background: var(--rl-orange); animation: rl-pulse 1.8s ease infinite; }

@keyframes rl-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .5); }
    50% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
}

.rl-phone__job {
    padding: 12px;
    border-radius: 0 0 28px 28px;
    color: var(--rl-ink);
}

.rl-phone__pay {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rl-phone__pay b {
    font-size: 22px;
    color: var(--rl-green);
}

.rl-phone__pay small,
.rl-phone__stop small {
    font-size: 10.5px;
    color: var(--rl-muted);
}

.rl-phone__stop {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
}

.rl-phone__stop i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e0e7ff;
    color: var(--rl-navy-2);
    font-size: 11px;
}

.rl-phone__stop + .rl-phone__stop i {
    background: #dcfce7;
    color: var(--rl-green);
}

.rl-phone__stop span {
    display: grid;
    line-height: 1.25;
    font-size: 12px;
}

.rl-phone__btn {
    margin-top: 10px;
    padding: 11px;
    border-radius: 12px;
    background: var(--rl-orange);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.rl-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    color: var(--rl-ink);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
    font-size: 12.5px;
    line-height: 1.25;
}

.rl-float span {
    display: grid;
}

.rl-float small {
    color: var(--rl-muted);
    font-size: 11px;
}

.rl-float i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff1e6;
    color: var(--rl-orange-2);
}

.rl-float--a {
    top: 70px;
    left: -6px;
    animation: rl-float 6s ease-in-out infinite reverse;
}

.rl-float--b {
    bottom: 70px;
    right: -6px;
    animation: rl-float 7s ease-in-out infinite;
}

.rl-float--b i {
    background: #dcfce7;
    color: var(--rl-green);
}

/* Delivery bike illustration (assets/rider-bike.svg) riding in front of the phone */
.rl-bike {
    position: absolute;
    left: -96px;
    bottom: -18px;
    z-index: 3;
    width: 400px;
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
    animation: rl-ride 1.4s ease-in-out infinite;
}

@keyframes rl-ride {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Final section: the bike rides across a road */
.rl-final {
    position: relative;
    overflow: hidden;
}

.rl-road {
    position: relative;
    height: 150px;
    margin: -40px 0 18px;
}

.rl-road::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 4px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 34px, transparent 34px 60px);
}

.rl-road__bike {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 200px;
    height: auto;
    animation: rl-across 11s linear infinite;
}

@keyframes rl-across {
    from { transform: translateX(-220px); }
    to { transform: translateX(calc(100vw + 20px)); }
}

@media (prefers-reduced-motion: reduce) {
    .rl-bike,
    .rl-phone,
    .rl-float,
    .rl-road__bike {
        animation: none;
    }

    .rl-road__bike {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ---------- Strip ---------- */
.rl-strip {
    position: relative;
    margin-top: -46px;
    z-index: 2;
}

.rl-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(2, 26, 84, .12);
    overflow: hidden;
}

.rl-strip__grid div {
    display: grid;
    gap: 2px;
    padding: 22px 20px;
    text-align: center;
}

.rl-strip__grid div + div {
    border-left: 1px solid var(--rl-line);
}

.rl-strip__grid b {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 28px;
    color: var(--rl-navy);
}

.rl-strip__grid span {
    font-size: 13px;
    color: var(--rl-muted);
}

/* ---------- Sections ---------- */
.rl-section {
    padding: 90px 0;
}

.rl-section--soft {
    background: var(--rl-soft);
}

.rl-section--dark {
    background: linear-gradient(160deg, var(--rl-navy), var(--rl-navy-2));
    color: #fff;
}

.rl-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.rl-head h2,
.rl-earn h2,
.rl-need h2 {
    margin-top: 14px;
    font-size: clamp(28px, 3.6vw, 40px);
    letter-spacing: -.01em;
}

.rl-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: s;
}

.rl-steps li {
    position: relative;
    padding: 26px 22px;
    border-radius: 20px;
    background: var(--rl-soft);
    border: 1px solid var(--rl-line);
}

.rl-steps__n {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
}

.rl-steps i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--rl-navy);
    color: var(--rl-orange);
    font-size: 21px;
    margin-bottom: 16px;
}

.rl-steps h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.rl-steps p {
    margin: 0;
    font-size: 14.5px;
    color: var(--rl-muted);
}

/* Earnings */
.rl-earn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.rl-earn__text > p {
    color: #cbd5e1;
    font-size: 16.5px;
    margin: 14px 0 26px;
}

.rl-trips {
    display: grid;
    gap: 12px;
}

.rl-trip {
    display: grid;
    grid-template-columns: 110px auto;
    align-items: center;
    gap: 0 16px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.rl-trip span {
    font-size: 14px;
    color: #cbd5e1;
    grid-row: span 2;
}

.rl-trip b {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 26px;
    color: #4ade80;
}

.rl-trip small {
    font-size: 12.5px;
    color: #94a3b8;
}

.rl-calc {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    color: var(--rl-ink);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}

.rl-calc h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.rl-calc h3 i {
    color: var(--rl-orange);
    margin-right: 6px;
}

.rl-calc label {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
}

.rl-calc output {
    font-weight: 700;
    color: var(--rl-orange-2);
}

.rl-calc input[type=range] {
    grid-column: 1 / -1;
    width: 100%;
    accent-color: var(--rl-orange);
    height: 28px;
}

.rl-calc__out {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.rl-calc__out div {
    padding: 14px 10px;
    border-radius: 14px;
    background: var(--rl-soft);
    text-align: center;
    display: grid;
}

.rl-calc__out div:last-child {
    background: var(--rl-navy);
    color: #fff;
}

.rl-calc__out small {
    font-size: 12px;
    color: var(--rl-muted);
}

.rl-calc__out div:last-child small {
    color: #cbd5e1;
}

.rl-calc__out b {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
}

.rl-calc__note {
    margin: 14px 0 0;
    font-size: 12.5px;
    color: var(--rl-muted);
}

/* Why cards */
.rl-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rl-cards article {
    padding: 26px;
    border-radius: 20px;
    border: 1px solid var(--rl-line);
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}

.rl-cards article:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(2, 26, 84, .08);
}

.rl-cards i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff1e6;
    color: var(--rl-orange-2);
    font-size: 19px;
    margin-bottom: 14px;
}

.rl-cards h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.rl-cards p {
    margin: 0;
    font-size: 14.5px;
    color: var(--rl-muted);
}

/* Requirements */
.rl-need {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 50px;
    align-items: center;
}

.rl-need > div > p {
    margin: 14px 0 26px;
    color: var(--rl-muted);
    font-size: 16px;
}

.rl-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rl-checklist li {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--rl-line);
}

.rl-checklist i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--rl-navy);
    color: #fff;
}

.rl-checklist span {
    display: grid;
    font-size: 13.5px;
    color: var(--rl-muted);
}

.rl-checklist b {
    font-size: 15px;
    color: var(--rl-ink);
}

/* FAQ */
.rl-faq {
    max-width: 780px;
}

.rl-faq details {
    border-bottom: 1px solid var(--rl-line);
}

.rl-faq summary {
    position: relative;
    padding: 20px 40px 20px 0;
    font-weight: 600;
    font-size: 16.5px;
    cursor: pointer;
    list-style: none;
}

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

.rl-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--rl-soft);
    color: var(--rl-orange-2);
    font-size: 20px;
}

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

.rl-faq details p {
    margin: 0 0 20px;
    color: var(--rl-muted);
}

/* Final CTA */
.rl-final {
    padding: 80px 0;
    text-align: center;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(249, 115, 22, .3), transparent 70%),
        var(--rl-navy);
    color: #fff;
}

.rl-final h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.rl-final p {
    margin: 12px auto 28px;
    max-width: 520px;
    color: #cbd5e1;
}

.rl-final .rl-hero__cta {
    justify-content: center;
}

.rl-foot {
    padding: 22px 0;
    background: #01113a;
    color: #94a3b8;
    font-size: 13.5px;
}

.rl-foot__inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.rl-foot nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.rl-foot a {
    text-decoration: none;
}

.rl-foot a:hover {
    color: #fff;
}

.rl-sticky {
    display: none;
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
    .rl-nav__links {
        display: none;
    }

    .rl-bike {
        left: calc(50% - 330px);
    }

    .rl-nav__cta {
        margin-left: auto;
    }

    .rl-hero__grid,
    .rl-earn,
    .rl-need {
        grid-template-columns: 1fr;
    }

    .rl-hero {
        padding-top: 40px;
    }

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

    .rl-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rl-strip__grid div:nth-child(3) {
        border-left: 0;
    }

    .rl-strip__grid div:nth-child(n+3) {
        border-top: 1px solid var(--rl-line);
    }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
    .rl-wrap {
        width: min(100% - 32px, 1160px);
    }

    .rl-nav__inner {
        height: 58px;
    }

    .rl-logo span {
        font-size: 15px;
    }

    .rl-hero {
        padding: 30px 0 80px;
    }

    .rl-hero__text > p {
        font-size: 16px;
    }

    .rl-hero__cta .rl-btn {
        flex: 1 1 100%;
    }

    .rl-phone-wrap {
        min-height: 480px;
        margin-top: 10px;
    }

    .rl-phone {
        width: 250px;
    }

    .rl-phone__map {
        height: 140px;
    }

    .rl-pin--b { left: 190px; }
    .rl-pin--me { left: 128px; top: 52px; }
    .rl-pin--a { top: 92px; }

    .rl-blob {
        width: 300px;
        height: 300px;
    }

    .rl-float {
        font-size: 11.5px;
        padding: 8px 10px;
    }

    .rl-float--a { left: 0; top: -4px; }
    .rl-float--b { right: 0; top: 46%; bottom: auto; }

    .rl-bike {
        left: -16px;
        bottom: 4px;
        width: 270px;
    }

    .rl-road {
        height: 110px;
    }

    .rl-road__bike {
        width: 150px;
    }

    .rl-strip__grid b {
        font-size: 22px;
    }

    .rl-strip__grid div {
        padding: 16px 10px;
    }

    .rl-section {
        padding: 60px 0;
    }

    .rl-steps,
    .rl-cards,
    .rl-checklist {
        grid-template-columns: 1fr;
    }

    .rl-calc {
        padding: 20px;
    }

    .rl-calc__out b {
        font-size: 16px;
    }

    .rl-trip {
        grid-template-columns: 90px auto;
    }

    .rl-final {
        padding-bottom: 110px;
    }

    .rl-foot {
        padding-bottom: 96px;
    }

    .rl-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--rl-line);
    }

    .rl-sticky .rl-btn {
        width: 100%;
    }
}
