/* Reset and base styles */
main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hero Section */
.dealer-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 120px 0 100px;
    margin-top: -20px;
    position: relative;
}

.dealer-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.dealer-hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Button styles */
.dealer-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.dealer-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dealer-btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ffb347 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.dealer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    color: white;
    text-decoration: none;
}

.dealer-btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dealer-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
}

/* Section styles matching dealer dashboard */
.dealer-section {
    padding: 80px 0;
}

.dealer-bg-white {
    background-color: #ffffff;
}

.dealer-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.dealer-section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features grid */
.dealer-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dealer-feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.dealer-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.dealer-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ff6b00 0%, #ffb347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.dealer-feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.dealer-feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.dealer-cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.dealer-cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.dealer-cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dealer Dashboard Preview Section */
.dealer-bg-light {
    background-color: #f8f9fa;
}

.dashboard-preview {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.dashboard-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab {
    padding: 12px 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    color: #666;
}

.tab.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.dashboard-card.credits-card {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.dashboard-card.leads-card {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.dashboard-card.available-card {
    background: linear-gradient(135deg, #10d876 0%, #0ea15f 100%);
}

.dashboard-card.expired-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
}

.credit-amount, .lead-count {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.buy-credits-btn, .view-details-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-credits-btn:hover, .view-details-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.leads-table-preview {
    margin-top: 40px;
}

.leads-table-preview h3 {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    font-weight: 600;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
}

.preview-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #b8860b;
}

.btn-view-details {
    background: #2c3e50;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 5px;
    cursor: pointer;
}

.btn-purchase-exclusive {
    background: linear-gradient(135deg, #ff6b00 0%, #ffb347 100%);
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .dealer-hero h1 {
        font-size: 32px;
    }
    
    .dealer-hero p {
        font-size: 18px;
    }
    
    .dealer-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .dealer-btn {
        width: 250px;
        text-align: center;
    }
    
    .dealer-section {
        padding: 60px 0;
    }
    
    .dealer-section-title {
        font-size: 28px;
    }
    
    .dealer-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dealer-feature-card {
        padding: 30px 20px;
    }
    
    .dashboard-tabs {
        justify-content: center;
    }
    
    .tab {
        font-size: 10px;
        padding: 8px 12px;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .preview-table {
        font-size: 11px;
    }
    
    .preview-table th,
    .preview-table td {
        padding: 8px 6px;
    }
    
    .btn-view-details,
    .btn-purchase-exclusive {
        font-size: 9px;
        padding: 4px 8px;
    }
}