/* =====================================================
   TrackPro — Home Page Stylesheet (home.css)
   Hero, features, mobile app, live tracking,
   pricing, testimonials, contact
   ===================================================== */

/* =====================================================
   HERO — full-bleed banner image + rotating offer slides
   ===================================================== */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--ink);
}

/* ---- Swiper shell ---- */
.hero__swiper {
    width: 100%;
    overflow: hidden;
    --hero-arrow-size: 46px;
}
.hero__swiper .swiper-wrapper { align-items: stretch; }
.hero__swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ---- Slide artwork: desktop and mobile files are picked by <picture> ---- */
.hero__media {
    display: block;
    width: 100%;
    /* Matches the 1600x737 desktop artwork, so the banner is never cropped */
    aspect-ratio: 1600 / 737;
    overflow: hidden;
}
.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---- Pagination ---- */
.hero__dots {
    position: absolute;
    left: 0; right: 0; bottom: 22px;
    z-index: 5;
    display: flex; align-items: center; justify-content: center;
    gap: 9px;
    /* Swiper injects buttons here */
}
.hero__dots .swiper-pagination-bullet {
    width: 9px; height: 9px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 2px 8px rgba(8, 15, 35, .35);
    transition: width .3s ease, background .3s ease;
}
.hero__dots .swiper-pagination-bullet-active {
    width: 30px;
    background: var(--red);
}

/* ---- Arrows ---- */
.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: var(--hero-arrow-size); height: var(--hero-arrow-size);
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, opacity .25s ease;
}
.hero__arrow::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 11px; height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.hero__arrow--prev { left: 22px; }
.hero__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.hero__arrow--next { right: 22px; }
.hero__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; }
/* Swiper adds .swiper-button-disabled while looping */
.hero__arrow.swiper-button-disabled { opacity: .35; cursor: default; }
.hero__arrow.swiper-button-disabled:hover { background: rgba(15, 23, 42, .42); border-color: rgba(255, 255, 255, .28); }

/* No-JS / before-init fallback: keep the first artwork visible */
.hero__swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.hero__swiper:not(.swiper-initialized) .hero__arrow,
.hero__swiper:not(.swiper-initialized) .hero__dots { display: none; }

/* =====================================================
   PREMIUM HERO BUTTONS
   ===================================================== */
.btn--hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 999px; /* Modern sleek pill shape */
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

/* Shimmer / Gloss sweep overlay on hover */
.btn--hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    z-index: 2;
    pointer-events: none;
}

.btn--hero:hover::before {
    left: 150%;
}

.btn--hero span {
    position: relative;
    z-index: 3;
}

.btn--hero i {
    position: relative;
    z-index: 3;
    font-size: 1.05em;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--hero:hover i.fa-arrow-right {
    transform: translateX(6px);
}

.btn--hero:hover i.fa-headset,
.btn--hero:hover i.fa-mobile-screen-button {
    transform: scale(1.18) rotate(-8deg);
}

/* Variant 1: Premium Danger Red Gradient (For Offer Slide) */
.btn--hero-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 28px -6px rgba(239, 68, 68, 0.55),
                0 4px 14px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--hero-danger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 38px -6px rgba(239, 68, 68, 0.75),
                0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
}

/* Variant 2: Vibrant Blue Gradient (For Fleet Solution Slide) */
.btn--hero-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 28px -6px rgba(37, 99, 235, 0.55),
                0 4px 14px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 38px -6px rgba(37, 99, 235, 0.75),
                0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #1d4ed8 100%);
}

/* Variant 3: Glassmorphic Ultra-White (For App & Support Slides) */
.btn--hero-glass {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 #ffffff;
}

.btn--hero-glass:hover {
    transform: translateY(-3px) scale(1.02);
    background: #ffffff;
    color: #1d4ed8 !important;
    box-shadow: 0 16px 38px -6px rgba(0, 0, 0, 0.45),
                0 0 24px rgba(255, 255, 255, 0.7),
                inset 0 1px 0 #ffffff;
}

/* Nav slider buttons hidden as requested */
.hero__dots { display: none !important; }

/* Reduced motion: show the first slide statically instead of an empty rotating box */
@media (prefers-reduced-motion: reduce) {
    /* Hero: autoplay is already switched off in main.js; the banner is static artwork */
    .hero__media img { transition: none; }
}

/* ---- Shared map/browser chrome helpers ---- */
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot--red { background: var(--red); }
.dot--yellow { background: #f59e0b; }
.dot--green { background: #22c55e; }

.map-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(29, 78, 216, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 78, 216, .07) 1px, transparent 1px);
    background-size: 36px 36px;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* =====================================================
   TRUST STRIP — seamless client logo wall
   ===================================================== */
.trust { padding: 64px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust__label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }

/* 1px gap over a line-coloured backdrop turns the cells into a hairline grid */
.trust__wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.trust__cell {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 26px;
    transition: background .3s ease;
}
.trust__cell img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transition: filter .35s ease, transform .35s ease;
}
/* Accent bar wipes across the cell on hover */
.trust__cell::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .35s ease;
}

/* Logos stay in full colour by default and desaturate on hover — hover-capable pointers only,
   so touch devices never get stuck in a hovered (grey) state. */
@media (hover: hover) and (pointer: fine) {
    .trust__cell:hover { background: var(--red-light); }
    .trust__cell:hover img { filter: grayscale(1) opacity(.55); transform: scale(.96); }
    .trust__cell:hover::after { transform: scaleX(1); }
}

/* =====================================================
   STATS BAND - animated [data-count] numbers
   ===================================================== */
