/* =============================================
   LEGAL PAGES STYLES
   privacy_policy | cookie_policy | terms_of_use
   ============================================= */

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, #0a4fd4 0%, #1e90ff 50%, #4facfe 100%);
    color: #ffffff !important;
    padding: 75px 20px 65px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



    .page-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
        pointer-events: none;
    }

    .page-banner h1 {
        font-family: 'Outfit', 'Segoe UI', sans-serif !important;
        font-size: 2.6rem !important;
        font-weight: 800 !important;
        margin: 0 0 12px !important;
        letter-spacing: -0.8px;
        color: #ffffff !important;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    }

    .page-banner p {
        font-size: 0.97rem !important;
        color: rgba(255, 255, 255, 0.92) !important;
        margin: 0 !important;
        position: relative;
        z-index: 1;
        font-family: 'Outfit', 'Segoe UI', sans-serif;
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    .page-banner .legal-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.15);
        border: 1.5px solid rgba(255, 255, 255, 0.5);
        color: #ffffff !important;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 5px 18px;
        border-radius: 50px;
        margin-bottom: 18px;
        font-family: 'Outfit', 'Segoe UI', sans-serif;
        position: relative;
        z-index: 1;
        backdrop-filter: blur(4px);
    }

/* ---- Legal Section ---- */
.legal-section {
    padding: 50px 0 80px;
    background: #f0f4f8;
    min-height: 500px;
}

/* ---- Legal Card ---- */
.legal-card {
    background: #fff;
    padding: 48px 52px;
    border-radius: 14px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 4px 28px rgba(13, 110, 253, 0.07), 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
}

    .legal-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0d6efd, #4facfe);
        border-radius: 14px 14px 0 0;
    }

/* ---- Typography ---- */
.legal-intro {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8edf5;
}

.legal-card h2 {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 36px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .legal-card h2::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 18px;
        background: linear-gradient(180deg, #0d6efd, #4facfe);
        border-radius: 4px;
        flex-shrink: 0;
    }


.legal-card h3 {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 22px;
    margin-bottom: 8px;
}

.legal-card p {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 0.93rem;
    line-height: 1.78;
    color: #555e6c;
    margin-bottom: 12px;
}

.legal-card ul,
.legal-card ol {
    padding-left: 0;
    margin-bottom: 14px;
    list-style: none;
}

    .legal-card ul li,
    .legal-card ol li {
        font-family: 'Outfit', 'Segoe UI', sans-serif;
        font-size: 0.92rem;
        line-height: 1.78;
        color: #555e6c;
        margin-bottom: 7px;
        padding-left: 20px;
        position: relative;
    }

        .legal-card ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 9px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0d6efd, #4facfe);
        }

.legal-card ol {
    counter-reset: legal-ol;
}

    .legal-card ol li {
        counter-increment: legal-ol;
    }

        .legal-card ol li::before {
            content: counter(legal-ol) '.';
            position: absolute;
            left: 0;
            top: 0;
            font-weight: 700;
            color: #0d6efd;
            font-size: 0.87rem;
        }

/* Highlight note */
.legal-note {
    background: #eef5ff;
    border-left: 4px solid #0d6efd;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 0.9rem;
    color: #2d4a7a;
    line-height: 1.65;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
}

/* Section divider */
.legal-divider {
    border: none;
    border-top: 1px solid #e8edf5;
    margin: 36px 0 0;
}

/* ---- Header login alignment fix ---- */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    background: #1e3a5f;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 25px;
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    transition: background 0.2s;
}

    .login-btn:hover {
        background: #0d6efd;
        color: #fff !important;
    }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .header-right {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 44px 16px;
    }

        .page-banner h1 {
            font-size: 1.75rem;
        }

    .legal-section {
        padding: 32px 0 56px;
    }

    .legal-card {
        padding: 28px 20px;
        border-radius: 10px;
    }

        .legal-card h2 {
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    .page-banner h1 {
        font-size: 1.45rem;
    }

    .legal-card {
        padding: 20px 14px;
    }
}
