:root {
    --bg0: #071018;
    --bg1: #081822;
    --card: #0c1c27cc;
    --card2: #0b1620cc;
    --text: #eaf3ff;
    --muted: #b7c7d9;
    --line: rgba(255,255,255,0.10);
    --shadow: 0 24px 80px rgba(0,0,0,0.45);
    --shadow2: 0 12px 30px rgba(0,0,0,0.35);
    --accent: #18c6c6;
    --accent2: #2ee3a3;
    --black: #060b10;
    --radius: 18px;
    --radius2: 14px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: radial-gradient(1200px 700px at 20% 10%, #0c2430 0%, rgba(12,36,48,0) 55%), radial-gradient(900px 600px at 85% 25%, #0b1e2a 0%, rgba(11,30,42,0) 60%), linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x: hidden;
}

/* =========================
   DriveSight auth pages
   Activate by adding: <body class="ds-auth">
   ========================= */

body.ds-auth {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: #eaf3ff;
    background:
        radial-gradient(900px 600px at 20% 10%, rgba(24,198,198,0.20), rgba(24,198,198,0) 60%),
        radial-gradient(800px 520px at 85% 25%, rgba(46,227,163,0.16), rgba(46,227,163,0) 60%),
        linear-gradient(180deg, #071018, #081822);
}

/* Top bar (landing-like vibe) */
body.ds-auth .ds-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(6,11,16,0.72), rgba(6,11,16,0.45));
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

body.ds-auth .ds-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

body.ds-auth .ds-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 0;
}

body.ds-auth .ds-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #eaf3ff;
    user-select: none;
}

body.ds-auth .ds-brand-logo {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

body.ds-auth .ds-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Center the auth shell */
body.ds-auth .ds-auth-page {
    min-height: calc(100vh - 58px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

/* Auth container (glass card like landing style) */
body.ds-auth .ds-auth-shell {
    width: min(720px, calc(100vw - 28px));
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(12,28,39,0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    padding: 18px;
}

body.ds-auth .ds-auth-hero {
    margin-bottom: 14px;
}

body.ds-auth .ds-auth-hero-title {
    font-size: 14px;
    font-weight: 800;
    opacity: 0.95;
}

body.ds-auth .ds-auth-hero-sub {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.4;
}

/* Inner form card */
body.ds-auth .ds-auth-card {
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(6,11,16,0.42);
}

body.ds-auth .ds-auth-label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.70;
}

body.ds-auth .ds-auth-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #eaf3ff;
    outline: none;
    margin-bottom: 12px;
}

body.ds-auth .ds-auth-input:focus {
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
}

body.ds-auth .ds-auth-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 800;
    color: #060b10;
    background: linear-gradient(135deg, rgba(24,198,198,1), rgba(46,227,163,1));
}

body.ds-auth .ds-auth-btn:active {
    transform: scale(0.99);
}

body.ds-auth .ds-auth-msg {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.75;
}

/* Mobile tightening */
@media (max-width: 480px) {
    body.ds-auth .ds-wrap {
        width: calc(100% - 28px);
    }

    body.ds-auth .ds-auth-shell {
        border-radius: 20px;
        padding: 16px;
    }
}


.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.glow {
    position: absolute;
    width: 720px;
    height: 720px;
    filter: blur(44px);
    opacity: 0.45;
    border-radius: 50%;
}

.g1 {
    left: -220px;
    top: -180px;
    background: radial-gradient(circle at 30% 30%, rgba(24,198,198,0.95), rgba(24,198,198,0) 60%);
}

.g2 {
    right: -240px;
    top: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(46,227,163,0.85), rgba(46,227,163,0) 60%);
}

.grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 20% 10%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
}

/* Top bar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(6,11,16,0.72), rgba(6,11,16,0.45));
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    min-width: 180px;
}

.brand-logo {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

    .nav a {
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
    }

        .nav a:hover {
            color: var(--text);
        }

.topbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    font-weight: 650;
    font-size: 14px;
    box-shadow: none;
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
    user-select: none;
    white-space: nowrap;
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0px);
    }

.btn-lg {
    padding: 12px 18px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(24,198,198,1), rgba(46,227,163,1));
    border-color: rgba(255,255,255,0.18);
    color: var(--black);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, rgba(24,198,198,0.95), rgba(46,227,163,0.95));
    }

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

    .btn-ghost:hover {
        background: rgba(255,255,255,0.10);
        border-color: rgba(255,255,255,0.18);
    }

/* Hero */
.hero {
    padding: 44px 0 18px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--muted);
    font-size: 13px;
}

    .pill .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        box-shadow: 0 0 0 6px rgba(24,198,198,0.10);
    }

.hero h1 {
    margin: 14px 0 10px 0;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.6px;
}

