:root {
    --fx-navy: #101c35;
    --fx-blue: #2864e8;
    --fx-blue-dark: #194bc0;
    --fx-green: #22c58b;
    --fx-text: #17243b;
    --fx-muted: #69778d;
    --fx-bg: #f5f7fb;
    --fx-white: #ffffff;
    --fx-border: #e6eaf1;
    --fx-shadow: 0 18px 50px rgba(16, 28, 53, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--fx-bg);
    color: var(--fx-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    min-height: 78px;
    padding: 16px max(5%, calc((100% - 1200px) / 2));
    background: var(--fx-navy);
    color: var(--fx-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand strong {
    color: var(--fx-green);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--fx-blue);
    color: white;
    font-size: 21px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-link {
    color: #d4dcec;
    font-weight: 600;
}

.nav-link:hover {
    color: white;
}

.nav-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 9px;
    background: var(--fx-blue);
    color: white;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.nav-button:hover,
.primary-button:hover {
    background: var(--fx-blue-dark);
    color: white;
    transform: translateY(-1px);
}

main {
    width: min(1200px, 90%);
    margin: 44px auto 60px;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 48px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid var(--fx-border);
    border-radius: 24px;
    background: var(--fx-white);
    box-shadow: var(--fx-shadow);
}

.eyebrow,
.section-kicker {
    color: var(--fx-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--fx-green);
}

.hero h1 {
    margin: 20px 0 16px;
    color: var(--fx-navy);
    font-size: clamp(34px, 4.2vw, 55px);
    line-height: 1.13;
    letter-spacing: -1.8px;
}

.hero h1 span {
    color: var(--fx-blue);
}

.hero-description {
    max-width: 540px;
    color: var(--fx-muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid var(--fx-border);
    border-radius: 9px;
    background: white;
    color: var(--fx-text);
    font-weight: 700;
}

.secondary-button:hover {
    border-color: var(--fx-blue);
    color: var(--fx-blue);
}

.trust-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: var(--fx-muted);
    font-size: 12px;
}

.trust-note span {
    color: var(--fx-green);
    font-weight: 900;
}

.hero-visual {
    padding: 18px;
    border: 1px solid #273958;
    border-radius: 20px;
    background: linear-gradient(145deg, #172947, #101a30);
    color: white;
    box-shadow: 0 20px 45px rgba(16, 28, 53, .18);
}

.visual-top,
.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.visual-label,
.mini-label {
    color: #a8b8d2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #d7e2f3;
    font-size: 10px;
}

.map-art {
    position: relative;
    height: 255px;
    margin: 17px 0;
    overflow: hidden;
    border: 1px solid #344563;
    border-radius: 13px;
    background-color: #1b3150;
    background-image:
        linear-gradient(28deg, transparent 47%, #2c4767 48%, #2c4767 50%, transparent 51%),
        linear-gradient(120deg, transparent 43%, #293f5e 44%, #293f5e 46%, transparent 47%),
        linear-gradient(80deg, transparent 65%, #304865 66%, #304865 68%, transparent 69%),
        linear-gradient(#203753 1px, transparent 1px),
        linear-gradient(90deg, #203753 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 35px 35px, 35px 35px;
}

.map-road {
    position: absolute;
    height: 7px;
    border: 1px solid #8aa0bb;
    border-right: 0;
    border-left: 0;
    border-radius: 50%;
    opacity: .6;
}

.road-one {
    top: 36%;
    left: -12%;
    width: 125%;
    transform: rotate(-20deg);
}

.road-two {
    top: 65%;
    left: -8%;
    width: 125%;
    transform: rotate(15deg);
}

.road-three {
    top: 45%;
    left: 10%;
    width: 110%;
    transform: rotate(65deg);
}

.road-four {
    top: 48%;
    left: 28%;
    width: 100%;
    transform: rotate(-55deg);
}

.map-pin {
    position: absolute;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 4px solid white;
    border-radius: 50% 50% 50% 0;
    background: var(--fx-green);
    box-shadow: 0 0 0 6px rgba(34, 197, 139, .17);
    transform: rotate(-45deg);
}

.map-pin span {
    color: white;
    font-size: 9px;
    transform: rotate(45deg);
}

.pin-one {
    top: 26%;
    left: 25%;
}

.pin-two {
    top: 53%;
    left: 60%;
}

.pin-three {
    top: 23%;
    right: 16%;
}

.map-caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #455b77;
    border-radius: 8px;
    background: #172947;
    color: white;
    font-size: 11px;
}

.visual-bottom {
    padding: 4px 2px 0;
}

.visual-bottom strong {
    display: block;
    margin-top: 4px;
    color: white;
    font-size: 14px;
}

.visual-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #293e5e;
    color: #8ee9c0;
    font-size: 20px;
}

.features-section {
    margin-top: 65px;
}

.section-heading h2,
.closing-banner h2 {
    margin: 9px 0;
    color: var(--fx-navy);
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.7px;
}

.section-heading p,
.closing-banner p {
    margin: 0;
    color: var(--fx-muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-card {
    padding: 27px;
    border: 1px solid var(--fx-border);
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 24px rgba(16, 28, 53, .035);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fx-shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 13px;
    font-size: 24px;
    font-weight: 700;
}

.icon-blue {
    background: #eaf1ff;
    color: var(--fx-blue);
}

.icon-green {
    background: #e5fbf2;
    color: #07875d;
}

.icon-purple {
    background: #f1eaff;
    color: #7a45d6;
}

.feature-card h3 {
    margin: 20px 0 8px;
    color: var(--fx-navy);
    font-size: 19px;
}

.feature-card p {
    min-height: 74px;
    margin: 0;
    color: var(--fx-muted);
    font-size: 14px;
}

.feature-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 20px;
    color: var(--fx-blue);
    font-size: 13px;
    font-weight: 800;
}

.feature-note {
    display: inline-block;
    margin-top: 20px;
    color: var(--fx-muted);
    font-size: 12px;
    font-weight: 700;
}

.closing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 55px;
    padding: 32px 36px;
    border-radius: 18px;
    background: #eaf0ff;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 25px 5%;
    border-top: 1px solid var(--fx-border);
    background: white;
    color: var(--fx-muted);
    font-size: 12px;
}

.site-footer p {
    margin: 0;
    text-align: center;
}

.footer-brand {
    color: var(--fx-navy);
    font-size: 14px;
    font-weight: 800;
}

.site-footer > a:last-child {
    color: var(--fx-blue);
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        max-width: 560px;
        width: 100%;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 5%;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-button {
        padding: 9px 12px;
    }

    main {
        width: 92%;
        margin-top: 22px;
    }

    .hero {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .map-art {
        height: 210px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: auto;
    }

    .feature-card p {
        min-height: 0;
    }

    .closing-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 22px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 5%;
    }

    .site-footer p {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* FAST-X GPS CUSTOMER DASHBOARD */


/* CUSTOMER DASHBOARD PROFESSIONAL STYLING */

.customer-header {
    background: linear-gradient(135deg, #101b49, #172d68);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 27, 73, 0.15);
}

.customer-header h1,
.customer-header h2,
.customer-header a {
    color: #ffffff;
}

.customer-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    padding: 14px 24px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.customer-nav a {
    display: inline-block;
    padding: 10px 15px;
    margin-right: 6px;
    border-radius: 8px;
    color: #263654;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.customer-nav a:hover {
    background: #eaf8f5;
    color: #087f70;
}

.welcome {
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f4f8ff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 30px;
    margin-bottom: 24px;
}

.welcome h1,
.welcome h2 {
    color: #172554;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.stat {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}

.stat strong,
.stat h2,
.stat h3 {
    color: #172554;
}

.panel {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 24px;
    margin: 22px 0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.vehicle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin: 14px 0;
}

.button {
    display: inline-block;
    border: none;
    border-radius: 9px;
    padding: 11px 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.online {
    color: #087443;
    background: #dcfce7;
}

.offline {
    color: #9f1239;
    background: #ffe4e6;
}

.alert-item {
    border: 1px solid #e5eaf2;
    border-left: 4px solid #0d9488;
    border-radius: 10px;
    padding: 15px;
    margin: 12px 0;
    background: #ffffff;
}

@media (max-width: 800px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .welcome,
    .panel {
        padding: 18px;
    }

    .customer-nav {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .customer-nav a {
        margin: 3px;
        padding: 9px 10px;
    }
}



/* FAST-X GPS VEHICLE CARD IMPROVEMENTS */

.vehicle {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f7faff);
    border: 1px solid #dce5f1;
    border-radius: 14px;
    padding: 22px;
    margin: 16px 0;
    box-shadow: 0 5px 16px rgba(23, 37, 84, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vehicle:hover {
    border-color: #14b8a6;
    box-shadow: 0 8px 22px rgba(23, 37, 84, 0.09);
}

.vehicle h3,
.vehicle h4 {
    color: #172554;
    margin-top: 0;
}

.vehicle p {
    color: #475569;
    line-height: 1.7;
}

.vehicle .badge {
    margin: 4px 4px 4px 0;
}

.vehicle a {
    text-decoration: none;
}

@media (max-width: 600px) {
    .vehicle {
        padding: 16px;
    }
}



/* FAST-X GPS SUBSCRIPTION SECTION */

.panel h2 {
    color: #172554;
    font-size: 23px;
    margin-top: 0;
    margin-bottom: 12px;
}

.panel .muted {
    color: #64748b;
    line-height: 1.7;
}

.panel .empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 22px;
    color: #475569;
    margin-top: 18px;
}

.panel article.vehicle {
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 5px 18px rgba(23, 37, 84, 0.05);
}

.panel article.vehicle h3 {
    color: #172554;
    font-size: 20px;
    margin-bottom: 16px;
}

.panel article.vehicle p {
    margin: 12px 0;
    line-height: 1.7;
}

.panel article.vehicle strong {
    color: #1e293b;
}

.panel article.vehicle .badge {
    margin-left: 6px;
}

.panel article.vehicle .button {
    margin-top: 8px;
    background: #0f766e;
    color: #ffffff;
}

.panel article.vehicle .button:hover {
    background: #115e59;
}

@media (max-width: 600px) {
    .panel article.vehicle {
        padding: 16px;
    }
}
