
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, #f8fafc 0%, #e0e7ff 100%);
    min-height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.app-container {
    width: 100%;
    min-height: 100%;
    background: linear-gradient(to bottom, #f8fafc 0%, #e0e7ff 100%);
}

/* Header */
.header {
    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.12) 70%
    );
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(234, 21, 71, 0.2), 0 8px 40px rgba(250, 100, 54, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    /*border-radius: 12px;*/
}


.logo {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

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

.notification-btn, .profile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification-btn:active, .profile-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 32px 24px 24px;
    text-align: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.hero h1 {
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.hero p {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Search Bar */
.search-container {
    padding: 20px 24px;
    /*background: linear-gradient(*/
    /*        135deg,*/
    /*        rgba(255, 255, 255, 0.15) 0%,*/
    /*        rgba(255, 255, 255, 0.08) 50%,*/
    /*        rgba(255, 255, 255, 0.12) 70%*/
    /*);*/
    position: sticky;
    top: 0;
    z-index: 99;
    /*box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 8px 40px rgba(139, 92, 246, 0.2);*/
    transition: all 0.3s ease;
}

.search-container.scrolled {
    /*box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5), 0 10px 50px rgba(139, 92, 246, 0.3);*/
    z-index: 200;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 52px 14px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-weight: 400;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    opacity: 0.5;
}

/* Filter & Sort */
.controls {
    padding: 0;
    padding-top: 16px;
    display: flex;
    gap: 12px;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.controls::-webkit-scrollbar {
    display: none;
}

.filter-btn, .sort-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
    color: #475569;
}

.filter-btn:active, .sort-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.filter-btn:hover, .sort-btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

/* Filter Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: flex-end;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: white;
    border-radius: 25px 25px 0 0;
    padding: 24px;
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #333;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-option {
    padding: 9px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.apply-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.apply-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.reset-btn {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.reset-btn:active {
    transform: translateY(2px);
    background: #f8fafc;
}

.sort-option {
    padding: 16px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-option.selected {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.sort-option:hover {
    border-color: #cbd5e1;
    transform: translateX(4px);
}

/* Car Cards */
.cars-container {
    padding: 0 24px 24px;
    background: transparent;
}

.car-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.car-card:hover::before {
    opacity: 1;
}

.car-card:hover {
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-8px);
}

.car-card:active {
    transform: translateY(-4px);
}

.car-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.car-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 100%);
    pointer-events: none;
}

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

.car-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.car-info {
    padding: 16px;
}

.car-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.car-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 12px 0;
    font-weight: 400;
}

.car-specs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.spec-item {
    font-size: 10px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    background: #f1f5f9;
    border-radius: 8px;
    font-weight: 500;
}

.car-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 2px solid #f1f5f9;
}

.price-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.2px;
}

.price-value.strikethrough-small {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 13px;
    font-weight: 500;
}

.discount-badge {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

/* Load More */
.load-more-container {
    padding: 0 20px 40px;
    text-align: center;
    position: relative;
}

.load-more-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.load-more-btn:active {
    transform: scale(0.95);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: #64748b;
}

.empty-state-icon {
    font-size: 72px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

/* Car Detail Page */
.detail-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 300;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
}

.detail-page.active {
    display: block;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.detail-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3);
}

.detail-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.detail-images {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    position: relative;
}

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

.image-gallery {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    overflow-x: auto;
    background: #f8fafc;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

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

.gallery-thumb.active {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.detail-content {
    padding: 24px;
}

.detail-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-box {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.price-row:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
}

.price-row.strikethrough .price-amount {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 14px;
}

.price-type {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.price-amount {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
}

.price-amount.main {
    font-size: 19px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.spec-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 14px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spec-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-box:hover::before {
    opacity: 1;
}

.spec-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.spec-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.description-text {
    font-size: 12px;
    line-height: 1.6;
    color: #475569;
    background: #f8fafc;
    padding: 14px;
    border-radius: 14px;
    border-left: 4px solid #6366f1;
    font-weight: 400;
}

/* Image Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 400;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lightbox-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
}

.lightbox-image.zoomed {
    cursor: grab;
}

.lightbox-image.dragging {
    cursor: grabbing;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.9);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.zoom-btn:active {
    transform: scale(0.9);
}

/* Profile Page */
.profile-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 300;
    overflow-y: auto;
}

.profile-page.active {
    display: block;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-page.closing {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    margin-top: 24px;
}

.contact-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
        transform: scale(1.05);
    }
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.scroll-top-float {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.scroll-top-float.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-float:hover {
    background: rgba(99, 102, 241, 0.5);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.scroll-top-float:active {
    transform: scale(0.95);
}

.scroll-top-float::before {
    content: '^';
    font-size: 32px;
    font-weight: bold;
    color: white;
    line-height: 1;
}

/* Detail Page Animations */
.detail-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 300;
    overflow-y: auto;
}

.detail-page.active {
    display: block;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.detail-page.closing {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.detail-content .detail-section {
    animation: fadeInUp 0.5s ease backwards;
}

.detail-content .detail-section:nth-child(1) {
    animation-delay: 0.1s;
}

.detail-content .detail-section:nth-child(2) {
    animation-delay: 0.2s;
}

.detail-content .detail-section:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inspection-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #6366f1;
    border-radius: 16px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.buynow-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #fd4f1a;
    border-radius: 16px;
    color: #fd4f1a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.inspection-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

/* Marketing Card */
.marketing-card {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 50%, #ffd4a8 100%);
    border-radius: 24px;
    padding: 28px;
    margin: 32px 24px;
    box-shadow: 0 12px 40px rgba(255, 153, 51, 0.25);
    border: 2px solid rgba(255, 153, 51, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    grid-column: 1 / -1;
}

.marketing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.marketing-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .marketing-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .marketing-left {
        padding-right: 20px;
    }

    .marketing-right {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

.marketing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9933 0%, #ff6b35 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.marketing-title {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ff9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.marketing-description {
    font-size: 13px;
    color: #6b4423;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.marketing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.marketing-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b4423;
    font-weight: 600;
}

.marketing-feature-icon {
    font-size: 18px;
}

.marketing-agent {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.7);
    padding: 16px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 153, 51, 0.15);
    margin-bottom: 16px;
}

.marketing-agent-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff9933 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.marketing-agent-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.marketing-agent-info {
    flex: 1;
}

.marketing-agent-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.marketing-agent-title {
    font-size: 11px;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.marketing-cta {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff9933 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.marketing-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.45);
}

/* Inspection Page Desktop Layout */
.inspection-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.inspection-items-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .inspection-summary-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .inspection-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .inspection-page .detail-content {
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .inspection-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .cars-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .cars-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.Lgn-animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.7) 0%, rgba(15, 20, 40, 0.8) 50%, rgba(10, 14, 39, 0.7) 100%);
    z-index: 0;
}

#footerMain {
    z-index: 1;
}

.Lgn-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

@keyframes Lgn-twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}
.Lgn-speed-lines {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.Lgn-speed-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: Lgn-speedMove 1.5s linear infinite;
    opacity: 0.4;
}

@keyframes Lgn-speedMove {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.Lgn-glow-pulse {
    position: fixed;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    animation: Lgn-glowPulse 3s ease-in-out infinite;
    z-index: 1;
    filter: blur(20px);
}

@keyframes Lgn-glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.15; }
}
