/* Django Hub - Styles Modernisés (v2) */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --card-border-radius: 16px;
    --transition-speed: 0.3s;
}

/* === Global === */
body {
    background-color: var(--light-bg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* === Navbar === */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* === Cards & Interactions === */
.card {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    background: #ffffff;
}

.hover-lift {
    transition: transform var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* App Card Specifics */
.card-link-wrapper {
    color: inherit;
    display: block;
}

.card-link-wrapper:hover {
    color: inherit;
}

.app-unavailable {
    opacity: 0.7;
    filter: grayscale(0.8);
    cursor: not-allowed;
}

.app-unavailable:hover {
    transform: none !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* === Utility === */
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.text-primary-emphasis {
    color: #052c65 !important;
}

.icon-wrapper-lg {
    width: 64px;
    height: 64px;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}
