/* COURSES HUB DASHBOARD STYLES */

.courses-hub-body {
    background-color: #fdfdfd;
    background-image: 
        radial-gradient(#e5e7eb 1px, transparent 1px),
        radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    position: relative;
    min-height: 100vh;
}

/* Spotlights - like the home page but subtle */
.hub-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(0, 112, 243, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 10;
}

/* CARDS OVERHAUL */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.hub-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hub-card:nth-child(1) { animation-delay: 0.1s; }
.hub-card:nth-child(2) { animation-delay: 0.2s; }
.hub-card:nth-child(3) { animation-delay: 0.3s; }
.hub-card:nth-child(4) { animation-delay: 0.4s; }

.hub-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #0070f3;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 20px 40px rgba(0, 112, 243, 0.08),
        0 0 0 1px rgba(0, 112, 243, 0.1);
}

.card-icon-box {
    width: 56px;
    height: 56px;
    background: #f0f4ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #0070f3;
    transition: all 0.3s ease;
}

.hub-card:hover .card-icon-box {
    background: #0070f3;
    color: white;
    transform: rotate(-5deg);
}

.card-level-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.hub-card h3 {
    font-size: 26px;
    color: #0d0d1a;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.hub-card .description {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* TOPIC LIST */
.curriculum-preview {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

.curriculum-preview li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
}

.curriculum-preview li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.hub-card:hover .curriculum-preview li::before {
    background: #0070f3;
}

.hub-card .cta-line {
    margin-top: 24px;
    font-weight: 600;
    font-size: 14px;
    color: #0070f3;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SPECIAL BADGE */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f4ff;
    color: #0070f3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 112, 243, 0.1);
}

/* COMING SOON BLUEPRINT STYLE */
.hub-card.coming-soon {
    background: #f8fafc;
    background-image: 
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border-style: dashed;
    border-color: #cbd5e1;
    opacity: 0.8;
}

.hub-card.coming-soon:hover {
    transform: translateY(-4px);
    border-color: #94a3b8;
    background-color: #f1f5f9;
}

@media (max-width: 850px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .hub-card {
        padding: 30px;
    }
}
