/* =========================================================
   BUZZERBAIK - LEGAL PAGES (PRIVACY POLICY & TERMS)
   Modern Glassmorphism & Gradient Design System
   ========================================================= */

.bb-legal-hero {
    position: relative;
    padding: 85px 0 55px;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, .12), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(124, 58, 237, .12), transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(6, 182, 212, .08), transparent 40%),
        #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    text-align: center;
}

.bb-legal-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #64748b;
}

.bb-legal-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.bb-legal-breadcrumb a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.bb-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.bb-legal-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.bb-legal-title strong {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bb-legal-subtitle {
    max-width: 720px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
}

.bb-legal-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.bb-legal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* MAIN LAYOUT */
.bb-legal-section {
    padding: 60px 0 90px;
    background: #ffffff;
}

.bb-legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* STICKY TOC SIDEBAR */
.bb-legal-sidebar {
    position: sticky;
    top: 100px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, .03);
}

.bb-legal-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bb-legal-toc-list a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease;
}

.bb-legal-toc-list a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, .08);
    padding-left: 16px;
}

.bb-legal-toc-list a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, .12);
    font-weight: 600;
}

.bb-legal-sidebar-switch {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #64748b;
}

.bb-legal-sidebar-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    margin-top: 6px;
}

.bb-legal-sidebar-switch a:hover {
    text-decoration: underline;
}

/* CONTENT BODY */
.bb-legal-content {
    background: #ffffff;
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}

.bb-legal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .03);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bb-legal-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.bb-legal-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    scroll-margin-top: 110px;
}

.bb-legal-card h2 .bb-sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}

.bb-legal-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 22px 0 10px;
}

.bb-legal-card p {
    margin: 0 0 14px;
    color: #475569;
}

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

.bb-legal-card ul, .bb-legal-card ol {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #475569;
}

.bb-legal-card li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.bb-legal-card strong {
    color: #0f172a;
    font-weight: 600;
}

/* CALLOUTS / ALERTS */
.bb-legal-alert {
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.65;
}

.bb-legal-alert-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.bb-legal-alert-shield {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #831843;
}

.bb-legal-alert-shield strong {
    color: #9d174d;
}

.bb-legal-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.bb-legal-alert-warning strong {
    color: #b45309;
}

.bb-legal-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.bb-legal-alert-info strong {
    color: #1d4ed8;
}

/* CONTACT BOX */
.bb-legal-contact-box {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-top: 36px;
}

.bb-legal-contact-box h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.bb-legal-contact-box p {
    color: #cbd5e1;
    margin-bottom: 18px;
    font-size: 14.5px;
}

.bb-legal-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bb-legal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .4);
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .bb-legal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bb-legal-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .bb-legal-hero {
        padding: 60px 0 40px;
    }

    .bb-legal-card {
        padding: 22px 18px;
    }

    .bb-legal-card h2 {
        font-size: 18px;
    }
}

