@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --brand: #2DABE3;
    --brand-dark: #1E8FBF;
    --brand-light: #E6F6FC;
    --dark: #1a1a2e;
    --grey-bg: #f0f0f0;
    --text-muted-custom: #6c757d;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: #222;
    margin: 0;
    padding: 0;
}

/* ── Navbar ── */
.navbar {
    transition: padding 0.3s ease;
}

.navbar-brand img {
    transition: height 0.3s ease;
}

.navbar-scrolled {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12) !important;
}

.navbar-brand-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark) !important;
    text-decoration: none;
}

.navbar-brand-logo span {
    color: var(--brand);
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-muted-custom) !important;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand) !important;
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:not(.btn-login):not(.btn-report-stolen) {
    position: relative;
    padding-bottom: 0.4rem;
}

.navbar-nav .nav-link:not(.btn-login):not(.btn-report-stolen)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    transition: width 0.2s;
}

.navbar-nav .nav-link:not(.btn-login):not(.btn-report-stolen):hover::after,
.navbar-nav .nav-link:not(.btn-login):not(.btn-report-stolen).active::after {
    width: 70%;
}

.btn-report-stolen {
    background: #dc3545 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.85rem;
}

.btn-report-stolen:hover {
    background: #c82333 !important;
    color: #fff !important;
}

.btn-login {
    background: var(--brand) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 0.4rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.2s;
    margin-left: 2rem !important;
}

.btn-login:hover {
    background: var(--brand-dark) !important;
    color: #fff !important;
}

/* ── Hero Section ── */
.hero-section {
    padding: 3rem 0 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.hero-desc {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.hero-stat-icon {
    color: var(--brand);
    font-size: 1.1rem;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: box-shadow 0.2s;
}

.hero-feature:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-feature-icon {
    font-size: 1.4rem;
    color: var(--brand);
    min-width: 28px;
    text-align: center;
    margin-top: 2px;
}

.hero-feature-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.hero-feature-desc {
    font-size: 0.78rem;
    color: var(--text-muted-custom);
    line-height: 1.4;
}

.hero-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.hero-brand span {
    color: var(--brand);
}

.hero-brand-sub {
    color: var(--brand);
    font-size: 0.95rem;
}

.hero-brand-text {
    margin-top: 0.5rem;
    text-align: center;
}

.hero-brand-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hb-blue {
    color: var(--brand);
}

.hb-bold {
    font-weight: 800;
    color: var(--dark);
}

.hero-brand-sparkle {
    position: relative;
}

.hero-brand-sparkle::after {
    content: '';
    position: absolute;
    top: -6px;
    right: -8px;
    width: 12px;
    height: 12px;
    background: none;
    border-right: 2px solid var(--brand);
    border-top: 2px solid var(--brand);
    transform: rotate(-30deg) scale(0.6);
}

.hero-brand-sparkle::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -2px;
    width: 2px;
    height: 8px;
    background: var(--brand);
}

/* ── VDI Upsell Card ── */
.vdi-upsell-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.vdi-upsell-header {
    background: rgb(69, 58, 121);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.vdi-upsell-logo {
    height: 44px;
}

.vdi-upsell-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.vdi-upsell-headline {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.vdi-upsell-headline em {
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
}

.vdi-upsell-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
}

.vdi-upsell-body {
    padding: 1.25rem 1.5rem;
}

.vdi-upsell-blurb {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.vdi-upsell-blurb strong {
    color: #333;
    font-size: 0.9rem;
}

.vdi-upsell-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    columns: 2;
    column-gap: 1.5rem;
}

.vdi-upsell-list li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.vdi-upsell-list li::before {
    content: "\f26a";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: rgb(69, 58, 121);
    font-size: 0.75rem;
}

.vdi-upsell-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vdi-check-item {
    font-size: 0.75rem;
    color: var(--text-muted-custom);
    font-weight: 500;
    text-align: center;
    padding: 0.75rem 0.4rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #f9f9f9;
    transition: box-shadow 0.2s;
}

.vdi-check-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.vdi-check-icon {
    font-size: 1.5rem;
    color: rgb(69, 58, 121);
    margin-bottom: 0.3rem;
}

.btn-vdi-upsell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(69, 58, 121);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(69, 58, 121, 0.25);
}

.btn-vdi-upsell:hover {
    background: rgb(55, 46, 100);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(69, 58, 121, 0.35);
}

/* ── Check Box ── */
.check-box {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand) 170px, #fff 170px);
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.check-box-header {
    text-align: center;
    padding: 2rem 1.5rem 1.75rem;
    color: #fff;
}

.check-box-header i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    display: block;
    opacity: 0.9;
}

