/* PsychLab — Hub Page Styles */

.hub-header {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.hub-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.hub-header .subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hub-header .meta {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hub-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.category-section {
    margin-bottom: var(--space-2xl);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.experiment-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.experiment-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.card-description {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin-bottom: var(--space-md);
}

.card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}
.time-quick { background: #dcfce7; color: #166534; }
.time-medium { background: #fef3c7; color: #92400e; }
.time-long { background: #fee2e2; color: #991b1b; }

.hub-footer {
    text-align: center;
    padding: var(--space-xl);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xl);
}

.hub-footer a {
    color: var(--color-text-secondary);
}

.data-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.data-section h3 {
    margin-bottom: var(--space-md);
}

@media (max-width: 600px) {
    .hub-header h1 { font-size: 1.5rem; }
    .experiment-grid {
        grid-template-columns: 1fr;
    }
    .hub-content { padding: var(--space-md); }
}
