/* Home section: prediction model cards */
.pm-home {
    background: #0c1016;
    padding: 4.5rem 0;
    border-top: 1px solid #171f2a;
    border-bottom: 1px solid #171f2a;
}

.pm-home-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pm-home-header h3 {
    color: #e7edf6;
    font-weight: 700;
}

.pm-home-header p {
    color: #a5b0bf;
    max-width: 720px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}

.pm-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.pm-home-card {
    background: #111720;
    border: 1px solid #202a36;
    border-radius: 16px;
    padding: 1.3rem;
    text-decoration: none;
    color: #e7edf6;
    display: grid;
    gap: 0.7rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pm-home-card:hover {
    transform: translateY(-4px);
    border-color: rgba(85,193,255,0.7);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.pm-home-card img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #273142;
    background: #0b0f16;
    padding: 0.35rem;
}

.pm-home-card h4 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
}

.pm-home-card p {
    color: #a5b0bf;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.pm-home-actions {
    text-align: center;
    margin-top: 2rem;
}

.pm-home-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1px solid #2b3645;
    color: #d6e6ff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(85,193,255,0.08);
}

.pm-home-actions a:hover {
    border-color: rgba(85,193,255,0.7);
    background: rgba(85,193,255,0.14);
}
