/**
 * Product Metrics Section Module Styles
 * Modular stylesheet for the product metrics component
 * Figma Node: 159-1112
 */

.workjam-product-metrics {
    background: linear-gradient(180deg, #00E0C4 0%, #121C66 100%);
    padding: 80px 118px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workjam-product-metrics__container {
    max-width: 1296px;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 25px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ==========================================================================
   Section Title
   ========================================================================== */

.workjam-product-metrics__title {
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    color: #121c66;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   Metric Cards Container
   ========================================================================== */

.workjam-product-metrics__cards {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    justify-content: center;
    padding: 5.5px 0;
    width: 100%;
}

/* ==========================================================================
   Individual Metric Card
   ========================================================================== */

.workjam-product-metrics__card {
    flex: 1 1 100%;
    max-width: 350px;
    height: 148.5px;
    background-color: rgba(161, 161, 196, 0.45);
    border-radius: 23px;
    padding: 13.75px 14.667px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.workjam-product-metrics__card-inner {
    height: 77.917px;
    width: 100%;
    border-radius: 23px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.workjam-product-metrics__value {
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: 59px;
    font-weight: 700;
    line-height: normal;
    color: #121c66;
    text-align: center;
    white-space: nowrap;
}

.workjam-product-metrics__label {
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    color: #121c66;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   Attribution Text (Subtitle)
   ========================================================================== */

.workjam-product-metrics__subtitle {
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
    color: #121c66;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .workjam-product-metrics {
        padding: 60px 40px;
    }

    .workjam-product-metrics__container {
        padding: 36px;
        gap: 24px;
    }

    .workjam-product-metrics__title {
        font-size: 42px;
    }

    .workjam-product-metrics__subtitle {
        font-size: 30px;
    }
}

/* Mobile and below */
@media (max-width: 980px) {
    .workjam-product-metrics {
        padding: 48px 30px;
    }

    .workjam-product-metrics__container {
        padding: 28px;
        gap: 20px;
    }

    .workjam-product-metrics__title {
        font-size: 36px;
    }

    .workjam-product-metrics__cards {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .workjam-product-metrics__card {
        width: 100%;
        max-width: 400px;
    }

    .workjam-product-metrics__subtitle {
        font-size: 24px;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .workjam-product-metrics {
        padding: 40px 20px;
    }

    .workjam-product-metrics__container {
        padding: 24px;
        gap: 16px;
    }

    .workjam-product-metrics__title {
        font-size: 32px;
    }

    .workjam-product-metrics__value {
        font-size: 48px;
    }

    .workjam-product-metrics__label {
        font-size: 16px;
    }

    .workjam-product-metrics__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .workjam-product-metrics {
        padding: 32px 16px;
    }

    .workjam-product-metrics__container {
        padding: 20px;
        gap: 14px;
    }

    .workjam-product-metrics__title {
        font-size: 28px;
    }

    .workjam-product-metrics__card {
        height: 130px;
    }

    .workjam-product-metrics__value {
        font-size: 42px;
    }

    .workjam-product-metrics__label {
        font-size: 15px;
    }

    .workjam-product-metrics__subtitle {
        font-size: 18px;
    }
}