/* =========================================================
   LEGAL / TERMS PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.legal-hero {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 75px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(11, 92, 255, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(92, 72, 255, 0.06),
            transparent 25%
        ),
        #f8fafc;
}

.legal-hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(11,92,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(11,92,255,0.035) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 75%
        );
}

.legal-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.legal-glow-one {
    width: 500px;
    height: 500px;

    top: -280px;
    right: -80px;

    background:
        radial-gradient(
            circle,
            rgba(11,92,255,0.12),
            transparent 68%
        );
}

.legal-glow-two {
    width: 300px;
    height: 300px;

    bottom: -200px;
    left: 15%;

    background:
        radial-gradient(
            circle,
            rgba(87,66,225,0.07),
            transparent 68%
        );
}

.legal-hero-content {
    max-width: 850px;

    padding: 85px 0;
}

.legal-hero-content h1 {
    margin: 18px 0 22px;

    font-size: clamp(
        4rem,
        8vw,
        6.5rem
    );

    line-height: 0.92;

    letter-spacing: -0.075em;
}

.legal-hero-content p {
    max-width: 600px;

    margin-bottom: 25px;

    color: #7a8798;

    font-size: 16px;
    line-height: 1.8;
}

.legal-updated {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border:
        1px solid rgba(16,24,40,0.07);

    border-radius: 999px;

    color: #7c899a;

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

    backdrop-filter: blur(10px);

    font-size: 10px;
    font-weight: 700;
}

.legal-updated i {
    color: var(--primary);
}


/* =========================================================
   CONTENT AREA
========================================================= */

.legal-content-section {
    padding: 100px 0 130px;

    background: #ffffff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.legal-sidebar {
    position: sticky;

    top: 100px;

    padding: 22px;

    border:
        1px solid rgba(16,24,40,0.06);

    border-radius: 20px;

    background:
        rgba(248,250,252,0.75);

    backdrop-filter: blur(12px);
}

.legal-sidebar-title {
    margin-bottom: 15px;

    color: #9aa5b4;

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

    letter-spacing: 0.14em;
}

.legal-sidebar a {
    display: block;

    padding: 8px 0;

    color: #738194;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.legal-sidebar a:hover {
    color: var(--primary);

    transform: translateX(3px);
}


/* =========================================================
   DOCUMENT
========================================================= */

.legal-document {
    max-width: 850px;
}

.legal-introduction {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-bottom: 70px;
    padding: 23px;

    border:
        1px solid rgba(11,92,255,0.08);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #ffffff
        );
}

.legal-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border-radius: 13px;

    color: var(--primary);

    background:
        rgba(11,92,255,0.07);
}

.legal-introduction span {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

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

    letter-spacing: 0.13em;
}

.legal-introduction p {
    margin: 0;

    color: #6f7d8f;

    font-size: 12px;
    line-height: 1.85;
}


/* =========================================================
   SECTIONS
========================================================= */

.legal-section {
    position: relative;

    margin-bottom: 65px;
    padding-left: 65px;
}

.legal-section-number {
    position: absolute;

    top: 2px;
    left: 0;

    color: #d4dce6;

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

.legal-section h2 {
    margin-bottom: 17px;

    color: #172033;

    font-size: 27px;

    letter-spacing: -0.045em;
}

.legal-section p {
    margin-bottom: 15px;

    color: #718094;

    font-size: 14px;
    line-height: 1.95;
}

.legal-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LIST
========================================================= */

.legal-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;

    margin: 20px 0;

    padding: 0;

    list-style: none;
}

.legal-list li {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 11px 12px;

    border:
        1px solid rgba(16,24,40,0.05);

    border-radius: 10px;

    color: #66758a;

    background: #fafbfd;

    font-size: 12px;
}

.legal-list i {
    color: var(--primary);

    font-size: 12px;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.legal-highlight {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 25px;
    padding: 18px;

    border:
        1px solid rgba(11,92,255,0.08);

    border-radius: 15px;

    background:
        rgba(11,92,255,0.035);
}

.legal-highlight > i {
    color: var(--primary);

    font-size: 17px;
}

.legal-highlight strong {
    display: block;

    margin-bottom: 4px;

    color: #344054;

    font-size: 13px;
}

.legal-highlight p {
    margin: 0;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.legal-contact-btn {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 10px;
    padding: 11px 15px;

    border-radius: 11px;

    color: #ffffff;

    background: var(--primary);

    text-decoration: none;

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

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

.legal-contact-btn:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(11,92,255,0.18);
}


/* =========================================================
   FINAL SEBI NOTICE
========================================================= */

.legal-final-notice {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-top: 80px;
    padding: 25px;

    border-radius: 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #071a38,
            #0b5cff
        );

    box-shadow:
        0 20px 50px rgba(11,92,255,0.12);
}

.legal-final-notice > i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 12px;

    color: #ffffff;

    background:
        rgba(255,255,255,0.10);
}

.legal-final-notice strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 10px;
}

.legal-final-notice p {
    max-width: 700px;

    margin: 0;

    color: #a9bddc;

    font-size: 9px;
    line-height: 1.75;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .legal-sidebar {
        position: static;

        margin-bottom: 10px;
    }

    .legal-sidebar a {
        display: inline-block;

        margin-right: 15px;
    }

    .legal-document {
        max-width: none;
    }

}


@media (max-width: 767.98px) {

    .legal-hero {
        min-height: 400px;
    }

    .legal-hero-content {
        padding: 70px 0;
    }

    .legal-hero-content h1 {
        font-size: 3.6rem;
    }

    .legal-content-section {
        padding: 75px 0 100px;
    }

    .legal-section {
        padding-left: 45px;

        margin-bottom: 50px;
    }

    .legal-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575.98px) {

    .legal-hero-content h1 {
        font-size: 3.1rem;
    }

    .legal-hero-content p {
        font-size: 13px;
    }

    .legal-sidebar {
        padding: 17px;
    }

    .legal-sidebar a {
        padding: 6px 0;

        margin-right: 10px;

        font-size: 7px;
    }

    .legal-introduction {
        padding: 18px;
    }

    .legal-section {
        padding-left: 0;
    }

    .legal-section-number {
        position: static;

        margin-bottom: 8px;

        color: var(--primary);
    }

    .legal-section h2 {
        font-size: 23px;
    }

    .legal-final-notice {
        padding: 20px;
    }

}