.check-box-sub {
    font-size: 0.78rem;
    opacity: 0.85;
    margin: 0.25rem 0 0;
}

.check-box .check-form {
    padding: 0 1.5rem;
}

.check-box-footer {
    padding: 0.75rem 1.5rem 1.25rem;
    margin-top: auto;
}

.check-box-trust {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.check-box-trust span {
    font-size: 0.7rem;
    color: var(--text-muted-custom);
    font-weight: 600;
}

.check-box-trust i {
    color: var(--brand);
    margin-right: 0.15rem;
}

/* ── Hero Floating Icons ── */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-icon-float {
    position: absolute;
    color: var(--brand);
    opacity: 0.08;
    font-size: 3rem;
    pointer-events: none;
}

.hero-icon-float:nth-child(1) { top: 15%; left: 2%; font-size: 2.5rem; transform: rotate(-15deg); }
.hero-icon-float:nth-child(2) { top: 60%; left: 5%; font-size: 2rem; transform: rotate(10deg); }
.hero-icon-float:nth-child(3) { top: 10%; left: 48%; font-size: 2rem; transform: rotate(20deg); }
.hero-icon-float:nth-child(4) { bottom: 15%; left: 42%; font-size: 2.5rem; transform: rotate(-10deg); }
.hero-icon-float:nth-child(5) { top: 8%; right: 3%; font-size: 2rem; transform: rotate(15deg); }
.hero-icon-float:nth-child(6) { bottom: 10%; right: 5%; font-size: 2.5rem; transform: rotate(-20deg); }

.check-box-title {
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
}

.check-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0 1.5rem;
    background: #fff;
    padding-top: 1.25rem;
}

.check-tab {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted-custom);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.check-tab.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.check-form .vrm-input {
    max-width: 100%;
    width: 100%;
    font-size: 1.2rem !important;
    letter-spacing: 2px;
}

.check-form .vin-input {
    max-width: 100%;
}

.check-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--brand-light);
    border-radius: 10px;
    background: rgba(45, 171, 227, 0.03);
}

.check-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

.check-step-content {
    flex: 1;
}

.check-step-label {
    font-size: 0.78rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Service Toggle ── */
.service-toggle {
    display: flex;
    gap: 0.5rem;
}

.service-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0.6rem 0.4rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9f9f9;
    position: relative;
}

.service-option i {
    font-size: 1.3rem;
    color: var(--text-muted-custom);
    display: block;
    margin-bottom: 0.2rem;
}

.service-option.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.service-option.active i {
    color: #fff;
}

.service-option.active .service-option-name {
    color: #fff;
}

.service-option.active .service-option-price {
    color: rgba(255, 255, 255, 0.9);
}

.service-option.active-purple {
    border-color: rgb(69, 58, 121);
    background: rgb(69, 58, 121);
    color: #fff;
}

.service-option.active-purple i {
    color: #fff;
}

.service-option.active-purple .service-option-name {
    color: #fff;
}

.service-option.active-purple .service-option-price {
    color: rgba(255, 255, 255, 0.9);
}

.service-option-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.1rem;
}

.service-option-price {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand);
}

.service-recommended {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #ff6b35;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.recaptcha-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.recaptcha-wrap .g-recaptcha {
    transform-origin: 0 0;
}

.recaptcha-wrap .g-recaptcha > div {
    width: 100% !important;
}

.recaptcha-wrap .g-recaptcha iframe {
    width: 100% !important;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin-bottom: 0.75rem;
}

.vrm-input {
    font-family: 'Montserrat', system-ui, monospace;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 2px solid #222;
    border-radius: 8px;
    text-align: center;
    max-width: 220px;
    background: #F5D565;
    color: #000;
}

.vrm-input.pulse {
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 171, 227, 0); transform: scale(1); }
    50% { box-shadow: 0 0 20px 8px rgba(45, 171, 227, 0.5); transform: scale(1.02); }
}

.vrm-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(45, 171, 227, 0.25);
    background: #F5D565 !important;
}

.vin-input {
    font-family: 'Montserrat', system-ui, monospace;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 2px solid #222;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    background: #e0e0e0;
    color: #000;
}

.vin-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(45, 171, 227, 0.25);
    background: #e0e0e0 !important;
    outline: none;
}