.stats {
    position: relative; overflow: hidden;
    /* counter-bg.webp sits under a dark scrim so the white figures stay readable */
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .93) 0%, rgba(30, 41, 59, .88) 100%),
        url("../../counter-bg.webp") center / cover no-repeat,
        #0f172a;
    color: #fff;
    padding: 62px 0;
}
.stats::before {
    content: ""; position: absolute; pointer-events: none;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, .30), rgba(239, 68, 68, 0) 70%);
    filter: blur(60px); top: -170px; right: -90px;
}
.stats__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px; max-width: 940px; margin-inline: auto;
}
.stats__item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 6px 20px;
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .14); }
.stats__icon {
    width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 26px -12px rgba(239, 68, 68, .75);
}
.stats__num {
    display: block; font-family: var(--font-en);
    font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800;
    line-height: 1.05; letter-spacing: -.02em;
    background: linear-gradient(135deg, #ffffff 0%, #fecaca 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats__label { margin-top: 10px; font-size: 1rem; font-weight: 600; color: #cbd5e1; }

/* staggered entrance for the three figures */
.stats__item.reveal { transition-delay: var(--d, 0s); }
.stats__item.reveal.is-visible { transition-delay: 0s; }

/* =====================================================
   APPROVALS & ENLISTMENT - regulator & association logos
   ===================================================== */
.approvals { background: #f8fafc; position: relative; padding: 100px 0; }

/* 3 cards per row on large screens (equivalent to Bootstrap's col-lg-4) */
.approvals__grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
}
.approvals__card {
    position: relative; overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 30px 26px 28px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
}
/* Red accent bar wipes in from the left on hover */
.approvals__card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Fixed 200px stage; object-fit keeps the 2:1 and 1:1 logos undistorted */
.approvals__logo {
    width: 100%; height: 200px; margin-bottom: 18px;
    display: grid; place-items: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.approvals__logo img { display: block; width: 100%; height: 100%; max-width: 180px; object-fit: contain; }
.approvals__name { display: block; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.approvals__full {
    display: block; margin-top: 6px; font-size: 0.88rem; line-height: 1.55; color: var(--muted);
}
.approvals__note {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    max-width: 640px; margin: 34px auto 0; text-align: center;
    font-size: 0.93rem; color: var(--muted);
}
.approvals__note i { color: var(--red); }

/* hover-capable pointers only, so touch devices never get stuck in a hovered state */
@media (hover: hover) and (pointer: fine) {
    .approvals__card:hover {
        transform: translateY(-7px);
        border-color: transparent;
        box-shadow: 0 26px 50px -22px rgba(15, 23, 42, 0.28);
    }
    .approvals__card:hover::before { transform: scaleX(1); }
    .approvals__card:hover .approvals__logo { transform: scale(1.02); }
}

/* staggered entrance for the 3 cards */
.approvals__card.reveal { transition-delay: var(--d, 0s); }
.approvals__card.reveal.is-visible { transition-delay: 0s; }

/* =====================================================
   FEATURES TO KEEP YOUR VEHICLE SAFE (PREMIUM RED EDITION)
   ===================================================== */
.features {
    background: #f8fafc;
    position: relative;
    padding: 100px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 36px 30px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}

/* Top Accent Red Bar */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(239, 68, 68, 0.18),
                0 4px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(239, 68, 68, 0.35);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 22px;
}

.feature-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(-6deg);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px -6px rgba(239, 68, 68, 0.55);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #dc2626;
}

.feature-card p {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   PRODUCT CATEGORIES (EXPLORE OUR GPS SOLUTIONS)
   ===================================================== */
.categories {
    background: #ffffff;
    position: relative;
    padding: 100px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.section-head-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 54px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-head-flex h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-top: 10px;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cat-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: 38px 32px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cat-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12),
                0 4px 16px rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35);
}

.cat-card:hover::before {
    opacity: 1;
}

.cat-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.3s ease;
}

.cat-card__badge--red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.cat-card:hover .cat-card__badge {
    background: #ef4444;
    color: #ffffff;
    border-color: transparent;
}

.cat-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #ffffff;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    margin-bottom: 26px;
    box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover .cat-card__icon {
    transform: scale(1.1) rotate(-6deg);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px -6px rgba(239, 68, 68, 0.55);
}

.cat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.cat-card:hover h3 {
    color: #dc2626;
}

.cat-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Header Action Button & Explore Button Style */
.btn--cat-header,
.btn--explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444 !important;
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px -4px rgba(239, 68, 68, 0.12);
}

.btn--cat-header:hover,
.btn--explore:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 10px 24px -4px rgba(239, 68, 68, 0.5);
    transform: translateY(-3px);
}

.btn--cat-header i,
.btn--explore i {
    font-size: 0.88em;
    transition: transform 0.3s ease;
}

.btn--cat-header:hover i,
.btn--explore:hover i {
    transform: translateX(5px);
}

.cat-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(239, 68, 68, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
}

.cat-card:hover .cat-card__link {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.45);
}

.cat-card__link i {
    font-size: 0.88em;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-card__link i {
    transform: translateX(5px);
}

/* =====================================================
   DEVICE SHOWCASE
   ===================================================== */
.showcase { background: var(--bg-soft); position: relative; overflow: hidden; }
.showcase__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }

.showcase__visual { position: relative; }

/* Product image + route caption stacked in the left column */
.device-stack {
    display: flex; flex-direction: column; align-items: stretch;
    width: fit-content; max-width: 100%;
    gap: 26px; /* breathing room between the product image and the route map */
    margin: 0 auto;
}
.mini-map { width: 100%; }

.device-frame {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.device-frame__bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.device-frame__label { margin-left: 10px; font-size: .8rem; color: var(--muted); }
.device-frame__stage {
    position: relative; overflow: hidden;
    padding: 38px 34px 44px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse 70% 70% at 50% 38%, var(--blue-light) 0%, #fff 72%);
}
.device-frame__img {
    position: relative; z-index: 1; display: block;
    width: 100%; max-width: 400px; height: auto; object-fit: contain;
    transition: filter .4s ease;
}
.device-frame__stage::after {
    content: ""; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
    width: 62%; height: 20px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(29, 78, 216, .2) 0%, transparent 70%);
}

