/* =========================================================
   REST DRIVE
   MOBILE-FIRST LANDING PAGE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #ffffff;
    color: #111111;

    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================================
   COLORS
========================================================= */

:root {

    --black: #090909;
    --black-2: #111111;
    --black-3: #181818;

    --white: #ffffff;
    --off-white: #f7f7f5;

    --gold: #f5b91b;
    --gold-dark: #d89d00;

    --blue: #006bc7;

    --text: #111111;
    --muted: #6b6b6b;

    --border: #e7e7e7;

    --radius: 14px;

    --header-height: 70px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid transparent;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: #111111;
}

.btn-primary:hover {
    background: var(--gold-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-dark {
    background: #111111;
    color: #ffffff;
}

.btn-dark:hover {
    background: #252525;
}

.btn-large {
    min-height: 54px;
    padding: 14px 24px;
    font-size: 15px;
}

.arrow {
    font-size: 18px;
}


/* =========================================================
   FIXED HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: var(--header-height);

    z-index: 1000;

    background: rgba(8, 8, 8, 0.94);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.navbar {

    height: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.brand {
    flex-shrink: 0;
}

.brand-logo {
    width: 88px;
    height: auto;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-menu {

    display: none;

    align-items: center;

    gap: 30px;
}

.nav-menu a {

    position: relative;

    color: #eeeeee;

    font-size: 14px;
    font-weight: 600;

    padding: 25px 0;

    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}

.login-link {

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    padding: 10px 7px;
}

.login-link:hover {
    color: var(--gold);
}

.nav-register {
    display: none;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: transparent;

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius: 7px;

    cursor: pointer;
}

.menu-toggle span {

    width: 20px;
    height: 2px;

    background: #ffffff;

    border-radius: 3px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.nav-menu {

    position: fixed;

    top: var(--header-height);
    left: 0;
    right: 0;

    padding: 18px 20px 24px;

    background: rgba(8, 8, 8, 0.98);

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    flex-direction: column;

    gap: 0;

    transform: translateY(-120%);

    opacity: 0;

    pointer-events: none;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nav-menu.active {

    transform: translateY(0);

    opacity: 1;

    pointer-events: auto;
}

.nav-menu a {

    padding: 15px 4px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 760px;

    padding-top: calc(var(--header-height) + 70px);
    padding-bottom: 70px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 107, 199, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #0b0d10 55%,
            #101010 100%
        );

    color: #ffffff;
}


/* Decorative background */

.hero::before {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -220px;
    top: 120px;

    border-radius: 50%;

    border:
        1px solid rgba(245, 185, 27, 0.10);

    box-shadow:
        0 0 0 80px rgba(245, 185, 27, 0.025),
        0 0 0 160px rgba(245, 185, 27, 0.015);
}

.hero-background {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.18),
            transparent
        );

    pointer-events: none;
}

.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    gap: 55px;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.7px;
}

.badge-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 5px rgba(245, 185, 27, 0.1);
}

.hero h1 {

    max-width: 700px;

    font-size: clamp(43px, 12vw, 78px);

    line-height: 0.99;

    letter-spacing: -2.8px;

    margin-bottom: 24px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-description {

    max-width: 600px;

    color: #cfcfcf;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 28px;
}

.hero-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.hero-actions .btn {
    width: 100%;
}

.hero-trust {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 28px;
}

.trust-item {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #d5d5d5;

    font-size: 13px;
}

.trust-check {
    color: var(--gold);
    font-weight: 900;
}


/* =========================================================
   HERO DRIVER CARD
========================================================= */

.hero-visual {

    display: none;

    justify-content: center;

    align-items: center;
}

.hero-car-card {

    width: 100%;

    max-width: 380px;

    padding: 14px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(12px);
}

.car-card-top {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 5px 8px 13px;

    color: #eeeeee;

    font-size: 13px;

    font-weight: 700;
}

.live-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #38d27b;

    box-shadow:
        0 0 0 5px rgba(56, 210, 123, 0.12);
}

