
/* ============================================

   NeuraAuto - Vehicle Marketplace

   Uses NeuraWeb Theme System

   ============================================ */



.neuraauto-app {

    max-width: 1200px;

    margin: 0 auto;

}



/* Hero Section */

.auto-hero {

    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);

    border-radius: var(--radius-lg, 16px);

    padding: 48px;

    color: white;

    margin-bottom: 32px;

    position: relative;

    overflow: hidden;

}



.auto-hero::before {

    content: '';

    position: absolute;

    top: -50%;

    right: -20%;

    width: 60%;

    height: 200%;

    background: rgba(255,255,255,0.05);

    transform: rotate(15deg);

}



.auto-hero h1 {

    font-size: 36px;

    font-weight: 800;

    margin-bottom: 12px;

    position: relative;

}



.auto-hero p {

    font-size: 18px;

    opacity: 0.9;

    max-width: 600px;

    position: relative;

}



/* Stats Grid */

.auto-stats {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 32px;

}



.auto-stat {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    text-align: center;

}



.auto-stat-value {

    font-size: 32px;

    font-weight: 800;

    color: #1565C0;

}



.auto-stat-label {

    font-size: 13px;

    color: var(--text-secondary);

    margin-top: 4px;

}



/* Features Grid */

.auto-features-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 32px;

}



.auto-feature-card {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    display: flex;

    gap: 16px;

    transition: all 0.2s;

}



.auto-feature-card:hover {

    border-color: #1565C0;

    transform: translateY(-2px);

}



.auto-feature-icon {

    width: 56px;

    height: 56px;

    background: linear-gradient(135deg, #1565C0, #0D47A1);

    border-radius: var(--radius-md, 12px);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    color: white;

    flex-shrink: 0;

}



.auto-feature-content h3 {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 6px;

    color: var(--text-primary);

}



.auto-feature-content p {

    font-size: 14px;

    color: var(--text-secondary);

    margin-bottom: 8px;

}



.auto-feature-badge {

    display: inline-block;

    background: rgba(21, 101, 192, 0.2);

    color: #1565C0;

    font-size: 11px;

    font-weight: 600;

    padding: 4px 10px;

    border-radius: 4px;

}



.auto-feature-badge.free {

    background: rgba(16, 185, 129, 0.2);

    color: var(--success, #10b981);

}



/* Vehicle Listings */

.vehicles-section {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    margin-bottom: 32px;

}



.vehicles-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}



.vehicles-header h2 {

    font-size: 20px;

    font-weight: 700;

    color: var(--text-primary);

}



.vehicle-card {

    display: flex;

    gap: 16px;

    padding: 16px;

    border: 1px solid var(--border-color);

    border-radius: var(--radius-sm, 10px);

    margin-bottom: 12px;

    transition: all 0.2s;

}



.vehicle-card:hover {

    border-color: #1565C0;

    background: var(--bg-tertiary);

}



.vehicle-image {

    width: 140px;

    height: 100px;

    background: linear-gradient(135deg, #06b6d4, #0891b2);

    border-radius: var(--radius-sm, 8px);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 40px;

    flex-shrink: 0;

}



.vehicle-content {

    flex: 1;

}



.vehicle-badge {

    display: inline-block;

    background: rgba(6, 182, 212, 0.2);

    color: #06b6d4;

    font-size: 10px;

    font-weight: 600;

    padding: 3px 8px;

    border-radius: 4px;

    margin-bottom: 6px;

}



.vehicle-title {

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 4px;

    color: var(--text-primary);

}



.vehicle-price {

    font-size: 18px;

    font-weight: 700;

    color: #1565C0;

}



.vehicle-meta {

    font-size: 12px;

    color: var(--text-muted);

    margin-top: 4px;

}



.vehicle-badges {

    display: flex;

    gap: 8px;

    margin-top: 8px;

}



.vehicle-badges span {

    font-size: 10px;

    background: var(--bg-tertiary);

    padding: 3px 8px;

    border-radius: 10px;

    color: var(--text-secondary);

}



.vehicle-badges span.verified {

    background: rgba(16, 185, 129, 0.2);

    color: var(--success, #10b981);

}



/* NeuralVIN Section */

.neuralvin-section {

    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(6, 182, 212, 0.1));

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 32px;

    margin-bottom: 32px;

    display: flex;

    gap: 24px;

    align-items: center;

}



.neuralvin-icon {

    width: 80px;

    height: 80px;

    background: linear-gradient(135deg, #1565C0, #06b6d4);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 36px;

    flex-shrink: 0;

}



.neuralvin-content h3 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 8px;

    color: var(--text-primary);

}



.neuralvin-content p {

    font-size: 14px;

    color: var(--text-secondary);

    margin-bottom: 12px;

}



.neuralvin-features {

    display: flex;

    gap: 16px;

    flex-wrap: wrap;

}



.neuralvin-features span {

    font-size: 12px;

    background: var(--bg-secondary);

    padding: 6px 12px;

    border-radius: 20px;

    color: var(--text-primary);

    border: 1px solid var(--border-color);

}



/* Coming Soon Banner */

.coming-soon-banner {

    background: var(--bg-tertiary);

    border: 1px dashed var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 48px;

    text-align: center;

}



.coming-soon-banner i {

    font-size: 48px;

    color: var(--text-muted);

    margin-bottom: 16px;

}



.coming-soon-banner h3 {

    font-size: 20px;

    margin-bottom: 8px;

    color: var(--text-primary);

}



.coming-soon-banner p {

    color: var(--text-secondary);

    margin-bottom: 16px;

}



/* Responsive */

@media (max-width: 768px) {

    .auto-stats {

        grid-template-columns: repeat(2, 1fr);

    }

    

    .auto-features-grid {

        grid-template-columns: 1fr;

    }

    

    .auto-hero {

        padding: 32px 24px;

    }

    

    .auto-hero h1 {

        font-size: 28px;

    }

    

    .vehicle-card {

        flex-direction: column;

    }

    

    .vehicle-image {

        width: 100%;

        height: 140px;

    }

    

    .neuralvin-section {

        flex-direction: column;

        text-align: center;

    }

}




/* Header Styling */

.neuraauto-app .dapp-header {

    margin-bottom: 24px;

}



.neuraauto-app .dapp-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 8px;

}



.neuraauto-app .dapp-title i {

    font-size: 28px;

    color: #1565C0;

}



.neuraauto-app .dapp-title h1 {

    font-size: 32px;

    font-weight: 800;

    color: var(--text-primary);

    margin: 0;

}



.neuraauto-app .dapp-badge {

    font-size: 11px;

    font-weight: 600;

    padding: 4px 10px;

    border-radius: 4px;

    text-transform: uppercase;

}



.neuraauto-app .dapp-badge.dev {

    background: rgba(59, 130, 246, 0.2);

    color: #3b82f6;

}



.neuraauto-app .dapp-tagline {

    font-size: 16px;

    color: var(--text-secondary);

    margin: 0;

    padding-left: 40px;

}



/* Fix neuralvin icon */

.neuralvin-icon i {

    font-size: 36px;

    color: white;

}



/* Fix vehicle image icons */

.vehicle-image i {

    font-size: 32px;

    color: white;

}

