﻿/* ===========================================
   CARFLEX - VEHICLE INSPECTION SERVICE
   Premium Luxury Theme - Production-level
   =========================================== */

/* ROOT VARIABLES - PREMIUM PALETTE */
:root {
    --color-primary: #0b1f3a;
    --color-primary-light: #1d4b8f;
    --color-secondary: #c89a22;
    --color-accent: #1d4b8f;
    --color-danger: #ef4444;
    --color-white: #ffffff;
    --color-light-bg: #f6f8fb;
    --color-gray-100: #e7edf5;
    --color-gray-200: #d7e1ee;
    --color-gray-600: #5c6a7c;
    --color-gray-800: #1f2a37;
    --color-text: #0f172a;
    --color-dark: #0b1f3a;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --box-shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.18);
    --box-shadow-xl: 0 32px 64px rgba(212, 175, 55, 0.15);
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

 .highlight{
color: #ffeb28;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: linear-gradient(135deg, #04ac5d 0%, #03121b 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* UTILITIES */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 3rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-login, .btn-signup, .pricing-btn {
    border: none;
    border-radius: 6px;
    padding: 13px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(10, 20, 40, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-login {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-weight: 700;
}

.btn-login:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-signup {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-signup:hover {
    background-color: var(--color-primary-light);
}

.btn-back {
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.btn-back:hover {
    color: var(--color-primary-light);
}

/* ============ NAVBAR / HEADER ============ */

.navbar {
    background: linear-gradient(135deg, #469ec0 0%, #177baa 100%);
    backdrop-filter: blur(10px) saturate(0%);
    -webkit-backdrop-filter: blur(18px) saturate(10%);
    border-bottom: 2px solid var(--color-secondary);
    position: sticky;
    top: 0px;
    z-index: 1000;
    transition: box-shadow 0.4s ease;
}

.navbar.scrolled {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    letter-spacing: -0.5px;
}



a.navbar-logo {
    text-decoration: none;
    cursor: pointer;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #0b1220;
    background: linear-gradient(135deg, #f3d88f 0%, #d4af37 100%);
    border: 1px solid rgba(255, 237, 190, 0.7);
    box-shadow: 0 6px 14px rgba(11, 18, 32, 0.24);
}

.brand-mark--sm {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 0.68rem;
    margin-right: 6px;
}

.navbar-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding-top: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.94) 0%, rgba(30, 42, 68, 0.92) 100%);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1300;
    box-shadow: 0 8px 20px rgba(11, 18, 32, 0.35), 0 0 20px rgba(212, 175, 55, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--color-secondary);
    border-radius: 999px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(11, 18, 32, 0.42), 0 0 24px rgba(212, 175, 55, 0.24);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 14px 1.2rem;
    background: linear-gradient(180deg, #fefcf7 0%, #f3ede2 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
    position: sticky;
    top: 74px;
    z-index: 1100;
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.18);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

/* ============ HERO SECTION ============ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f2f33 0%, #1b5a62 45%, #0f3534 100%);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-primary);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1rem;
    color: white;
    max-width: 500px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-search {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 550px;
}

.reg-search-form {
    width: min(70%, 560px);
}

@media (max-width: 768px) {
    .reg-search-form {
        width: 100%;
    }
    .reg-search-shell {
        border-radius: 30px;
    }
}

.reg-search-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    background: #ffffffc0;
    padding: 10px 12px;
    border-radius: 2px;
    box-shadow: 0 16px 36px rgba(10, 20, 40, 0.25);
    border: 4px solid rgba(0, 34, 112, 0.08);
    min-width: 0;
}

.reg-search-shell.reg-highlight {
    animation: regPulse 1s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35), 0 18px 36px rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.7);
}

@keyframes regPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.reg-flag-badge {
    width: 52px;
    height: 50px;
    border-radius: 0px;
    background: linear-gradient(180deg, #1b4fbf 0%, #103a9c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.reg-flag-badge .flag-icon {
    width: 26px;
    height: 18px;
    border-radius: 2px;
    display: block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='36' viewBox='0 0 52 36'><rect width='52' height='36' fill='%23012169'/><path d='M0 0 L52 36 M52 0 L0 36' stroke='%23fff' stroke-width='8'/><path d='M0 0 L52 36 M52 0 L0 36' stroke='%23C8102E' stroke-width='4'/><rect x='0' y='14' width='52' height='8' fill='%23fff'/><rect x='22' y='0' width='8' height='36' fill='%23fff'/><rect x='0' y='16' width='52' height='4' fill='%23C8102E'/><rect x='24' y='0' width='4' height='36' fill='%23C8102E'/></svg>");
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.reg-flag-badge .flag-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.reg-search-input {

    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    padding: 6px 4px;
    min-width: 0;
}

.reg-search-input:focus {
    background: transparent;
}

input.reg-search-input:-webkit-autofill,
input.reg-search-input:-webkit-autofill:hover,
input.reg-search-input:-webkit-autofill:focus,
input.reg-search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #1b1b1b !important;
    transition: background-color 9999s ease-out 0s;
}

.reg-search-input::placeholder {
    color: rgba(15, 23, 42, 0.6);
}

.reg-search-btn {
    border: none;
    
    padding: 20px 19px;
    border-radius: 0px;
    background: linear-gradient(135deg, #1db06f 0%, #0f8f52 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(16, 110, 70, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

.reg-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(16, 110, 70, 0.45);
}

.reg-search-btn:active {
    transform: translateY(0);
}

.input-wrapper {
    display: flex;
    gap: 0.8rem;
    background-color: var(--color-white);
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
    align-items: center;
}

.input-wrapper.premium-input {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 240, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(10, 20, 40, 0.15), inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.input-wrapper:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.flag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.reg-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--color-primary);
    background: transparent;
}

.reg-input::placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-weight: 600;
}

.btn-check {
    padding: 11px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.reg-format-hint {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-check {
    white-space: nowrap;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.badge i {
    color: var(--color-secondary);
    font-size: 1.3rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-car-image {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 12px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); */
    animation: float 4s ease-in-out infinite;
    object-fit: cover;
}

.car-svg {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============ LOADING STATE ============ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loader {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--box-shadow-lg);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-gray-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader p {
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ============ RESULT SECTION ============ */
.result-section {
    padding: 72px 20px;
    background: radial-gradient(900px 520px at 12% 8%, rgba(16, 98, 167, 0.28), transparent 62%),
        radial-gradient(760px 440px at 92% 12%, rgba(16, 185, 129, 0.2), transparent 58%),
        linear-gradient(145deg, #eaf4ff 0%, #f5f1e7 52%, #e7f8ef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.result-section::before,
.result-section::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.result-section::before {
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(12, 42, 84, 0.22) 0%, rgba(12, 42, 84, 0) 72%);
}

.result-section::after {
    bottom: -210px;
    left: -140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 75%);
}

.result-section .container {
    position: relative;
    z-index: 1;
}

.result-card {
    background: linear-gradient(180deg, rgba(31, 63, 85, 0.97) 0%, rgba(248, 252, 255, 0.96) 52%, rgba(246, 243, 236, 0.95) 100%);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 24px 70px rgba(6, 27, 63, 0.22);  
    border: 6px solid rgba(30, 64, 175, 0.14);
    animation: slideIn 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}



@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    gap: 12px;
}

.result-vehicle-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.result-vehicle-image:hover .vehicle-image {
    transform: scale(1.05);
}

.result-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    color: #ecfeff;
        background: rgba(23, 100, 35, 0.92);
    border: 1px solid rgba(15, 118, 110, 0.35);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
    letter-spacing: 0.2px;
    animation: foundPulse 2.6s ease-in-out infinite;
}

.result-status.success i {
    color: #ffffff;
}

@keyframes foundPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
}

.vehicle-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 255, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.detail-group label {
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.6px;
}

.detail-group p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.vehicle-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.status-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(243, 248, 255, 0.92));
    padding: 1.5rem;
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.status-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.12);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--color-white);
}

