/* GPS Kosove — product-led visual redesign */
:root {
    --primary-color: #ef233c;
    --primary-dark: #c91832;
    --primary-darker: #99152a;
    --secondary-color: #ff566b;
    --primary: var(--primary-color);
    --secondary: var(--secondary-color);
    --ink: #0b1220;
    --text-dark: #111827;
    --text-light: #687386;
    --text-on-ink: #f8fafc;
    --text-on-ink-light: #a8b2c4;
    --bg-white: #ffffff;
    --bg-light: #f3f5f7;
    --bg-soft: #f3f5f7;
    --bg-red-light: #fff0f2;
    --border-color: #dfe4ea;
    --border-strong: #0b1220;
    --shadow-sm: 0 2px 8px rgba(11, 18, 32, .06);
    --shadow-md: 0 12px 28px rgba(11, 18, 32, .09);
    --shadow-lg: 0 24px 60px rgba(11, 18, 32, .14);
    --shadow-xl: 0 34px 90px rgba(2, 6, 23, .24);
    --shadow-hard: 0 22px 50px rgba(11, 18, 32, .14);
    --shadow-hard-red: 0 18px 35px rgba(239, 35, 60, .22);
    --shadow-hard-sm: 0 10px 24px rgba(11, 18, 32, .14);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --nav-h: 76px;
    --nav-h-mobile: 68px;
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Manrope", "DM Sans", sans-serif;
    --font-mono: "DM Sans", sans-serif;
}

html { scroll-padding-top: 92px; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: #fff;
    letter-spacing: -.01em;
}

.container {
    width: min(100% - 48px, 1600px);
    max-width: none;
    padding: 0;
}

h1, h2, h3, h4, .nav-menu a, .btn { font-family: var(--font-display); }