.lead {
    margin: 0 0 18px 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 56ch;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.trust {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-item {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 140px;
}

.trust-num {
    font-weight: 800;
    font-size: 16px;
}

.trust-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

/* Hero mock */
.hero-visual {
    position: relative;
    min-height: 440px;
}

.mock {
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(180deg, rgba(12,28,39,0.85), rgba(8,16,24,0.85));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.mock-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.9;
}

    .mock-dot.red {
        background: #ff5c5c;
    }

    .mock-dot.yellow {
        background: #ffbd2e;
    }

    .mock-dot.green {
        background: #27c93f;
    }

.mock-title {
    margin-left: 10px;
    font-size: 13px;
    color: var(--muted);
}

.mock-body {
    padding: 14px;
    display: grid;
    gap: 12px;
}

.mock-map {
    position: relative;
    height: 260px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: radial-gradient(240px 180px at 30% 40%, rgba(24,198,198,0.18), rgba(24,198,198,0) 60%), radial-gradient(220px 140px at 70% 55%, rgba(46,227,163,0.14), rgba(46,227,163,0) 60%), linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    overflow: hidden;
}

.map-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.28);
    font-size: 13px;
    color: var(--text);
}

.map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.route-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(0,0,0,0) 0%, rgba(24,198,198,0.0) 28%, rgba(24,198,198,0.55) 42%, rgba(46,227,163,0.55) 55%, rgba(0,0,0,0) 74%);
    opacity: 0.65;
    transform: rotate(-12deg);
}

.pin {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    background: rgba(24,198,198,0.85);
    box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}

.p1 {
    left: 22%;
    top: 60%;
}

.p2 {
    left: 34%;
    top: 52%;
    background: rgba(46,227,163,0.85);
}

.p3 {
    left: 46%;
    top: 46%;
}

.p4 {
    left: 58%;
    top: 40%;
    background: rgba(46,227,163,0.85);
}

.p5 {
    left: 70%;
    top: 34%;
}

.mock-caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.22);
    font-size: 13px;
    color: var(--muted);
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 10px;
}

.mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mini-chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
}

.mini-km {
    font-size: 12px;
    color: var(--muted);
}

.mini-line {
    height: 10px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
}

    .mini-line.short {
        width: 70%;
    }

.floating {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(6,11,16,0.62);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: var(--shadow2);
    width: 240px;
}

.floating-title {
    font-weight: 800;
    font-size: 13px;
}

.floating-sub {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
    line-height: 1.3;
}

.f1 {
    left: -18px;
    top: 84px;
}

.f2 {
    right: -18px;
    bottom: 40px;
}

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

.section-alt {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
}

.section-head {
    display: grid;
    gap: 8px;
    max-width: 720px;
}

    .section-head h2 {
        margin: 0;
        font-size: 30px;
        letter-spacing: -0.2px;
    }

    .section-head p {
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
    }

.feature-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

    .card .icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        margin-bottom: 10px;
    }

    .card h3 {
        margin: 0 0 6px 0;
        font-size: 16px;
    }

    .card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
        font-size: 14px;
    }

/* Steps */
.steps {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.step {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 12px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--black);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.step h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.center {
    justify-content: center;
}

/* FAQ */
.faq {
    margin-top: 18px;
    display: grid;
    gap: 10px;
    max-width: 780px;
}

.faq-item {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 12px 14px;
}

    .faq-item summary {
        cursor: pointer;
        font-weight: 750;
        font-size: 14px;
        color: var(--text);
    }

.faq-body {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

/* Final CTA */
.final-cta {
    padding: 56px 0;
}

.final-cta-inner {
    border: 1px solid rgba(255,255,255,0.16);
    background: linear-gradient(135deg, rgba(24,198,198,0.10), rgba(46,227,163,0.08));
    border-radius: 26px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: var(--shadow2);
}

.final-copy h2 {
    margin: 0 0 6px 0;
    font-size: 26px;
}

.final-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.final-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    background: rgba(0,0,0,0.10);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.footer-name {
    font-weight: 800;
}

.footer-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

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

    .footer-right a {
        text-decoration: none;
        color: var(--muted);
        font-size: 13px;
    }

        .footer-right a:hover {
            color: var(--text);
        }

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 400px;
    }

    .floating {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .nav {
        display: none;
    }

    .brand {
        min-width: unset;
    }

    .mock-cards {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Feature showcase band */
.feature-showcase {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(135deg, rgba(24,198,198,0.08), rgba(46,227,163,0.06));
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.25);
}

.showcase-media {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: min(360px, 100%);
    border-radius: 28px;
    padding: 12px;
    background: rgba(6,11,16,0.70);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.phone-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.showcase-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    letter-spacing: -0.2px;
}

.showcase-text {
    margin: 0 0 12px 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
    max-width: 60ch;
}

.showcase-list {
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
}

    .showcase-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.35;
    }

.tick {
    width: 22px;
    height: 22px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--black);
    font-weight: 900;
    font-size: 13px;
}

.showcase-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
    .feature-showcase {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: min(420px, 100%);
    }
}


