/* =========================================================
   CONSUVERI MARKET INTELLIGENCE 2.0
   ========================================================= */

.cvem-page {
    --cvem-navy: #06172c;
    --cvem-blue: #176de0;
    --cvem-cyan: #19b9db;
    --cvem-green: #19bd91;
    --cvem-text: #10233e;
    --cvem-muted: #728198;
    --cvem-border: rgba(19, 61, 110, 0.11);
}

.cvem-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(32, 133, 242, 0.42),
            transparent 34%
        ),
        radial-gradient(
            circle at 98% 92%,
            rgba(22, 194, 151, 0.27),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #041326,
            #092e62 62%,
            #075d69
        );
    box-shadow:
        0 26px 60px rgba(5, 27, 57, 0.2);
    color: #ffffff;
}

.cvem-hero::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -80px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(255, 255, 255, 0.025),
        0 0 0 96px rgba(255, 255, 255, 0.018);
}

.cvem-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, 0.7fr);
    gap: 28px;
    align-items: center;
}

.cvem-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #61e5c6;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cvem-kicker i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #42e3b8;
    box-shadow: 0 0 0 7px rgba(66, 227, 184, 0.12);
}

.cvem-hero h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.cvem-hero h1 strong {
    display: block;
    color: #82b9ff;
}

.cvem-hero p {
    max-width: 700px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.65;
}

.cvem-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.cvem-button {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cvem-button:hover {
    transform: translateY(-2px);
}

.cvem-button-primary {
    background:
        linear-gradient(
            135deg,
            #2588f5,
            #19c09b
        );
    box-shadow:
        0 13px 26px rgba(29, 160, 209, 0.25);
    color: #ffffff;
}

.cvem-button-outline {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cvem-engine-status {
    position: relative;
    z-index: 2;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 21px;
    background: rgba(3, 19, 42, 0.56);
    backdrop-filter: blur(12px);
}

.cvem-engine-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cvem-engine-head strong {
    font-size: 0.98rem;
}

.cvem-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #62dfbf;
    font-size: 0.69rem;
    font-weight: 850;
    text-transform: uppercase;
}

.cvem-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39dfb3;
    box-shadow: 0 0 0 6px rgba(57, 223, 179, 0.1);
}

.cvem-engine-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.cvem-engine-row span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.cvem-engine-row strong {
    color: #ffffff;
    font-size: 0.87rem;
    text-align: right;
}

.cvem-metrics {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.cvem-metric {
    position: relative;
    overflow: hidden;
    min-height: 156px;
    padding: 22px;
    border: 1px solid var(--cvem-border);
    border-radius: 21px;
    background: #ffffff;
    box-shadow:
        0 15px 38px rgba(25, 54, 93, 0.075);
}

.cvem-metric::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(34, 124, 236, 0.05);
}

.cvem-metric-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 13px;
    background: #edf5ff;
    font-size: 1.12rem;
}

.cvem-metric small {
    display: block;
    color: var(--cvem-muted);
    font-weight: 750;
}

.cvem-metric strong {
    display: block;
    margin-top: 3px;
    color: var(--cvem-text);
    font-size: 2.25rem;
    line-height: 1;
}

.cvem-metric em {
    display: block;
    margin-top: 10px;
    color: #8795a8;
    font-size: 0.72rem;
    font-style: normal;
}

.cvem-filter-card,
.cvem-content-card {
    margin-bottom: 24px;
    border: 1px solid var(--cvem-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 16px 42px rgba(24, 54, 91, 0.065);
}

.cvem-filter-card {
    padding: 21px;
}

.cvem-content-card {
    overflow: hidden;
}

.cvem-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 23px 25px;
    border-bottom: 1px solid var(--cvem-border);
}

.cvem-card-head h2 {
    margin: 0;
    color: var(--cvem-text);
    font-size: 1.3rem;
    font-weight: 850;
}

.cvem-card-head p {
    margin: 5px 0 0;
    color: var(--cvem-muted);
    font-size: 0.82rem;
}

.cvem-empty {
    display: grid;
    min-height: 350px;
    place-items: center;
    padding: 50px 24px;
    text-align: center;
}

.cvem-empty-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 23px;
    background:
        linear-gradient(
            145deg,
            #eaf3ff,
            #e8fbf5
        );
    font-size: 2.15rem;
}

.cvem-empty h3 {
    color: var(--cvem-text);
    font-size: 1.35rem;
    font-weight: 850;
}

.cvem-empty p {
    max-width: 590px;
    margin: 10px auto 22px;
    color: var(--cvem-muted);
    line-height: 1.55;
}

.cvem-market-note {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.cvem-note-item {
    padding: 19px;
    border: 1px solid var(--cvem-border);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbff
        );
}

.cvem-note-item small {
    display: block;
    margin-bottom: 7px;
    color: #2582d7;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cvem-note-item strong {
    display: block;
    color: var(--cvem-text);
    font-size: 0.94rem;
}

.cvem-note-item span {
    display: block;
    margin-top: 6px;
    color: var(--cvem-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.cvem-table {
    margin: 0;
}

.cvem-table thead th {
    padding: 15px 17px;
    border: 0;
    background: #f5f8fc;
    color: #728198;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cvem-table tbody td {
    padding: 17px;
    border-color: #edf1f6;
    color: #42526a;
    font-size: 0.82rem;
}

@media (max-width: 1100px) {
    .cvem-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .cvem-market-note {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .cvem-hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cvem-hero {
        padding: 27px 20px;
        border-radius: 21px;
    }

    .cvem-metrics {
        grid-template-columns: 1fr;
    }

    .cvem-button {
        width: 100%;
    }
}