.status-icon.mot-valid,
.status-icon.tax-valid,
.status-icon.write-off-clear,
.status-icon.finance-clear {
    background-color: var(--color-secondary);
}

.status-card.status-good .status-icon {
    background-color: #16a34a;
}

.status-card.status-warn .status-icon {
    background-color: #f59e0b;
}

.status-card.status-bad .status-icon {
    background-color: #dc2626;
}

.status-card.status-neutral .status-icon {
    background-color: #64748b;
}

.status-card.status-good {
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.status-card.status-warn {
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-card.status-bad {
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.status-card.status-neutral {
    border: 1px solid rgba(100, 116, 139, 0.25);
}

.status-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.status-card p {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============ HOW IT WORKS SECTION ============ */
.how-it-works {
    padding: 80px 20px;
    background-color: var(--color-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--color-gray-100);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    background-color: #e0e7ff;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--color-gray-600);
    font-size: 0.95rem; 
}

/* ============ PRICING SECTION ============ */
.pricing {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--color-light-bg) 0%, #f5f3f0 100%);
}

.brand-strip {
    text-align: center;
    margin: 60px 0 22px;
    padding-top: 6px;
}

.brand-strip-title {
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 50px;
}

.brand-strip-logos {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px 16px;
    white-space: nowrap;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 46px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.brand-logo img {
    height: 22px;
    width: auto;
    max-width: 120px;
    display: block;
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .brand-strip {
        padding-top: 4px;
        margin-bottom: 16px;
    }
    .brand-strip-logos {
        gap: 8px 12px;
    }
    .brand-logo {
        min-width: 72px;
        height: 30px;
        padding: 0 10px;
    }
    .brand-logo img {
        height: 18px;
        max-width: 96px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1.8rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border-radius : 0px;
    padding: 0;
    border: 0px solid #c89a22;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    
}

.pricing-header, .pricing-features, .pricing-btn {
    padding: 0 1rem;
    width: 100%;
}

.pricing-header {
    margin-top: 0.6rem;
    margin-bottom: 0.35rem;
    padding-top: 0;
}

.pricing-features {
    margin-bottom: 0.35rem;
    flex-grow: 1;
}

.pricing-btn {
    margin-top: auto;
    padding: 0;
    border-radius: 0 0 10px 10px;
    height: 40px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c89a22;
    opacity: 1;
}

.pricing-badge-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #0f172a;
    z-index: 2;
}

.pricing-badge-strip.basic {
    background: lab(78.93% 3.32 74.39);
    color: #ffffff;
}

.pricing-badge-strip.full {
    background: #00acfc;
    color: #ffffff;
}

.pricing-badge-strip.premium {
    background: #c500ec;
    color: #ffffff;
}

.pricing-card {
    padding-top: 20px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.pricing-card.featured::before {
    opacity: 1;
}

.badge-featured {
    position: absolute;
    top: 145px;
    right: -62px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    padding: 6px 35px;
    transform: rotate(90deg);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    z-index: 4;
    overflow: hidden;
}

.badge-featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
    animation: badgeShine 2.6s linear infinite;
}

@keyframes badgeShine {
    0% { left: -70%; }
    100% { left: 140%; }
}

/* Navbar override (ensure gradient applies) */
.navbar {
    background: linear-gradient(135deg, #69d0f8 0%, #63c1ec 100%);
}

.pricing-header {
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}

.price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #c89a22;
}

.pricing-features {
    list-style: none;
    margin-bottom: 0.45rem;
}

.pricing-features li {
    padding: 0.22rem 0;
    line-height: 1.2;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-600);
    font-weight: 500;
}

.pricing-features li i {
    width: 18px;
    font-size: 0.85rem;
    text-align: center;
}

.pricing-features li i.fa-check {
    color: #16a34a;
}

.pricing-features li i.fa-times {
    color: #dc2626;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #1db06f 0%, #0f8f52 100%);
    color: #ffffff;
}

.pricing-btn:hover {
    background: linear-gradient(135deg, #149b60 0%, #0b7a45 100%);
}

.pricing-btn.btn-primary {
    background: linear-gradient(135deg, #1db06f 0%, #0f8f52 100%);
}

.pricing-btn.btn-primary:hover {
    background: linear-gradient(135deg, #149b60 0%, #0b7a45 100%);
}

/* ============ SAMPLE REPORT SECTION ============ */
.sample-report {
    padding: 80px 20px;
    background-color: var(--color-white);
    text-align: center;
}

.btn-view-sample {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--color-white);
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-gray-600);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-primary);
}

.report-preview {
    padding: 2rem;
}

.report-preview h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.report-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.report-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.report-item {
    display: flex;
    flex-direction: column;
}

.report-item label {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.report-item strong {
    color: var(--color-text);
    font-weight: 700;
}

.mileage-chart {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--color-gray-100);
    border-radius: 8px;
}

/* ============ PAYMENT SECTION ============ */
.payment-section {
    padding: 60px 20px;
    background-color: var(--color-light-bg);
    min-height: 100vh;
    display: flex !important;
    align-items: center;
}

.payment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-lg);
}

.order-summary {
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: none;
}

.payment-methods h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.payment-method-section {
    margin-bottom: 1.5rem;
}

.payment-method-section input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.payment-method-label {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.card-form {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--color-gray-100);
    border-radius: 8px;
    display: none;
}

.card-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.digital-pay-options {
    display: flex;
    gap: 1rem;
}

.btn-apple-pay,
.btn-google-pay {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--color-gray-200);
    background-color: var(--color-white);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apple-pay:hover,
.btn-google-pay:hover {
    border-color: var(--color-primary);
    background-color: var(--color-gray-100);
}

.security-badges {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #d1fae5;
    border-radius: 8px;
    flex-wrap: wrap;
}

.security-badges .badge {
    color: #065f46;
    font-size: 0.9rem;
}

.security-badges .badge i {
    color: var(--color-secondary);
}

.payment-buttons {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-pay {
    flex: 1;
}

#cancelPayBtn {
    flex: 1;
}

/* ============ SUCCESS SECTION ============ */
.success-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.success-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow-lg);
    max-width: 500px;
}