.map-placeholder {

    position: relative;

    height: 260px;

    overflow: hidden;

    border-radius: 13px;

    background:
        linear-gradient(
            30deg,
            #1a1e20 12%,
            transparent 12.5%,
            transparent 87%,
            #1a1e20 87.5%
        ),
        linear-gradient(
            150deg,
            #171b1d 12%,
            transparent 12.5%,
            transparent 87%,
            #171b1d 87.5%
        ),
        #111516;

    background-size: 80px 80px;
}

.map-grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.route-line {

    position: absolute;

    width: 210px;
    height: 100px;

    left: 80px;
    top: 85px;

    border-top:
        4px solid var(--gold);

    border-radius: 50%;

    transform: rotate(-14deg);
}

.map-pin {

    position: absolute;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.35);

    font-size: 18px;
}

.pin-one {
    left: 35px;
    top: 55px;
}

.pin-two {
    left: 175px;
    top: 125px;
}

.pin-three {
    right: 35px;
    bottom: 35px;
}

.destination-pin {

    position: absolute;

    right: 30px;
    bottom: 45px;

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: var(--blue);

    border: 4px solid #ffffff;

    border-radius: 50%;

    font-size: 6px;
}

.driver-nearby {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 5px 2px;
}

.driver-avatar {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);

    color: #111111;

    font-size: 12px;

    font-weight: 900;
}

.driver-info {

    display: flex;

    flex-direction: column;

    flex: 1;
}

.driver-info strong {
    color: #ffffff;
    font-size: 13px;
}

.driver-info small {
    color: #999999;
    font-size: 11px;
}

.driver-rating {

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {

    padding: 78px 0;
}

.section-heading {

    max-width: 700px;

    margin: 0 auto 40px;

    text-align: center;
}

.eyebrow {

    display: block;

    margin-bottom: 10px;

    color: var(--gold-dark);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.8px;
}

.section-heading h2,
.about-heading h2 {

    font-size: clamp(32px, 8vw, 52px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.section-heading p {

    margin-top: 16px;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-section {
    background: #ffffff;
}

.steps-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 14px;
}

.step-card {

    position: relative;

    padding: 26px 22px;

    background: #fafafa;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.step-card:hover {

    transform: translateY(-4px);

    border-color: rgba(245, 185, 27, 0.7);
}

.step-number {

    color: var(--gold-dark);

    font-size: 26px;

    font-weight: 900;

    line-height: 1;
}

.step-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 22px 0 18px;

    background: #111111;

    border-radius: 12px;

    font-size: 20px;
}

.step-card h3 {

    margin-bottom: 9px;

    font-size: 19px;
}

.step-card p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   SAFETY / FEATURES
========================================================= */

.safety-section {

    background: #0c0c0c;

    color: #ffffff;
}

.section-heading-dark p {
    color: #a8a8a8;
}

.features-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;
}

.feature-card {

    padding: 25px 22px;

    background: #141414;

    border:
        1px solid #252525;

    border-radius: var(--radius);
}

.feature-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: var(--gold);

    color: #111111;

    border-radius: 50%;

    font-size: 18px;

    font-weight: 900;
}

.feature-card h3 {

    margin-bottom: 8px;

    font-size: 18px;
}

