:root {
    --primary: #ff6b00;
    --secondary: #2563eb;
    --bg-dark: #0f1419;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-blur: 40px;
    --glass-saturate: 180%;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 90% 85%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        linear-gradient(160deg, #1a1f2e 0%, #0f1419 50%, #0c1015 100%);
}

/* Page Loading Overlay */
.page-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ==================== HEADER ==================== */
.detail-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo span {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb span {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 980px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.action-btn.saved {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.signin-btn {
    padding: 0.55rem 1.4rem;
    background: linear-gradient(180deg, #ff7a1a 0%, var(--primary) 100%);
    color: white !important;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 107, 0, 0.25);
    border: none;
    cursor: pointer;
}

.signin-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* ==================== MAIN LAYOUT ==================== */
.detail-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
    width: 100%;
}

/* ==================== VEHICLE TITLE SECTION ==================== */
/* ==================== VEHICLE HERO CARD ==================== */
.vehicle-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.hero-title-block {
    flex: 1;
    min-width: 0;
}

.hero-title-block .subtitle-info {
    margin-bottom: 0;
}

.hero-price-block {
    text-align: right;
    flex-shrink: 0;
}

.hero-price-block .price-context {
    margin-top: 0.4rem;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.hero-bottom .contact-seller-btn {
    flex-shrink: 0;
    width: auto;
    padding: 0.85rem 2rem;
}

.vehicle-title {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.commercial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.subtitle-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.subtitle-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}


.location-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.listing-id {
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

/* ==================== PHOTO GALLERY ==================== */
.photo-gallery {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1f2e;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-image:hover {
    transform: scale(1.02);
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.image-nav:hover {
    background: rgba(255, 107, 0, 0.8);
}

.image-nav.prev {
    left: 1rem;
}

.image-nav.next {
    right: 1rem;
}

.photo-counter {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: white;
}

.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.85);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(255, 107, 0, 1);
}

.thumbnail-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.thumbnail {
    position: relative;
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail:hover {
    transform: translateY(-2px);
}

.thumbnail-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.3rem;
    font-size: 0.65rem;
    color: white;
    text-align: center;
}

/* ==================== VEHICLE OVERVIEW ==================== */
.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quick Specs Grid */
.quick-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.quick-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.25rem 0.75rem;
    background: rgba(15, 20, 25, 0.6);
    text-align: center;
    transition: background 0.2s ease;
}

.quick-spec:hover {
    background: rgba(15, 20, 25, 0.4);
}

.quick-spec i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.quick-spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.quick-spec-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 0.85rem 0;
    font-size: 0.92rem;
}

.specs-table td:first-child {
    color: var(--text-dim);
    width: 40%;
}

.specs-table td:last-child {
    font-weight: 500;
    text-align: right;
}

/* Features Grid */
.card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.features-section {
    margin-top: 0;
    padding-top: 0;
}

.features-category {
    margin-bottom: 1.5rem;
}

.features-category:last-child {
    margin-bottom: 0;
}

.features-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 0.9rem;
    border-radius: 980px;
    font-size: 0.85rem;
    color: #10b981;
}

.feature-chip i {
    font-size: 0.75rem;
}

/* ==================== CONDITION REPORT ==================== */
.condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.condition-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
}

.condition-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.condition-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.condition-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.condition-badge.excellent {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.condition-badge.good {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.condition-badge.fair {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.condition-badge.poor {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Health Check Chips */
.health-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.health-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 980px;
    font-size: 0.85rem;
    font-weight: 500;
}

.health-check.ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
}

.health-check.ok i {
    font-size: 0.75rem;
}

.health-check.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.service-record-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
}

.service-record-banner > i {
    font-size: 1.1rem;
    color: #10b981;
    flex-shrink: 0;
}

.issue-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.issue-status {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ==================== SELLER DESCRIPTION ==================== */
.seller-description {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary);
    padding: 1.25rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ==================== EMI CALCULATOR ==================== */
.emi-calculator {
    margin-top: 1rem;
}

.emi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emi-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emi-input-group label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.emi-input-group input,
.emi-input-group select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
}

.emi-input-group input:focus,
.emi-input-group select:focus {
    border-color: var(--primary);
}

.emi-result {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 100%);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.emi-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.emi-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

/* ==================== SIMILAR VEHICLES ==================== */
.similar-vehicles {
    margin-top: 2rem;
}

.vehicles-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.vehicles-carousel::-webkit-scrollbar {
    height: 6px;
}

.vehicles-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.vehicle-card {
    flex-shrink: 0;
    width: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.vehicle-card-image {
    height: 160px;
    overflow: hidden;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-card-content {
    padding: 1rem;
}

.vehicle-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.vehicle-card-specs {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    display: none;
}

.sticky-sidebar {
    display: none;
}

/* Price Card */

.price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
}

.price-context {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #10b981;
    margin-top: 0.5rem;
}

.emi-preview {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.emi-preview a {
    color: var(--primary);
    text-decoration: none;
}

.emi-preview a:hover {
    text-decoration: underline;
}

.contact-seller-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(180deg, #ff7a1a 0%, #ff6b00 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 16px rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.contact-seller-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 24px rgba(255, 107, 0, 0.4);
}

.secondary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.loan-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loan-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* Seller Card */
.seller-card {
    display: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.seller-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.seller-avatar {
    display: none;
}

.seller-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.seller-type {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.seller-since {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

.phone-display {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.phone-hidden {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.show-phone-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, #ff7a1a 0%, #ff6b00 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-phone-btn:hover {
    transform: scale(1.02);
}

.phone-revealed {
    display: none;
}

.phone-revealed.active {
    display: block;
}

.phone-revealed .phone-number {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.phone-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.phone-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.phone-action-btn.call {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.phone-action-btn.whatsapp {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
}

.contacts-remaining {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

.contacts-remaining strong {
    color: var(--primary);
}

.seller-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.message-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Safety Tips */
.safety-tips {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.safety-tips-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.safety-tips-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.safety-tips-content {
    margin-top: 0.75rem;
    display: none;
}

.safety-tips.expanded .safety-tips-content {
    display: block;
}

.safety-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.safety-tip:last-child {
    margin-bottom: 0;
}

.safety-tip i {
    color: var(--secondary);
    margin-top: 0.15rem;
}

/* ==================== REPORT LISTING ==================== */
.report-section {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.report-btn:hover {
    color: var(--danger);
}

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    padding: 1.5rem;
}

/* Success Modal */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--success);
}

.success-content {
    text-align: center;
}

.success-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.revealed-contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.revealed-seller-name {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.revealed-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Share Modal */
.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    color: var(--text-main);
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
}

.share-option span {
    font-size: 0.8rem;
}

.share-option.whatsapp i {
    color: #25D366;
}

.share-option.facebook i {
    color: #1877F2;
}

.share-option.twitter i {
    color: #1DA1F2;
}

/* Report Modal */
.report-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.report-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.report-option input {
    display: none;
}

.report-option .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-option input:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.report-option input:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.report-submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-submit-btn:hover {
    transform: translateY(-2px);
}

/* ==================== 404 STATE ==================== */
.not-found {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.not-found-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.not-found h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.not-found p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* ==================== MOBILE BOTTOM BAR ==================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.98) 0%, rgba(15, 20, 25, 1) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    z-index: 99;
}

.mobile-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-contact-btn {
    flex: 1;
    max-width: 200px;
    padding: 0.9rem;
    background: linear-gradient(180deg, #ff7a1a 0%, #ff6b00 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-bottom .contact-seller-btn {
        display: none;
    }

    .mobile-bottom-bar {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .hero-top {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-price-block {
        text-align: left;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .vehicle-hero-card {
        padding: 1.25rem 1.5rem;
    }

    .detail-header {
        padding: 0.75rem 1rem;
    }

    .header-left {
        gap: 1rem;
    }

    .breadcrumb {
        display: none;
    }

    .logo {
        font-size: 1.25rem;
    }

    .detail-main {
        padding: 1rem;
        gap: 1rem;
    }

    .vehicle-title {
        font-size: 1.5rem;
    }

    .main-image-container {
        height: 280px;
    }

    .section-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

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

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

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

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

@media (max-width: 480px) {
    .quick-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subtitle-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .phone-actions {
        grid-template-columns: 1fr;
    }
}

/* Fullscreen Gallery */
.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-gallery.active {
    display: flex;
}

.fullscreen-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.fullscreen-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ==================== TRUST SIGNALS ==================== */
.trust-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.trust-badge.trust-good {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.06);
}

.trust-badge.trust-warn {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.06);
}

.trust-badge.trust-bad {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
}

.trust-badge-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.trust-good .trust-badge-icon { color: var(--success); background: rgba(16, 185, 129, 0.15); }
.trust-warn .trust-badge-icon { color: var(--warning); background: rgba(245, 158, 11, 0.15); }
.trust-bad .trust-badge-icon { color: var(--danger); background: rgba(239, 68, 68, 0.15); }

.trust-badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-badge-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.trust-badge-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.trust-good .trust-badge-value { color: var(--success); }
.trust-warn .trust-badge-value { color: var(--warning); }
.trust-bad .trust-badge-value { color: var(--danger); }

/* ==================== VERIFICATION REPORT ==================== */
.verification-report-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(147, 197, 253, 0.9);
}

.verification-report-banner i {
    color: var(--secondary);
    font-size: 1rem;
}

.verification-report-table tr td:first-child {
    color: var(--text-dim);
}

.verification-report-table .vr-verified-icon {
    color: var(--success);
    font-size: 0.75rem;
    margin-left: 0.4rem;
}

/* ==================== REPORT TEASER ==================== */
.report-teaser {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 107, 0, 0.04));
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
}

.report-teaser-icon {
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--secondary);
    font-size: 1.3rem;
}

.report-teaser h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.report-teaser p {
    font-size: 0.85rem;
    color: var(--text-dim);
    max-width: 400px;
    margin: 0 auto 1.25rem;
    line-height: 1.5;
}

.report-teaser-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary), #3b82f6);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.report-teaser-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* Mobile responsive for trust badges */
@media (max-width: 640px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}