.success-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.success-card p {
    color: var(--color-gray-600);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-details {
    background-color: var(--color-gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.detail-item label {
    font-weight: 600;
    color: var(--color-gray-600);
}

.detail-item strong {
    color: var(--color-primary);
}

.success-card .btn-primary,
.success-card .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
}

/* ============ REPORT PAGE ============ */
.report-page {
    padding: 40px 20px;
    background-color: var(--color-light-bg);
    min-height: 100vh;
    display: block !important;
}

.full-report {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.report-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.report-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.report-title h1 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.report-title p {
    color: var(--color-gray-600);
}

.status-result {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #d1fae5;
}

.status-result.clear {
    border-left: 4px solid var(--color-secondary);
}

.status-badge {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mileage-container {
    background-color: var(--color-gray-100);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.report-action {
    text-align: center;
    margin-top: 2rem;
}

.btn-download-pdf {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* ============ TRUST SECTION ============ */
.trust-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--color-light-bg) 0%, rgba(237, 231, 225, 0.7) 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(212, 175, 55, 0.15);
    border-color: var(--color-secondary);
}

.review-card:hover::before {
    opacity: 1;
}

.review-stars {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
}

.review-author {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* ============ ABOUT SECTION ============ */
.about {
    padding: 80px 20px;
    background-color: var(--color-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 4rem 20px 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 50%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    letter-spacing: 0.3px;
}

.footer-column p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-column a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.social-icon:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
    .navbar-nav {
        gap: 1.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .vehicle-details,
    .vehicle-status-grid,
    .steps-grid,
    .pricing-grid,
    .reviews-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .payment-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .btn-check {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .vehicle-details,
    .vehicle-status-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card {
        height: 110%;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .result-card,
    .full-report,
    .success-card {
        padding: 1.5rem;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .report-header {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .pricing-header h3,
    .pricing-features li {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .success-card {
        padding: 1.5rem;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-card h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   CHATBOT STYLES
   ========================================== */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.chat-toggle-btn:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a2845 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--color-primary);
}

.chat-header-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    margin: 0;
    font-size: 12px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-chat-btn:hover {
    transform: scale(1.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f5f3f0;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.user-message .message-content {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.chat-message.bot-message .message-avatar {
    flex-shrink: 0;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.user-message .message-avatar {
    display: none;
}

.message-content {
    background: #f5f3f0;
    color: #333;
    padding: 12px 14px;
    border-radius: 12px;
    max-width: 280px;
    word-wrap: break-word;
}

.message-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.quick-reply-btn {
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: var(--color-primary);
    color: white;
}

.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

.chat-input-area .input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.chat-input::placeholder {
    color: #999;
}

.send-chat-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.send-chat-btn:hover {
    transform: scale(1.05);
}

.send-chat-btn:active {
    transform: scale(0.95);
}

.chat-footer-text {
    margin: 0;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 16px;
        right: 16px;
    }

    .chat-toggle-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 500px;
        bottom: 70px;
        right: 50%;
        transform: translateX(50%);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 24px);
        height: 70vh;
        bottom: 70px;
        right: 12px;
        left: auto;
        transform: none;
    }

    .message-content {
        max-width: 220px;
    }

    .quick-replies {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .quick-reply-btn {
        flex: 1;
        min-width: 70px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .chat-header h3 {
        font-size: 15px;
    }
}

/* ==========================================
   LUXURY DARK THEME OVERRIDES
   ========================================== */
:root {
    --color-primary: #0b1f3a;
    --color-primary-light: #1d4b8f;
    --color-secondary: #c89a22;
    --color-accent: #1d4b8f;
    --color-light-bg: #f6f8fb;
    --color-gray-100: #e7edf5;
    --color-gray-200: #d7e1ee;
    --color-gray-600: #5c6a7c;
    --color-gray-800: #1f2a37;
    --color-text: #0f172a;
    --color-dark: #0b1f3a;
    --box-shadow: 0 10px 24px rgba(11, 18, 32, 0.16);
    --box-shadow-lg: 0 24px 52px rgba(11, 18, 32, 0.22);
}

body {
    background: #f6f8fb;
}

.navbar {
    background: rgba(11, 31, 58, 0.95);
    border-bottom: 1px solid rgba(200, 154, 34, 0.35);
}

.navbar-logo {
    color: #f8f3e9;
    background: none;
    -webkit-text-fill-color: initial;
}

.nav-link {
    color: #e6eef7;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.mobile-menu-toggle span {
    background-color: var(--color-secondary);
}

.hero {
    background: linear-gradient(90deg, #0b1220 0%, #16233a 45%, #95c7b2 100%);
}

.hero-title,
.hero-subtitle {
    color: #f8f3e9;
}

.highlight {
    color: var(--color-secondary);
}

.trust-badges .badge {
    color: #e8dcc7;
}

.trust-badges .badge i {
    color: var(--color-secondary);
}

.how-it-works,
.about,
.contact {
    background: #fffdf8;
}

.pricing,
.trust-section {
    background: linear-gradient(180deg, #f3efe8 0%, #eadfce 100%);
}

.result-section,
.report-page,
.payment-section {
    background: linear-gradient(180deg, #f3efe8 0%, #eadfce 100%);
}

.step-card:hover {
    background-color: #f3e8d5;
}

.status-icon.mot-valid,
.status-icon.tax-valid,
.status-icon.write-off-clear,
.status-icon.finance-clear {
    background-color: var(--color-secondary);
}

.footer {
    background: linear-gradient(135deg, #0b1220 0%, #1e2a44 100%);
    position: relative;
}

.footer-column h4,
.review-author {
    color: var(--color-secondary);
}

.price {
    color: var(--color-secondary);
}

.chat-header {
    background: linear-gradient(135deg, #0b1220 0%, #2f3d5e 100%);
}

/* ==========================================
   LUXURY POLISH
   ========================================== */
.section-title {
    letter-spacing: 0.02em;
}

.btn-primary,
.btn-secondary,
.btn-login,
.btn-signup {
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #0b1220 0%, #1e2a44 100%);
}

.btn-primary:hover {
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.22);
}

.hero .input-wrapper,
.result-card,
.step-card,
.review-card,
.full-report,
.success-card,
.payment-wrapper {
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.24);
}

.review-card::after,
.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 2px solid rgba(212, 175, 55, 0.85);
    pointer-events: none;
}

.badge-featured {
    background: linear-gradient(135deg, #d4af37 0%, #b9932f 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
}

/* ==========================================
   CONTACT SECTION IMPROVEMENTS
   ========================================== */
.contact {
    padding: 90px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-meta {
   background: linear-gradient(135deg, #091325 0%, #10203c 55%, #1a2b4d 100%);
    border-radius: 12px;
    padding: 1.6rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--box-shadow);
}

.contact-meta h3 {
    margin-bottom: 0.6rem;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.contact-meta p {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    color: #e8dcc7;
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.contact-point i {
    color: var(--color-secondary);
    width: 18px;
    text-align: center;
}

.contact .contact-form {
    max-width: none;
    margin: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: var(--box-shadow);
}

.contact .contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact .contact-form .form-group {
    margin-bottom: 1rem;
}

.contact .contact-form label {
    color: #2f2920;
    font-weight: 600;
}

.contact .contact-form input,
.contact .contact-form textarea {
    background: linear-gradient(135deg, #091325 0%, #10203c 55%, #1a2b4d 100%);
    border: 1px solid #d6cab8;
    border-radius: 8px;
    color: #1b1610;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-color: #b9932f;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-note {
    font-size: 0.86rem;
    color: var(--color-gray-600);
    margin-bottom: 0.9rem;
}

.contact-submit-status {
    margin-top: 0.8rem;
    font-size: 0.92rem;
    min-height: 1.2em;
}

.contact-submit-status.success {
    color: #0f766e;
    font-weight: 600;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   PREMIUM TESTIMONIAL CAROUSEL
   ========================================== */
.trust-section {
    background: linear-gradient(135deg, #091325 0%, #10203c 55%, #1a2b4d 100%);
}

.trust-section .section-title {
    color: #f8f3e9;
}

.trust-section .section-subtitle {
    color: #d7c9b0;
}

.reviews-carousel {
    --cards-per-view: 1;
    --carousel-gap: 24px;
    position: relative;
    margin-top: 1.5rem;
    padding: 0 56px 48px;
}

.carousel-viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: var(--carousel-gap);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.carousel-slide {
    flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view));
    min-width: 0;
    display: flex;
}

.reviews-carousel .review-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 16px 38px rgba(7, 14, 28, 0.35);
    border-radius: 14px;
    transform: translate3d(0, 0, 0) scale(0.965);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease, border-color 420ms ease;
}

.reviews-carousel .review-card::before,
.reviews-carousel .review-card::after {
    content: none;
}

.carousel-slide.is-active .review-card {
    transform: translate3d(0, 0, 0) scale(1.02);
    box-shadow: 0 24px 52px rgba(7, 14, 28, 0.44);
    border-color: rgba(212, 175, 55, 0.75);
}

.reviews-carousel .review-card:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    box-shadow: 0 30px 58px rgba(7, 14, 28, 0.5);
}

.reviews-carousel .review-stars {
    color: #f3c857;
}

.reviews-carousel .review-text {
    color: #f3eadb;
}

.reviews-carousel .review-author {
    color: #e6cb86;
}

.carousel-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.7);
    background: rgba(11, 18, 32, 0.72);
    color: #f1d48d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 250ms ease, background 250ms ease, color 250ms ease;
    z-index: 3;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(212, 175, 55, 0.22);
    color: #f8f3e9;
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(248, 243, 233, 0.36);
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease;
}

.carousel-dot.is-active {
    background: #d4af37;
    transform: scale(1.22);
}

@media (min-width: 768px) {
    .reviews-carousel {
        --cards-per-view: 2;
    }
}

@media (min-width: 1024px) {
    .reviews-carousel {
        --cards-per-view: 3;
    }
}

@media (min-width: 1400px) {
    .reviews-carousel {
        --cards-per-view: 4;
    }
}

@media (max-width: 767px) {
    .reviews-carousel {
        padding: 0 12px 44px;
    }

    .carousel-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track,
    .reviews-carousel .review-card,
    .carousel-arrow,
    .carousel-dot {
        transition: none !important;
    }
}

/* ==========================================
   VEHICLE LOOKUP FEEDBACK
   ========================================== */
.lookup-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lookup-message--info {
    color: #1d4ed8;
}

.lookup-message--success {
    color: #0f766e;
}

.lookup-message--error {
    color: #b91c1c;
}

.lookup-source {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #5f5648;
}

.vehicle-extra-data {
    margin: 18px 0 10px;
    display: grid;
    gap: 12px;
}

.vehicle-extra-data .data-section {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.vehicle-extra-data .data-section summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.06), rgba(200, 154, 34, 0.08));
}

.vehicle-extra-data .data-section summary::-webkit-details-marker {
    display: none;
}

.vehicle-extra-data .data-content {
    padding: 12px 14px 14px;
}

.vehicle-extra-data .data-grid {
    display: grid;
    gap: 8px;
}

.vehicle-extra-data .data-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px;
    font-size: 0.9rem;
    color: #334155;
}

.vehicle-extra-data .data-key {
    font-weight: 600;
    color: #1f2937;
}

.vehicle-extra-data .data-value {
    color: #475569;
    word-break: break-word;
}

.vehicle-extra-data .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-top: 8px;
}

.vehicle-extra-data .data-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155;
}

.vehicle-extra-data .data-subtitle {
    margin-top: 10px;
    font-weight: 700;
    color: #0f172a;
}

.vehicle-extra-data .data-note {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .vehicle-extra-data .data-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.result-package-link {
    margin: 10px 0 12px;
    text-align: center;
    font-weight: 600;
}

.result-package-link .package-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 200px;
    border-radius: 0px;
    border: 1px solid rgba(212, 175, 55, 0.45);
     background: rgba(23, 100, 35, 0.92);
      
    color: #f5f5f5;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 16px rgba(11, 18, 32, 0.2);
}

.result-package-link .package-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(11, 18, 32, 0.28);
    text-decoration: none;
 background: linear-gradient(135deg, #1db06f 0%, #0f8f52 100%);
}

.section-back-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.section-back-btn {
    padding: 10px 18px;
    border-radius: 10px;
}

body.section-only main > section,
body.section-only .trust-section,
body.section-only .sample-report,
body.section-only .about,
body.section-only .contact,
body.section-only .footer {
    display: none;
}

body.show-pricing-only #pricing,
body.show-results-only #resultSection {
    display: block !important;
}

body.show-home-only #home {
    display: grid !important;
}

body.show-pricing-only #pricing,
body.show-results-only #resultSection {
    padding-top: 40px;
    padding-bottom: 40px;
}

body.show-home-only #home {
    padding-top: 0;
    padding-bottom: 0;
}

/* ==========================================
   REPORT IMAGE SECTION
   ========================================== */
.report-image-shell {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 240, 0.98) 100%);
    box-shadow: 0 12px 28px rgba(11, 18, 32, 0.12);
}

.report-image-note {
    margin: 0 0 14px;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.report-image-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: #f8f6f1;
}

.report-preview-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
}


/* ==========================================
   MOBILE VIEW REFRESH
   ========================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 14px;
    }

    .navbar-container {
        padding: 0.9rem 14px;
    }

    .navbar-logo {
        font-size: 1.15rem;
        gap: 6px;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .hero {
        padding: 22px 14px 30px;
        min-height: auto;
        gap: 22px;
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-image {
        order: -1;
    }

    .hero-car-image {
        max-height: 240px;
        width: 100%;
        object-fit: cover;
    }

    .hero-search {
        max-width: 100%;
        background: linear-gradient(135deg, rgba(245, 239, 232, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 14px;
        padding: 12px;
        backdrop-filter: blur(4px);
    }

    .hero .input-wrapper {
        flex-direction: row;
        align-items: center;
        padding: 6px;
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.32);
        background: rgba(255, 255, 255, 0.96);
    }

    .reg-input {
        min-width: 0;
        font-size: 1rem;
    }

    .btn-check {
        width: auto;
        padding: 11px 14px !important;
        font-size: 0.82rem !important;
        border-radius: 10px;
        white-space: nowrap;
    }

    .reg-search-shell {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "flag input"
            "button button";
        gap: 8px;
    }
    .reg-flag-badge {
        grid-area: flag;
        width: 48px;
        height: 48px;
    }
    .reg-search-input {
        grid-area: input;
        font-size: 1rem;
    }
    .reg-search-btn {
        grid-area: button;
        width: 100%;
        border-radius: 12px;
        padding: 12px 16px;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .result-section,
    .how-it-works,
    .pricing,
    .sample-report,
    .trust-section,
    .about,
    .contact,
    .report-page {
        padding: 48px 0;
    }

    .result-card,
    .review-card,
    .full-report,
    .payment-wrapper {
        padding: 16px;
    }

    .vehicle-details,
    .vehicle-status-grid,
    .steps-grid,
    .report-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .result-vehicle-image .vehicle-image {
        max-height: 220px;
    }

    .status-card {
        padding: 14px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .report-header {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .modal-content {
        width: calc(100% - 16px);
        max-height: 90vh;
        margin: 8px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.45rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
        margin-bottom: 1.6rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-check {
        width: 100%;
        justify-content: center;
    }

    .hero .input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .lookup-message {
        font-size: 0.82rem;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-toggle span {
        width: 18px;
    }
}

/* ==========================================
   LAYOUT + PREMIUM CONTACT/FOOTER/MODAL FIX
   ========================================== */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.contact {
    padding: 72px 0 48px;
    background: transparent;
}

.contact-shell {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    padding: 60px;
    background: linear-gradient(140deg, rgba(10, 20, 40, 0.58) 0%, rgba(20, 38, 70, 0.42) 100%);
    border: 1px solid rgba(144, 194, 255, 0.26);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.contact-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(120, 179, 255, 0.48) 0%, rgba(212, 175, 55, 0.42) 55%, rgba(120, 179, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 36px;
    align-items: start;
}

.contact-meta {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    color: #f6f1e8;
}

.contact-title {
    margin: 0 0 12px;
    font-size: 2.1rem;
    line-height: 1.18;
    color: #f8f3e9;
    letter-spacing: 0.01em;
}

.contact-meta p {
    margin: 0;
    max-width: 480px;
    color: rgba(234, 221, 198, 0.92);
    font-size: 1rem;
    line-height: 1.8;
}

.contact .contact-form {
    max-width: none;
    margin: 0;
    padding: 28px 26px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(250, 247, 240, 0.98) 0%, rgba(245, 236, 221, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 14px 34px rgba(5, 10, 20, 0.22);
}

.contact .contact-form .form-group {
    margin-bottom: 14px;
}

.contact .contact-form label {
    color: #1b2435;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.contact .contact-form input,
.contact .contact-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(27, 36, 53, 0.16);
    background: rgba(255, 255, 255, 0.96);
    color: #121a2a;
    font-size: 0.95rem;
    padding: 12px 13px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-color: #2f6fcc;
    box-shadow: 0 0 0 3px rgba(47, 111, 204, 0.17);
}

.contact-submit-btn {
    margin-top: 6px;
    background: linear-gradient(135deg, #0c1d38 0%, #1c3f75 60%, #2962ad 100%);
    box-shadow: 0 12px 26px rgba(30, 74, 134, 0.35);
}

.contact-submit-btn:hover {
    box-shadow: 0 16px 32px rgba(41, 98, 173, 0.4);
}

.contact-submit-status {
    margin-top: 10px;
    min-height: 1.3em;
}

.footer {
    margin-top: auto;
    padding: 56px 20px 18px;
    background: linear-gradient(140deg, #070f1f 0%, #0d1f3d 58%, #162f58 100%);
    border-top: 1px solid rgba(160, 197, 255, 0.34);
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 22px;
}

.footer-column p {
    color: rgba(231, 222, 206, 0.92);
}

.footer-column a {
    color: rgba(226, 216, 198, 0.88);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    background: rgba(33, 77, 138, 0.35);
    border: 1px solid rgba(156, 198, 255, 0.5);
    color: #cfe3ff;
}

.social-icon:hover {
    background: linear-gradient(135deg, #1d4478 0%, #2a6abd 100%);
    color: #f8f3e9;
    border-color: rgba(212, 175, 55, 0.72);
}

.modal-content {
    width: min(500px, calc(100vw - 40px));
    max-width: 500px;
    border-radius: 20px;
    border: 1px solid rgba(150, 197, 255, 0.4);
    background: linear-gradient(145deg, rgba(11, 20, 38, 0.9) 0%, rgba(23, 43, 78, 0.78) 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
    color: #f5efe4;
    overflow: hidden;
    animation: reportModalIn 260ms ease-out;
}

.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(145, 201, 255, 0.45), rgba(212, 175, 55, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.report-preview {
    padding: 26px 22px 24px;
}

.report-preview h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8f3e9;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.report-section {
    margin-bottom: 14px;
}

.report-section h3 {
    color: #d5b360;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(164, 207, 255, 0.45);
    background: linear-gradient(145deg, rgba(20, 43, 78, 0.9) 0%, rgba(8, 18, 34, 0.88) 100%);
    color: #f4f7ff;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(5, 12, 22, 0.42);
}

.modal-close:hover {
    transform: scale(1.06);
    background: linear-gradient(145deg, rgba(35, 72, 126, 0.95) 0%, rgba(14, 29, 56, 0.9) 100%);
}

@keyframes reportModalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1024px) {
    .contact-shell {
        padding: 48px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-title {
        font-size: 1.9rem;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 56px 0 38px;
    }

    .contact-shell {
        padding: 35px;
    }

    .contact-title {
        font-size: 1.6rem;
    }

    .contact-meta p {
        font-size: 0.93rem;
        line-height: 1.7;
    }

    .contact .contact-form {
        padding: 20px 16px;
    }

    .contact-submit-btn,
    .contact .btn-primary,
    .contact .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 42px 18px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
    }

    .footer-column h4 {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .modal-content {
        width: 92%;
        max-width: 92%;
    }

    .report-preview h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-shell {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 1.35rem;
    }

    .contact .contact-form label {
        font-size: 0.8rem;
    }

    .contact .contact-form input,
    .contact .contact-form textarea {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .report-preview {
        padding: 22px 15px 18px;
    }
}



/* UI/UX polish additions */
.pricing-conversion-banner {
    margin: 0 auto 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.9), rgba(30, 42, 68, 0.92));
    color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.pricing-conversion-banner p {
    margin: 4px 0 0;
    color: #e6dcc6;
    font-size: 0.92rem;
}

.pricing-conversion-banner::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -70%;
    width: 45%;
    height: 220%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    animation: bannerShine 3s linear infinite;
    pointer-events: none;
}

@keyframes bannerShine {
    0% { left: -70%; }
    100% { left: 140%; }
}
.btn-primary,
.btn-secondary,
.mobile-nav-link,
.nav-link {
    min-height: 44px;
}
.payment-wrapper,
.success-card,
.contact-shell {
    border-radius: 16px !important;
}
@media (max-width: 768px) {
    .pricing-conversion-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .pricing-conversion-banner .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================
   Premium Motion System
   ============================== */
.animate-enter {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-delay-1 { animation-delay: 0.08s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.34s; }
.animate-delay-4 { animation-delay: 0.5s; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.btn-primary,
.btn-check {
    position: relative;
    overflow: hidden;
}
.btn-primary::after,
.btn-check::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.65s ease;
}
.btn-primary:hover::after,
.btn-check:hover::after {
    left: 140%;
}

.step-card,
.review-card,
.status-card {
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}
.step-card:hover,
.review-card:hover,
.status-card:hover {
    transform: translateY(-8px);
}

.hero-car-image {
    animation: none;
    will-change: transform;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroFloat {
    0% { transform: translateX(0); }
    100% { transform: translateX(30px); }
}

@media (prefers-reduced-motion: reduce) {
    .animate-enter,
    .reveal-on-scroll,
    .hero-car-image,
    .btn-primary::after,
    .pricing-btn::after,
    .btn-check::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================
   OFFICIAL THEME REFINEMENTS (Pricing/Footer/Cards)
   ========================================== */
.pricing {
    background: #f6f8fb;
}

.pricing-card,
.step-card,
.review-card {
    background: #ffffff;
    border: 1px solid #d7e1ee;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pricing-card:hover,
.step-card:hover,
.review-card:hover {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.footer {
    background: #0b1f3a;
}

.footer-column p,
.footer-column a {
    color: #cbd5e1;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    color: rgba(226, 232, 240, 0.85);
}

/* ==========================================
   PRICING MODAL
   ========================================== */
.pricing-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 12, 22, 0.55);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2600;
}
.pricing-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
.pricing-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    bottom: auto;
    width: min(680px, calc(100vw - 32px));
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 0;
    z-index: 2601;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pricing-modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    top: 50%;
    bottom: auto;
}
.pricing-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    color: #0f172a;
    font-size: 20px;
    cursor: pointer;
}
.pricing-modal-header {
    background: linear-gradient(180deg, #0f6f6e 0%, #0c5f5e 100%);
    color: #ffffff;
    padding: 12px 18px;
}
.pricing-modal-header h3 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 600;
}
.pricing-modal-body {
    display: grid;
    grid-template-columns: 1.1fr 1px 0.9fr;
    gap: 18px;
    padding: 18px;
    background: #f7f7f7;
}
.pricing-modal-left,
.pricing-modal-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-modal-title {
    font-weight: 700;
    font-size: 1rem;
}
.pricing-modal-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #c89a22;
}
.pricing-modal-desc {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.35;
}
.pricing-modal-label {
    font-size: 0.82rem;
    color: #334155;
    text-transform: lowercase;
}
.pricing-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.pricing-modal-form .reg-search-shell {
    width: 100%;
    max-width: 280px;
}
.pricing-modal-cta {
    width: 170px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #152127;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.pricing-modal-cta.is-loading {
    opacity: 0.75;
    cursor: wait;
}
.pricing-modal-divider {
    width: 1px;
    background: rgba(15, 23, 42, 0.12);
}
.pricing-modal-checks-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f3f3e;
}
.pricing-modal-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    color: #0f172a;
    font-size: 0.9rem;
}
.pricing-modal-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-modal-features li::before {
    content: "✓";
    color: #0f6f6e;
    font-weight: 700;
}
.pricing-modal-more {
    font-size: 0.8rem;
    color: #0f3f3e;
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-modal {
        width: calc(100vw - 20px);
    }
    .pricing-modal-body {
        grid-template-columns: 1fr;
    }
    .pricing-modal-divider {
        display: none;
    }
    .pricing-modal-form .reg-search-shell {
        max-width: none;
    }
    .pricing-modal-cta {
        width: 100%;
    }
}


/* Hero Car Boost + Drift Smoke */
.hero-image {
    overflow: visible;
}
.hero-image.boosting .hero-car-image {
    animation: heroFloat 1s linear forwards;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}
 .hero-smoke-puff {
    position: absolute;
    left: 8%;
    bottom: 18%;
    width: var(--size, 18px);
    height: var(--size, 18px);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.72) 0%, rgba(186,196,212,0.42) 52%, rgba(50,67,95,0.06) 100%);
    filter: blur(1.2px);
    animation: smokeDrift 1.35s ease-out var(--delay, 0ms) forwards;
    transform: translate3d(0, 0, 0);
}
@keyframes smokeDrift {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.46);
    }
    22% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--dx, -82px), var(--dy, -32px), 0) scale(1.95);
    }
}
@media (max-width: 768px) {
    .hero-image.boosting .hero-car-image {
        animation: heroFloat 1s linear forwards;
    }
}

@media (max-width: 768px) {
    .hero-search {
        gap: 0.7rem;
        padding: 10px;
    }

    .reg-search-shell {
        padding: 8px 10px;
    }

    .pricing-grid {
        gap: 1.2rem;
        max-width: 520px;
    }

    .pricing-card {
        height: auto;
    }

    .pricing-header {
        margin-top: 0.5rem;
    }

    .pricing-features li {
        padding: 0.2rem 0;
    }

    .steps-grid {
        gap: 12px;
    }

    .step-card {
        padding: 14px;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-bottom {
        margin-top: 16px;
    }

    .pricing-modal {
        max-height: 90vh;
    }

    .pricing-modal-body {
        padding: 14px;
        gap: 14px;
        max-height: calc(90vh - 56px);
        overflow-y: auto;
    }

    .result-package-link {
        margin: 4px 0 10px;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .result-package-link .package-link {
        width: 100%;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        font-size: 0.82rem;
        letter-spacing: 0.1px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        max-width: 100%;
    }

    .reg-flag-badge {
        width: 44px;
        height: 44px;
    }

    .reg-search-input {
        font-size: 0.98rem;
    }

    .pricing-features li {
        font-size: 0.78rem;
    }

    .pricing-btn {
        height: 38px;
    }

    .pricing-modal-body {
        padding: 12px;
    }
}
