/* Homepage styles — depends on common.css, fam.css */

/* Compact hero */
.home-hero {
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.home-hero__title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.75rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.home-hero__subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-light);
    max-width: 44rem;
    margin: 0 auto;
}

/* Product grid */
.home-products {
    padding: 0 0 4rem;
}

.home-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Product card */
.home-product-card {
    background-color: #F7F8F9;
    border-radius: 0.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s;
    border: none;
}

.home-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Top row: text left, icon right */
.home-product-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: inherit;
}

.home-product-card__text {
    flex: 1;
    min-width: 0;
}

.home-product-card__logo {
    width: 4.75rem;
    height: 4.75rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.home-product-card__brand {
    font-size: 0.8125rem;
    color: #8D959E;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.home-product-card__name {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.home-product-card__desc {
    font-size: 0.875rem;
    color: var(--text-color-light);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* Platform tags */
.home-product-card__platforms {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.home-platform-tag {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #5F6D7E;
    transition: color 0.15s;
}

.home-platform-tag:hover {
    color: var(--control-color);
}

/* Responsive */
@media (max-width: 1020px) {
    .home-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero__title {
        font-size: 2.25rem;
    }
}

@media (max-width: 600px) {
    .home-products__grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 2rem 0 1.5rem;
    }

    .home-hero__title {
        font-size: 1.75rem;
    }
}
