/* ==========================================
   IBEX PROSPECT
   Commercial / Public Landing Enhancements
========================================== */


/* =========================
   HEADER ACTIONS
========================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}


.client-area-button {
    min-height: 38px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border:
        1px solid
        rgba(var(--accent-rgb), 0.18);

    border-radius: 999px;

    background:
        rgba(var(--accent-rgb), 0.065);

    color: var(--accent);

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.02em;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}


.client-area-button:hover {
    transform:
        translateY(-1px);

    background:
        rgba(var(--accent-rgb), 0.11);

    border-color:
        rgba(var(--accent-rgb), 0.30);

    box-shadow:
        0 12px 34px
        rgba(var(--accent-rgb), 0.07);
}


.client-area-button span {
    font-size: 14px;

    transition:
        transform 180ms ease;
}


.client-area-button:hover span {
    transform:
        translateX(3px);
}


/* =========================
   PUBLIC METRICS
========================= */

.movement-section {
    width:
        min(
            calc(100% - 48px),
            var(--container)
        );

    margin: 0 auto;

    padding:
        115px 0 40px;
}


.movement-header {
    max-width: 760px;
}


.movement-header h2 {
    margin:
        14px 0 18px;

    font-size:
        clamp(
            42px,
            5vw,
            72px
        );

    line-height: 1;

    letter-spacing: -0.055em;

    font-weight: 640;
}


.movement-header h2 span {
    color: var(--text-muted);
}


.movement-header p {
    max-width: 610px;

    margin: 0;

    color: var(--text-soft);

    font-size: 15px;

    line-height: 1.7;
}


.movement-grid {
    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.movement-card {
    min-height: 190px;

    padding: 23px;

    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid var(--border);

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

    background:
        linear-gradient(
            145deg,
            rgba(19, 25, 31, 0.72),
            rgba(12, 16, 20, 0.55)
        );

    transition:
        transform 220ms ease,
        border-color 220ms ease;
}


.movement-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background:
        rgba(var(--accent-rgb), 0.08);

    filter: blur(35px);

    opacity: 0;

    transition:
        opacity 220ms ease;
}


.movement-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(var(--accent-rgb), 0.16);
}


.movement-card:hover::before {
    opacity: 1;
}


.movement-card--accent {
    border-color:
        rgba(var(--accent-rgb), 0.13);

    background:
        linear-gradient(
            145deg,
            rgba(var(--accent-rgb), 0.055),
            rgba(12, 16, 20, 0.65)
        );
}


.movement-card-label {
    position: relative;

    color: var(--text-muted);

    font-size: 9px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.11em;
}


.movement-card strong {
    position: relative;

    margin-top: auto;

    color: var(--text);

    font-size:
        clamp(
            42px,
            4vw,
            61px
        );

    letter-spacing: -0.065em;

    line-height: 0.9;
}


.movement-card--accent strong {
    color: var(--accent);
}


.movement-card-description {
    position: relative;

    margin-top: 13px;

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.45;
}


.movement-footer {
    margin-top: 18px;

    min-height: 48px;

    padding:
        0 15px;

    display: flex;
    align-items: center;

    gap: 9px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.015);

    color: var(--text-muted);

    font-size: 10px;
}


.movement-footer-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px
        rgba(140, 255, 177, 0.6);
}


/* =========================
   COMMERCIAL LABEL
========================= */

.data-live-label {
    width: fit-content;

    margin-top: 20px;

    min-height: 31px;

    padding:
        0 11px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.018);

    color: var(--text-muted);

    font-size: 9px;
}


.data-live-label::before {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 10px
        rgba(140, 255, 177, 0.7);
}


/* =========================
   MOBILE
========================= */

@media (
    max-width: 980px
) {
    .movement-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (
    max-width: 720px
) {
    .header-actions {
        gap: 7px;
    }

    .header-actions
    .header-status {
        display: none;
    }

    .client-area-button {
        min-height: 36px;

        padding:
            0 12px;

        font-size: 9px;
    }

    .movement-section {
        width:
            min(
                calc(100% - 30px),
                var(--container)
            );

        padding:
            80px 0 20px;
    }

    .movement-grid {
        margin-top: 40px;

        grid-template-columns:
            1fr 1fr;

        gap: 9px;
    }

    .movement-card {
        min-height: 155px;

        padding: 17px;
    }

    .movement-card strong {
        font-size: 39px;
    }

    .movement-card-label {
        font-size: 7px;
    }

    .movement-card-description {
        font-size: 8px;
    }
}


@media (
    max-width: 480px
) {
    .movement-grid {
        grid-template-columns:
            1fr;
    }

    .movement-card {
        min-height: 145px;
    }
}
