/* ========================================
   BEXILY PUBLIC UTILITY PAGES
======================================== */
.bex-public-page {
    background: transparent;
}

.bex-public-hero {
    position: relative;
    overflow: hidden;
    padding: 145px 0 76px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.76)),
        url("../../images/tech-bg-2.png") center/cover no-repeat;
}

.bex-public-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.55;
}

.bex-public-hero .container {
    position: relative;
    z-index: 1;
}

.bex-public-kicker {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.2);
    font-weight: 850;
    font-size: 0.82rem;
    margin-bottom: 15px;
}

.bex-public-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.bex-public-hero p {
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
}

.bex-public-section {
    padding: 72px 0;
}

.bex-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bex-public-card,
.bex-legal-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.bex-public-card {
    padding: 24px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.bex-public-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(30, 64, 175, 0.14);
}

.bex-public-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #1e40af, #0f766e);
    margin-bottom: 16px;
}

.bex-public-card h2,
.bex-public-card h3 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.bex-public-card p,
.bex-public-card li,
.bex-legal-card p,
.bex-legal-card li {
    color: #64748b;
    line-height: 1.75;
}

.bex-legal-card {
    padding: clamp(24px, 4vw, 44px);
    max-width: 980px;
    margin: 0 auto;
}

.bex-legal-card h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-top: 26px;
    letter-spacing: 0;
}

.bex-sitemap-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.bex-sitemap-list a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #334155;
    background: #fff;
    text-decoration: none;
    font-weight: 780;
    border: 1px solid #e2e8f0;
}

.bex-thank-you {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 120px 18px 60px;
}

.bex-thank-panel {
    max-width: 720px;
    text-align: center;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 26px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 28px 80px rgba(15,23,42,0.14);
}

.bex-thank-panel i {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #1e40af);
    font-size: 2rem;
}

.bex-thank-panel h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0;
}

.bex-public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 13px;
    color: #fff;
    background: #1e40af;
    text-decoration: none;
    font-weight: 900;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .bex-public-grid,
    .bex-sitemap-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bex-public-grid,
    .bex-sitemap-list {
        grid-template-columns: 1fr;
    }

    .bex-public-hero {
        padding: 118px 0 58px;
    }
}
