/* assets/css/privacy-policy.css - High Readability & Contrast */

.legal-hero {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    color: #0F172A;
    padding: 140px 20px 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
}

.legal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.legal-hero-bg .orb-1 {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.legal-hero-bg .orb-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.legal-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    color: #2563EB;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.legal-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0F172A;
}

.legal-hero-subtitle {
    font-size: 1.125rem;
    color: #475569;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.legal-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    font-size: 0.875rem;
    color: #64748B;
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}

.legal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748B;
}

.legal-meta-item strong {
    color: #334155;
    font-weight: 700;
}

.legal-meta-item i {
    color: #10B981;
}

/* Layout Main Content */
.legal-main {
    background-color: #F8FAFC;
    padding: 60px 20px;
}

.legal-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar TOC */
.legal-toc-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.legal-toc-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.legal-toc-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.4;
    font-weight: 500;
}

.legal-toc-link:hover {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.06);
}

.legal-toc-link.active {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.1);
    font-weight: 700;
}

/* Article Document */
.legal-document {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
}

.legal-section {
    margin-bottom: 48px;
    scroll-margin-top: 110px;
}

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

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F1F5F9;
}

.legal-section-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
    color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.legal-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.legal-document p {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 16px;
}

.legal-document ul, .legal-document ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-document li {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 8px;
}

.legal-document strong {
    color: #0F172A;
    font-weight: 700;
}

.legal-subheading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0F172A;
    margin: 24px 0 12px 0;
}

/* Callout & Notice Boxes */
.legal-notice-box {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid #2563EB;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.legal-notice-box.warning {
    background: rgba(245, 158, 11, 0.06);
    border-left-color: #F59E0B;
}

.legal-notice-box.success {
    background: rgba(16, 185, 129, 0.06);
    border-left-color: #10B981;
}

.legal-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

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

.owner-action-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    border: 1px dashed #F59E0B;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .legal-layout-container {
        grid-template-columns: 1fr;
    }
    
    .legal-toc-card {
        display: none;
    }

    .legal-document {
        padding: 32px 24px;
    }

    .legal-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .legal-hero {
        padding: 120px 16px 40px;
    }

    .legal-document {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .legal-section-title {
        font-size: 1.25rem;
    }
}
