/* ==========================================
   NRCube V1 Product Family Cards
   ========================================== */

.product-families {

    padding:
        var(--space-3xl)
        0;
}

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 24px;

    margin-top: 48px;
}

/* ------------------------------------------
   Card
------------------------------------------ */

.product-card {

    position: relative;

    overflow: hidden;

    min-height: 220px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 36px;

    border-radius: var(--radius-lg);

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.02)
        );

    border:
        1px solid rgba(255,255,255,.08);

    backdrop-filter:
        blur(10px);

    cursor: pointer;

    transition:
        all .35s ease;
}

.product-card::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: 0;

    transition: .4s;

    background:

        linear-gradient(
            135deg,
            rgba(15,111,115,.12),
            rgba(215,155,50,.10)
        );
}

.product-card:hover::before {

    opacity: 1;
}

.product-card:hover {

    transform:
        translateY(-10px);

    border-color:
        rgba(215,155,50,.35);

    box-shadow:

        0 15px 50px rgba(0,0,0,.35),
        0 0 0 1px rgba(215,155,50,.15);
}

/* ------------------------------------------
   Card Icon
------------------------------------------ */

.product-family-icon {

    width: 60px;

    height: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    margin-bottom: 18px;

    background:

        rgba(15,111,115,.15);

    color:
        var(--color-gold);

    font-size:
        1.7rem;
}

/* ------------------------------------------
   Product Speed
------------------------------------------ */

.product-family-speed {

    font-family:
        var(--font-heading);

    font-weight:
        700;

    font-size:
        2rem;

    color:
        var(--color-gold);

    margin-bottom:
        10px;
}

.product-family-label {

    font-size:
        .95rem;

    color:
        var(--color-text-muted);
}

/* ------------------------------------------
   Active State
------------------------------------------ */

.product-card.active {

    transform:
        translateY(-12px);

    border-color:
        rgba(215,155,50,.4);

    box-shadow:
        var(--shadow-premium);
}

/* ------------------------------------------
   Featured Cards
------------------------------------------ */

.product-card.featured {

    border:
        1px solid rgba(215,155,50,.25);

    background:

        linear-gradient(
            180deg,
            rgba(15,111,115,.10),
            rgba(215,155,50,.05)
        );
}
