/* Global Styles */
body { font-family: 'Inter', system-ui, sans-serif; background-color: #f8fafc; }
.dark body { background-color: #020617; }

/* Modern Card Design */
.tech-card { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 1.5rem;
    transition: all 0.2s ease; 
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.dark .tech-card { 
    background: #0f172a; 
    border-color: #1e293b; 
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

/* Sidebar Styling */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    transition: all 0.2s;
    cursor: pointer;
}

.dark .sidebar-link { color: #94a3b8; }

.sidebar-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.dark .sidebar-link:hover {
    background: #1e293b;
    color: #f8fafc;
}

.sidebar-link.active {
    background: #eff6ff;
    color: #2563eb;
}

.dark .sidebar-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
}

/* Page Transitions */
.page-section {
    display: none;
    animation: slideIn 0.3s ease-out;
}

.page-section.active { display: block; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* UI Elements */
.period-btn { 
    padding: 0.4rem 0.8rem; 
    font-size: 0.65rem; 
    font-weight: 800; 
    border-radius: 0.5rem; 
    transition: all 0.2s; 
    text-transform: uppercase; 
}

.status-pill { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.4rem 0.8rem; 
    border-radius: 999px; 
}

.info-block {
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.dark .info-block {
    background: #1e293b;
    border-color: #334155;
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; }

.pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }