/* Landing page styles (loaded after common.css) */

:root {
    --navy: #02142b;
    --navy-2: #0a1d3d;
    --navy-card: rgba(255, 255, 255, 0.06);
    --brand: #5a2bf7;
    --brand-dk: #3c18f5;
    --brand-lt: #a48bff;
    --ink: #02142b;
    --text: #3c4a66;
    --muted: #6b7a99;
    --light: #f6f5fd;
    --line: #e7e4f6;
    --green: #16a34a;
    --amber: #f59e0b;
    --red: #ef4444;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(2, 20, 43, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, figure, blockquote {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 24px;
}

.c-green { color: var(--green); }
.c-blue { color: var(--brand); }
.c-amber { color: var(--amber); }
.c-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #7b3ff7 0%, var(--brand-dk) 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(90, 43, 247, 0.35);
}

.btn-primary:hover {
  
    box-shadow: 0 12px 28px rgba(90, 43, 247, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

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

.btn-ghost svg {
    width: 18px;
    height: 18px;
}

.btn-pill {
    border-radius: 999px;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow-cyan {
    color: var(--brand-lt);
}

/* ---------- Brand ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 44px;
}

.brand-logo-footer {
    height: 48px;
}

/* ---------- Nav ---------- */
/* White header over the light hero; gains a shadow once the page scrolls (.is-solid) */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}

.nav.is-solid {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 24px rgba(2, 20, 43, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 84px;
    transition: height 0.3s;
}

.nav.is-solid .nav-inner {
    height: 72px;
}

.nav-links {
    display: flex;
    gap: 34px;
    margin-left: auto;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
}

/* brand underline that grows on hover / marks the active link */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #7b3ff7, #3c18f5);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 16px;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.nav-login svg {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.nav-login:hover {
    color: var(--brand);
}

.nav-divider {
    width: 1px;
    height: 28px;
    background: var(--line);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

/* ---------- Mobile off-canvas drawer ---------- */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 20, 43, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: min(340px, 86vw);
    background: #ffffff;
    box-shadow: -20px 0 50px rgba(2, 20, 43, 0.2);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

/* visible immediately on open (so it can take focus); stays visible while sliding out on close */
.drawer-open .drawer {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.drawer-open .drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

/* stop the page scrolling behind the open drawer */
.drawer-open {
    overflow: hidden;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #f6f3ff 0%, #ffffff 100%);
}

.drawer-logo {
    height: 38px;
    width: auto;
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.25s;
}

.drawer-close:hover {
    background: var(--brand);
    color: #ffffff;
    transform: rotate(90deg);
}

.drawer-close svg {
    width: 18px;
    height: 18px;
}

.drawer-links {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px;
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    /* hidden until the drawer opens; items then slide in one after another */
    opacity: 0;
    transform: translateX(16px);
    transition: background 0.2s, color 0.2s;
}

.drawer-links a:hover,
.drawer-links a.active {
    background: #f1edff;
    color: var(--brand);
}

.drawer-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f4f2fc;
    color: var(--brand);
}

.drawer-links a.active .drawer-ico,
.drawer-links a:hover .drawer-ico {
    background: linear-gradient(135deg, #7b3ff7, #3c18f5);
    color: #ffffff;
}

.drawer-ico svg {
    width: 19px;
    height: 19px;
}

.drawer-chev {
    width: 16px;
    height: 16px;
    margin-left: auto;
    opacity: 0.45;
}

.drawer-foot {
    display: grid;
    gap: 10px;
    padding: 16px 18px 22px;
    border-top: 1px solid var(--line);
}

.drawer-foot .btn {
    width: 100%;
}

.drawer-foot .btn svg {
    width: 18px;
    height: 18px;
}

.drawer-open .drawer-links a {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s, transform 0.35s, background 0.2s, color 0.2s;
}

.drawer-open .drawer-links a:nth-child(2) { transition-delay: 0.04s, 0.04s, 0s, 0s; }
.drawer-open .drawer-links a:nth-child(3) { transition-delay: 0.08s, 0.08s, 0s, 0s; }
.drawer-open .drawer-links a:nth-child(4) { transition-delay: 0.12s, 0.12s, 0s, 0s; }
.drawer-open .drawer-links a:nth-child(5) { transition-delay: 0.16s, 0.16s, 0s, 0s; }
.drawer-open .drawer-links a:nth-child(6) { transition-delay: 0.2s, 0.2s, 0s, 0s; }
.drawer-open .drawer-links a:nth-child(7) { transition-delay: 0.24s, 0.24s, 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
    .drawer,
    .drawer-open .drawer-links a,
    .drawer-open .drawer-links a:nth-child(n) {
        transition: none;
    }
}

/* ---------- Hero ---------- */
/* light lavender sky with soft brand glows */
.hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 72px; /* 84px clears the fixed header */
    color: var(--ink);
    background:
        radial-gradient(ellipse 40% 50% at 72% 30%, rgba(123, 63, 247, 0.16) 0%, transparent 70%),
        radial-gradient(ellipse 35% 40% at 5% 10%, rgba(60, 24, 245, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #f3f1ff 0%, #f8f7ff 55%, #ffffff 100%);
}

/* faint dotted arc in the top-right, like the mock's route line */
.hero::before {
    content: '';
    position: absolute;
    top: 40px;
    right: -120px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    border: 2px dashed rgba(90, 43, 247, 0.12);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    align-items: center;
    gap: 40px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    border-radius: 999px;
    background: #ebe6ff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(90, 43, 247, 0.18);
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(2.6rem, 4.8vw, 4.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    color: var(--ink);
}

/* violet -> indigo, the "WYZ" colours of the logo */
.accent-brand {
    display: inline-block;
    color: var(--brand);
    background: linear-gradient(90deg, #7b3ff7 0%, #5a2bf7 45%, #3c18f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-swoosh {
    display: block;
    width: 150px;
    height: 14px;
    margin-top: 6px;
    color: #8b6cff;
}

.hero-sub {
    margin-top: 18px;
    max-width: 44ch;
    font-size: 17px;
    color: var(--text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.btn-lg {
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
}

.btn-outline {
    background: #ffffff;
    border-color: var(--line);
    color: var(--ink);
    box-shadow: 0 6px 18px rgba(2, 20, 43, 0.06);
}

.btn-outline:hover {
    border-color: var(--brand);
}

.btn-outline svg {
    width: 24px;
    height: 24px;
    color: var(--brand);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 640px;
    margin-top: 40px;
}

.hero-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: var(--ink);
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--brand);
    box-shadow: 0 8px 20px rgba(90, 43, 247, 0.08);
}

.hero-feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

/* ---------- Hero laptop ---------- */
.hero-visual {
    position: relative;
    padding: 10px 0 30px;
}

.hero-hills {
    position: absolute;
    left: -10%;
    right: -20%;
    bottom: 40px;
    width: 130%;
    height: 55%;
    opacity: 0.7;
    /* fade out at the top and sides so the hills melt into the sky */
    -webkit-mask-image: radial-gradient(ellipse 55% 90% at 55% 100%, #000 35%, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 90% at 55% 100%, #000 35%, transparent 75%);
}

/* container truck parked behind the laptop; left/top edges fade into the hero sky */
.hero-truck {
    position: absolute;
    left: -34%;
    bottom: 56px;
    z-index: 0;
    width: 52%;
    height: auto;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 22%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 22%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
    mask-composite: intersect;
}

/* the truck extends under the text column; keep the copy and buttons above it */
.hero-copy {
    position: relative;
    z-index: 2;
}

.pro-laptop {
    position: relative;
    z-index: 1;
    transform: perspective(2200px) rotateY(-10deg);
    transform-origin: right center;
}

.pro-laptop-lid {
    container-type: inline-size; /* lets .pro-screen size its text from the lid width */
    padding: 1.2% 1.2% 1.6%;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(180deg, #2b2f3a 0%, #1a1d26 100%);
    box-shadow: 0 30px 70px rgba(2, 20, 43, 0.25);
}

.pro-laptop-base {
    position: relative;
    height: 18px;
    margin: 0 -5%;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, #e4e7ee 0%, #b7bcc8 100%);
    box-shadow: 0 24px 40px rgba(2, 20, 43, 0.25);
}

.pro-laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 16%;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: #a9afbd;
}

/* floating live trip card */
.trip-card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(2, 20, 43, 0.18);
}

.trip-card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ede8ff, #ddd4ff);
    color: var(--brand);
}

.trip-card-thumb svg {
    width: 30px;
    height: 30px;
}

.trip-card-info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.trip-card-info b {
    font-size: 17px;
    color: var(--ink);
}

.trip-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}

.trip-card-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.trip-card-info small {
    font-size: 12.5px;
    color: var(--muted);
}

.trip-card-speed {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 18px;
    line-height: 1;
}

.trip-card-speed b {
    font-size: 30px;
    color: var(--ink);
}

.trip-card-speed small {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Detailed dashboard (inside the hero laptop) ---------- */
.pro-screen {
    display: grid;
    grid-template-columns: 12em 1fr;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f5fd;
    font-size: clamp(4.5px, 1.22cqi, 9px); /* % of the laptop lid's width; everything below is in em, so the screen scales with its laptop */
    color: var(--ink);
    line-height: 1.3;
}

.pro-screen small {
    display: block;
    font-size: 0.85em;
    color: var(--muted);
}

.pro-side {
    padding: 1.4em 0.8em;
    background: #ffffff;
    border-right: 1px solid var(--line);
}

.pro-logo {
    display: block;
    width: 8em;
    margin: 0 auto 1.6em;
}

.pro-side li {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.75em 0.8em;
    border-radius: 0.6em;
    font-size: 0.95em;
    color: #46506a;
    white-space: nowrap;
}

.pro-side li i {
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.3em;
    border: 1.5px solid currentColor;
    opacity: 0.6;
}

.pro-side li.on {
    background: #ebe6ff;
    color: var(--brand);
    font-weight: 600;
}

.pro-main {
    padding: 1.2em 1.4em 1.4em;
}

.pro-top {
    display: flex;
    align-items: center;
    gap: 1.6em;
}

.pro-search {
    flex: 1;
    max-width: 22em;
    margin-left: auto;
    padding: 0.7em 1em;
    border-radius: 0.6em;
    background: #ffffff;
    border: 1px solid var(--line);
    color: #a0a7bb;
    font-size: 0.9em;
}

.pro-bell {
    position: relative;
    width: 1.4em;
    height: 1.5em;
    border: 1.5px solid #46506a;
    border-radius: 0.7em 0.7em 0.2em 0.2em;
}

.pro-bell::after {
    content: '';
    position: absolute;
    top: -0.3em;
    right: -0.4em;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background: var(--red);
}

.pro-user {
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.pro-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6em;
    height: 2.6em;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b3ff7, #3c18f5);
    color: #ffffff;
    font-weight: 700;
}

.pro-date {
    width: fit-content;
    margin: 1em 0 1em auto;
    padding: 0.5em 1em;
    border-radius: 0.6em;
    background: #ffffff;
    border: 1px solid var(--line);
    font-size: 0.9em;
}

.pro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.pro-stats > div,
.pro-card {
    position: relative;
    padding: 1em;
    border-radius: 0.8em;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(2, 20, 43, 0.06);
}

.pro-stats > div {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.pro-stats b {
    font-size: 1.9em;
}

.pro-stats em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.85em;
    font-weight: 600;
}

.pro-stats .up { color: var(--green); }
.pro-stats .down { color: var(--red); }

.pro-ico {
    flex-shrink: 0;
    width: 3em;
    height: 3em;
    border-radius: 0.7em;
}

.ico-green { background: #dcfce7 radial-gradient(circle, #16a34a 0 30%, transparent 32%); }
.ico-violet { background: #ebe6ff radial-gradient(circle, #5a2bf7 0 30%, transparent 32%); }
.ico-amber { background: #fef3c7 radial-gradient(circle, #f59e0b 0 30%, transparent 32%); }
.ico-red { background: #fee2e2 radial-gradient(circle, #ef4444 0 30%, transparent 32%); }

.pro-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1em;
    margin-top: 1em;
}

.pro-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6em;
}

.pro-card-head b {
    font-size: 1.05em;
}

.pro-card-head small {
    padding: 0.25em 0.6em;
    border-radius: 0.4em;
    border: 1px solid var(--line);
}

.pro-card-head .pro-link {
    border: none;
    color: var(--brand);
    font-weight: 600;
}

.pro-line {
    display: block;
    width: 100%;
    height: 8.5em;
}

.pro-tip {
    position: absolute;
    top: 3.6em;
    left: 62%;
    padding: 0.4em 0.8em;
    border-radius: 0.5em;
    background: var(--ink);
    color: #ffffff;
    font-size: 0.85em;
    font-weight: 600;
}

.pro-tip small {
    color: #c7cbe0;
}

.pro-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4em;
    font-size: 0.75em;
    color: var(--muted);
}

.pro-map-card {
    padding-bottom: 1em;
}

.pro-map {
    position: relative;
    height: 11em;
    overflow: hidden;
    border-radius: 0.6em;
}

.pro-map-tag {
    position: absolute;
    top: 1em;
    right: 1em;
    padding: 0.5em 0.8em;
    border-radius: 0.6em;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 20, 43, 0.15);
}

.pro-map-tag small {
    color: var(--green);
}

.pro-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.9em;
    height: 8em;
    padding: 0 0.4em;
}

.pro-bars i {
    flex: 1;
    border-radius: 0.3em 0.3em 0 0;
    background: linear-gradient(180deg, #8b6cff 0%, #3c18f5 100%);
}

.pro-trips li {
    display: grid;
    grid-template-columns: 2.4em 1fr auto 4.6em;
    align-items: center;
    gap: 0.8em;
    padding: 0.55em 0;
    border-bottom: 1px solid #f0eef8;
}

.pro-trips li:last-child {
    border-bottom: none;
}

.pro-truck {
    width: 2.4em;
    height: 1.6em;
    border-radius: 0.3em;
    background: #46506a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 1h14v10H0zM15 4h5l4 4v3h-9z'/%3E%3Ccircle cx='5' cy='13' r='2.5'/%3E%3Ccircle cx='19' cy='13' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 1h14v10H0zM15 4h5l4 4v3h-9z'/%3E%3Ccircle cx='5' cy='13' r='2.5'/%3E%3Ccircle cx='19' cy='13' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pro-pill {
    padding: 0.25em 0.7em;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
}

.pill-trip { background: #dcfce7; color: #15803d; }
.pill-done { background: #ebe6ff; color: var(--brand); }
.pill-transit { background: #fef3c7; color: #b45309; }

.pro-speed {
    text-align: right;
    font-weight: 600;
}

.mini-map {
    display: block;
    width: 100%;
    height: 100%;
}


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

.section-light {
    background: var(--light);
}

.section-navy {
    background: radial-gradient(ellipse 80% 70% at 50% 0%, #2a1a8a 0%, var(--navy) 70%);
    color: #ffffff;
}

.section h2,
.cta h2 {
    margin-top: 8px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.section-navy h2,
.why h2,
.cta h2 {
    color: #ffffff;
}

.section-head {
    max-width: 880px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head > p:last-child {
    margin-top: 10px;
    font-size: 15px;
}

.section-navy .section-head > p:last-child {
    color: #cbcdee;
}

/* ---------- About ---------- */
.about {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background:
        radial-gradient(circle at 62% 30%, rgba(123, 63, 247, 0.12) 0 22%, transparent 22.2%),
        radial-gradient(circle at 92% 18%, rgba(60, 24, 245, 0.08) 0 16%, transparent 16.2%),
        linear-gradient(180deg, #f8f7ff 0%, #f3f1ff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    align-items: center;
    gap: 40px;
}

.about-copy {
    position: relative;
    z-index: 2;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand);
}

.about-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--brand);
}

.about-copy h2 {
    margin-top: 22px;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
}

.about-swoosh {
    display: block;
    width: 200px;
    height: 12px;
    margin-top: 6px;
    color: #7b5cff;
}

.about-copy > p {
    margin: 20px 0 32px;
    max-width: 52ch;
    font-size: 16px;
    line-height: 1.75;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
}

.about-video {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 26px 6px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(2, 20, 43, 0.06);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.about-video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ebe6ff;
    color: var(--brand);
    transition: transform 0.2s;
}

.about-video:hover .about-video-icon {
    transform: scale(1.08);
}

.about-video-icon svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

/* truck + laptop + phone */
/* left padding opens a gap between the copy and the laptop where the truck parks */
.about-visual {
    position: relative;
    padding: 20px 7% 30px 17%;
}

/* soft lavender blobs behind the laptop */
.about-blobs {
    position: absolute;
    top: -12%;
    left: 8%;
    width: 90%;
    height: 110%;
    z-index: 0;
}

/* handwritten "Real-Time Tracking" note, top right */
.about-note {
    position: absolute;
    top: -8%;
    right: -1%;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    font-family: 'Caveat', cursive;
    font-size: clamp(20px, 1.9vw, 30px);
    line-height: 0.95;
    color: var(--ink);
    transform: rotate(-10deg);
}

.about-note svg {
    width: 1.8em;
    height: 1.5em;
    color: var(--brand);
}

.about-truck {
    position: absolute;
    left: -2%;
    bottom: 60px;
    z-index: 0;
    width: 46%;
    height: auto;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 25%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 25%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%);
    mask-composite: intersect;
}

.about-laptop {
    transform: none;
}

/* phone app mockup, overlapping the laptop's right edge */
.about-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 21%;
    min-width: 150px;
    padding: 0.6em;
    border-radius: 2.6em;
    background: #10131c;
    box-shadow: 0 28px 50px rgba(2, 20, 43, 0.35);
    font-size: clamp(6px, 0.55vw, 9px); /* children are sized in em */
}

.ap-screen {
    overflow: hidden;
    padding: 0 0 1.2em;
    border-radius: 2.1em;
    background: #ffffff;
    color: var(--ink);
    line-height: 1.3;
}

.ap-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9em 1.6em 0.4em;
    font-size: 0.95em;
    font-weight: 600;
}

.ap-notch {
    width: 7em;
    height: 1.6em;
    border-radius: 1em;
    background: #10131c;
}

.ap-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6em 1.4em;
}

.ap-head img {
    width: 9em;
}

.ap-menu {
    width: 1.6em;
    height: 1.1em;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    position: relative;
}

.ap-menu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px solid var(--ink);
    transform: translateY(-50%);
}

.ap-map {
    height: 16em;
    margin: 0 1em;
    overflow: hidden;
    border-radius: 1em;
}

.ap-vehicle {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin: -2.4em 1.6em 0;
    position: relative;
    padding: 0.8em 1em;
    border-radius: 0.9em;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 20, 43, 0.15);
}

.ap-vehicle b {
    display: block;
    font-size: 1.1em;
}

.ap-vehicle small {
    font-size: 0.9em;
    color: var(--green);
}

.ap-vehicle-icon {
    display: flex;
    color: var(--ink);
}

.ap-vehicle-icon svg {
    width: 2.4em;
    height: 2.4em;
}

.ap-stats {
    display: flex;
    justify-content: space-between;
    padding: 1.2em 1.6em 1em;
}

.ap-stats small {
    display: block;
    font-size: 0.85em;
    color: var(--muted);
}

.ap-stats b {
    font-size: 1.1em;
}

.ap-btn {
    display: block;
    margin: 0 1.2em;
    padding: 0.9em;
    border-radius: 0.8em;
    background: linear-gradient(135deg, #7b3ff7, #3c18f5);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.laptop-screen {
    padding: 10px;
    border-radius: 14px 14px 0 0;
    background: #10162a;
    border: 1px solid #2a3350;
}

.laptop-base {
    height: 14px;
    margin: 0 -6%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #d9dee8 0%, #aab2c3 100%);
    box-shadow: 0 18px 30px rgba(2, 20, 43, 0.25);
}

/* dashboard UI drawn inside the laptop */
.screen {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f4fc;
    font-size: 8px;
    color: var(--ink);
}

.screen-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    background: #02142b;
}

.screen-logo {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
    border-radius: 5px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    line-height: 18px;
}

.screen-side i {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: #3b4c78;
}

.screen-side i.on {
    background: var(--brand);
}

.screen-main {
    display: grid;
    gap: 6px;
    padding: 8px 8px 8px 0;
}

.screen-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screen-top span {
    width: 50px;
    height: 8px;
    border-radius: 4px;
    background: #e2dff2;
}

.screen-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.screen-stats > div,
.screen-card {
    padding: 5px 6px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(2, 20, 43, 0.08);
}

.screen small {
    display: block;
    font-size: 6.5px;
    color: var(--muted);
}

.screen-stats b {
    font-size: 12px;
}

.screen-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5px;
}

.screen-card svg {
    display: block;
    width: 100%;
    height: 44px;
}

.screen-map {
    padding: 0;
    overflow: hidden;
}

.screen-map .mini-map {
    height: 58px;
}

.screen-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 36px;
    margin-top: 4px;
}

.screen-bars i {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #8b5cf6, var(--brand));
}

/* benefits: four separate tinted cards, each with a round arrow */
.benefit-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.benefit {
    --tone: #5a2bf7;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 36px rgba(2, 20, 43, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit:hover {

    box-shadow: 0 18px 40px rgba(2, 20, 43, 0.1);
}

.benefit-violet { --tone: #5a2bf7; background: linear-gradient(135deg, #f4f1ff, #ffffff); }
.benefit-green { --tone: #16a34a; background: linear-gradient(135deg, #effcf3, #ffffff); }
.benefit-purple { --tone: #9333ea; background: linear-gradient(135deg, #f8f0ff, #ffffff); }
.benefit-orange { --tone: #f97316; background: linear-gradient(135deg, #fff5eb, #ffffff); }

.benefit-body {
    flex: 1;
}

.benefit-go {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--tone);
    box-shadow: 0 4px 12px rgba(2, 20, 43, 0.08);
    transition: background 0.2s, color 0.2s;
}

.benefit-go:hover {
    background: var(--tone);
    color: #ffffff;
}

.benefit-go svg {
    width: 16px;
    height: 16px;
}

.benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
}

.tint-violet { background: #ebe6ff; color: #5a2bf7; }
.tint-green { background: #dcfce7; color: #16a34a; }
.tint-purple { background: #f3e8ff; color: #9333ea; }
.tint-orange { background: #ffedd5; color: #f97316; }

.benefit h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.benefit p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.55;
}

/* ---------- Modules ---------- */
.modules {
    position: relative;
    overflow: hidden;
    padding: 84px 0 90px;
    background:
        radial-gradient(ellipse 45% 35% at 85% 0%, rgba(123, 63, 247, 0.07) 0%, transparent 70%),     /* soft wash top-right */
        radial-gradient(ellipse 40% 40% at 0% 100%, rgba(90, 43, 247, 0.05) 0%, transparent 70%),     /* soft wash bottom-left */
        linear-gradient(180deg, #fbfaff 0%, #f5f3ff 100%);
}

/* dotted grid in the top-left corner, fading out towards the cards */
.modules::before {
    content: '';
    position: absolute;
    top: 96px;
    left: 2.5%;
    width: 260px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(90, 43, 247, 0.32) 1.8px, transparent 2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 40%, transparent 100%);
    pointer-events: none;
}

/* large soft circle sweeping in from the right, behind the cards */
.modules::after {
    content: '';
    position: absolute;

    bottom: -38%;
    width: 46vw;
    height: 46vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.18) 0%, rgba(123, 63, 247, 0.08) 50%, rgba(123, 63, 247, 0) 71%);
    pointer-events: none;
}

.modules .container {
    position: relative;
    z-index: 1;
}

.modules .section-head {
    position: relative;
    max-width: 1240px; /* room for the heading on one line at full size */
    margin-bottom: 44px;
}

.modules-eyebrow {
    justify-content: center;
}

.modules .section-head h2 {
    margin-top: 16px;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
}

.modules .section-head > p:last-child {
    margin-top: 12px;
    font-size: 17px;
    color: var(--text);
}

.module-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.module-card {
    --tone: #5a2bf7;
    --tint: #ebe6ff;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #efedf8;
    box-shadow: 0 12px 32px rgba(2, 20, 43, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  
    box-shadow: 0 18px 40px rgba(2, 20, 43, 0.1);
}

.mod-blue { --tone: #3c18f5; --tint: #e9e6ff; }
.mod-green { --tone: #16a34a; --tint: #dcfce7; }
.mod-amber { --tone: #f59e0b; --tint: #fef3c7; }
.mod-sky { --tone: #0284c7; --tint: #e0f2fe; }
.mod-violet { --tone: #7c3aed; --tint: #f1eaff; }
.mod-rose { --tone: #e11d48; --tint: #ffe4e9; }
.mod-cyan { --tone: #0891b2; --tint: #dff7fb; }

.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tint) 0%, #ffffff 140%);
    color: var(--tone);
}

.module-icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 2;
}

.module-card h3 {
    margin-top: 18px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.module-foot {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.module-foot p {
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.module-go {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--tone);
    transition: background 0.2s, color 0.2s;
}

.module-go:hover {
    background: var(--tone);
    color: #ffffff;
}

.module-go svg {
    width: 16px;
    height: 16px;
}

/* ---------- Live tracking ---------- */
.tracking {
    position: relative;
    overflow: hidden;
   padding: 90px 0 19px;
    background:
        radial-gradient(circle at 22% 38%, rgba(123, 63, 247, 0.1) 0 24%, transparent 24.2%),
        radial-gradient(ellipse 35% 40% at 0% 100%, rgba(90, 43, 247, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, #f8f7ff 0%, #fbfaff 100%);
}

/* winding route + pin on the right edge */
.tracking-road {
    position: absolute;
    top: 0;
    right: 0;
    width: 18%;
    max-width: 300px;
    height: 100%;
    opacity: 0.9;
    pointer-events: none;
}

.tracking-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 56px;
}

.tracking-visual {
    position: relative;
    padding: 60px 0 40px 17%;
}

.tracking-dash {
    position: absolute;
    top: 0;
    left: 2%;
    width: 60%;
    height: 70%;
    z-index: 0;
}

.tracking-truck {
    position: absolute;
    left: -6%;
    bottom: 70px;
    z-index: 0;
    width: 40%;
    height: auto;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 25%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 25%),
        linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%);
    mask-composite: intersect;
}

.tracking-laptop {
    transform: none;
}

/* white status cards floating around the laptop */
.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 20, 43, 0.14);
    line-height: 1.35;
 
}

.float-card b {
    display: block;
    font-size: 15px;
    color: var(--ink);
}

.float-card small {
    display: block;
    font-size: 13px;
    color: var(--text);
}

.fc-live { top: -28px; left: 0; }
.fc-fuel { bottom: 20px; left: 2%; animation-delay: -2s; }
.fc-geo { top: 52%; right: -6%; animation-delay: -4s; }

.fc-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.fc-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.fc-violet { background: #ebe6ff; color: var(--brand); }
.fc-amber { background: #fef3c7; color: #f59e0b; }

.fc-down {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
}

.fc-down svg {
    width: 22px;
    height: 12px;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
    .float-card {
        animation: none;
    }
}

.tracking-copy {
    position: relative;
    z-index: 2;
    padding-right: 8%; /* keeps text clear of the route decoration */
}

.tracking-pill {
    color: var(--brand);
}

.tracking-copy h2 {
    margin-top: 22px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ink);
}

.tracking-lead {
    margin: 18px 0 26px;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text);
}

.tracking-list {
    display: grid;
    gap: 18px;
    margin: 0 0 34px 24px;
}

.tracking-list li {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tracking-list .benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.tracking-list .benefit-icon svg {
    width: 26px;
    height: 26px;
}

.tracking-list b {
    display: block;
    font-size: 17px;
    color: var(--ink);
}

.tracking-list small {
    font-size: 15px;
    color: var(--text);
}

/* ---------- Why us ---------- */
/* matches the photo's own near-white blue so its faded left edge blends in */
.why {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(ellipse 30% 50% at 0% 100%, rgba(186, 220, 250, 0.35) 0%, transparent 70%),
        linear-gradient(90deg, #f7fbfd 0%, #f3f9fd 60%);
}

/* dotted pattern top-left, like the Key Modules section */
.why::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 2%;
    width: 220px;
    height: 160px;
    background-image: radial-gradient(circle, rgba(90, 43, 247, 0.22) 1.6px, transparent 1.8px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 40%, transparent 100%);
    pointer-events: none;
}

/* truck photo (with its trip card, route pin and stats baked in) on the right */
.why-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* keep the stats panel and pin in view */
    /* soft fade on the left edge instead of a hard line */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

/* large soft sweep where the photo meets the page */
.why-sweep {
    position: absolute;
    top: -30%;
    left: 36%;
    width: 22%;
    height: 160%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 70% 50%, rgba(207, 228, 250, 0.55) 0%, rgba(207, 228, 250, 0) 70%);
    pointer-events: none;
}

/* copy + feature cards on the left */
.why-copy {
    position: relative;
    z-index: 1;
    max-width: 52%;
}

.why-copy h2 {
    margin-top: 22px;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
}

.why-lead {
    margin: 18px 0 34px;
    max-width: 50ch;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.why-card {
    padding: 22px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(2, 20, 43, 0.06);
    transition: transform 0.2s;
}



.why-card .benefit-icon {
    width: 58px;
    height: 58px;
}

.why-card .benefit-icon svg {
    width: 28px;
    height: 28px;
}

.why-card h3 {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.why-card p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    display: flex;
    gap: 16px;
    padding: 24px 22px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b3ff7, #3c18f5);
    color: #ffffff;
    font-weight: 600;
}

.testimonial blockquote {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
}

.testimonial figcaption {
    margin-top: 12px;
    line-height: 1.3;
}

.testimonial figcaption b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
}

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

/* ---------- CTA ---------- */
/* light band; truck photo (cut from the mock) on the right, fading into the page */
.cta {
    position: relative;
    overflow: hidden;
    padding: 56px 0 60px;
    background:
        radial-gradient(ellipse 40% 70% at 0% 100%, rgba(207, 228, 250, 0.45) 0%, transparent 70%),
        linear-gradient(90deg, #f7fbfd 0%, #eef6fd 100%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

/* third column: stretches over the section padding and out to the viewport's right edge
   (the gutter = container margin + 24px padding; container max-width is 1450px) */
.cta-visual {
    position: relative;
    align-self: stretch;
    min-height: 100%;
    margin: -56px calc(-1 * max(24px, (100vw - 1450px) / 2 + 24px)) -60px 0;
}

.cta-truck {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.cta-copy {
    padding-right: 34px;
    border-right: 1px solid #d5dcef;
}

.cta-eyebrow {
    font-size: 14px;
    font-weight: 700;
}

.cta h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
}

.cta-sub {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
}

.cta-sub b {
    font-weight: 700;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.btn-outline-brand {
    background: #ffffff;
    border-color: var(--brand);
    color: var(--brand);
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #ffffff;
}

.cta-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 34px 26px;
}

.cta-points li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-point-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.cta-point-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
}

.tint-rose { background: #ffe4ec; color: #e11d48; }

.cta-points b {
    display: block;
    font-size: 16px;
    color: var(--ink);
}

.cta-points small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

/* ---------- Privacy policy ---------- */
.privacy {
    position: relative;
    overflow: hidden;
    padding: 80px 0 84px;
    background:
        radial-gradient(ellipse 35% 45% at 100% 0%, rgba(123, 63, 247, 0.07) 0%, transparent 70%),
        linear-gradient(180deg, #fbfaff 0%, #f5f3ff 100%);
}

.privacy-head {
    margin-bottom: 40px;
}

.privacy-head h2 {
    margin-top: 16px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
}

.privacy-head > p:last-child {
    max-width: 640px;
    margin: 12px auto 0;
    font-size: 16.5px;
    color: var(--text);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.privacy-card {
    padding: 26px 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #efedf8;
    box-shadow: 0 12px 32px rgba(2, 20, 43, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.privacy-card:hover {
   
    box-shadow: 0 18px 40px rgba(2, 20, 43, 0.1);
}

.privacy-card .benefit-icon {
    width: 56px;
    height: 56px;
}

.privacy-card .benefit-icon svg {
    width: 28px;
    height: 28px;
}

.privacy-card h3 {
    margin-top: 18px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
}

.privacy-card p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

@media (max-width: 1280px) {
    .privacy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .privacy {
        padding: 60px 0;
    }
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ---------- Footer ---------- */
/* dark navy in the logo colours, violet glow, map + truck line art bottom right */
.footer {
    position: relative;
    overflow: hidden;
    padding: 80px 0 28px;
    background:
        radial-gradient(ellipse 40% 60% at 100% 100%, rgba(90, 43, 247, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 35% 50% at 0% 0%, rgba(60, 24, 245, 0.18) 0%, transparent 70%),
        linear-gradient(180deg, #03142a 0%, #071537 100%);
    color: #c9cde6;
    font-size: 15.5px;
}

/* thin violet line along the top edge */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #7b3ff7 30%, #3c18f5 70%, transparent 100%);
    opacity: 0.8;
}

.footer-art {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 30%;
    max-width: 560px;
    height: auto;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* logo + description on the left, then the two link columns kept compact so the art stays clear */
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 440px) auto auto;
    justify-content: start;
    column-gap: clamp(40px, 6vw, 130px);
    row-gap: 40px;
}

.brand-logo-footer {
    height: 62px;
}

.footer-about p {
    max-width: 36ch;
    margin: 22px 0 28px;
    font-size: 16px;
    line-height: 1.75;
    color: #c9cde6;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(164, 139, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #7b3ff7, #3c18f5);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 21px;
    height: 21px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* heading with a short violet underline */
.footer-col h4 {
    position: relative;
    margin-bottom: 14px;
    padding-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #a48bff, #5a2bf7);
}

.footer-col a {
    display: flex;
    align-items: baseline; /* chevron stays on the first line if the text wraps */
    font-size: 16px;
    color: #c9cde6;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* violet chevron before each link */
.footer-links a::before {
    content: '›';
    flex-shrink: 0;
    width: 14px;
    margin-right: 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-lt);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: #aeb3d3;
}

.footer-credit a {
    margin-left: 4px;
    font-weight: 700;
    color: var(--brand-lt);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ---------- Video popup ---------- */
.video-dialog {
    width: min(960px, 92vw);
    padding: 0;
    border: none;
    border-radius: 16px;
    background: #000000;
    overflow: visible;
}

.video-dialog::backdrop {
    background: rgba(2, 20, 43, 0.82);
    backdrop-filter: blur(4px);
}

.video-dialog video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9; /* keep full size while the video is still loading */
    background: #000000;
    border-radius: 16px;
}

.video-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ---------- Responsive ---------- */
/* CTA: below 1750px the three columns get too tight, so stack copy + points on the left
   and let the truck fill the right column */
@media (max-width: 1750px) {
    .cta-inner {
        grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
        column-gap: 40px;
    }
    .cta-copy {
        grid-column: 1;
        padding-right: 0;
        border-right: none;
    }
    .cta-points {
        grid-column: 1;
        grid-row: 2;
    }
    .cta-visual {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 1100px) {
    /* narrow truck column: centre on the cab instead of the right edge */
    .cta-truck {
        object-position: 52% center;
    }
}

@media (max-width: 1500px) {
    /* narrower desktops: widen the photo so the trip card and lead truck aren't cropped
       (it slides under the feature cards, like the mock) */
    .why-photo {
        width: 68%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 30%);
    }
    .hero-truck {
        left: -28%;
        width: 46%;
    }
    .benefit {
        gap: 14px;
        padding: 18px 16px;
    }
    .benefit-icon {
        width: 56px;
        height: 56px;
    }
    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }
    .benefit-go {
        width: 32px;
        height: 32px;
    }
    .benefit h3 {
        font-size: 16.5px;
    }
    .benefit p {
        font-size: 14px;
    }
    /* tighter feature icons when the hero is narrower */
    .hero-features {
        gap: 10px;
    }
    .hero-feature-icon {
        width: 56px;
        height: 56px;
    }
}

/* Why us: too tight side-by-side below 1280px, so stack copy/cards above the photo */
@media (max-width: 1280px) {
    .why {
        display: flex;
        flex-direction: column;
        padding: 70px 0 0;
    }
    .why-copy {
        max-width: none;
    }
    .why-photo {
        position: relative;
        order: 2;
        width: 100%;
        max-width: 1100px;
        height: auto; /* natural shape, so the baked-in cards are never cropped */
        margin: 30px auto 0;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
    }
    .why-sweep {
        display: none;
    }
}

@media (max-width: 1199px) {
    .why-lead{
        margin: 17px 0 19px;
  max-width: 100%;
    }
    .privacy{
          padding: 50px 0 50px;
    }
    .privacy-grid{
        gap: 12px;
    }
    .cta-points{
        display: grid;
  grid-template-columns: repeat(2, minmax(0, 100%));
  gap: 34px 26px;
    }
    .why-photo {
    margin: 0px; width: 100%;
    max-width: 100%;
    }
    .hero{
        padding: 122px 0 44px;
    }
    .module-grid{
        gap: 10px;
    }
    .about{
        padding: 50px 0 50px;
    }
    .tracking{
          padding: 50px 0 50px;
    }
    .about-copy > p{
   margin: 0px 0 0px;
    }
    .about-copy h2{
        margin-top: 10px;
    }
    
    .modules{
        padding: 39px 0 50px;
    }
    .modules .section-head{
        margin-bottom: 21px;
    }
    .benefit-panel{
        grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
    }
    .nav-links {
        gap: 20px;
    }
    /* hero stacks: copy first, laptop below */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        width: 100%;
        max-width: 780px;
        margin: 0 auto;
    }
    .trip-card {
        left: 0;
    }
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
    }
    .nav-actions {
        margin-left: auto;
    }
    .nav-divider {
        display: none;
    }
    /* inline links move into the off-canvas drawer */
    .nav-links {
        display: none;
    }
    .footer{
        padding: 40px 0 28px;
    }
    .footer .container{
        padding-top: 13px;
    }
    .footer-bottom{
        margin-top: 33px;
    }
    .about-grid,
    .tracking-grid {
        grid-template-columns: 1fr;
    }
    .tracking-visual {
        width: 100%;
        max-width: 760px;
        margin: 0px auto 0;
    }
    .tracking-road {
        display: none;
    }
    .tracking {
        background: linear-gradient(180deg, #f8f7ff 0%, #fbfaff 100%);
    }
    .tracking-copy {
        order: -1; /* stacked: heading and text first, laptop below */
        padding-right: 0;
    }
    .fc-geo {
        right: 0;
    }
    .about-visual {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }
    .benefit-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-note {
        display: none;
    }
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-inner {
        grid-template-columns: 1fr;
    }
    .cta-visual {
        display: none;
    }
    .footer-art {
        width: 50%;
        opacity: 0.6;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin: 0 auto;
    }
    /* tablet: description across the top, the two link columns side by side below */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
        gap: 36px;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .brand-logo {
  
    height: 31px;
}
    /* the 31px header-logo rule above also matches the footer logo; keep that one readable */
    .footer .brand-logo-footer {
        height: 48px;
    }
    .container {
        padding: 0 16px;
    }
    .cta-actions .btn {
        flex: 1 1 100%;
    }
    .cta-points {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cta-point-icon {
        width: 56px;
        height: 56px;
    }
    .footer-art {
        display: none;
    }
    .why {
        padding: 56px 0;
    }
    .why-card {
        padding: 18px 14px;
    }
    .nav-login,
    .nav-actions .btn {
        display: none;
    }
    .section {
        padding: 60px 0;
    }
    .nav-inner {
        height: 72px;
    }
    .hero {
        padding: 112px 0 48px; /* clears the fixed header */
    }
    .hero-actions .btn {
        flex: 1 1 100%;
    }
    .hero-features {
        gap: 18px 10px;
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-feature-icon {
        width: 56px;
        height: 56px;
    }
    .hero-visual {
        padding-bottom: 64px;
    }
    .pro-laptop {
        transform: none;
    }
    .hero-truck {
        display: none;
    }
    .pro-laptop-lid {
        border-radius: 12px 12px 0 0;
    }
    .pro-laptop-base {
        height: 10px;
    }
    .trip-card {
        left: 8px;
        right: 8px;
        bottom: 0;
        gap: 10px;
        padding: 10px 14px 10px 10px;
    }
    .trip-card-thumb {
        width: 42px;
        height: 42px;
    }
    .trip-card-info b {
        font-size: 15px;
    }
    .trip-card-speed {
        margin-left: auto;
    }
    .trip-card-speed b {
        font-size: 24px;
    }
    .about {
        padding: 60px 0;
    }
    .about-visual {
        padding: 10px 0 20px;
    }
    .about-truck,
    .about-phone {
        display: none;
    }
    .benefit-panel {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .module-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tracking {
        padding: 60px 0;
    }
    .tracking-visual {
        padding: 10px 0 20px;
    }
    .tracking-truck,
    .tracking-dash,
    .fc-geo {
        display: none;
    }
    .fc-live {
        top: -14px;
        left: 4px;
    }
    .fc-fuel {
        bottom: -6px;
        left: auto;
        right: 4px;
    }
    .float-card {
        padding: 10px 14px 10px 10px;
        gap: 10px;
    }
    .fc-icon {
        width: 38px;
        height: 38px;
    }
    .float-card b {
        font-size: 13px;
    }
    .float-card small {
        font-size: 11.5px;
    }
    .fc-down {
        font-size: 16px;
    }
    .tracking-list {
        margin-left: 0;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .video-close {
        top: -46px;
        right: 0;
    }
}
