/* ─── Privacy Page Hero ─── */
.privacy-hero {
    background: linear-gradient(135deg, #013B2F 0%, #025c47 50%, #013B2F 100%);
    position: relative;
    overflow: hidden;
}
.privacy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 151, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.privacy-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 200, 151, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Table of Contents ─── */
.toc-nav {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00C897 transparent;
}
.toc-nav::-webkit-scrollbar {
    width: 3px;
}
.toc-nav::-webkit-scrollbar-track {
    background: transparent;
}
.toc-nav::-webkit-scrollbar-thumb {
    background: #00C897;
    border-radius: 2px;
}
.toc-link {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: #6B7280;
    border-left: 2px solid #E5E7EB;
    transition: all 0.2s;
    line-height: 1.4;
    text-decoration: none;
}
.toc-link:hover {
    color: #00C897;
    border-left-color: #00C897;
    background: rgba(0, 200, 151, 0.05);
}
.toc-link.active {
    color: #00C897;
    border-left-color: #00C897;
    font-weight: 600;
    background: rgba(0, 200, 151, 0.08);
}

/* ─── Policy Section Cards ─── */
.policy-section {
    background: #fff;
    border: 1px solid #F3F4F6;
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 100px;
    transition: box-shadow 0.2s;
}
.policy-section:hover {
    box-shadow: 0 4px 24px rgba(1, 59, 47, 0.06);
}
.policy-section-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background: rgba(0, 200, 151, 0.1);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.policy-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #013B2F;
    margin-bottom: 1rem;
}
.policy-section p,
.policy-section li {
    color: #6B7280;
    line-height: 1.75;
    font-size: 0.9375rem;
}
.policy-section p + p {
    margin-top: 0.875rem;
}
.policy-section ul,
.policy-section ol {
    margin: 0.875rem 0;
    padding-left: 1.5rem;
    space-y: 0.5rem;
}
.policy-section li {
    margin-bottom: 0.5rem;
    position: relative;
}
.policy-section ul li::marker {
    color: #00C897;
}
.policy-section strong {
    color: #111827;
    font-weight: 600;
}

/* ─── Highlight Box ─── */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 200, 151, 0.08) 0%, rgba(0, 200, 151, 0.04) 100%);
    border: 1px solid rgba(0, 200, 151, 0.2);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.highlight-box p {
    margin: 0 !important;
    color: #013B2F !important;
    font-weight: 500;
}

/* ─── Last Updated Badge ─── */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 2rem;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
}
.last-updated .dot {
    width: 6px;
    height: 6px;
    background: #00C897;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ─── Section Number Badge ─── */
.section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    background: #013B2F;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    margin-right: 0.625rem;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ─── CTA Banner ─── */
.privacy-cta {
    background: linear-gradient(135deg, #013B2F, #025c47);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.privacy-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 151, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Mobile TOC Toggle ─── */
.toc-mobile {
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}
.toc-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #F8F4EF;
    cursor: pointer;
    user-select: none;
}
.toc-mobile-body {
    display: none;
    padding: 0.75rem 0;
    background: #fff;
}
.toc-mobile-body.open {
    display: block;
}
.toc-mobile-body .toc-link {
    border-left: none;
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #F9FAFB;
}
.toc-mobile-body .toc-link:last-child {
    border-bottom: none;
}

/* ─── Responsive adjustments ─── */
@media (max-width: 1023px) {
    .policy-section {
        padding: 1.5rem 1.25rem;
    }
    .policy-section h2 {
        font-size: 1.25rem;
    }
}
@media (max-width: 640px) {
    .policy-section {
        padding: 1.25rem 1rem;
        border-radius: 1rem;
    }
}
