/* ============================================
   HUB PAGES — Shared CSS for all hub landing pages
   Company, Product, Resources, Legal
   Signatur/Sign: Lillehest - Team Stallion
   Version: 1
   Last Updated: 2026-04-06
   ============================================ */

/* --- Hub Hero Section --- */
.hub-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
}

.hub-hero-wrapper h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hub-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Hub Grid Section --- */
.hub-grid-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* --- Hub Cards --- */
.hub-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
    text-decoration: none;
}

.hub-card-icon {
    font-size: 2.5rem;
    color: #0f3460;
    margin-bottom: 16px;
}

.hub-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hub-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.hub-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f3460;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-card:hover .hub-card-link {
    color: #e94560;
}

/* --- Per-hub hero color variants --- */
.company-hub-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.product-hub-hero {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a4e 50%, #2d1b69 100%);
}

.resources-hub-hero {
    background: linear-gradient(135deg, #16213e 0%, #1a3a5c 50%, #1e5f74 100%);
}

.legal-hub-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c3e 50%, #3d3d50 100%);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hub-hero-wrapper h1 {
        font-size: 2.4rem;
    }

    .hub-subtitle {
        font-size: 1.1rem;
    }

    .hub-hero-section {
        padding: 60px 0 48px;
    }

    .hub-grid-section {
        padding: 48px 0 60px;
    }
}

@media (max-width: 767px) {
    .hub-hero-wrapper h1 {
        font-size: 2rem;
    }

    .hub-subtitle {
        font-size: 1rem;
    }

    .hub-card {
        padding: 24px 20px;
    }
}