.btn-search {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-search.btn-search-purple {
    background: rgb(69, 58, 121);
}

.btn-search.btn-search-purple:hover {
    background: rgb(55, 46, 100);
}

/* ── How It Works ── */
.how-section {
    background: var(--grey-bg);
    padding: 4rem 0;
}

.how-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.how-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.how-section p {
    color: var(--text-muted-custom);
    line-height: 1.7;
}

.how-section .brand-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.img-fade-bottom-subtle {
    -webkit-mask-image: linear-gradient(to bottom, #000 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 95%, transparent 100%);
}

/* ── Search Services ── */
.services-section {
    padding: 3rem 0;
}

.services-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.services-box {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.service-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--brand);
}

.service-card p {
    font-size: 0.8rem;
    color: var(--text-muted-custom);
    margin: 0;
    line-height: 1.4;
}

/* ── Types of Vehicles ── */
.types-section {
    background: #fff;
    padding: 4rem 0;
}

.types-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.types-section h3 {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.5;
}

.types-section h3 strong {
    color: var(--brand-dark);
}

.vin-callout {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.types-section p {
    color: var(--text-muted-custom);
    line-height: 1.7;
}

.vin-highlight {
    background: var(--brand-light);
    border-left: 4px solid var(--brand);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.vin-highlight strong {
    color: var(--brand-dark);
}

/* ── Upsell / VDICheck ── */
.upsell-section {
    background: var(--grey-bg);
    padding: 4rem 0;
}

.upsell-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
}

.upsell-section h2 strong {
    color: var(--brand);
}

.upsell-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-custom);
    margin-top: 0.5rem;
}

.upsell-brand {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.upsell-brand:hover {
    text-decoration: underline;
}

.upsell-includes-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.upsell-includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}

.upsell-include {
    font-size: 0.82rem;
    color: var(--text-muted-custom);
    padding: 0.3rem 0;
}

