/* ==========================================================
   KPI SÁV (key-metrics)
   ----------------------------------------------------------
   Floating metrics bar overlapping hero section.
   Hover: number and label scale up with glow.
   ========================================================== */

.kpi-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: calc(100% - 48px);
    margin-left: 24px;
    margin-right: 24px;
    margin-top: -135px;
    position: relative;
    z-index: 20;
    border: 1px solid rgba(0, 168, 255, .12);
    border-radius: 18px;
    background: rgba(5, 10, 25, .78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 168, 255, .05), 0 8px 32px rgba(0, 0, 0, .28);
}

.kpi-bar::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, .6), rgba(168, 77, 255, .45), transparent);
}

.kpi-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 22px 12px;
    border-left: 1px solid rgba(0, 168, 255, .12);
    cursor: default;
}

.kpi-card:first-child {
    border-left: 0;
}

.kpi-number {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 34px;
    color: #fff;
    line-height: 1;
    /* a transform nem bontja meg a layoutot — nincs újratördelés, nincs keret-átméretezés */
    transition: transform .35s ease, color .35s ease, text-shadow .35s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, .12), 0 0 20px rgba(0, 168, 255, .12);
}

.kpi-label {
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .50);
    line-height: 1.3;
    transition: transform .35s ease, color .35s ease;
}

/* Hover: vizuális nagyítás a font-size érintése nélkül,
   so the kpi-bar frame dimensions never change.
   Skálafaktorok: szám 34→44px ≈ ×1.29 | címke 11→13px ≈ ×1.18 */

.kpi-card:hover .kpi-number {
    transform: scale(1.29);
    color: var(--color-primary);
    text-shadow: 0 0 16px rgba(0, 168, 255, .6), 0 0 40px rgba(0, 168, 255, .35);
}

.kpi-card:hover .kpi-label {
    transform: scale(1.18);
    color: rgba(255, 255, 255, .9);
}
