/* ===================================== */
/* BASE */
/* ===================================== */

li {
    font-family: "Manrope", sans-serif;
}

.legalx-container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.legalx-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 70px;
    font-weight: 600;
    color: #0b1620;
    letter-spacing: -0.4px;
}

/* ===================================== */
/* HERO */
/* ===================================== */

.legalx-hero {
    background:
        radial-gradient(circle at 85% 40%, rgba(31, 111, 255, .18), transparent 40%),
        linear-gradient(120deg, #0a1622, #0f2233 55%, #0c1f2e);
    color: #fff;
    padding: 150px 0 120px;
    position: relative;
}

.legalx-hero::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a4158, transparent);
    margin-top: 80px;
}

.legalx-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.legalx-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 18px;
    color: #7fb3ff;
    font-weight: 600;
}

.legalx-hero h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.legalx-hero p {
    font-size: 18px;
    opacity: .9;
    max-width: 540px;
}

.legalx-cta-row {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legalx-btn-primary {
    background: #1f6fff;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

.legalx-btn-primary:hover {
    background: #3d82ff;
    transform: translateY(-1px);
}

.legalx-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
}

.legalx-btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
}

.legalx-hero-panel {
    display: flex;
    justify-content: flex-end;
}

.legalx-panel-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    padding: 28px 32px;
    border-radius: 14px;
    display: grid;
    gap: 10px;
    backdrop-filter: blur(10px);
    min-width: 260px;
}

.legalx-panel-card div {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.legalx-panel-card div:last-child {
    border-bottom: none;
}

/* ===================================== */
/* PILLARS */
/* ===================================== */

.legalx-pillars {
    padding: 120px 0;
    background: linear-gradient(#f7f9fc, #eef3f8);
}

.legalx-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.legalx-pillar {
    background: #fff;
    padding: 36px 34px;
    border-radius: 16px;
    border: 1px solid #e4ebf2;
    transition: .28s;
    position: relative;
    overflow: hidden;
}

.legalx-pillar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #1f6fff, #4da3ff);
}

.legalx-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 38, 74, .10);
}

.legalx-pillar h3 {
    margin-bottom: 18px;
    font-size: 19px;
    text-align: center;
    color: #0e1e2d;
    font-weight: 600;
}

.legalx-pillar ul {
    padding-left: 18px;
    line-height: 1.9;
    color: #44525f;
    font-size: 15.5px;
}

/* ===================================== */
/* COMPARE TABLE */
/* ===================================== */

.legalx-compare {
    padding: 110px 0;
}

.legalx-table {
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    overflow: hidden;
}

.legalx-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.legalx-row div {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f6;
    font-size: 15px;
}

.legalx-row:last-child div {
    border-bottom: none;
}

.legalx-head {
    background: #f2f6fa;
    font-weight: 600;
    color: #0f1f2e;
}

/* ===================================== */
/* COMPLIANCE */
/* ===================================== */

.legalx-compliance {
    padding: 120px 0;
    background: linear-gradient(120deg, #0c1a26, #0f2233 60%, #0c1f2e);
    color: #fff;
    position: relative;
}

.legalx-compliance::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 40%, rgba(77, 163, 255, .12), transparent 45%);
}

.legalx-compliance-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.legalx-compliance h2 {
    font-size: 34px;
    margin-bottom: 18px;
    color: #fff;
}

.legalx-compliance p {
    font-size: 17px;
    opacity: .9;
    max-width: 520px;
}

.legalx-checklist {
    list-style: none;
    padding: 28px 32px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.legalx-checklist li {
    padding-left: 30px;
    margin-bottom: 16px;
    position: relative;
}

.legalx-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4da3ff;
    font-weight: 700;
}

/* ===================================== */
/* USE CASES */
/* ===================================== */

.legalx-usecases {
    padding: 120px 0;
    background: linear-gradient(#eef3f8, #e6edf5);
}

.legalx-usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.legalx-usecase {
    background: #fff;
    padding: 30px 28px;
    border-radius: 14px;
    border: 1px solid #dde6ef;
    transition: .28s;
}

.legalx-usecase:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(16, 38, 74, .10);
}