/* Colour by default, grey on hover — hover-capable pointers only (see .trust__cell) */
@media (hover: hover) and (pointer: fine) {
    .device-frame__stage:hover .device-frame__img { filter: grayscale(1) opacity(.7); }
    /* The live-tracking GIF is a working demo, not a product photo — greyscaling
       it makes the map look broken, so it keeps its colour on hover. */
    .device-frame__stage:hover .device-frame__img[src$="live_tracking.gif"] { filter: none; }
}

.showcase__float {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 11px;
    padding: 11px 15px; background: #fff;
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-md);
    animation: floatCard 6s ease-in-out infinite;
}
.showcase__float i {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.showcase__float--a i { background: var(--blue-light); color: var(--blue); }
.showcase__float--b i { background: var(--red-light); color: var(--red); }
.showcase__float strong { display: block; font-size: .88rem; color: var(--ink); line-height: 1.2; }
.showcase__float small { font-size: .72rem; color: var(--muted); }
.showcase__float--a { top: 14%; left: -28px; }
.showcase__float--b { bottom: 11%; right: -24px; animation-delay: 1.4s; }

.showcase__content .section-tag { margin-bottom: 18px; }
.showcase__content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }  .showcase__content > p { color: var(--muted); }
  .showcase__content > p + p { margin-top: 12px; font-size: .95rem; }
  .showcase__content > p strong { color: var(--ink); font-weight: 700; }
.showcase__list { margin: 24px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.showcase__list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0; font-size: .96rem; color: var(--ink-2); }
.showcase__list i { color: #10b981; margin-top: 5px; flex-shrink: 0; }

/* ---- Compact live route animation ---- */
.mini-map {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); overflow: hidden;
}
.mini-map__top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.mini-map__title { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.mini-map__title i { color: var(--blue); }
.mini-map__live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; color: var(--red); letter-spacing: .08em; }
.mini-map__live i { font-size: .45rem; animation: blink 1.4s infinite; }