.upsell-include i {
    color: var(--brand);
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

.upsell-section .carousel {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.upsell-section .carousel-indicators button {
    background-color: var(--brand);
}

/* ── Deep Checks Promo ── */
.deep-checks-section {
    background: #fff;
    padding: 4rem 0;
}

.deep-checks-highlight {
    background: var(--brand);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.deep-checks-text {
    font-size: 0.9rem;
    color: var(--text-muted-custom);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.deep-checks-text strong {
    color: var(--dark);
}

.damage-card {
    background: #fff;
    color: var(--dark);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.damage-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

.damage-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted-custom);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.damage-card-note {
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
    margin-bottom: 1rem;
}

.damage-img {
    width: 100%;
    border-radius: 8px;
}

.vdi-logo-img {
    height: 40px;
    opacity: 1;
}

.btn-upsell {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-upsell:hover {
    background: var(--brand-dark);
    color: #fff;
}

/* ── Footer ── */
.site-footer {
    background: var(--grey-bg);
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    font-size: 0.8rem;
    color: var(--text-muted-custom);
}

.footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
}

.footer-brand span {
    color: var(--brand);
}

.footer-links a {
    color: var(--text-muted-custom);
    text-decoration: none;
    font-size: 1.1rem;
    margin-left: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-legal {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 1rem;
}

/* ── Result Alert ── */
.result-alert {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-right {
        margin-top: 2rem;
        text-align: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .upsell-includes-grid {
        grid-template-columns: 1fr;
    }

    .how-section h2,
    .types-section h2,
    .upsell-section h2 {
        font-size: 1.75rem;
    }

    .damage-card {
        padding: 1.5rem;
    }

    .damage-card h2 {
        font-size: 1.2rem;
    }

    .types-section,
    .how-section {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .vrm-input {
        max-width: 100%;
    }
}

/* ── Vehicle Results Page ── */
.vehicle-results-section {
    padding: 2rem 0 4rem;
    background: var(--grey-bg);
    min-height: 80vh;
}

.vehicle-results-header {
    margin-bottom: 0.5rem;
}

.vehicle-results-timestamp {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
}

.vehicle-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.vehicle-card-plate {
    background: var(--dark);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.plate-badge {
    background: #F5D565;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 0.3rem 1rem;
    border-radius: 6px;
    letter-spacing: 2px;
}

.plate-provider {
    font-size: 0.8rem;
    opacity: 0.7;
}

.vehicle-card-title {
    padding: 1.25rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.vehicle-card-image {
    padding: 0 1.5rem;
    text-align: center;
}

.vehicle-card-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.vehicle-stolen-prompt {
    margin: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #664d03;
}

.vehicle-stolen-prompt i {
    margin-right: 0.4rem;
}

.vehicle-stolen-prompt a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
}

.vehicle-status-badges {
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-ok {
    background: #d4edda;
    color: #155724;
}

.status-warn {
    background: #fff3cd;
    color: #664d03;
}

.status-bad {
    background: #f8d7da;
    color: #721c24;
}

.status-badge-info {
    font-size: 0.8rem;
    color: #666;
}

.vehicle-askmid {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.vehicle-askmid a {
    color: var(--brand);
    font-weight: 600;
}

.vehicle-details-table {
    padding: 0.5rem 1.5rem 1rem;
}

.vehicle-details-table table {
    width: 100%;
    border-collapse: collapse;
}

.vehicle-details-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.vehicle-details-table td {
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.vehicle-details-table .detail-label {
    color: #888;
    font-weight: 500;
    width: 45%;
}

.vehicle-dvsa-notice {
    margin: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #555;
}

.btn-dvsa {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-dvsa:hover {
    background: #1a8fc0;
    color: #fff;
}

.vehicle-mot-section {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.vehicle-mot-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vehicle-mot-section a {
    color: var(--brand);
    font-weight: 600;
}

.btn-search-again {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-search-again:hover {
    background: #1a8fc0;
    color: #fff;
}

/* ── PNC Result Boxes ── */
.vehicle-pnc-result {
    margin: 1rem 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vehicle-pnc-result .pnc-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.vehicle-pnc-result .pnc-content h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.vehicle-pnc-result .pnc-content p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.vehicle-pnc-result .pnc-content p:last-child {
    margin-bottom: 0;
}

.pnc-stolen {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.pnc-stolen .pnc-icon {
    color: #dc3545;
}

.pnc-clear {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.pnc-clear .pnc-icon {
    color: #28a745;
}

.pnc-user-reported {
    background: #fff3cd;
    border: 2px solid #ff8c00;
    color: #664d03;
}

.pnc-user-reported .pnc-icon {
    color: #ff8c00;
}

.pnc-user-reported h4 {
    color: #cc6600;
}

/* ── MOT History Records ── */
.mot-record {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid;
}

.mot-pass {
    border-left-color: #28a745;
}

.mot-fail {
    border-left-color: #dc3545;
    background: #fff8f8;
}

.mot-record-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.mot-result {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.mot-pass .mot-result {
    color: #28a745;
}

.mot-fail .mot-result {
    color: #dc3545;
}

.mot-date {
    color: #666;
}

.mot-mileage {
    color: #888;
    font-size: 0.8rem;
}

.mot-expiry {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.mot-advisories {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.mot-advisories li {
    font-size: 0.8rem;
    color: #555;
    padding: 0.2rem 0;
    padding-left: 0.5rem;
    border-left: 2px solid #ffc107;
    margin-bottom: 0.25rem;
}

.mot-advisories li.mot-dangerous {
    border-left-color: #dc3545;
    color: #721c24;
}

.mot-adv-type {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-right: 0.3rem;
}

/* ── Auth Pages (Login / Register) ── */
.auth-section {
    padding: 3rem 0 4rem;
    background: var(--grey-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.auth-card-wide {
    max-width: 640px;
}

.auth-card-header {
    background: var(--dark);
    color: #fff;
    padding: 1.5rem 2rem;
    text-align: center;
}

.auth-card-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-card-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.auth-card-body {
    padding: 2rem;
}

.auth-input {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(45,171,227,0.15);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.btn-auth-submit {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-auth-submit:hover {
    background: #1a8fc0;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: var(--brand);
    font-weight: 600;
}

/* ── Account Page ── */
.account-section {
    padding: 2rem 0 4rem;
    background: var(--grey-bg);
    min-height: 80vh;
}

.account-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.account-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.account-card-header {
    background: var(--dark);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-card-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.account-card-body {
    padding: 1.5rem;
}

.account-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.account-detail:last-child {
    border-bottom: none;
}

.account-label {
    color: #888;
    font-weight: 500;
}

/* Search history */
.search-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.search-history-item:hover {
    background: #f8f9fa;
    border-color: var(--brand);
    color: inherit;
}

.search-history-vrm {
    background: #F5D565;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.search-history-details {
    flex: 1;
    min-width: 0;
}

.search-history-vehicle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.search-history-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
}

.search-history-status {
    flex-shrink: 0;
}

.btn-logout {
    display: block;
    text-align: center;
    padding: 0.6rem 1rem;
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-logout:hover {
    background: #dc3545;
    color: #fff;
}

/* Legal pages */
.legal-section {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.legal-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card h1 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.legal-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-card p,
.legal-card li {
    color: #444;
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card li {
    margin-bottom: 0.35rem;
}

.legal-card a {
    color: #0d6efd;
}

.footer-links {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 1.25rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1a1a2e;
    text-decoration: underline;
}

/* ── Admin Dashboard ── */
.admin-kpi {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 1.25rem;
    text-align: center;
    height: 100%;
}

.admin-kpi-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.admin-kpi-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted-custom);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 1.5rem;
    }
}