.legalx-usecase h4 {
    margin: 0 0 8px;
    font-size: 17.5px;
}

.legalx-usecase p {
    margin: 0;
    color: #4a5a69;
    font-size: 15.5px;
}

/* ===================================== */
/* CTA */
/* ===================================== */

.legalx-cta {
    padding: 110px 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(31, 111, 255, .18), transparent 45%),
        linear-gradient(120deg, #081521, #0d2336 60%, #0a1c2b);
    color: #fff;
    text-align: center;
}

.legalx-cta-box {
    max-width: 720px;
    margin: auto;
}

.legalx-cta-box h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff;
}

.legalx-cta-box p {
    font-size: 17px;
    opacity: .9;
    margin-bottom: 30px;
}

.legalx-cta .legalx-btn-primary {
    padding: 16px 32px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(31, 111, 255, .35);
}
.legalx-section-subtitle{
    margin-bottom: 20px;
    margin-top: -20px;
}
/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

/* ---------- TABLET ---------- */
@media (max-width:1024px) {

    .legalx-hero-grid,
    .legalx-compliance-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legalx-hero-panel {
        justify-content: center;
    }

    .legalx-pillar-grid {
        grid-template-columns: 2fr;
    }

    .legalx-usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legalx-row div {
        padding: 16px;
        font-size: 14px;
    }

    .legalx-pillars,
    .legalx-compliance,
    .legalx-usecases,
    .legalx-cta,
    .legalx-compare {
        padding: 90px 0;
    }
    .legalx-section-title{
   
    margin-bottom: 20px !important;
}
}

/* ===== HERO TABLET FIX ===== */
@media (max-width:900px) {

    .legalx-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .legalx-hero-panel {
        justify-content: center;
    }

    .legalx-panel-card {
        min-width: unset;
        width: 100%;
        max-width: 420px;
        margin: auto;
    }

    .legalx-hero p {
        margin-inline: auto;
        max-width: 100%;
        letter-spacing: normal;
    }

    .legalx-cta-row {
        justify-content: center;
    }

    .legalx-pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legalx-usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legalx-compliance p {
        max-width: 100%;
    }

    .legalx-eyebrow {
        font-size: 25px;
    }

    .legalx-section-subtitle {
        margin-bottom: 20px;
        font-size: 20px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width:678px) {

    .legalx-hero {
        padding: 120px 0 90px;
    }

    .legalx-hero h1 {
        font-size: 32px;
    }

    .legalx-section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .legalx-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .legalx-pillar-grid {
        grid-template-columns: 1fr;
    }

    .legalx-usecase-grid {
        grid-template-columns: 1fr;
    }

    /* compare → cards */
    .legalx-table {
        border: none;
    }

    .legalx-head {
        display: none;
    }

    .legalx-row {
        grid-template-columns: 1fr;
        border: 1px solid #e5eaf0;
        border-radius: 12px;
        margin-bottom: 18px;
        overflow: hidden;
        background: #fff;
    }

    .legalx-row div {
        padding: 14px 16px;
        font-size: 14px;
    }

    .legalx-row div:nth-child(1) {
        background: #f6f9fc;
        font-weight: 600;
    }

    .legalx-row div:nth-child(2)::before {
        content: "Generic IT Providers: ";
        font-weight: 600;
        color: #6b7a8c;
    }

    .legalx-row div:nth-child(3)::before {
        content: "VMIT Legal Infrastructure: ";
        font-weight: 600;
        color: #0f1f2e;
    }

    .legalx-pillars,
    .legalx-compliance,
    .legalx-usecases,
    .legalx-cta,
    .legalx-compare {
        padding: 80px 0;
    }
}

/* ---------- SMALL PHONE ---------- */
@media (max-width:480px) {

    .legalx-hero h1 {
        font-size: 25px;
        font-weight: 500;
    }

    .legalx-cta-box h2,
    .legalx-compliance h2 {
        font-size: 24px;
    }

    .legalx-hero p{
        font-size: 15px;
        letter-spacing: normal;
        text-align: justify;
    }

    .legalx-section-title {
        font-size: 15px;
    }


}