/* ============================================
   MOTORVERIFY.IE - Complete Stylesheet
   ============================================ */

/* === CSS Custom Properties ===
   Colour theme derived from the MotorVerify.ie logo:
   - brand dark navy  #10212B  (logo text/stroke)
   - brand accent red #C22C35  (logo mark accent)
   - white background (logo background)
   ============================================ */
:root {
    --brand-primary: #10212B;
    --brand-secondary: #1B3A4A;
    --brand-accent: #C22C35;
    --brand-accent-dark: #9E1E28;
    --brand-dark: #10212B;
    --brand-darker: #060D11;
    --brand-light: #E8EDEF;
    --brand-bg: #FFFFFF;

    --primary: #10212B;
    --primary-dark: #0A171F;
    --primary-light: #E8EDEF;
    --primary-50: rgba(16, 33, 43, 0.06);
    --dark: #10212B;
    --darker: #060D11;
    --accent: #C22C35;
    --accent-dark: #9E1E28;
    --accent-light: #FBEFF0;
    --green: #16a34a;
    --green-light: #dcfce7;
    --red: #dc2626;
    --red-light: #fef2f2;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --text: #1B2A33;
    --text-secondary: #5E6E78;
    --text-light: #94A3AB;
    --bg: #FFFFFF;
    --bg-alt: #F5F7F8;
    --bg-section: #EDF1F3;
    --border: #DCE3E6;
    --border-light: #F1F5F6;
    --white: #ffffff;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s ease;
    --transition-slow: all 0.35s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(194, 44, 53, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 44, 53, 0.42);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(194, 44, 53, 0.30);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 44, 53, 0.42);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
}

.top-bar a:hover {
    color: var(--accent);
}

.top-bar i {
    margin-right: 6px;
    color: var(--accent);
    font-size: 0.75rem;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 32px;
}

/* === Logo === */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 40px;
    width: auto;
}

.logo-image {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 560px) {
    .logo-image {
        height: 38px;
        max-width: 180px;
    }
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.logo-highlight {
    color: var(--primary);
}

.logo-tagline {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: -2px;
}

/* === Navigation === */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: var(--primary-50);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-login {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.btn-login:hover {
    color: var(--primary);
    background: var(--primary-50);
}

/* === Mobile Menu === */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    animation: slideDown 0.25s ease;
}

.mobile-nav.open {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

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

.mobile-nav .btn {
    margin-top: 20px;
    width: 100%;
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 80px 0 120px;
    background: linear-gradient(160deg, #060D11 0%, #10212B 45%, #1B3A4A 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(194,44,53,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -250px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,87,183,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 440px;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.6s ease both;
}

.hero-badge i {
    color: var(--accent);
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 520px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 36px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* === Search Card === */
.hero-search-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease 0.15s both;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-search-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.hero-search-card > p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-input-wrap {
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.reg-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 33, 43, 0.08);
}

.reg-input-wrap.error {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.country-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
}

.country-select img {
    width: 24px;
    height: auto;
    border-radius: 3px;
}

.country-select select {
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    outline: none;
    padding: 4px 0;
}

#reg-input {
    flex: 1;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
}

#reg-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-light);
}

.search-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.search-note i {
    color: var(--green);
}

.search-error {
    display: none;
    padding: 10px 14px;
    background: var(--red-light);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-sm);
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
}

.search-error.visible {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === Search Results === */
.search-results {
    display: none;
    margin-top: 20px;
    animation: fadeInUp 0.4s ease both;
}

.search-results.visible {
    display: block;
}

.loading-container {
    text-align: center;
    padding: 28px 0;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 14px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}

/* === Result Card === */
.result-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    animation: fadeInUp 0.4s ease both;
}

.result-vehicle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.result-vehicle-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.result-vehicle h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.result-vehicle span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.result-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.85rem;
}

.result-detail span:first-child {
    color: var(--text-secondary);
}

.result-detail span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.result-cta {
    margin-top: 20px;
    text-align: center;
}

/* === Error Result === */
.result-error {
    text-align: center;
    padding: 24px 0;
}

.result-error-icon {
    width: 64px;
    height: 64px;
    background: var(--red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--red);
}

.result-error h4 {
    margin-bottom: 6px;
}

.result-error p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* === Trust Bar === */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 700;
}

.trust-item span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* === Section Base === */
.section {
    padding: 90px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.7);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.8); }

/* === Vehicle Check Options Grid === */
.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.option-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    text-align: center;
}

.option-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.option-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.option-card:hover .option-icon {
    background: var(--primary);
    color: var(--white);
}

.option-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.option-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === How It Works === */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(194, 44, 53, 0.30);
}

.step-icon {
    width: 68px;
    height: 68px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.step-connector {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.4;
}

/* === Sample Report === */
.sample-report {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.sample-report-header {
    background: var(--primary);
    color: var(--white);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sample-report-header h3 {
    color: var(--white);
    font-size: 1.1rem;
}

.sample-report-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.sample-report-body {
    padding: 32px;
}

.sample-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.sample-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sample-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.sample-section-title i {
    color: var(--primary);
    font-size: 0.9rem;
}

.sample-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sample-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.sample-item span:first-child {
    color: var(--text-secondary);
}

.sample-item span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.sample-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sample-status.pass {
    background: var(--green-light);
    color: var(--green);
}

.sample-status.warn {
    background: var(--amber-light);
    color: var(--amber);
}

.sample-status.fail {
    background: var(--red-light);
    color: var(--red);
}

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(194, 44, 53, 0.30);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.pricing-popular .pricing-header h3 {
    color: var(--primary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: super;
}

.price-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 4px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--green);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled i {
    color: var(--border);
}

/* === Reviews === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.review-stars {
    color: #f5b50a;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card blockquote {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
}

.review-author span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.review-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

/* === Buyer Guide === */
.buyer-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.buyer-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}

.buyer-guide-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.buyer-guide-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.buyer-guide-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.buyer-guide-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === FAQ === */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,87,183,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(194,44,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 14px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-search {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.cta-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
}

.cta-search input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-light);
}

/* === Footer === */
.footer {
    background: var(--darker);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.35fr 3fr;
    gap: 44px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin: 16px 0 20px;
    line-height: 1.7;
    max-width: 280px;
    font-size: 0.88rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: rgba(255,255,255,0.6);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.22rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-tools {
    padding-left: 22px;
}

.tools-heading-wrap {
    text-align: left;
    padding-left: 34px;
}

.footer-tools .footer-tools-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    grid-auto-flow: row;
    gap: 10px 34px;
    margin: 0;
    padding: 0;
}

.footer-tools .footer-tools-list li {
    margin: 0;
    text-align: left;
}

.footer-tools .footer-tools-list a {
    display: block;
    white-space: nowrap;
}

.footer-support {
    text-align: left;
}

.support-intro {
    margin: 0 0 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
}

.support-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.support-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
}

.support-contact-link i {
    width: 18px;
    text-align: center;
}

.footer-col a {
    transition: var(--transition);
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === Order Page === */
.order-page {
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-alt);
}

.order-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 0;
    color: var(--white);
}

.order-hero h1 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.order-hero p {
    color: rgba(255,255,255,0.8);
}

.order-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    padding: 40px 0 80px;
}

/* === Form === */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-card h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.form-card > p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--red);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 33, 43, 0.08);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.form-group input:read-only {
    background: var(--bg-alt);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.form-error {
    display: none;
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 4px;
    font-weight: 500;
}

.form-error.visible {
    display: block;
}

.form-error-global {
    display: none;
    align-items: flex-start;
    gap: 8px;
    background: var(--red-light);
    color: var(--red);
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.86rem;
    margin-top: 16px;
}

.form-error-global.visible {
    display: flex;
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--green-light);
    border: 1px solid #bbf7d0;
    color: #14532d;
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.form-success i {
    font-size: 1.3rem;
    margin-top: 1px;
}

.form-success strong {
    display: block;
    margin-bottom: 2px;
}

/* Demo / live-data banner shown by the search result */
.demo-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--amber-light);
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* === Order Summary Sidebar === */
.order-summary {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
}

