:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

    .logo span {
        color: var(--dark);
    }

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: var(--primary);
        }

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

    .btn-outline:hover {
        background-color: rgba(99, 102, 241, 0.1);
    }

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

    .btn-secondary:hover {
        background-color: #0da271;
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 100%);
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

    .hero h1 {
        font-size: 3.2rem;
        font-weight: 800;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.2rem;
        color: var(--gray);
        max-width: 700px;
        margin: 0 auto 40px;
    }

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* How It Works */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .section-title p {
        color: var(--gray);
        max-width: 600px;
        margin: 0 auto;
    }

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light);
    border: 1px solid var(--gray-light);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Marketplace Preview */
.marketplace-preview {
    background-color: var(--light);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray-light);
}

.tab {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
}

    .tab.active {
        color: var(--primary);
    }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary);
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.listing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .listing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.listing-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}

    .listing-header h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

.listing-category {
    display: inline-block;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.listing-body {
    padding: 20px;
}

.listing-description {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.listing-footer {
    padding: 15px 20px;
    background-color: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light);
    border: 1px solid var(--gray-light);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

/* CTA */
.cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

    .cta h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta p {
        max-width: 700px;
        margin: 0 auto 40px;
        opacity: 0.9;
    }

    .cta .btn {
        background-color: white;
        color: var(--primary);
    }

        .cta .btn:hover {
            background-color: var(--light);
        }

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #b0b7c3;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: white;
        }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #b0b7c3;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        font-size: 1.3rem;
    }

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
    .steps {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 300px;
        }

    .stats {
        gap: 30px;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

    .mobile-menu.active {
        display: block;
    }

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

    .mobile-nav-links li {
        margin-bottom: 15px;
    }

    .mobile-nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Styles pour les éléments qui manquent dans votre HTML */
.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

    .car-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

.featured-cars {
    padding: 80px 0;
    text-align: center;
}

    .featured-cars h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