.mini-map__body { position: relative; height: 210px; background: linear-gradient(160deg, #f0f6ff 0%, #e4efff 100%); }
.mini-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.mini-map__route-base { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; opacity: .1; }
.mini-map__route {
    fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 7 9; opacity: .6;
    animation: routeFlow 1.4s linear infinite;
}
@keyframes routeFlow { to { stroke-dashoffset: -32; } }

.mini-map__stop-ring {
    fill: none; stroke-width: 2; opacity: .65;
    transform-box: fill-box; transform-origin: center;
    animation: miniPulse 2.2s ease-out infinite;
}
.mini-map__stop--start .mini-map__stop-ring { stroke: var(--blue); }
.mini-map__stop--end .mini-map__stop-ring { stroke: #10b981; }
.mini-map__stop-core { fill: #fff; stroke-width: 3; }
.mini-map__stop--start .mini-map__stop-core { stroke: var(--blue); }
.mini-map__stop--end .mini-map__stop-core { stroke: #10b981; }
@keyframes miniPulse {
    0%   { transform: scale(.65); opacity: .65; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* The van travels the route via a CSS motion path (hidden on engines without support) */
.mini-map__van { display: none; }
@supports (offset-path: path("M 0 0")) {
    .mini-map__van {
        display: block;
        transform-box: fill-box;
        offset-anchor: 50% 50%;
        offset-rotate: auto;
        offset-path: path('M 30 160 C 96 160 82 52 156 52 S 250 152 302 134 S 386 66 414 44');
        animation: miniDrive 7s linear infinite;
    }
}
@keyframes miniDrive { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.mini-map__card {
    position: absolute; z-index: 2; left: 5%; bottom: 7%;
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px;
    box-shadow: var(--shadow-md);
    animation: floatCard 5s ease-in-out infinite;
}
.mini-map__card i { font-size: 1.05rem; color: var(--blue); }
.mini-map__card small { display: block; font-size: .68rem; color: var(--muted); line-height: 1.3; }
.mini-map__card strong { font-size: .84rem; color: var(--ink); line-height: 1.3; }

/* =====================================================
   LIVE TRACKING SHOWCASE
   ===================================================== */
.live { background: #fff; }
.live__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.live__content .section-tag { margin-bottom: 18px; }
.live__content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.live__content > p { color: var(--muted); }

.live__list { margin: 26px 0 30px; }
.live__list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; font-size: .96rem; color: var(--ink-2); }
.live__list i { color: #10b981; margin-top: 5px; }

/* ---- Fleet table ---- */
.fleet-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.fleet-table__head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 22px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
    font-weight: 700; color: var(--ink); font-size: .95rem;
}
.fleet-table__badge { background: var(--red-light); color: var(--red); font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }

.fleet-row {
    display: grid; grid-template-columns: 46px 1fr auto auto; gap: 14px; align-items: center;
    padding: 15px 22px; border-bottom: 1px solid var(--line);
    transition: background .2s ease;
}
.fleet-row:last-child { border-bottom: 0; }
.fleet-row:hover { background: var(--blue-light); }

.fleet-row__icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.fleet-row__icon--blue { background: var(--blue-light); color: var(--blue); }
.fleet-row__icon--red { background: var(--red-light); color: var(--red); }
.fleet-row__icon--green { background: #ecfdf5; color: #10b981; }

.fleet-row__info strong { display: block; font-size: .92rem; color: var(--ink); }
.fleet-row__info small { color: var(--muted); font-size: .78rem; }

.fleet-row__speed { font-weight: 800; color: var(--ink); font-size: 1.02rem; text-align: right; }
.fleet-row__speed small { font-weight: 500; color: var(--muted); font-size: .72rem; }

.status { font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.status--moving { background: #ecfdf5; color: #059669; }
.status--idle { background: #fffbeb; color: #d97706; }
.status--stopped { background: var(--red-light); color: var(--red); }

/* =====================================================
   PRODUCT PRICING (AUTONEMO STYLE)
   ===================================================== */
.product-pricing {
    background: #f8fafc;
    position: relative;
    padding: 100px 0;
}

.product-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Outer Group Container */
.pricing-group {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 26px 24px 28px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

.pricing-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-group__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.pricing-group__icon--red {
    color: #ef4444;
    font-size: 1.1rem;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.pricing-group__head h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #334155;
    margin: 0;
}

/* Inner 2-column Products Grid */
.pricing-group__products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Individual Product Card */
.product-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 16px 14px 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1),
                0 4px 14px rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35);
}

.product-card__img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.03);
}

.product-card__hot-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    z-index: 2;
}

.product-card__brta-seal {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
}

.product-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: 2.7em;
}

.product-card__warranty {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.product-card__tags {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

.product-card__price {
    font-size: 1.28rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 16px;
    margin-top: auto;
}

.btn--product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: #dc2626;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn--product-action:hover {
    background: #b91c1c;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

/* Dual Action Buttons for All Product Cards */
.product-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-card__btn-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569 !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-card__btn-details:hover {
    border-color: #ef4444;
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05);
}

.product-card__btn-order {
    flex: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: #dc2626;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.product-card__btn-order:hover {
    background: #b91c1c;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

/* =====================================================
   TESTIMONIALS (PREMIUM RED EDITION)
   ===================================================== */
.testimonials {
    background: #ffffff;
    position: relative;
    padding: 100px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

/* Trust Stats Banner */
.testi-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 820px;
    margin: 0 auto 56px;
    padding: 22px 36px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}

.testi-stat__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testi-stat__num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.testi-stat__num i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.testi-stat__lbl {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 2px;
}

.testi-stat__divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
}

/* Testimonial slider (Swiper) */
.testimonials__slider {
    position: relative;
    padding: 6px 4px 8px;
    overflow: hidden;
}

/* Slides sit in a row; the card stretches so every quote in view is the same height */
.testimonials__slider .swiper-wrapper { align-items: stretch; }
/* Every visible card looks identical — three sit in view on desktop, so dimming
   the non-active ones just made the row look broken */
.testimonials__slider .swiper-slide {
    height: auto;
    display: flex;
    opacity: 1;
}
.testimonials__slider .t-card { width: 100%; }

/* Arrows sit outside the track so they can straddle the card edge. The Swiper
   needs overflow:hidden, so anything hung off it gets clipped — hence the
   .testimonials__nav wrapper, which does not clip. */
.testimonials__nav { position: relative; }
.testi__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 12px 26px -10px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.testi__arrow:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 16px 30px -10px rgba(239, 68, 68, 0.65);
    transform: translateY(-50%) scale(1.08);
}
/* Default: tucked just inside the card edge */
.testi__arrow--prev { left: 16px; }
.testi__arrow--next { right: 16px; }
/* Once the viewport leaves room in the page gutter, push them outside the card.
   .container is 1200px + 24px padding, so a 48px arrow needs ~1300px to sit half out. */
@media (min-width: 1300px) {
    .testi__arrow--prev { left: -26px; }
    .testi__arrow--next { right: -26px; }
}
.testi__arrow.swiper-button-disabled { opacity: 0.4; cursor: default; }
.testi__arrow.swiper-button-disabled:hover {
    background: #ffffff;
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.25);
    transform: translateY(-50%);
}

/* Dots */
.testi__dots.swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.testi__dots .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #cbd5e1;
    opacity: 1;
    border: 0;
    margin: 0;
    transition: all 0.3s ease;
}
.testi__dots .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Testimonial Card */
.t-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: 38px 32px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
    margin: 0;
}

.t-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.t-card::after {
    content: "“";
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(239, 68, 68, 0.07);
    line-height: 1;
    pointer-events: none;
}

.t-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(239, 68, 68, 0.15),
                0 4px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(239, 68, 68, 0.35);
}

.t-card:hover::before {
    opacity: 1;
}

.t-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
}

.t-card__stars {
    color: #f59e0b;
    display: flex;
    gap: 5px;
    font-size: 0.95rem;
}

.t-card__badge {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.t-card blockquote {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 28px;
    flex-grow: 1;
    font-style: normal;
}

.t-card__user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.t-card__img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.t-card__meta {
    display: flex;
    flex-direction: column;
}

.t-card__meta strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.t-card__meta small {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.t-card__meta small i {
    color: #ef4444;
}

/* =====================================================
   CONTACT
   ===================================================== */
/* =====================================================
   CONTACT SECTION (MODERN RED EDITION)
   ===================================================== */
.contact {
    background: #f8fafc;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

/* Contact breadcrumb (homepage) */
.home-breadcrumb {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .84rem;
    margin-bottom: 28px;
    padding: 9px 18px;
    border-radius: 999px;
    background-color: #dc2626;
    /* The opaque red layer sits on top of breadcrumb-bg.webp, so the image has
       no effect here and the links stay clearly readable against the red. */
    background-image:
        linear-gradient(rgba(220, 38, 38, 1), rgba(220, 38, 38, 1)),
        url('../../breadcrumb-bg.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 24px -12px rgba(220, 38, 38, .7);
}

.home-breadcrumb a {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; text-decoration: none; font-weight: 600;
    transition: opacity .2s ease;
}

.home-breadcrumb a:hover { opacity: .75; }

.home-breadcrumb i { font-size: .62rem; color: rgba(255, 255, 255, .65); }
.home-breadcrumb i.fa-house { font-size: .8rem; color: #fff; }

.home-breadcrumb span { color: #fff; font-weight: 700; }

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.contact__info .section-tag {
    margin-bottom: 16px;
}

.contact__info h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
    line-height: 1.35;
}

.contact__info > p {
    font-size: 1.02rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Contact Action Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.03);
}

.c-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.c-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.c-card__icon--phone {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.c-card__icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.c-card__icon--email {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.c-card__icon--location {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.c-card:hover .c-card__icon--phone {
    background: #ef4444;
    color: #ffffff;
}

.c-card:hover .c-card__icon--wa {
    background: #25D366;
    color: #ffffff;
}

.c-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.c-card__content strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.c-card__content span {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 2px;
}

.c-card__badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.c-card__badge--red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.c-card__badge--green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

/* Modern Form Box */
.contact__form-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    padding: 42px 38px;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.contact__form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
}

.contact__form-header {
    margin-bottom: 28px;
}

.contact__form-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.contact__form-header h3 i {
    color: #ef4444;
}

.contact__form-header p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

/* Form Layout & Field Spacing */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* Form Controls with Icon Prefixes */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.input-wrap--textarea .input-icon {
    top: 16px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.25s ease;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    background: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.input-wrap input:focus + .input-icon,
.input-wrap select:focus + .input-icon,
.input-wrap textarea:focus + .input-icon,
.input-wrap:focus-within .input-icon {
    color: #ef4444;
}

.input-wrap select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
}

.input-wrap textarea {
    resize: vertical;
    min-height: 100px;
}

.input-wrap input.is-invalid,
.input-wrap select.is-invalid,
.input-wrap textarea.is-invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.03);
}

.form-msg {
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    min-height: 1.2em;
    line-height: 1.5;
}

.form-msg.is-success {
    color: #059669;
}

.form-msg.is-error {
    color: #ef4444;
}

/* =====================================================
   LIVE ROAD SIMULATION
   ===================================================== */
.road-section { width: 100%; overflow: hidden; }

/* ---- Scene Wrapper & Animations ---- */
.road-scene-wrapper {
    position: relative;
    width: 100%;
    height: 170px;
    background: #14161a;
    overflow: hidden;
}
.road-divider-dashes {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1;
    background: repeating-linear-gradient(90deg, #e0b400 0, #e0b400 22px, transparent 22px, transparent 46px);
    background-size: 46px 2px;
    animation: dashScroll 1s linear infinite;
}

@keyframes dashScroll {
    0% { background-position: 0 0; }
    100% { background-position: -46px 0; }
}

@keyframes drive1 {
    0% { transform: translateX(-160px); }
    100% { transform: translateX(calc(100vw + 160px)); }
}

@keyframes drive2 {
    0% { transform: translateX(-200px); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

@keyframes drive3 {
    0% { transform: translateX(calc(100vw + 200px)); }
    100% { transform: translateX(-200px); }
}

@keyframes drive4 {
    0% { transform: translateX(calc(100vw + 160px)); }
    100% { transform: translateX(-160px); }
}

/* Westbound vehicles flip SVG direction so they face left */
.veh--west svg {
    transform: scaleX(-1);
}

/* Flashing emergency beacon on incident car */
#beacon {
    animation: beaconPulse 0.8s ease-in-out infinite alternate;
}
@keyframes beaconPulse {
    0% { fill: #e74c3c; opacity: 1; filter: drop-shadow(0 0 4px #e74c3c); }
    100% { fill: #ff0000; opacity: 0.3; filter: none; }
}

/* =====================================================
   WHY TRACKPRO — SHOWCASE (collage + feature cards)
   ===================================================== */
.showcase {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #ffffff 70%, #f1f6fd 100%);
    overflow: hidden;
}

/* Giant ghost watermark behind everything */
.showcase__watermark {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 100%; text-align: center;
    z-index: 0; pointer-events: none; user-select: none;
    font-family: var(--font-en);
    font-size: clamp(2.2rem, 11.5vw, 12.5rem);
    font-weight: 800; letter-spacing: .02em; line-height: 1;
    white-space: nowrap;
    color: rgba(15, 23, 42, .045);
}

.showcase__head { position: relative; z-index: 1; }

/* Red accent variant for the headline keyword */
.text-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.showcase__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}

/* ---- Left: static collage image ---- */
.showcase__visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 10px 0;
}

.showcase__img {
    width: 100%; max-width: 560px; height: auto;
    filter: drop-shadow(0 28px 36px rgba(15, 23, 42, .18));
    transition: filter .4s ease;
}

/* Colour by default, grey on hover — hover-capable pointers only (see .trust__cell) */
@media (hover: hover) and (pointer: fine) {
    .showcase__img:hover { filter: grayscale(1) drop-shadow(0 24px 30px rgba(15, 23, 42, .12)); }
}

/* Floating glass info chips (used by the Device section) */
.showcase__float {
    position: absolute; z-index: 3;
    display: flex; align-items: center; gap: 11px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, .9); border-radius: 14px;
    padding: 11px 16px;
    box-shadow: 0 18px 38px -14px rgba(15, 23, 42, .28);
    animation: floatCard 5s ease-in-out infinite;
}
.showcase__float small { display: block; font-size: .68rem; color: var(--muted); line-height: 1.3; }
.showcase__float strong { display: block; font-size: .84rem; color: var(--ink); line-height: 1.3; }
.showcase__float-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light); color: var(--blue); font-size: .95rem;
}
.showcase__float-icon--red { background: var(--red-light); color: var(--red); }

/* ---- Right: 2×2 feature cards ---- */
.showcase__cards {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.showcase-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 8px 26px -14px rgba(15, 23, 42, .14);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* red accent bar that slides in on hover */
.showcase-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red), #f87171);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.showcase-card:hover { transform: translateY(-7px); box-shadow: 0 26px 50px -20px rgba(15, 23, 42, .28); border-color: transparent; }
.showcase-card:hover::before { transform: scaleX(1); }

.showcase-card__icon {
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fef2f2; color: var(--red);
    font-size: 1.3rem; margin-bottom: 18px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.showcase-card:hover .showcase-card__icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff; transform: scale(1.08) rotate(-6deg);
}

.showcase-card h3 { font-size: 1.02rem; margin-bottom: 8px; line-height: 1.4; }
.showcase-card p { font-size: .88rem; color: var(--muted); }

/* staggered entrance for the 4 cards */
.showcase-card.reveal { transition-delay: var(--d, 0s); }
.showcase-card.reveal.is-visible { transition-delay: 0s; }

/* =====================================================
   MOBILE APP — ALL IN ONE (light, premium)
   ===================================================== */
.app-section {
    position: relative;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
/* Soft tinted washes instead of the old dark glows */
.app-section__glow {
    position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.app-section__glow--1 { width: 460px; height: 460px; background: rgba(239, 68, 68, .14); top: -190px; right: -70px; }
.app-section__glow--2 { width: 420px; height: 420px; background: rgba(37, 99, 235, .10); bottom: -200px; left: -90px; }

/* Faint dot texture fades in at the top and bottom edges for depth */
.app-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .07) 1px, transparent 0);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

.app__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}

/* ---- Left: copy ---- */
.section-tag--light { background: var(--red-light); color: var(--red); }
.app__content h2 { color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 16px 0 14px; }
.text-red-light {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.app__lead { color: var(--muted); font-size: 1.02rem; }

/* Checklist rows as soft cards */
.app__list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 10px; }
.app__list li {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 18px; border-radius: 14px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 4px 14px -8px rgba(15, 23, 42, .18);
    font-size: .95rem; color: #334155;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.app__list i {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; background: var(--red-light); color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
    .app__list li:hover {
        transform: translateX(5px); border-color: transparent;
        box-shadow: 0 16px 30px -18px rgba(15, 23, 42, .35);
    }
}

/* Total Fleet Control summary box */
.app__fleet {
    margin: 0 0 30px;
    padding: 20px 22px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, var(--red-light) 100%);
    border: 1px solid rgba(239, 68, 68, .18);
    box-shadow: 0 18px 34px -26px rgba(15, 23, 42, .32);
}
.app__fleet-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.app__fleet-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.app__fleet-head strong { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.app__fleet-head small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.app__fleet-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px;
}
.app__fleet-list li { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: #334155; }
.app__fleet-list i { color: var(--red); font-size: .78rem; flex-shrink: 0; }

.app__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 11px 22px; border-radius: 14px;
    background: #0f172a; color: #fff;
    box-shadow: 0 14px 26px -16px rgba(15, 23, 42, .7);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.store-btn i { font-size: 1.7rem; }
.store-btn small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .1em; color: #94a3b8; line-height: 1.2; }
.store-btn strong { display: block; font-size: 1.02rem; line-height: 1.25; }
.store-btn:hover { transform: translateY(-3px); background: var(--red-dark); box-shadow: 0 20px 34px -14px rgba(220, 38, 38, .45); }

.app__meta { margin-top: 22px; font-size: .85rem; color: var(--muted); }
.app__meta strong { color: var(--ink); }
.app__stars { color: #fbbf24; margin-right: 8px; font-size: .78rem; }
.app__stars i { margin-right: 2px; }

/* ---- Right: phone mockups ---- */
.app__visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 580px;
}
/* soft contact shadow so the phones read as sitting on a surface */
.app__visual::after {
    content: ""; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    width: 72%; height: 64px; border-radius: 50%; z-index: 0;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, .16), rgba(15, 23, 42, 0) 70%);
    filter: blur(6px);
}
.app__radar {
    position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background:
        radial-gradient(circle at center,
            transparent 0 30%,
            rgba(37, 99, 235, .16) 30% 31%,
            transparent 31% 48%,
            rgba(37, 99, 235, .12) 48% 49%,
            transparent 49% 66%,
            rgba(239, 68, 68, .10) 66% 67%,
            transparent 67%);
    animation: radarSpin 14s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }

.phone {
    position: absolute; width: 252px; aspect-ratio: 9/19;
    background: linear-gradient(160deg, #1e293b 0%, #0b1220 100%);
    border-radius: 38px;
    border: 2px solid #334155;
    box-shadow: 0 44px 70px -34px rgba(15, 23, 42, .55), inset 0 0 0 2px rgba(255, 255, 255, .05);
    padding: 10px;
}
.phone--back { left: 4%; top: 50%; transform: translateY(-50%) rotate(-8deg); z-index: 1; opacity: .96; }
.phone--front { right: 6%; top: 50%; transform: translateY(-50%) rotate(4deg); z-index: 2; }
.phone__notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 84px; height: 18px; background: #0b1220; border-radius: 0 0 12px 12px; z-index: 3;
}
.phone__screen {
    width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
    background: #f1f5f9; position: relative;
}

/* ---- In-app UI ---- */
.app-ui { display: flex; flex-direction: column; height: 100%; font-family: 'Inter', sans-serif; }
.app-ui__head {
    display: flex; align-items: center; gap: 9px;
    padding: 34px 14px 12px; background: #fff; border-bottom: 1px solid #e2e8f0;
}
.app-ui__head--stats { justify-content: space-between; padding-top: 38px; }
.app-ui__head--stats strong { font-size: .9rem; color: #0f172a; }
.app-ui__head--stats span { font-size: .68rem; color: #64748b; }
.app-ui__avatar {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: var(--grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.app-ui__hello small { display: block; font-size: .6rem; color: #64748b; line-height: 1.3; }
.app-ui__hello strong { display: block; font-size: .74rem; color: #0f172a; line-height: 1.3; }
.app-ui__bell {
    margin-left: auto; width: 28px; height: 28px; border-radius: 9px;
    background: #f1f5f9; color: #334155; position: relative;
    display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.app-ui__dot {
    position: absolute; top: 5px; right: 6px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--red); border: 1.5px solid #fff;
}

/* Map screen */
.app-ui__map { position: relative; flex: 1; min-height: 0; background: linear-gradient(160deg, #f0f6ff, #e4efff); overflow: hidden; }
.app-ui__map .map-grid { background-size: 26px 26px; }
.app-ui__pin {
    position: absolute; z-index: 1;
    width: 30px; height: 30px; border-radius: 50% 50% 50% 4px;
    display: flex; align-items: center; justify-content: center; font-size: .74rem; color: #fff;
    transform: rotate(45deg);
    box-shadow: 0 10px 16px -6px rgba(15, 23, 42, .5);
}
.app-ui__pin > i { transform: rotate(-45deg); }
.app-ui__pin--a { background: #2563eb; top: 24%; left: 18%; animation: pinDriftA 7s ease-in-out infinite; }
.app-ui__pin--b { background: #ef4444; top: 48%; left: 52%; animation: pinDriftB 9s ease-in-out infinite; }
.app-ui__pin--c { background: #10b981; top: 66%; left: 30%; animation: pinDriftA 8s ease-in-out 1.4s infinite; }
@keyframes pinDriftA { 0%,100% { margin-top: 0; } 50% { margin-top: -9px; } }
@keyframes pinDriftB { 0%,100% { margin-left: 0; } 50% { margin-left: 10px; } }

.app-ui__card {
    margin: -34px 10px 8px; position: relative; z-index: 2;
    background: #fff; border-radius: 14px; padding: 11px 12px;
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .35);
}
.app-ui__veh { display: flex; align-items: center; gap: 9px; }
.app-ui__veh-icon {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: .8rem;
}
.app-ui__veh strong { display: block; font-size: .72rem; color: #0f172a; line-height: 1.3; }
.app-ui__veh small { display: block; font-size: .6rem; color: #64748b; line-height: 1.3; }
.app-ui__speed { margin-left: auto; font-weight: 800; font-size: .92rem; color: #0f172a; }
.app-ui__speed small { display: block; font-size: .54rem; font-weight: 600; color: #64748b; text-align: right; }
.app-ui__quick {
    display: flex; gap: 6px; margin-top: 10px;
}
.app-ui__quick span {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 7px 0; border-radius: 9px; background: #f1f5f9;
    font-size: .62rem; font-weight: 700; color: #334155;
}
.app-ui__quick i { font-size: .62rem; color: var(--blue); }

.app-ui__nav {
    display: flex; justify-content: space-around; align-items: center;
    padding: 10px 8px 16px; background: #fff; border-top: 1px solid #e2e8f0;
}
.app-ui__nav span {
    width: 34px; height: 34px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; font-size: .95rem;
}
.app-ui__nav span.is-active { background: var(--blue-light); color: var(--blue); }

/* Stats screen */
.app-ui__stat-row { display: flex; gap: 7px; padding: 12px 12px 0; }
.app-ui__stat-row > div {
    flex: 1; background: #fff; border-radius: 11px; padding: 9px 6px; text-align: center;
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .15);
}
.app-ui__stat-row strong { display: block; font-size: .8rem; color: #0f172a; }
.app-ui__stat-row small { font-size: .56rem; color: #64748b; }

.app-ui__chart {
    display: flex; align-items: flex-end; gap: 7px;
    height: 92px; margin: 12px 12px 0; padding: 10px 10px 8px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .15);
}
.app-ui__chart span { flex: 1; height: var(--h, 40%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.app-ui__chart span:nth-child(4) { background: linear-gradient(180deg, #f87171, #ef4444); }

.app-ui__trip {
    display: flex; align-items: center; gap: 9px;
    margin: 8px 12px 0; padding: 9px 11px;
    background: #fff; border-radius: 11px;
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .15);
}
.app-ui__trip-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; }
.app-ui__trip strong { display: block; font-size: .68rem; color: #0f172a; line-height: 1.35; }
.app-ui__trip small { display: block; font-size: .58rem; color: #64748b; line-height: 1.35; }
.app-ui__trip em {
    margin-left: auto; font-style: normal; font-size: .56rem; font-weight: 800;
    padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b;
}
.app-ui__trip--live .app-ui__trip-dot { background: #22c55e; animation: blink 1.4s infinite; }
.app-ui__trip--live em { background: #ecfdf5; color: #059669; }

/* Alert chips around phones */
.app__chip {
    position: absolute; z-index: 3;
    display: inline-flex; align-items: center; gap: 9px;
    background: #fff; color: #0f172a;
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px 8px 9px;
    font-size: .74rem; font-weight: 700;
    box-shadow: 0 18px 34px -20px rgba(15, 23, 42, .45);
    animation: floatCard 5s ease-in-out infinite;
}
.app__chip i {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .62rem; background: #dcfce7; color: #16a34a;
}
.app__chip--2 i { background: var(--red-light); color: var(--red); }
.app__chip--1 { top: 13%; left: 2%; }
.app__chip--2 { bottom: 12%; right: 3%; animation-delay: 1.3s; }

/* =====================================================
   RESPONSIVE — HOME PAGE
   ===================================================== */
@media (max-width: 1024px) {
    .features__grid, .pricing__grid { grid-template-columns: repeat(2, 1fr); }

    /* Categories: 3 across gets cramped below ~1024px, drop to 2.
       minmax(0, 1fr) stops long words from forcing the track wider
       than the column and overflowing the card. */
    .categories { padding: 74px 0; }
    .categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .cat-card { padding: 32px 26px; }

    .live__inner { grid-template-columns: 1fr; gap: 44px; }
    .contact__inner { grid-template-columns: 1fr; gap: 44px; }

    /* Showcase stacks: collage above cards */
    .showcase__inner { grid-template-columns: 1fr; gap: 40px; }
    .showcase__visual { max-width: 520px; margin-inline: auto; }
    .showcase__watermark { font-size: clamp(2rem, 11vw, 7.5rem); top: 14px; }

    .trust { padding: 54px 0; }
    .trust__wall { grid-template-columns: repeat(4, 1fr); }

    .approvals { padding: 80px 0; }
    .approvals__grid { gap: 20px; }    .approvals__card { padding: 26px 20px 24px; }
    .approvals__logo { height: 150px; margin-bottom: 14px; }

    /* App section stacks on tablets */
    .app__inner { grid-template-columns: 1fr; gap: 48px; }
    .app__visual { min-height: 0; height: 560px; max-width: 540px; margin-inline: auto; width: 100%; }
    .app__content { text-align: center; }
    .app__list { max-width: 520px; margin: 28px auto 32px; text-align: left; }
    .app__fleet { max-width: 520px; margin: 0 auto 30px; }
    .app__actions, .app__meta { justify-content: center; }
}

@media (max-width: 767px) {
    /* Phones get the mobile artwork at its natural ratio - no cropping */
    .hero__media { aspect-ratio: auto; max-height: none; }
    .hero__media img { height: auto; }
    .hero__dots { bottom: 14px; }
    .hero__arrow { display: none; }   /* swipe instead of tapping arrows */
    .features__grid, .pricing__grid { grid-template-columns: 1fr; }

    /* Categories: single column, tighter card padding, and the header
       stacks so the "View All Solutions" button becomes a full-width
       tap target instead of a cramped row. */
    .categories { padding: 56px 0; }
    .categories__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .cat-card { padding: 28px 22px; border-radius: 20px; }
    .cat-card__icon { width: 48px; height: 48px; font-size: 1.05rem; margin-bottom: 14px; }
    .cat-card h3 { font-size: 1.02rem; }
    .section-head-flex { margin-bottom: 32px; gap: 16px; }
    .section-head-flex h2 { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
    .btn--cat-header { width: 100%; justify-content: center; }
    /* Testimonials: swipe instead of tapping arrows */
    .testimonials__slider { padding: 4px 0 8px; }
    .testi__arrow { display: none; }
    .testi__dots.swiper-pagination { margin-top: 26px; }
    .product-pricing__grid { grid-template-columns: 1fr; gap: 30px; }
    .pricing-group__products { grid-template-columns: 1fr; gap: 18px; }
    .price-card--featured { transform: none; }
    .price-card--featured:hover { transform: translateY(-7px); }
    .form-row { grid-template-columns: 1fr; gap: 22px; }
    .contact__form-card { padding: 32px 22px; }
    .fleet-row { grid-template-columns: 42px 1fr auto; }
    .fleet-row .status { display: none; }
    .fleet-row__speed { display: none; }
    .trust__wall { grid-template-columns: repeat(3, 1fr); }
    .trust__cell { padding: 16px; }

    .showcase__list { grid-template-columns: 1fr; gap: 11px; }

    /* Approvals stack on phones */
    .approvals { padding: 68px 0; }
    .approvals__grid { grid-template-columns: 1fr; gap: 16px; }
    .approvals__card { padding: 28px 22px 26px; }
    .approvals__logo { height: 170px; }
    .approvals__note { align-items: flex-start; text-align: left; }

    /* Stats: 3 items in a row on mobile */
    .stats { padding: 36px 0; }
    .stats__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 100%; }
    .stats__item { padding: 0 4px; }
    .stats__item + .stats__item {
        border-left: 1px solid rgba(255, 255, 255, .14);
        border-top: 0;
        padding-top: 0;
    }
    .stats__icon { width: 38px; height: 38px; border-radius: 10px; font-size: .95rem; margin-bottom: 8px; }
    .stats__num { font-size: clamp(1.15rem, 5.2vw, 1.6rem); }
    .stats__label { margin-top: 4px; font-size: clamp(.68rem, 2.8vw, .82rem); white-space: nowrap; }
    .device-frame__stage { padding: 24px 18px 30px; }
    .device-stack { gap: 18px; }

    /* Road simulation on phones */
    .road-scene__top { height: 86px; }
    .sun { top: 12px; right: 28px; width: 34px; height: 34px; }
    .camera-gantry, .lane__label { display: none; }
    .lane { height: 72px; }
    .rv__badge { min-width: 106px; padding: 5px 8px 6px; }
    .rv__speed { font-size: .84rem; }
    .rv__fuel { display: none; }   /* slim badges on small screens */
    .rv__chip--sm { width: 34px; height: 34px; font-size: .85rem; }
    .rv__chip--md { width: 44px; height: 40px; font-size: 1.05rem; }
    .rv__chip--lg { width: 54px; height: 46px; font-size: 1.3rem; }

    /* Showcase on phones */
    .showcase__cards { grid-template-columns: 1fr; gap: 16px; }
    .showcase-card { padding: 24px 20px; }
    .showcase__float { padding: 9px 12px; }
    .showcase__float-icon { width: 32px; height: 32px; font-size: .8rem; }
    .showcase__img { max-width: 420px; }
    .showcase__watermark { font-size: clamp(1.4rem, 9.5vw, 4.5rem); top: 12px; }

    /* App section on phones */
    .app__visual { height: 470px; }
    .app__fleet { padding: 18px 18px 20px; }
    .app__fleet-list { grid-template-columns: 1fr; gap: 9px; }
    .phone { width: 200px; border-radius: 30px; }
    .phone__screen { border-radius: 21px; }
    .phone--back { left: 3%; }
    .phone--front { right: 3%; }
    .app__radar { width: 340px; height: 340px; }
    .app__chip { font-size: .64rem; padding: 7px 11px; }
    .app__chip--1 { left: 0; }
    .app__chip--2 { right: 0; }
    .app__actions .store-btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
    .showcase__watermark { font-size: clamp(1.2rem, 8.5vw, 2.6rem); top: 10px; }
}
