:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-orange: #f97316;
    --accent-violet: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 4rem;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    padding-left: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
}

.search-input:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.vehicle-card {
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.plate-badge {
    background: #fbbf24;
    color: #1e293b;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid #1e293b;
}

.vehicle-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.vehicle-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-info {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent-violet);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-violet);
}

.detection-image {
    width: 100%;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

/* Badges */
.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.badge-orange { background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.2); }
.badge-violet { background: rgba(139, 92, 246, 0.1); color: var(--accent-violet); border: 1px solid rgba(139, 92, 246, 0.2); }