.feature-card p {

    color: #a7a7a7;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   DRIVER SECTION
========================================================= */

.driver-section {

    padding: 50px 0;

    background: #ffffff;
}

.driver-card {

    position: relative;

    overflow: hidden;

    padding: 35px 25px;

    border-radius: 18px;

    background:
        linear-gradient(
            120deg,
            #f5b91b,
            #f0aa00
        );

    display: flex;

    flex-direction: column;

    gap: 35px;
}

.driver-content {

    position: relative;

    z-index: 2;
}

.driver-content .eyebrow {

    color: #171717;
}

.driver-card h2 {

    max-width: 650px;

    font-size: clamp(31px, 8vw, 53px);

    line-height: 1.04;

    letter-spacing: -1.5px;

    margin-bottom: 15px;
}

.driver-card p {

    max-width: 580px;

    margin-bottom: 24px;

    color: #333333;

    font-size: 15px;
}

.driver-symbol {

    display: none;

    position: absolute;

    right: 70px;
    bottom: -45px;

    opacity: 0.13;
}

.steering-wheel {

    font-size: 230px;
    color: #111111;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {

    background: #f7f7f5;
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;
}

.about-heading h2 {

    max-width: 500px;
}

.about-content p {

    margin-bottom: 16px;

    color: #5d5d5d;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: #070707;

    color: #ffffff;

    padding-top: 55px;
}

.footer-main {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 38px 25px;
}

.footer-brand img {

    width: 100px;

    margin-bottom: 12px;
}

.footer-brand p {

    color: #888888;

    font-size: 13px;
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {

    margin-bottom: 7px;

    font-size: 13px;

    color: #ffffff;
}

.footer-column a {

    color: #8f8f8f;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {

    margin-top: 45px;

    padding: 20px 0;

    display: flex;

    flex-direction: column;

    gap: 6px;

    border-top:
        1px solid #222222;

    color: #666666;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 600px) {

    .container {
        width: min(1180px, calc(100% - 48px));
    }

    .hero {

        min-height: 760px;

        padding-top: 130px;
    }

    .hero-actions {

        flex-direction: row;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-trust {

        flex-direction: row;

        flex-wrap: wrap;

        gap: 20px;
    }

    .steps-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .driver-card {

        padding: 45px 40px;
    }

    .footer-bottom {

        flex-direction: row;

        justify-content: space-between;
    }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 900px) {

    :root {
        --header-height: 78px;
    }

    .container {
        width: min(1180px, calc(100% - 64px));
    }

    .site-header {
        height: var(--header-height);
    }

    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand-logo {
        width: 105px;
    }


    /* ================================================
       DESKTOP CENTER NAVIGATION
    ================================================= */

    .nav-menu {
        position: static;

        display: flex;

        flex-direction: row;

        align-items: center;
        justify-content: center;

        gap: 32px;

        width: auto;

        padding: 0;

        background: transparent;

        border: none;

        transform: none;

        opacity: 1;

        pointer-events: auto;

        transition: none;
    }

    .nav-menu a {
        display: inline-flex;

        align-items: center;

        padding: 8px 0;

        border: none;

        white-space: nowrap;

        color: #eeeeee;

        font-size: 14px;

        font-weight: 600;

        line-height: 1;

        transition: color 0.2s ease;
    }

    .nav-menu a:hover {
        color: var(--gold);
    }


    /* ================================================
       DESKTOP RIGHT ACTIONS
    ================================================= */

    .nav-actions {
        display: flex;

        align-items: center;

        gap: 10px;
    }

    .login-link {
        padding: 10px 14px;
    }

    .nav-register {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }


    /* ================================================
       DESKTOP HERO
    ================================================= */

    .hero {
        min-height: 820px;

        padding-top: var(--header-height);

        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(360px, 0.85fr);

        align-items: center;

        gap: 70px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-visual {
        display: flex;
    }

    .hero-actions {
        margin-top: 4px;
    }


    /* ================================================
       DESKTOP SECTIONS
    ================================================= */

    .section {
        padding: 105px 0;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);

        gap: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);

        gap: 16px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .driver-card {
        min-height: 340px;

        padding: 55px;

        justify-content: center;
    }

    .driver-symbol {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;

        gap: 100px;

        align-items: center;
    }

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr;

        gap: 50px;
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .hero h1 {
        font-size: 78px;
    }

    .hero-description {
        font-size: 17px;
    }
}