.summary-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.summary-header {
    background: var(--primary-light);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.summary-header h3 {
    font-size: 1.05rem;
    color: var(--primary);
}

.summary-vehicle {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.summary-vehicle-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: var(--primary);
}

.summary-vehicle h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.summary-vehicle .summary-reg {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-top: 4px;
}

.summary-details {
    padding: 20px 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

.summary-row span:first-child {
    color: var(--text-secondary);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.summary-total {
    border-top: 2px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total span:first-child {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
}

.summary-total span:last-child {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
}

.summary-cta {
    padding: 0 24px 24px;
}

.summary-features {
    padding: 0 24px 20px;
}

.summary-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.summary-features li i {
    color: var(--green);
    font-size: 0.75rem;
}

/* === Success / Failure Pages === */
.status-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.status-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.status-icon.success {
    background: var(--green-light);
    color: var(--green);
}

.status-icon.error {
    background: var(--red-light);
    color: var(--red);
}

.status-card h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.status-card > p {
    font-size: 1rem;
    margin-bottom: 28px;
}

.status-details {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
    text-align: left;
}

.status-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

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

.status-detail-row span:first-child {
    color: var(--text-secondary);
}

.status-detail-row span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.status-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Legal Pages === */
.legal-page {
    padding: 60px 0 90px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal-content .legal-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 36px;
    margin-bottom: 14px;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 14px;
    padding-left: 24px;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-text p {
        margin: 0 auto;
    }

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

    .hero-search-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

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

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

    .step-connector {
        transform: rotate(90deg);
        padding: 4px 0;
    }

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

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

    .pricing-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 2fr;
    }

    .footer-tools {
        padding-left: 14px;
    }

    .tools-heading-wrap {
        padding-left: 24px;
    }

    .footer-tools .footer-tools-list {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions .btn-login {
        display: none;
    }

    .hero {
        padding: 50px 0 80px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

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

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

    .buyer-guide-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .pricing-popular {
        transform: none;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-tools {
        padding-left: 0;
    }

    .tools-heading-wrap {
        padding-left: 0;
    }

    .footer-tools .footer-tools-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-tools .footer-tools-list li {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-search {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-sm {
        padding: 40px 0;
    }

    .trust-bar-inner {
        grid-template-columns: 1fr;
    }

    .hero-search-card {
        padding: 24px;
    }

    .form-card {
        padding: 24px;
    }

    .summary-card {
        border-radius: var(--radius);
    }

    .status-card {
        padding: 32px 24px;
    }

    .sample-report-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .result-details {
        grid-template-columns: 1fr;
    }
}

/* === Page Transition === */
.page-transition {
    animation: fadeIn 0.3s ease both;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 20px 0;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

.cookie-text {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* === MotorVerify dark video hero theme === */
.hero-video {
    min-height: 650px;
    padding: 86px 0 92px;
    background: #06080b;
    isolation: isolate;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(3,7,10,.94) 0%, rgba(3,7,10,.82) 38%, rgba(3,7,10,.38) 68%, rgba(3,7,10,.50) 100%),
        linear-gradient(180deg, rgba(3,7,10,.30), rgba(3,7,10,.72));
}

.hero-video .hero-grid {
    opacity: .45;
    z-index: -1;
}

.hero-video .hero-content {
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 70px;
    min-height: 480px;
}

.hero-video .hero-badge {
    border-color: rgba(255,255,255,.20);
    background: rgba(255,255,255,.08);
}

.hero-video .hero-text h1 {
    font-size: clamp(2.8rem, 5.2vw, 5rem);
    max-width: 700px;
    text-transform: uppercase;
    line-height: .98;
}

.hero-video .hero-text h1 span {
    display: block;
    color: #ef3038;
}

.hero-video .hero-text p {
    max-width: 590px;
    color: rgba(255,255,255,.80);
}

.hero-video .hero-stat-value { color: #fff; }
.hero-video .hero-stat-label { color: rgba(255,255,255,.58); }

.hero-video .hero-search-card {
    background: rgba(11,14,17,.78);
    border: 1px solid rgba(255,255,255,.17);
    color: #fff;
    box-shadow: 0 25px 70px rgba(0,0,0,.40);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-video .hero-search-card h3 { color: #fff; margin-bottom: 2px; }
.hero-video .hero-search-card > p,
.hero-video .search-card-heading p { color: rgba(255,255,255,.60); }

.search-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.search-card-heading p { margin: 0; font-size: .86rem; }

.search-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ef3038;
    background: rgba(239,48,56,.12);
    border: 1px solid rgba(239,48,56,.30);
    font-size: 1.2rem;
}

.hero-video .reg-input-wrap {
    background: #fff;
    border-color: rgba(255,255,255,.15);
}

.hero-video .country-select { background: #f4f5f6; }
.hero-video #reg-input { color: #111820; }
.hero-video .search-note { color: rgba(255,255,255,.62); }
.hero-video .search-note i { color: #ef3038; }

/* Use the supplied MotorVerify logo cleanly across the dark hero header. */
.header .logo-image {
    height: 48px;
    max-width: 235px;
}

@media (max-width: 1024px) {
    .hero-video .hero-content { grid-template-columns: 1fr; gap: 42px; }
    .hero-video .hero-text { text-align: center; }
    .hero-video .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-video .hero-stats { justify-content: center; }
    .hero-video .hero-search-card { max-width: 540px; }
}

@media (max-width: 768px) {
    .hero-video { min-height: auto; padding: 58px 0 70px; }
    .hero-video-bg { object-position: 62% center; }
    .hero-video-overlay { background: linear-gradient(180deg, rgba(3,7,10,.84), rgba(3,7,10,.80)); }
    .hero-video .hero-text h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
    .header .logo-image { height: 42px; max-width: 200px; }
}
body:has(.hero-video) .header {
    background: rgba(255,255,255,.96);
    border-bottom-color: rgba(16,33,43,.10);
}
body:has(.hero-video) .header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.16); }
body:has(.hero-video) .nav a { color: #34434d; }
body:has(.hero-video) .nav a:hover,
body:has(.hero-video) .nav a.active { color: var(--accent); background: rgba(194,44,53,.07); }


/* === Compact top-right controls + right-side navigation === */
body.mv-has-side-menu .nav { display:none !important; }
body.mv-has-side-menu .mobile-toggle, body.mv-has-side-menu .mobile-nav { display:none !important; }
.header-inner { gap:16px; }
.header-actions { margin-left:auto; }
.header-contact-icon { width:42px; height:42px; border:1px solid var(--border); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--dark); background:var(--white); }
.header-contact-icon:hover { color:var(--accent); border-color:var(--accent); transform:translateY(-1px); }
.drawer-toggle { width:44px; height:44px; border:1px solid var(--border); border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:var(--dark); background:var(--white); font-size:1.1rem; }
.drawer-toggle:hover { color:var(--accent); border-color:var(--accent); }
.nav-drawer-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.42); opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease; z-index:1098; }
.nav-drawer-backdrop.open { opacity:1; visibility:visible; }
.nav-drawer { position:fixed; top:0; right:0; bottom:0; width:min(360px,88vw); background:var(--white); z-index:1099; box-shadow:-18px 0 45px rgba(0,0,0,.18); transform:translateX(100%); transition:transform .28s ease; display:flex; flex-direction:column; padding:24px; overflow-y:auto; }
.nav-drawer.open { transform:translateX(0); }
.nav-drawer-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid var(--border); font-size:1.15rem; }
.nav-drawer-close { width:38px; height:38px; border:1px solid var(--border); border-radius:9px; color:var(--dark); }
.nav-drawer-close:hover { color:var(--accent); border-color:var(--accent); }
.nav-drawer-links { display:flex; flex-direction:column; padding:14px 0; }
.nav-drawer-links a { padding:13px 10px; border-radius:9px; color:var(--text); font-weight:600; }
.nav-drawer-links a:hover { background:var(--primary-50); color:var(--accent); }
.drawer-contact { margin-top:auto; padding-top:16px; border-top:1px solid var(--border); display:grid; gap:10px; }
.drawer-contact a { display:flex; align-items:center; gap:12px; padding:12px; border-radius:10px; background:var(--bg-alt); font-weight:600; }
.drawer-contact i { width:20px; color:var(--accent); text-align:center; }
@media (max-width:560px) {
  .header-actions { gap:7px; }
  .header-contact-icon { width:38px; height:38px; }
  .drawer-toggle { width:40px; height:40px; }
  .header-actions .btn { display:none; }
}

@media (max-width:600px) { .reviews-grid.review-library { grid-template-columns:1fr; } }


/* === Right menu + header controls === */
body.mv-has-side-menu .header-actions { margin-left:auto; display:flex; align-items:center; gap:10px; }
body.mv-has-side-menu .header-contact-icon { width:42px; height:42px; border:1px solid var(--border); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--dark); background:var(--white); flex:0 0 auto; }
body.mv-has-side-menu .header-contact-icon:hover { color:var(--accent); border-color:var(--accent); }
body.mv-has-side-menu .drawer-toggle { width:44px; height:44px; border:1px solid var(--border); border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:var(--dark); background:var(--white); font-size:1.15rem; cursor:pointer; flex:0 0 auto; }
body.mv-has-side-menu .drawer-toggle:hover { color:var(--accent); border-color:var(--accent); }
body.mv-has-side-menu .nav-drawer-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.48); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s ease, visibility .25s ease; z-index:1098; }
body.mv-has-side-menu .nav-drawer-backdrop.open { opacity:1; visibility:visible; pointer-events:auto; }
body.mv-has-side-menu .nav-drawer-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.58); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .35s ease, visibility .35s ease; z-index:1098; }
body.mv-has-side-menu .nav-drawer-backdrop.open { opacity:1; visibility:visible; pointer-events:auto; }
body.mv-has-side-menu .nav-drawer { position:fixed; top:0; right:0; bottom:0; width:min(345px,88vw); background:rgba(6,13,17,.92); border-left:1px solid rgba(255,255,255,.09); box-shadow:-12px 0 35px rgba(0,0,0,.24); transform:translateX(100%); transition:transform .38s cubic-bezier(.22,.61,.36,1); display:flex; flex-direction:column; padding:22px 14px 18px; overflow-y:auto; }
body.mv-has-side-menu .nav-drawer.open { transform:translateX(0); }
body.mv-has-side-menu .nav-drawer-head { display:flex; align-items:center; justify-content:space-between; padding:2px 8px 22px; border-bottom:1px solid rgba(255,255,255,.08); font-size:1rem; color:#fff; }
body.mv-has-side-menu .nav-drawer-head strong { font-size:1.05rem; letter-spacing:.01em; }
body.mv-has-side-menu .nav-drawer-close { width:40px; height:40px; border:1px solid rgba(255,255,255,.12); border-radius:10px; color:rgba(255,255,255,.72); background:transparent; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; }
body.mv-has-side-menu .nav-drawer-close:hover { color:#fff; background:rgba(194,44,53,.16); border-color:rgba(194,44,53,.45); }
body.mv-has-side-menu .nav-drawer-links { display:flex; flex-direction:column; gap:4px; padding:14px 0; }
body.mv-has-side-menu .nav-drawer-links a { display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:10px; color:rgba(255,255,255,.72); font-size:.88rem; font-weight:600; text-decoration:none; transition:background .2s ease,color .2s ease; }
body.mv-has-side-menu .nav-drawer-links a::before { content:'\f054'; font-family:'Font Awesome 6 Free'; font-weight:900; width:20px; text-align:center; font-size:.68rem; color:rgba(255,255,255,.38); transition:color .2s ease; }
body.mv-has-side-menu .nav-drawer-links a:hover { color:#fff; background:rgba(194,44,53,.16); }
body.mv-has-side-menu .nav-drawer-links a:hover::before { color:var(--accent); }
body.mv-has-side-menu .drawer-contact { margin-top:auto; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); display:grid; gap:7px; }
body.mv-has-side-menu .drawer-contact a { display:flex; align-items:center; gap:10px; padding:8px; border-radius:8px; color:rgba(255,255,255,.72); background:transparent; font-size:.82rem; font-weight:600; text-decoration:none; }
body.mv-has-side-menu .drawer-contact a:hover { color:#fff; background:rgba(255,255,255,.06); }
body.mv-has-side-menu .drawer-contact i { width:18px; color:var(--accent); text-align:center; }

/* === Reviews: horizontal slide/scroll layout === */
.reviews-slider-wrap { position:relative; overflow:hidden; }
.reviews-grid.review-library { display:flex !important; grid-template-columns:none !important; gap:18px; overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; scroll-snap-type:x mandatory; padding:6px 4px 18px; scrollbar-width:none; }
.reviews-grid.review-library::-webkit-scrollbar { display:none; }
.reviews-grid.review-library .review-card { flex:0 0 calc((100% - 36px) / 3); min-width:calc((100% - 36px) / 3); scroll-snap-align:start; box-sizing:border-box; }
.review-slider-controls { display:flex; justify-content:flex-end; gap:8px; margin:0 0 12px; }
.review-slider-btn { width:42px; height:42px; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(255,255,255,.06); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.review-slider-btn:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.42); }
.review-slider-hint { color:rgba(255,255,255,.55); font-size:.78rem; margin-right:auto; align-self:center; }
@media (max-width:900px) { .reviews-grid.review-library .review-card { flex-basis:calc((100% - 18px) / 2); min-width:calc((100% - 18px) / 2); } }
@media (max-width:600px) {
  body.mv-has-side-menu .header-contact-icon { width:38px; height:38px; }
  body.mv-has-side-menu .drawer-toggle { width:40px; height:40px; }
  body.mv-has-side-menu .header-check-btn { display:none; }
  .reviews-grid.review-library .review-card { flex-basis:88%; min-width:88%; }
  .review-slider-controls { justify-content:space-between; }
}

.reviews-slider-wrap { position:relative; }
.reviews-grid.review-library { display:flex !important; grid-template-columns:none !important; gap:18px; overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; scroll-snap-type:x mandatory; padding:6px 4px 18px; scrollbar-width:none; }
.reviews-grid.review-library::-webkit-scrollbar { display:none; }
.reviews-grid.review-library .review-card { flex:0 0 calc((100% - 36px) / 3); min-width:calc((100% - 36px) / 3); scroll-snap-align:start; box-sizing:border-box; }
.review-slider-controls { display:flex; justify-content:flex-end; gap:8px; margin:0 0 12px; }
.review-slider-btn { width:42px; height:42px; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(255,255,255,.06); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.review-slider-btn:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.42); }
.review-slider-hint { color:rgba(255,255,255,.55); font-size:.78rem; margin-right:auto; align-self:center; }
@media (max-width:900px) { .reviews-grid.review-library .review-card { flex-basis:calc((100% - 18px) / 2); min-width:calc((100% - 18px) / 2); } }
@media (max-width:600px) {
  body.mv-has-side-menu .header-contact-icon { width:38px; height:38px; }
  body.mv-has-side-menu .drawer-toggle { width:40px; height:40px; }
  body.mv-has-side-menu .header-check-btn { display:none; }
  .reviews-grid.review-library .review-card { flex-basis:88%; min-width:88%; }
  .review-slider-controls { justify-content:space-between; }
}

/* MotorVerify drawer icons + logo */
body.mv-has-side-menu .nav-drawer-head { align-items:center; }
body.mv-has-side-menu .nav-drawer-logo { display:flex; align-items:center; max-width:190px; }
body.mv-has-side-menu .nav-drawer-logo img { width:170px; max-height:52px; object-fit:contain; }
body.mv-has-side-menu .nav-drawer-links a::before { content:none !important; }
body.mv-has-side-menu .nav-drawer-links a i { width:22px; text-align:center; color:rgba(255,255,255,.48); font-size:.95rem; transition:color .2s ease, transform .2s ease; }
body.mv-has-side-menu .nav-drawer-links a:hover i { color:var(--accent); transform:translateX(2px); }
/* Login page */
.mv-login-page { min-height:100vh; background:radial-gradient(circle at 50% 0%, rgba(194,44,53,.14), transparent 42%), #071016; }
.mv-login-page .header { position:relative; }
.login-shell { min-height:calc(100vh - 80px); display:flex; align-items:center; justify-content:center; padding:45px 20px; }
.login-card { width:min(440px,100%); background:rgba(12,23,29,.96); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:34px; box-shadow:0 25px 70px rgba(0,0,0,.35); color:#fff; }
.login-logo { text-align:center; margin-bottom:18px; }
.login-logo img { width:190px; max-height:58px; object-fit:contain; }
.login-card h1 { text-align:center; margin:0 0 8px; }
.login-card > p { text-align:center; color:rgba(255,255,255,.62); margin:0 0 26px; }
.login-card label { display:block; font-size:.86rem; font-weight:600; margin-bottom:16px; }
.login-card input[type=email], .login-card input[type=password] { width:100%; box-sizing:border-box; margin-top:7px; padding:12px 13px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:#0a171d; color:#fff; outline:none; }
.login-card input:focus { border-color:var(--accent); }
.login-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:2px 0 20px; font-size:.8rem; }
.login-row .remember { margin:0; font-weight:500; }
.login-row a,.login-back a { color:var(--accent); text-decoration:none; }
.login-submit { width:100%; justify-content:center; }
.login-message { min-height:20px; margin-top:14px; text-align:center; font-size:.82rem; }
.login-message.error { color:#ff8b93; } .login-message.success { color:#7de2a8; }
.login-back { margin:22px 0 0 !important; font-size:.84rem; }
@media(max-width:600px){.login-card{padding:26px 20px}.mv-login-page .header-actions .btn{display:none}.login-row{align-items:flex-start;flex-direction:column;}}
/* Final drawer transparency */
body.mv-has-side-menu .nav-drawer { background: rgba(6,13,17,.50); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.login-signup { margin: 18px 0 0; text-align:center; color:var(--muted); font-size:.9rem; }
.login-signup a { color:var(--accent); font-weight:700; text-decoration:none; }
.login-signup a:hover { text-decoration:underline; }

/* === Sale pricing display === */
.pricing-header .price-sale { margin-bottom: 2px; }
.price-original { font-size: .9rem; color: rgba(255,255,255,.62); text-decoration: line-through; text-decoration-thickness: 1.5px; margin-top: -2px; }
.price-reference { font-size: .74rem; color: rgba(255,255,255,.42); margin-top: 2px; }
.price-reference s { text-decoration-thickness: 1.2px; }

/* Sign-up full-name field should match the other form controls */
.login-card input[type=text], .login-card input[type=email], .login-card input[type=password] { width:100%; box-sizing:border-box; margin-top:7px; padding:12px 13px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:#0a171d; color:#fff; outline:none; }


/* === Order plan selector === */
.order-plan-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:8px; }
.order-plan-option { display:block; cursor:pointer; }
.order-plan-option input { position:absolute; opacity:0; pointer-events:none; }
.order-plan-content { display:flex; flex-direction:column; gap:5px; min-height:116px; padding:16px; border:1px solid rgba(255,255,255,.13); border-radius:12px; background:rgba(10,23,29,.72); transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.order-plan-content strong { font-size:1rem; color:#fff; }
.order-plan-price { font-size:1.25rem; font-weight:800; color:var(--accent); }
.order-plan-content small { color:var(--text-secondary); line-height:1.45; }
.order-plan-option:hover .order-plan-content { border-color:rgba(194,44,53,.65); transform:translateY(-1px); }
.order-plan-option.selected .order-plan-content { border-color:var(--accent); box-shadow:0 0 0 2px rgba(194,44,53,.16); }
.price-original { color:var(--accent); font-size:.88rem; font-weight:700; margin-top:-2px; }
.price-original s { text-decoration-thickness:1.5px; }
@media(max-width:600px){ .order-plan-options { grid-template-columns:1fr; } }

/* === Order page pricing cards: match Pricing page design === */
.order-pricing-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:stretch; margin-top:12px; }
.order-pricing-card { position:relative; overflow:hidden; cursor:pointer; min-height:270px; margin:0; padding:28px 24px 22px; border:1px solid var(--border); border-radius:var(--radius-xl); background:var(--white); color:var(--dark); transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.order-pricing-card > input[type=radio] { position:absolute; opacity:0; pointer-events:none; }
.order-pricing-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.order-pricing-card.selected { border:2px solid var(--primary); box-shadow:0 0 0 2px rgba(194,44,53,.14), var(--shadow-lg); }
.order-pricing-card .pricing-header { text-align:center; margin-bottom:12px; }
.order-pricing-card .pricing-header h3 { color:var(--text-secondary); }
.order-pricing-card .price { color:var(--dark); font-size:2.45rem; }
.order-pricing-card .price-original { color:var(--primary); font-size:.9rem; font-weight:700; margin-top:-2px; }
.order-pricing-card .price-original s { color:var(--primary); text-decoration-thickness:1.5px; }
.order-pricing-card .price-desc { color:var(--text-secondary); margin:8px 0 0; font-size:.9rem; }
.order-pricing-card .pricing-badge { top:14px; left:50%; transform:translateX(-50%); }
.order-plan-select { margin-top:14px; pointer-events:none; }
.include-toggle { width:100%; margin-top:8px; padding:10px 0 4px; border:0; background:transparent; color:var(--primary); font:inherit; font-size:.88rem; font-weight:700; text-align:center; cursor:pointer; }
.include-toggle i { margin-left:5px; transition:transform .2s ease; }
.include-toggle:hover { text-decoration:underline; }
.plan-details-modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; padding:20px; z-index:1200; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .22s ease, visibility .22s ease; }
.plan-details-modal.open { opacity:1; visibility:visible; pointer-events:auto; }
.plan-details-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.62); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.plan-details-dialog { position:relative; width:min(620px,100%); max-height:82vh; overflow-y:auto; padding:30px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:#0b151b; color:#fff; box-shadow:0 25px 80px rgba(0,0,0,.45); }
.plan-details-close { position:absolute; right:16px; top:16px; width:38px; height:38px; border:1px solid rgba(255,255,255,.13); border-radius:10px; background:transparent; color:rgba(255,255,255,.75); cursor:pointer; }
.plan-details-close:hover { color:#fff; border-color:var(--accent); background:rgba(194,44,53,.12); }
.plan-details-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:12px; background:rgba(194,44,53,.12); color:var(--accent); margin-bottom:15px; }
.plan-details-dialog h2 { margin:0 0 5px; color:#fff; }
.plan-details-dialog > p { margin:0 0 20px; color:rgba(255,255,255,.58); }
.plan-details-dialog ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; }
.plan-details-dialog li { color:rgba(255,255,255,.78); font-size:.9rem; line-height:1.45; display:flex; gap:9px; }
.plan-details-dialog li i { color:#16a34a; margin-top:3px; }
@media(max-width:760px) { .order-pricing-options { grid-template-columns:1fr; } }
@media(max-width:560px) { .plan-details-dialog { padding:24px 20px; } .plan-details-dialog ul { grid-template-columns:1fr; } }
body.modal-open { overflow:hidden; }


/* Pricing page: Full Check centered and History Check on the right */
.pricing-grid-featured-order {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .85fr);
    align-items: start;
}
.pricing-grid-featured-order .pricing-card {
    min-width: 0;
}
.pricing-grid-featured-order .pricing-popular {
    transform: scale(1.02);
}
.pricing-grid-featured-order .pricing-popular:hover {
    transform: scale(1.02) translateY(-4px);
}
.pricing-features .premium-feature {
    align-items: flex-start;
}
.pricing-features .premium-feature > i:first-child {
    color: #16a34a;
    flex: 0 0 auto;
}
.pricing-features .premium-feature strong {
    color: #16a34a;
    font-weight: 800;
}
.pricing-features .premium-feature .premium-star {
    color: #d4a72c;
    margin-left: 3px;
    font-size: .78rem;
}
@media(max-width: 1000px) {
    .pricing-grid-featured-order {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid-featured-order .pricing-popular {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .pricing-grid-featured-order .pricing-card:first-child {
        grid-column: 1;
        grid-row: 2;
    }
    .pricing-grid-featured-order .pricing-card:last-child {
        grid-column: 2;
        grid-row: 2;
    }
}
@media(max-width: 700px) {
    .pricing-grid-featured-order {
        grid-template-columns: 1fr;
    }
    .pricing-grid-featured-order .pricing-popular,
    .pricing-grid-featured-order .pricing-card:first-child,
    .pricing-grid-featured-order .pricing-card:last-child {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Final pricing layout: Free left, Full Check centered, History Check right.
   Keep the Most Popular badge exclusively on Full Check. */
.pricing-grid-featured-order {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .85fr);
    align-items: start;
}
.pricing-grid-featured-order .pricing-full {
    grid-column: 2;
    grid-row: 1;
}
.pricing-grid-featured-order .pricing-history {
    grid-column: 3;
    grid-row: 1;
}
.pricing-grid-featured-order .pricing-free {
    grid-column: 1;
    grid-row: 1;
}
.pricing-grid-featured-order .pricing-full.pricing-popular {
    transform: scale(1.02);
}
.pricing-grid-featured-order .pricing-full.pricing-popular:hover {
    transform: scale(1.02) translateY(-4px);
}
.pricing-grid-featured-order .pricing-history .pricing-badge {
    display: none;
}
/* Keep crossed/original prices visually tied to the sale-price accent. */
.pricing-grid-featured-order .price-original,
.pricing-grid-featured-order .price-original s {
    color: var(--primary);
}
/* Green checks for every feature; green check + gold star for parenthesized premium features. */
.pricing-grid-featured-order .pricing-features li > i:first-child {
    color: #16a34a;
}
.pricing-grid-featured-order .pricing-features .premium-feature strong {
    color: #16a34a;
    font-weight: 800;
}
.pricing-grid-featured-order .pricing-features .premium-star {
    color: #d4a72c;
}
@media(max-width:1000px) {
    .pricing-grid-featured-order { grid-template-columns: 1fr 1fr; }
    .pricing-grid-featured-order .pricing-free { grid-column: 1; grid-row: 2; }
    .pricing-grid-featured-order .pricing-full { grid-column: 1 / -1; grid-row: 1; }
    .pricing-grid-featured-order .pricing-history { grid-column: 2; grid-row: 2; }
}
@media(max-width:700px) {
    .pricing-grid-featured-order { grid-template-columns: 1fr; }
    .pricing-grid-featured-order .pricing-free,
    .pricing-grid-featured-order .pricing-full,
    .pricing-grid-featured-order .pricing-history { grid-column: auto; grid-row: auto; }
}

/* === FINAL PRICING LAYOUT OVERRIDE === */
@media (min-width: 1001px) {
  .pricing-grid-featured-order {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .85fr) !important;
    align-items: start !important;
  }
  .pricing-grid-featured-order .pricing-free { grid-column: 1 !important; grid-row: 1 !important; }
  .pricing-grid-featured-order .pricing-full { grid-column: 2 !important; grid-row: 1 !important; }
  .pricing-grid-featured-order .pricing-history { grid-column: 3 !important; grid-row: 1 !important; }
}
.pricing-grid-featured-order .pricing-full .pricing-badge { display: block !important; }
.pricing-grid-featured-order .pricing-history .pricing-badge { display: none !important; }
.pricing-grid-featured-order .pricing-features li > i:first-child { color: #16a34a !important; }
.pricing-grid-featured-order .pricing-features .premium-feature strong { color: #16a34a !important; font-weight: 800; }
.pricing-grid-featured-order .pricing-features .premium-feature .premium-star { color: #d4a72c !important; }
.pricing-grid-featured-order .price-original,
.pricing-grid-featured-order .price-original s { color: var(--primary) !important; }
@media (max-width: 1000px) {
  .pricing-grid-featured-order .pricing-full { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  .pricing-grid-featured-order .pricing-free { grid-column: 1 !important; grid-row: 2 !important; }
  .pricing-grid-featured-order .pricing-history { grid-column: 2 !important; grid-row: 2 !important; }
}
@media (max-width: 700px) {
  .pricing-grid-featured-order .pricing-free,
  .pricing-grid-featured-order .pricing-full,
  .pricing-grid-featured-order .pricing-history { grid-column: 1 !important; grid-row: auto !important; }
}


/* Final pricing/order badge positioning */
.order-pricing-card .pricing-badge {
    top: 6px;
}


/* MotorVerify premium feature stars */
.premium-star, .golden-star, .feature-star, .most-popular-star {
  color: #f4b400 !important;
  fill: #f4b400 !important;
}

/* MotorVerify vehicle inspection transition */
.mv-inspection-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mv-inspection-overlay.mv-show { opacity: 1; pointer-events: auto; }
.mv-inspection-scene { width: min(680px, 88vw); text-align:center; font-family: inherit; }
.mv-road { position:relative; height:120px; overflow:hidden; margin-bottom:18px; }
.mv-road:after {
  content:""; position:absolute; left:0; right:0; bottom:22px; height:4px;
  background: repeating-linear-gradient(90deg,#777 0 48px,transparent 48px 82px);
}
.mv-car {
  position:absolute; left:-180px; bottom:28px; font-size:76px; line-height:1;
  animation: mv-drive 1.35s cubic-bezier(.2,.7,.2,1) forwards;
}
.mv-scan {
  width:260px; height:8px; margin:8px auto 16px; border-radius:10px;
  background:rgba(0,0,0,.09); overflow:hidden;
}
.mv-scan:before {
  content:""; display:block; width:35%; height:100%; border-radius:10px;
  background:#21a366; transform:translateX(-120%);
  animation:mv-scan 1.05s ease-in-out .95s infinite;
}
.mv-inspection-title { font-size:22px; font-weight:700; margin:0 0 6px; }
.mv-inspection-sub { font-size:14px; opacity:.7; margin:0; }
@keyframes mv-drive { to { left:calc(50% - 38px); } }
@keyframes mv-scan { to { transform:translateX(390%); } }


/* MotorVerify vehicle search -> order inspection animation */
.mv-transition-lock { overflow: hidden !important; }
.mv-transition-overlay {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 18, 30, .92);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.mv-transition-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.mv-transition-card { width: min(760px, 92vw); text-align:center; color:#fff; }
.mv-transition-scene {
  position:relative; height:245px; margin:auto; overflow:hidden;
  border-radius:22px; background:linear-gradient(180deg,#12263a 0%,#1c3348 60%,#101c28 60%,#101c28 100%);
  box-shadow:0 25px 80px rgba(0,0,0,.4); border:1px solid rgba(255,255,255,.12);
}
.mv-garage-light { position:absolute; left:8%; right:8%; top:25px; height:5px; border-radius:10px; background:rgba(255,255,255,.7); box-shadow:0 0 25px rgba(255,255,255,.45); }
.mv-road-lines { position:absolute; left:0; right:0; bottom:39px; height:4px; background:repeating-linear-gradient(90deg,rgba(255,255,255,.55) 0 60px,transparent 60px 105px); animation:mv-road 1s linear infinite; }
.mv-car-icon { position:absolute; left:-120px; bottom:57px; width:110px; height:75px; display:grid; place-items:center; font-size:76px; color:#fff; filter:drop-shadow(0 8px 8px rgba(0,0,0,.35)); animation:mv-drive-in 1.15s cubic-bezier(.15,.7,.2,1) forwards; }
.mv-inspection-beam { position:absolute; left:50%; top:48px; width:5px; height:155px; transform:translateX(-50%); background:#35d07f; box-shadow:0 0 20px #35d07f; opacity:0; animation:mv-beam 1.5s ease-in-out 1.05s forwards; }
.mv-scan-ring { position:absolute; left:50%; top:120px; width:150px; height:150px; transform:translate(-50%,-50%) scale(.6); border:2px solid rgba(53,208,127,.55); border-radius:50%; opacity:0; animation:mv-ring 1.3s ease-out 1.05s infinite; }
.mv-ring-2 { animation-delay:1.35s; width:210px; height:210px; }
.mv-mechanic { position:absolute; right:12%; bottom:58px; font-size:48px; opacity:0; transform:translateY(20px); animation:mv-mechanic 1s ease-out 1.05s forwards; }
.mv-transition-copy { padding:22px 10px 0; }
.mv-transition-title { font-size:24px; font-weight:800; letter-spacing:-.2px; }
.mv-transition-sub { margin-top:7px; font-size:14px; opacity:.75; }
.mv-progress { width:min(440px,78vw); height:7px; margin:18px auto 14px; border-radius:99px; overflow:hidden; background:rgba(255,255,255,.14); }
.mv-progress span { display:block; width:0; height:100%; background:#35d07f; border-radius:inherit; animation:mv-progress 3s linear forwards; }
.mv-transition-steps { display:flex; justify-content:center; gap:18px; flex-wrap:wrap; font-size:12px; opacity:.45; }
.mv-transition-steps span.active { opacity:1; color:#fff; }
.mv-transition-steps i { margin-right:4px; color:#35d07f; }
@keyframes mv-drive-in { 0%{left:-120px;transform:scale(.82)} 75%{left:calc(50% - 55px);transform:scale(1)} 100%{left:calc(50% - 55px)} }
@keyframes mv-road { to{transform:translateX(-105px)} }
@keyframes mv-beam { 0%{opacity:0;transform:translateX(-50%) scaleY(.3)} 25%{opacity:1} 100%{opacity:1;transform:translateX(-50%) scaleY(1)} }
@keyframes mv-ring { 0%{opacity:0;transform:translate(-50%,-50%) scale(.45)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,-50%) scale(1.2)} }
@keyframes mv-mechanic { to{opacity:1;transform:translateY(0)} }
@keyframes mv-progress { to{width:100%} }
@media (prefers-reduced-motion: reduce) { .mv-transition-overlay * { animation-duration:3s !important; } }

/* MotorVerify: uploaded inspection icon */
.mv-inspection-icon{background:url("assets/motorverify-shield-icon.png") center/contain no-repeat !important;}


/* === Order payment/plan selection === */
.order-pricing-card {
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, color .22s ease;
}
.order-pricing-card.selected {
    background: var(--primary-light);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(16,33,43,.18), var(--shadow-lg);
}
.order-pricing-card.selected .pricing-header h3,
.order-pricing-card.selected .price,
.order-pricing-card.selected .price-desc {
    color: var(--primary-dark);
}
.order-pricing-card.selected .order-plan-select {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.order-pricing-card .pricing-badge {
    top: -14px;
    z-index: 3;
}
.order-pricing-card {
    overflow: visible;
}

/* MotorVerify homepage background - supplied daytime image */
.hero, .hero-section, .home-hero, .hero-banner, .banner {
  background-image: url('../assets/motorverify-home-background-day.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* MotorVerify homepage: supplied daytime background */
.hero.hero-video {
  background: url('../assets/motorverify-home-background-day-new.png') center center / cover no-repeat !important;
}
.hero-video-bg.hero-image-bg {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  z-index:0 !important;
}

/* Homepage black shade: 65% transparent (35% black opacity) */
.hero.hero-video::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.35) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.hero-video-bg,
.hero-video-bg.hero-image-bg {
  z-index: 0 !important;
}
.hero-video-overlay,
.hero-grid,
.hero-content {
  position: relative !important;
  z-index: 2 !important;
}


/* MotorVerify homepage final background + soft circular shade */
.hero.hero-video {
  position: relative !important;
  background: url('../assets/motorverify-home-day-final.png') center center / cover no-repeat !important;
}
.hero.hero-video::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 50%,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.37) 35%,
    rgba(0,0,0,0.22) 65%,
    rgba(0,0,0,0.08) 86%,
    rgba(0,0,0,0) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.hero-video-bg,
.hero-video-bg.hero-image-bg {
  z-index: 0 !important;
}
.hero-video-overlay,
.hero-grid,
.hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* === Order summary refresh === */
.order-summary .summary-card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.order-summary .summary-header {
    background: transparent !important;
    border: 0 !important;
    padding: 0 0 14px !important;
}
.order-summary .summary-header h3 { font-size: 1.45rem; }
.summary-intro {
    margin: 4px 0 18px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.55;
}
.summary-intro p { margin: 0; }
.summary-vehicle-circle {
    position: relative;
    text-align: center;
    border: 1.5px solid rgba(16,33,43,.18);
    border-radius: 28px;
    padding: 22px 22px 20px;
    background: rgba(255,255,255,.78);
    margin-bottom: 18px;
}
.summary-vehicle-circle .summary-vehicle-icon {
    width: 58px; height: 58px; margin: 0 auto 10px;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-dark); font-size: 1.35rem;
}
.summary-vehicle-circle h4 { margin: 0 0 7px; font-size: 1.12rem; }
.summary-vehicle-circle p { margin: 0; color: var(--text-secondary); font-size: .86rem; line-height: 1.5; }
.summary-popular-tag {
    position: absolute; top: 10px; right: 12px;
    display: inline-flex; align-items: center; padding: 4px 9px;
    border-radius: 999px; background: var(--primary); color: #fff;
    font-size: .67rem; font-weight: 800; letter-spacing: .04em;
}
.summary-total-modern {
    padding: 15px 0 !important; margin: 0 0 14px !important;
    border-top: 1px solid rgba(16,33,43,.12);
    border-bottom: 1px solid rgba(16,33,43,.12);
}
.summary-package-box, .summary-trust-box {
    border: 1.5px solid rgba(16,33,43,.18);
    border-radius: 24px;
    background: rgba(255,255,255,.78);
}
.summary-package-box { padding: 17px 18px; margin-bottom: 14px; }
.summary-package-title { display:flex; align-items:center; gap:8px; font-weight:800; color:var(--primary-dark); }
.summary-package-title i { color:var(--primary); }
.summary-package-price { margin-top:4px; font-weight:800; font-size:1.05rem; }
.summary-package-features { list-style:none; margin:11px 0 0; padding:0; display:grid; gap:7px; }
.summary-package-features li { display:flex; align-items:center; gap:8px; color:var(--text-secondary); font-size:.82rem; }
.summary-package-features li > i:first-child { color:#16a34a; }
.summary-package-features .premium-star { margin-left:auto; color:#d4a72c !important; }
.summary-trust-box { padding:15px 17px; display:grid; gap:10px; }
.summary-trust-box div { display:flex; align-items:center; gap:10px; color:var(--text-secondary); font-size:.83rem; }
.summary-trust-box div > i { width:22px; text-align:center; color:var(--primary); }
.summary-trust-box strong { color:var(--text-primary); font-weight:700; }
.summary-payment-logos { display:flex; justify-content:flex-end; margin-top:14px; }
.summary-payment-logos img { width:min(210px, 70%); height:auto; display:block; }
@media (max-width: 900px) {
    .summary-payment-logos { justify-content:center; }
}


/* Collapsible pricing features */
.pricing-features-collapsible li:nth-child(n+7) {
    display: none;
}
.pricing-card.pricing-expanded .pricing-features-collapsible li:nth-child(n+7) {
    display: flex;
}
.pricing-more-btn {
    display: inline-block;
    width: auto;
    margin: 2px 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}
.pricing-more-btn:hover {
    transform: none;
    background: transparent;
    opacity: .72;
}

/* Sample report type selector */
.sample-report-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; max-width:1000px; margin:0 auto; }
@media (max-width: 760px) { .sample-report-options { grid-template-columns:1fr !important; } }


/* Contact form message field aligned to the Subject field height. */
#contact-message {
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    resize: none;
    box-sizing: border-box;
}

#contact-message:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 33, 43, 0.08);
}

/* Header registration field stability */
.mv-header-reg-form{box-sizing:border-box;flex-shrink:0!important;}
.header .header-actions{flex-wrap:nowrap!important;align-items:center!important;}
.mv-header-reg-input{box-sizing:border-box!important;}

/* Header email hover expansion */
body.mv-has-side-menu .header-actions {
  gap: 10px;
}
body.mv-has-side-menu .header-email-hover {
  position: relative;
  width: 42px;
  min-width: 42px;
  padding: 0;
  overflow: hidden;
  justify-content: flex-start;
  transition: width .34s ease, min-width .34s ease, border-radius .34s ease,
              color .25s ease, border-color .25s ease, transform .34s ease;
  transform-origin: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
body.mv-has-side-menu .header-email-hover > i {
  flex: 0 0 42px;
  width: 42px;
  text-align: center;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
body.mv-has-side-menu .header-email-hover .header-email-text {
  display: block;
  width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: width .34s ease, opacity .24s ease, margin-left .34s ease;
}
body.mv-has-side-menu .header-email-hover:hover,
body.mv-has-side-menu .header-email-hover:focus-visible {
  width: 184px;
  min-width: 184px;
  border-radius: 22px;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateZ(0);
}
body.mv-has-side-menu .header-email-hover:hover > i,
body.mv-has-side-menu .header-email-hover:focus-visible > i {
  animation: mv-mail-spin .62s cubic-bezier(.2,.8,.2,1) both;
}
body.mv-has-side-menu .header-email-hover:hover .header-email-text,
body.mv-has-side-menu .header-email-hover:focus-visible .header-email-text {
  width: 132px;
  margin-left: 2px;
  opacity: 1;
}
@keyframes mv-mail-spin {
  0% { transform: rotate(0deg); }
  45% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 700px) {
  body.mv-has-side-menu .header-email-hover:hover,
  body.mv-has-side-menu .header-email-hover:focus-visible {
    width: 164px;
    min-width: 164px;
  }
  body.mv-has-side-menu .header-email-hover:hover .header-email-text,
  body.mv-has-side-menu .header-email-hover:focus-visible .header-email-text {
    width: 112px;
    font-size: 12px;
  }
}


/* Header phone hover expansion: mirrors the mail interaction. */
body.mv-has-side-menu .header-phone-hover {
  position: relative;
  width: 42px;
  min-width: 42px;
  padding: 0;
  overflow: hidden;
  justify-content: flex-start;
  transition: width .34s ease, min-width .34s ease, border-radius .34s ease,
              color .25s ease, border-color .25s ease, transform .34s ease;
  transform-origin: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
body.mv-has-side-menu .header-phone-hover > i {
  flex: 0 0 42px;
  width: 42px;
  text-align: center;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
body.mv-has-side-menu .header-phone-hover .header-phone-text {
  display: block;
  width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: width .34s ease, opacity .24s ease, margin-left .34s ease;
}
body.mv-has-side-menu .header-phone-hover:hover,
body.mv-has-side-menu .header-phone-hover:focus-visible {
  width: 174px;
  min-width: 174px;
  border-radius: 22px;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateZ(0);
}
body.mv-has-side-menu .header-phone-hover:hover > i,
body.mv-has-side-menu .header-phone-hover:focus-visible > i {
  animation: mv-phone-spin .62s cubic-bezier(.2,.8,.2,1) both;
}
body.mv-has-side-menu .header-phone-hover:hover .header-phone-text,
body.mv-has-side-menu .header-phone-hover:focus-visible .header-phone-text {
  width: 126px;
  margin-left: 2px;
  opacity: 1;
}
@keyframes mv-phone-spin {
  0% { transform: rotate(0deg); }
  45% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 700px) {
  body.mv-has-side-menu .header-phone-hover:hover,
  body.mv-has-side-menu .header-phone-hover:focus-visible {
    width: 158px;
    min-width: 158px;
  }
  body.mv-has-side-menu .header-phone-hover:hover .header-phone-text,
  body.mv-has-side-menu .header-phone-hover:focus-visible .header-phone-text {
    width: 106px;
    font-size: 12px;
  }
}


/* =========================================================
   MotorVerify Home — Mobile-only viewport/header fixes
   Desktop layout is intentionally untouched.
   ========================================================= */
@media (max-width: 768px) {
  /* Keep the Home header fixed to the viewport while the page scrolls. */
  body:has(.hero-video) {
    overflow-x: hidden;
  }

  body:has(.hero-video) .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--header-height) !important;
    z-index: 10000 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform;
  }

  /* Reserve the fixed header's space so the hero starts below it. */
  body:has(.hero-video) {
    padding-top: var(--header-height);
  }

  body:has(.hero-video) .header-inner {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  body:has(.hero-video) .logo {
    min-width: 0;
    max-width: 52vw;
  }

  body:has(.hero-video) .logo-image {
    display: block;
    width: auto;
    height: clamp(34px, 9vw, 42px);
    max-width: 100%;
  }

  body:has(.hero-video) .header-actions {
    min-width: 0;
    gap: 6px;
  }

  body:has(.hero-video) .header-contact-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }

  body:has(.hero-video) .header-check-btn {
    display: none;
  }

  /* Prevent the hover-expanding contact controls from widening the header
     on touch devices and causing viewport/layout shifts. */
  body:has(.hero-video) .header-email-hover:hover,
  body:has(.hero-video) .header-email-hover:focus-visible,
  body:has(.hero-video) .header-phone-hover:hover,
  body:has(.hero-video) .header-phone-hover:focus-visible {
    width: 38px;
    min-width: 38px;
    border-radius: 50%;
  }

  body:has(.hero-video) .header-email-hover:hover .header-email-text,
  body:has(.hero-video) .header-email-hover:focus-visible .header-email-text,
  body:has(.hero-video) .header-phone-hover:hover .header-phone-text,
  body:has(.hero-video) .header-phone-hover:focus-visible .header-phone-text {
    width: 0;
    margin-left: 0;
    opacity: 0;
  }

  /* Mobile hero: size to the available viewport without horizontal growth. */
  body:has(.hero-video) .hero {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden !important;
    padding: clamp(42px, 8vh, 64px) 0 clamp(56px, 10vh, 78px);
  }

  body:has(.hero-video) .hero-video-bg {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body:has(.hero-video) .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 5vw, 40px);
  }

  body:has(.hero-video) .hero-text,
  body:has(.hero-video) .hero-search-card {
    min-width: 0;
    max-width: 100%;
  }

  body:has(.hero-video) .hero-text h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  body:has(.hero-video) .hero-text p {
    max-width: 100%;
    font-size: clamp(.92rem, 3.8vw, 1rem);
    line-height: 1.6;
  }

  body:has(.hero-video) .hero-search-card {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(20px, 5vw, 28px);
  }

  body:has(.hero-video) .hero-search-card input,
  body:has(.hero-video) .hero-search-card button {
    max-width: 100%;
    box-sizing: border-box;
  }

  body:has(.hero-video) img,
  body:has(.hero-video) video,
  body:has(.hero-video) iframe {
    max-width: 100%;
  }
}

/* Very narrow phones (including compact Android/iPhone widths). */
@media (max-width: 380px) {
  body:has(.hero-video) .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body:has(.hero-video) .header-inner {
    gap: 5px;
  }

  body:has(.hero-video) .header-contact-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  body:has(.hero-video) .logo {
    max-width: 48vw;
  }
}

/* Phones in landscape: keep the fixed header compact. */
@media (max-width: 900px) and (orientation: landscape) {
  body:has(.hero-video) .header {
    height: 64px !important;
  }

  body:has(.hero-video) {
    padding-top: 64px;
  }

  body:has(.hero-video) .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }
}

/* Mobile only: stack Sample Vehicle Reports options vertically. Desktop remains unchanged. */
@media (max-width: 760px) {
    #sample-report .options-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Final Home header mail icon alignment fix */
body:has(.hero-video) .header-email-hover {
  box-sizing: border-box;
  height: 42px;
  align-self: center;
  overflow: hidden;
  vertical-align: middle;
}
body:has(.hero-video) .header-email-hover > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
}
body:has(.hero-video) .header-email-hover .header-email-text {
  box-sizing: border-box;
  line-height: 1.2;
}
@media (max-width: 700px) {
  body:has(.hero-video) .header-email-hover {
    height: 38px;
  }
}

/* === Mobile order pricing: compact stacked selector === */
@media (max-width: 760px) {
    .order-pricing-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-pricing-card {
        min-height: 96px;
        height: auto;
        padding: 18px 54px 14px 70px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
    }

    .order-pricing-card::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 50%;
        width: 42px;
        height: 42px;
        transform: translateY(-50%);
        border-radius: 50%;
        background: #fff;
        border: 1px solid var(--border);
        box-sizing: border-box;
    }

    .order-pricing-card.selected::before {
        background: var(--primary);
        border-color: var(--primary);
    }

    .order-pricing-card.selected::after {
        content: "\f00c";
        position: absolute;
        left: 18px;
        top: 50%;
        width: 42px;
        height: 42px;
        transform: translateY(-50%);
        display: grid;
        place-items: center;
        color: #fff;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 19px;
        pointer-events: none;
    }

    .order-pricing-card .pricing-header {
        flex: 1;
        min-width: 0;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .order-pricing-card .pricing-header h3 {
        margin: 0 0 3px;
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .order-pricing-card .price {
        display: inline-block;
        font-size: 1.35rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .order-pricing-card .price-original {
        display: inline-block;
        margin: 0 0 0 5px;
        font-size: .78rem;
    }

    .order-pricing-card .price-desc {
        margin: 3px 0 0;
        font-size: .78rem;
        line-height: 1.2;
    }

    .order-pricing-card .include-toggle {
        position: absolute;
        right: 14px;
        top: 50%;
        width: 38px;
        height: 38px;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
        border: 0;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 0;
        line-height: 1;
        z-index: 2;
    }

    .order-pricing-card .include-toggle::before {
        content: "?";
        font-size: 1.2rem;
        font-weight: 800;
    }

    .order-pricing-card .include-toggle i {
        display: none;
    }

    /* Make the ? control feel centered and visibly respond to touch/focus. */
    .order-pricing-card .include-toggle:active,
    .order-pricing-card .include-toggle:focus-visible {
        transform: translateY(-50%) scale(.92);
        filter: brightness(1.12);
        box-shadow: 0 0 0 4px rgba(194,44,53,.18);
        outline: none;
    }

    .order-pricing-card .order-plan-select {
        display: none;
    }

    .order-pricing-card .pricing-badge {
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        padding: 3px 18px;
        font-size: .62rem;
        line-height: 1.25;
        border-radius: 0 0 18px 18px;
        white-space: nowrap;
    }

    .order-pricing-card.selected {
        transform: none;
    }
}

/* === FINAL MOBILE ORDER PRICING + HOMEPAGE HERO POLISH === */
@media (max-width: 760px) {
    /* Keep the current website pricing values/layout exactly as-is; only refine the controls. */
    .order-pricing-card .include-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        -webkit-tap-highlight-color: transparent;
        transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, background-color .12s ease !important;
    }
    .order-pricing-card .include-toggle::before {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        line-height: 38px !important;
        text-align: center !important;
        transform: translateY(0) !important;
    }
    .order-pricing-card .include-toggle.mv-touch-highlight,
    .order-pricing-card .include-toggle:active,
    .order-pricing-card .include-toggle:focus-visible {
        transform: translateY(-50%) scale(.92) !important;
        filter: brightness(1.14) !important;
        box-shadow: 0 0 0 4px rgba(194,44,53,.22), 0 4px 12px rgba(16,33,43,.18) !important;
        outline: none !important;
    }

    /* The prices remain on one line without changing their displayed values. */
    .order-pricing-card .price,
    .order-pricing-card .price-original {
        white-space: nowrap !important;
    }

    /* Mobile homepage: remove the three Fast/Secure/Clear stat items. */
    body:has(.hero-video) .hero-stats {
        display: none !important;
    }

    /* Bring the registration/search box slightly closer to the heading on mobile. */
    body:has(.hero-video) .hero-video .hero-content {
        gap: 20px !important;
    }
    body:has(.hero-video) .hero-video .hero-search-card {
        margin-top: -4px !important;
    }
}

/* === Final mobile order pricing interaction/price alignment === */
@media (max-width: 760px) {
    .order-pricing-card .price.price-sale {
        display: inline-flex !important;
        align-items: baseline !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        width: auto !important;
    }
    .order-pricing-card .price-currency {
        display: inline !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
    .order-pricing-card .include-toggle {
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        line-height: 38px !important;
        text-align: center !important;
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }
    .order-pricing-card .include-toggle::before {
        content: '?' !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        line-height: 38px !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .order-pricing-card .include-toggle.mv-touch-highlight {
        transform: translateY(-50%) scale(.92) !important;
        filter: brightness(1.18) !important;
        box-shadow: 0 0 0 4px rgba(194,44,53,.24), 0 4px 12px rgba(16,33,43,.18) !important;
    }
}

/* === MOBILE HOMEPAGE REVIEWS: COMPACT CARDS === */
@media (max-width: 760px) {
    body:has(#reviews) #reviews .reviews-grid.review-library {
        gap: 12px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    body:has(#reviews) #reviews .reviews-grid.review-library .review-card {
        flex-basis: 68% !important;
        min-width: 68% !important;
        padding: 18px !important;
        border-radius: 16px !important;
    }
    body:has(#reviews) #reviews .reviews-grid.review-library .review-stars {
        font-size: .78rem !important;
        margin-bottom: 10px !important;
    }
    body:has(#reviews) #reviews .reviews-grid.review-library .review-card blockquote {
        font-size: .84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }
    body:has(#reviews) #reviews .reviews-grid.review-library .review-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: .75rem !important;
    }
}

/* =========================================================
   FINAL RESPONSIVE SAFETY PASS
   Mobile/tablet only. Existing desktop design and features are unchanged.
   ========================================================= */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .section,
    .section-sm,
    .header-inner,
    .footer-inner {
        min-width: 0;
    }

    /* Prevent long labels, emails, VINs and generated report values from
       forcing a wider layout on small screens. */
    p, li, label, h1, h2, h3, h4, h5, h6,
    .summary-row, .result-detail, .faq-question,
    .footer-col, .form-group, .sample-report-body {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* Form controls should never exceed their grid cell. */
    input, select, textarea, button {
        max-width: 100%;
    }

    .form-card,
    .summary-card,
    .status-card,
    .sample-report,
    .pricing-card,
    .order-pricing-card,
    .login-card,
    .hero-search-card {
        min-width: 0;
        max-width: 100%;
    }

    /* Keep buttons usable without creating horizontal overflow. */
    .btn {
        max-width: 100%;
    }

    /* Long policy/legal content remains readable on phones. */
    .content-page .container,
    .legal-page .container,
    .policy-page .container {
        min-width: 0;
    }

    /* Side drawer is comfortably usable on every phone width. */
    body.mv-has-side-menu .nav-drawer {
        width: min(345px, 92vw);
        max-width: 92vw;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.mv-has-side-menu .nav-drawer-links a,
    body.mv-has-side-menu .drawer-contact a {
        min-height: 44px;
    }

    /* Prevent the compact header controls from shrinking or pushing the logo. */
    body.mv-has-side-menu .header-inner {
        gap: 6px;
    }
    body.mv-has-side-menu .logo {
        min-width: 0;
        max-width: calc(100% - 100px);
    }
    body.mv-has-side-menu .logo-image {
        max-width: 100%;
        width: auto;
        height: 42px;
    }
    body.mv-has-side-menu .header-actions {
        flex: 0 0 auto;
        min-width: 0;
    }

    /* Search/registration controls stack cleanly on narrow screens. */
    .search-form,
    .cta-search {
        min-width: 0;
    }

    .reg-input-wrap {
        min-width: 0;
    }

    #reg-input {
        min-width: 0;
        width: 100%;
    }

    /* Review cards and horizontal sliders should scroll inside their own
       component rather than expanding the page. */
    .reviews-slider-wrap,
    .reviews-grid.review-library {
        max-width: 100%;
        min-width: 0;
    }

    /* Images and embedded media cannot create a wider layout. */
    img, video, iframe, svg, canvas {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .hero-video .hero-text h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .hero-video .hero-search-card {
        padding: 20px 16px;
    }

    /* Keep policy/contact copy from becoming visually cramped. */
    .form-card,
    .login-card,
    .status-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .order-hero {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .order-hero h1 {
        font-size: 1.55rem;
    }

    .order-grid {
        gap: 22px;
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .summary-vehicle-circle {
        padding-left: 16px;
        padding-right: 16px;
    }

    .summary-popular-tag {
        right: 8px;
        max-width: calc(100% - 16px);
    }

    .footer-tools .footer-tools-list {
        grid-template-columns: 1fr;
    }

    .footer-tools .footer-tools-list a {
        white-space: normal;
    }

    .footer-legal {
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .btn {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.mv-has-side-menu .logo-image {
        height: 38px;
    }

    body.mv-has-side-menu .header-actions {
        gap: 5px;
    }

    body.mv-has-side-menu .header-contact-icon {
        width: 36px;
        height: 36px;
    }

    body.mv-has-side-menu .drawer-toggle {
        width: 38px;
        height: 38px;
    }

    .order-pricing-card {
        padding-left: 64px;
        padding-right: 50px;
    }

    .order-pricing-card::before,
    .order-pricing-card.selected::after {
        left: 14px;
        width: 38px;
        height: 38px;
    }

    .order-pricing-card .include-toggle {
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .order-pricing-card .include-toggle::before {
        line-height: 36px !important;
    }
}