.gradient-text {
    color: var(--primary-color);
    text-decoration: none;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: .76rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

/* Navigation */
.navbar {
    background: rgba(8, 15, 28, .88);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled,
.navbar.visible {
    background: rgba(8, 15, 28, .96);
    box-shadow: 0 12px 30px rgba(2, 6, 23, .22);
}

.nav-wrapper { height: var(--nav-h); }
.logo img { height: 42px; filter: brightness(0) invert(1); }
.navbar.scrolled .logo img { height: 39px; }
.nav-menu { gap: 1.75rem; }

.nav-menu a {
    color: #cbd5e1;
    font-size: .88rem;
    font-weight: 700;
    padding: .65rem 0;
}

.nav-menu a:hover { color: #fff; }
.nav-menu a::after { height: 2px; border-radius: 10px; background: var(--primary-color); }
.nav-dropdown > .dropdown-toggle { color: #cbd5e1; }
.nav-dropdown > .dropdown-toggle:hover { color: #fff; }

.lang-switcher-btn {
    width: 43px;
    height: 43px;
    padding: 0;
    border-radius: 50%;
    border-color: rgba(255,255,255,.25);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.lang-switcher-btn:hover { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }

.nav-dropdown .dropdown-menu {
    background: #111a2a;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.32);
    padding: .65rem;
}

.nav-dropdown .dropdown-menu li a { color: #cbd5e1 !important; border-radius: 9px; padding: .68rem .8rem; }
.nav-dropdown .dropdown-menu li a:hover { color: #fff !important; background: rgba(255,255,255,.07); }
.nav-dropdown .dropdown-menu a::after { display: none; }
.dropdown-divider { border-color: rgba(255,255,255,.1); }

@media (min-width: 969px) {
    .nav-dropdown .solutions-dropdown {
        width: 640px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .15rem .55rem;
        padding: .8rem;
    }
    .solutions-dropdown .solution-all,
    .solutions-dropdown .solution-divider,
    .solutions-dropdown .content-divider { grid-column: 1 / -1; }
    .solutions-dropdown .solution-all a { color: #fff !important; background: var(--primary-color); }
    .solutions-dropdown .dropdown-divider { width: 100%; margin: .35rem 0; }
    .solutions-dropdown .resource-link { border-top: 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: -.02em;
    box-shadow: none;
}

.btn svg { width: 19px; height: 19px; }
.btn-large { min-height: 55px; padding: .9rem 1.5rem; font-size: .96rem; }

.btn-primary {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(239,35,60,.22);
}

.btn-primary:hover {
    color: #fff;
    background: #ff314b;
    border-color: #ff314b;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(239,35,60,.3);
}

.btn-secondary {
    color: #fff;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.22);
}

.btn-secondary:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-outline {
    color: var(--text-dark);
    border-color: var(--border-color);
    background: #fff;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    min-height: auto;
    padding: 142px 0 0;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(239,35,60,.18), transparent 25%),
        radial-gradient(circle at 12% 80%, rgba(36,99,235,.10), transparent 27%),
        #08101e;
    isolation: isolate;
}

.hero-bg {
    z-index: -1;
    opacity: .42;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-content {
    grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
    gap: 4.4rem;
    max-width: none;
    align-items: center;
}

.hero-content > * { min-width: 0; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #33d69f;
    box-shadow: 0 0 0 6px rgba(51,214,159,.12);
    animation: gps-pulse 2s infinite;
}

@keyframes gps-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(51,214,159,.12); }
    50% { box-shadow: 0 0 0 9px rgba(51,214,159,0); }
}

.hero-title {
    max-width: 650px;
    margin-bottom: 1.45rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 5.25vw, 5.7rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.065em;
}

.hero-title > span { display: block; }
.hero-accent { color: #ff4057; }

.hero-subtitle {
    max-width: 52ch;
    margin-bottom: 2rem;
    color: #aeb9ca;
    font-size: 1.09rem;
    line-height: 1.72;
}

.hero-buttons { margin-bottom: 1.85rem; gap: .8rem; }

.hero-proof { display: flex; align-items: center; gap: .8rem; }
.hero-proof p { max-width: 260px; color: #8290a5; font-size: .78rem; line-height: 1.45; }
.proof-avatars { display: flex; }
.proof-avatars span {
    display: grid;
    width: 31px;
    height: 31px;
    margin-left: -7px;
    place-items: center;
    border: 2px solid #08101e;
    border-radius: 50%;
    color: #fff;
    background: #243149;
    font-size: .67rem;
    font-weight: 800;
}
.proof-avatars span:first-child { margin-left: 0; background: var(--primary-color); }
.proof-avatars span:last-child { background: #147d69; }

.hero-visual { position: relative; padding: 20px 0 38px; }

.hero-visual-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 0 9px rgba(255,255,255,.025);
}

.dashboard-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: #111b2d;
    box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 0 9px rgba(255,255,255,.025);
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    padding: 0 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-brand { display: flex; align-items: center; gap: .55rem; color: #e8edf5; font-size: .72rem; font-weight: 800; }
.brand-mark { width: 18px; height: 18px; border: 5px solid var(--primary-color); border-radius: 7px 7px 7px 2px; transform: rotate(45deg); }
.dashboard-live { display: flex; align-items: center; gap: .45rem; color: #7ee9c5; font-size: .63rem; font-weight: 800; letter-spacing: .1em; }
.dashboard-live span { width: 6px; height: 6px; border-radius: 50%; background: #33d69f; box-shadow: 0 0 0 4px rgba(51,214,159,.1); }
.dashboard-body { display: grid; grid-template-columns: 54px 1fr; min-height: 355px; }
.dashboard-sidebar { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding-top: 1.4rem; border-right: 1px solid rgba(255,255,255,.07); }
.dashboard-sidebar span { width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; }
.dashboard-sidebar span.active { border-color: var(--primary-color); background: var(--primary-color); box-shadow: 0 5px 15px rgba(239,35,60,.32); }

.map-canvas {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background:
        radial-gradient(circle at 65% 25%, rgba(59,130,246,.10), transparent 20%),
        #0d1727;
}

.map-grid {
    position: absolute;
    inset: 0;
    opacity: .7;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 45%, rgba(255,255,255,.025) 45%, rgba(255,255,255,.025) 46%, transparent 46%);
    background-size: 84px 84px;
}

.route-line { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; z-index: 3; display: grid; width: 23px; height: 23px; place-items: center; border: 5px solid rgba(255,255,255,.92); border-radius: 50% 50% 50% 4px; background: var(--primary-color); box-shadow: 0 8px 18px rgba(0,0,0,.35); transform: rotate(-45deg); }
.map-pin i { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.pin-one { left: 25%; bottom: 33%; }
.pin-two { left: 52%; top: 30%; }
.pin-three { right: 13%; top: 36%; }

.vehicle-status-card {
    position: absolute;
    z-index: 4;
    left: 6%;
    top: 8%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    width: 230px;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 13px;
    background: rgba(20,31,50,.9);
    box-shadow: 0 16px 34px rgba(0,0,0,.24);
    backdrop-filter: blur(10px);
}

.vehicle-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #fff; background: var(--primary-color); }
.vehicle-icon svg { width: 20px; }
.vehicle-status-card strong, .vehicle-status-card span { display: block; }
.vehicle-status-card strong { color: #fff; font-size: .72rem; }
.vehicle-status-card span { margin-top: .14rem; color: #8491a5; font-size: .61rem; }
.vehicle-status-card b { padding: .24rem .42rem; border-radius: 6px; color: #52ddb0; background: rgba(51,214,159,.1); font-size: .56rem; }

.route-alert {
    position: absolute;
    z-index: 4;
    right: 5%;
    bottom: 9%;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(20,31,50,.92);
    box-shadow: 0 16px 32px rgba(0,0,0,.26);
}
.route-alert > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #08101e; background: #33d69f; font-weight: 900; }
.route-alert small, .route-alert strong { display: block; }
.route-alert small { color: #7c8ba2; font-size: .51rem; font-weight: 800; letter-spacing: .08em; }
.route-alert strong { margin-top: .1rem; color: #fff; font-size: .8rem; }

.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.dashboard-metrics > div { padding: 1rem 1.15rem; border-right: 1px solid rgba(255,255,255,.07); }
.dashboard-metrics > div:last-child { border: 0; }
.dashboard-metrics span, .dashboard-metrics strong { display: block; }
.dashboard-metrics span { margin-bottom: .25rem; color: #718097; font-size: .59rem; font-weight: 700; }
.dashboard-metrics strong { color: #fff; font-size: 1.1rem; }
.dashboard-metrics strong i { margin-left: .28rem; color: #4ee2b2; font-size: .55rem; font-style: normal; }
.dashboard-metrics strong i.neutral { color: #8d9ab0; }
.dashboard-metrics small { color: #718097; font-size: .6rem; }

.device-chip {
    position: absolute;
    z-index: 5;
    right: -24px;
    bottom: 5px;
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 210px;
    padding: .6rem .8rem .6rem .45rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    background: rgba(22,31,47,.94);
    box-shadow: 0 18px 40px rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
}
.device-chip img { width: 74px; height: 53px; object-fit: contain; }
.device-chip span, .device-chip strong { display: block; }
.device-chip span { color: #78869a; font-size: .55rem; text-transform: uppercase; }
.device-chip strong { margin-top: .15rem; color: #fff; font-size: .7rem; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 1.5fr;
    max-width: none;
    margin-top: 70px;
    padding: 1.5rem 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.stat { padding: 0 1.7rem; text-align: left; }
.stat:first-child { padding-left: 0; }
.stat:not(:last-child)::after { background: rgba(255,255,255,.1); height: 65%; }
.stat h3 { margin: 0 0 .25rem; color: #fff; font-family: var(--font-display); font-size: 1.75rem; letter-spacing: -.05em; }
.stat p { color: #78869a; font-size: .66rem; line-height: 1.35; letter-spacing: .07em; }
.stat-service { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding-right: 0; }
.stat-service p { color: #b5c0d1; font-size: .72rem; }

/* Shared section rhythm */
.tracking-section, .features, .devices, .solutions-showcase, .contact { padding: 7.5rem 0; }
.section-header { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-title { color: var(--ink); font-family: var(--font-display); font-size: clamp(2.35rem, 4vw, 3.75rem); line-height: 1.08; letter-spacing: -.055em; }
.section-subtitle { max-width: 590px; margin: 1rem auto 0; color: var(--text-light); font-size: 1.02rem; line-height: 1.7; }

/* SEO-only: kept in the HTML for crawlers/links, hidden from users */
.seo-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Tracking */
.tracking-section { background: #fff; padding: 4rem 0 2rem; }

/* Tighter rhythm around the features section (avoid big empty bands) */
.features { padding: 3.5rem 0; }
.solutions-showcase { padding-bottom: 3.5rem; }
.tracking-content { grid-template-columns: 1.05fr .95fr; gap: 6rem; min-height: auto; }
.tracking-animation { min-height: 460px; border-radius: 30px; background: linear-gradient(145deg, #f3f5f7, #fff); box-shadow: inset 0 0 0 1px #e5e9ee; }
#lottie-tracking { height: 460px; max-width: 540px; }
.tracking-text { padding-right: 1rem; }
.tracking-title { color: var(--ink); font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.055em; }
.tracking-title span { color: var(--ink); }
.tracking-description { color: var(--text-light); font-size: 1.05rem; line-height: 1.75; }
.tracking-features { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tracking-features li { gap: .65rem; padding: .8rem .9rem; border: 1px solid var(--border-color); border-radius: 11px; color: #263245; background: #fff; font-size: .86rem; font-weight: 700; }
.tracking-features li:last-child { border-bottom: 1px solid var(--border-color); }
.tracking-features li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: var(--primary-color); }

/* Features */
.features { position: relative; background: #f3f5f7; }
.features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card {
    min-height: 250px;
    padding: 1.8rem;
    border: 1px solid #e0e5eb;
    border-radius: 19px;
    background: #fff;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:nth-child(3n + 2) { transform: translateY(18px); }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(239,35,60,.3); box-shadow: 0 22px 45px rgba(11,18,32,.1); }
.feature-card:nth-child(3n + 2):hover { transform: translateY(11px); }
.feature-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.8rem; place-items: center; border-radius: 13px; color: var(--primary-color); background: #fff0f2; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: .65rem; color: var(--ink); font-size: 1.08rem; letter-spacing: -.025em; }
.feature-card p { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* Devices */
.devices { display: block !important; position: relative; overflow: hidden; color: #fff; background: #0b1423; }
.devices::before { content: ""; position: absolute; width: 620px; height: 620px; top: -300px; right: -160px; border-radius: 50%; background: rgba(239,35,60,.1); filter: blur(20px); }
.devices .section-title { color: #fff; }
.devices .section-subtitle { color: #8e9bae; }
.devices-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.device-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: #131f31; box-shadow: none; }
.device-card:hover { transform: translateY(-6px); border-color: rgba(239,35,60,.5); box-shadow: 0 24px 46px rgba(0,0,0,.25); }
.device-image { height: 210px; padding: 1.4rem; background: radial-gradient(circle, #fff 0, #edf1f5 70%); }
.device-image img { width: 100%; height: 100%; object-fit: contain; }
.device-info { padding: 1.5rem; }
.device-info h3 { color: #fff; font-size: 1.2rem; }
.device-info p { min-height: 54px; color: #8e9bae; font-size: .88rem; line-height: 1.6; }
.devices .btn-outline { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.devices .btn-outline:hover { border-color: var(--primary-color); background: var(--primary-color); }

/* Industry solutions */
.solutions-showcase { background: #fff; }
.solutions-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.solution-card {
    min-height: 240px;
    padding: 1.6rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}
.solution-card:nth-child(1), .solution-card:nth-child(8), .solution-card:nth-child(9) { grid-column: span 2; }
.solution-card:hover { transform: translateY(-5px); border-color: #cbd2dc; box-shadow: 0 20px 42px rgba(11,18,32,.09); }
.solution-card.featured-solution { border: 0; background: linear-gradient(135deg, #ef233c, #b5172e); }
.solution-card.featured-solution:hover { border: 0; box-shadow: 0 22px 45px rgba(239,35,60,.24); }
.solution-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.5rem; place-items: center; border-radius: 13px; background: #f3f5f7; font-size: 1.4rem; }
.solution-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.featured-solution .solution-icon { background: rgba(255,255,255,.16); }
.solution-card h3 { color: var(--ink); font-size: 1.05rem; }
.solution-card p { color: var(--text-light); font-size: .85rem; line-height: 1.6; }
.solution-link { color: var(--primary-color); font-size: .8rem; }

.content-preview-section { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border-color); }
.content-preview-header h3 { font-size: 1.6rem; letter-spacing: -.035em; }
.view-all-link { color: var(--primary-color); }
.blog-preview-card, .case-study-preview-card { border: 1px solid var(--border-color); border-radius: 17px; box-shadow: none; }
.blog-preview-card:hover, .case-study-preview-card:hover { transform: translateY(-5px); border-color: #cbd2dc; box-shadow: 0 18px 38px rgba(11,18,32,.09); }

/* Contact CTA */
.contact { position: relative; padding-top: 2rem; background: #fff; }
.contact-wrapper {
    overflow: hidden;
    padding: 4.4rem;
    border: 0;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 18%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(135deg, #e91f39, #a71228);
    box-shadow: 0 28px 65px rgba(193,23,46,.23);
}
.contact-info { max-width: 100%; }
.contact .section-kicker { color: #ffd2d8; }
.contact-info h2 { max-width: 640px; margin-bottom: .8rem; color: #fff; font-size: clamp(2.35rem, 4vw, 3.6rem); letter-spacing: -.055em; }
.contact-info > p { max-width: 600px; color: rgba(255,255,255,.78); }
.contact-cta { position: absolute; top: 4.8rem; right: 4.4rem; color: var(--ink); border-color: #fff; background: #fff; box-shadow: 0 13px 28px rgba(70,0,14,.2); }
.contact-cta:hover { color: var(--ink); border-color: #fff; background: #fff; }
.contact-details { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; gap: .8rem; }
.contact-item { min-height: 88px; padding: 1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.09); }
.contact-item:hover, .contact-item-link:hover .contact-item { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.14); transform: translateY(-3px); }
.contact-item svg { width: 36px; height: 36px; color: #fff; background: rgba(8,16,30,.2); }
.contact-item h4 { color: #fff; font-size: .78rem; }
.contact-item p, .contact-item-link .contact-item p { color: rgba(255,255,255,.76); font-size: .78rem; font-weight: 500; overflow-wrap: anywhere; }

/* Contact lead form (sends the same lead as the chat) */
/* Standalone lead-form card (separate from the red contact box) */
.contact-form-panel {
    margin-top: 28px;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}
.contact-form-panel h3 { margin: 0 0 .5rem; color: #0f172a; font-size: 1.55rem; letter-spacing: -.02em; }
.contact-form-lead { margin: 0 0 1.5rem; color: #64748b; font-size: .95rem; }
.lead-form { display: grid; gap: 1rem; max-width: 720px; }
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form input, .lead-form textarea {
    width: 100%;
    padding: .95rem 1.1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #16181c;
    font-family: inherit;
    font-size: .98rem;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #94a3b8; }
.lead-form input:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #dc2626);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .15);
}
.lead-form textarea { min-height: 118px; resize: vertical; }
.lead-form-submit {
    justify-self: start;
    padding: .95rem 2.4rem;
    border: 0;
    border-radius: 12px;
    background: var(--primary-color, #dc2626);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 13px 28px rgba(220, 38, 38, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.lead-form-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(220, 38, 38, .32); }
.lead-form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.lead-form-status { margin: .2rem 0 0; min-height: 1.2em; font-size: .92rem; font-weight: 500; }
.lead-form-status.success { color: #047857; }
.lead-form-status.error { color: #b91c1c; }

/* Hero quick-contact buttons */
.hero-quick-contact { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.7rem; }
.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .62rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-contact-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero-contact-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .4);
    transform: translateY(-2px);
}
@media (max-width: 640px) {
    .lead-form-row { grid-template-columns: 1fr; }
    .lead-form-submit { width: 100%; text-align: center; }
}

/* Footer */
.footer { padding-top: 5rem; border: 0; background: #08101e; }
.footer-content { grid-template-columns: 1.5fr 1fr .7fr; gap: 5rem; padding-bottom: 4rem; }
.footer-logo { height: 45px; margin-bottom: 1.4rem; }
.footer-section p, .footer-section a, .footer-section ul li { color: #8390a4; }
.footer-section h4 { color: #fff; font-size: .75rem; letter-spacing: .12em; }
.social-links a { border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.04); }
.footer-bottom { text-align: left; color: #637087; }

/* Modal surfaces follow the new system */
.package-modal-content, .devices-modal-content, .package-selection-content, .fullscreen-chat-content, .logout-modal-content { border: 1px solid var(--border-color); border-radius: 22px; box-shadow: var(--shadow-xl); }
.package-modal-header, .devices-modal-header, .package-selection-header, .fullscreen-chat-header { background: var(--ink); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .hero-text { animation: hero-in .7s ease both; }
    .hero-visual { animation: hero-in .7s .12s ease both; }
    @keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

/* Tablet */
@media (max-width: 1100px) {
    .hero-content { grid-template-columns: .9fr 1.1fr; gap: 2rem; }
    .hero-title { font-size: clamp(3rem, 6vw, 4.4rem); }
    .dashboard-shell { transform: none; }
    .tracking-content { gap: 3.5rem; }
    .solutions-grid { grid-template-columns: repeat(3, 1fr); }
    .solution-card:nth-child(1), .solution-card:nth-child(8), .solution-card:nth-child(9) { grid-column: span 1; }
    .contact-cta { position: static; margin-bottom: .7rem; }
}

/* Mobile navigation and layout */
@media (max-width: 968px) {
    .container { width: min(calc(100% - 36px), 760px); }
    .navbar { background: rgba(8,15,28,.97); }
    .nav-wrapper { height: var(--nav-h-mobile); }
    .logo img, .navbar.scrolled .logo img { height: 36px; }
    .hamburger span { background: #fff; }
    .nav-menu { top: var(--nav-h-mobile); background: #0d1727; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
    .nav-menu a { color: #dbe3ee; }
    .nav-dropdown .dropdown-menu { background: rgba(255,255,255,.04); box-shadow: none; }

    .hero { padding-top: 118px; }
    .hero-content { grid-template-columns: 1fr; gap: 2.8rem; }
    .hero-text { text-align: center; }
    .hero-eyebrow, .hero-proof { justify-content: center; }
    .hero-title, .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { max-width: 700px; width: 100%; margin: 0 auto; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
    .stat-service { display: none; }

    .tracking-section, .features, .devices, .solutions-showcase, .contact { padding: 5.5rem 0; }
    .tracking-content { grid-template-columns: 1fr; gap: 3rem; }
    .tracking-animation { order: 1; min-height: 390px; }
    .tracking-text { order: 0; text-align: center; }
    .tracking-text .section-kicker { justify-content: center; }
    #lottie-tracking { height: 390px; }
    .features-grid, .devices-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card:nth-child(3n + 2) { transform: none; }
    .feature-card:nth-child(3n + 2):hover { transform: translateY(-7px); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { padding: 3rem; }
    .contact-details { grid-template-columns: 1fr; }
    .footer-content { gap: 2.5rem; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px), 560px); }
    .hero { padding-top: 106px; }
    .hero-title { font-size: clamp(2.75rem, 14vw, 4rem); }
    .hero-subtitle { font-size: .97rem; }
    .hero-buttons { display: grid; grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; }
    .hero-proof p { text-align: left; }
    .dashboard-body { grid-template-columns: 38px 1fr; min-height: 285px; }
    .dashboard-sidebar { gap: .9rem; }
    .dashboard-sidebar span { width: 14px; height: 14px; }
    .vehicle-status-card { top: 7%; left: 4%; width: 198px; gap: .5rem; padding: .62rem; }
    .vehicle-icon { width: 29px; height: 29px; }
    .route-alert { right: 4%; bottom: 8%; }
    .dashboard-metrics > div { padding: .8rem .65rem; }
    .dashboard-metrics span { font-size: .5rem; }
    .dashboard-metrics strong { font-size: .86rem; }
    .device-chip { display: none; }
    .hero-stats { margin-top: 36px; }
    .stat { padding: 0 .65rem; text-align: center; }
    .stat h3 { font-size: 1.35rem; }
    .stat p { font-size: .54rem; }
    .stat:not(:last-child)::after { height: 75%; }

    .tracking-section, .features, .devices, .solutions-showcase, .contact { padding: 4.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: 2.25rem; }
    .tracking-title { font-size: 2.2rem; }
    .tracking-animation { min-height: 300px; border-radius: 20px; }
    #lottie-tracking { height: 300px; }
    .tracking-features { grid-template-columns: 1fr; }
    .features-grid, .devices-grid, .solutions-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .device-image { height: 190px; }
    .solution-card { min-height: 205px; }
    .contact { padding-top: 1rem; }
    .contact .container { width: min(100% - 20px, 560px); padding: 0; }
    .contact-wrapper { padding: 2rem 1.35rem; border-radius: 22px; }
    .contact-info h2 { font-size: 2.3rem; }
    .contact-info > p { font-size: .95rem; }
    .contact-cta { width: 100%; }
    .footer { padding-top: 3.5rem; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
