/* ==========================================================
   PRIVACY POLICY — COMPLETE REDESIGN
   Editorial dark-hero + clean white content layout
   ========================================================== */

/* ---------- Hero ---------- */
.privacy-hero {
    background: #0a0f2e;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 5% 50%, rgba(43, 56, 144, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 95% 20%, rgba(0, 173, 239, 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.privacy-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 110px 40px 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.privacy-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 173, 239, 0.12);
    border: 1px solid rgba(0, 173, 239, 0.3);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00ADEF;
}

.privacy-hero-label span.hero-dot {
    width: 6px;
    height: 6px;
    background: #00ADEF;
    border-radius: 50%;
    display: inline-block;
    animation: pp-pulse 2s ease-in-out infinite;
}

@keyframes pp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.privacy-hero h1 {
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -2px;
    max-width: 700px;
}

.privacy-hero h1 em {
    font-style: normal;
    color: #00ADEF;
}

.privacy-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.privacy-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}

.privacy-meta-item svg {
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.privacy-meta-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.15);
}

/* ---------- Page Body ---------- */
.privacy-page-body {
    background: #f4f6fb;
    padding: 80px 0 100px;
}

.privacy-page-body .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* ---------- Sidebar TOC ---------- */
.pp-sidebar {
    position: sticky;
    top: 100px;
}

.pp-toc-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecf4;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(10,15,46,0.06);
}

.pp-toc-header {
    background: linear-gradient(135deg, #0a0f2e 0%, #1a2460 100%);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-toc-icon {
    width: 32px;
    height: 32px;
    background: rgba(0,173,239,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-toc-icon svg {
    color: #00ADEF;
}

.pp-toc-header-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1.2;
}

.pp-toc-header-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin: 2px 0 0 0;
    line-height: 1;
}

.pp-toc-body {
    padding: 16px 12px;
}

.pp-toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pp-toc-list li {
    padding: 0 !important;
}

.pp-toc-list li::before {
    display: none !important;
}

.pp-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #555e7a;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    border: 1px solid transparent;
}

.pp-toc-num {
    width: 22px;
    height: 22px;
    background: #f0f3fb;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #8892b0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.pp-toc-link:hover {
    color: #2B3890;
    background: #f0f3fb;
    border-color: #e2e8f8;
}

.pp-toc-link:hover .pp-toc-num {
    background: #2B3890;
    color: #fff;
}

.pp-toc-link.active {
    color: #2B3890;
    background: linear-gradient(90deg, rgba(43,56,144,0.07) 0%, rgba(0,173,239,0.04) 100%);
    border-color: rgba(43,56,144,0.15);
    font-weight: 600;
}

.pp-toc-link.active .pp-toc-num {
    background: #2B3890;
    color: #fff;
}

/* ---------- Main Content Area ---------- */
.pp-main-col {
    display: flex;
    flex-direction: column;
    min-width: 0; /* prevent grid blowout */
}

.pp-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pp-intro-card {
    background: linear-gradient(135deg, #0a0f2e 0%, #1e2860 100%);
    border-radius: 20px;
    padding: 40px 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.pp-intro-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,173,239,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pp-intro-card p {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,0.78);
    position: relative;
    z-index: 1;
    margin: 0;
}

.pp-intro-card p strong {
    color: #00ADEF;
    font-weight: 700;
}

/* ---------- Section Card ---------- */
.pp-section {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecf4;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10,15,46,0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    scroll-margin-top: 130px;
}

.pp-section:hover {
    box-shadow: 0 12px 48px rgba(10,15,46,0.1);
    transform: translateY(-2px);
}

.pp-section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 32px 40px 0;
}

.pp-section-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0a0f2e 0%, #2B3890 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-top: 2px;
}

.pp-section-title-wrap {
    flex: 1;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f3fb;
}

.pp-section h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0a0f2e !important;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin: 0 !important;
}

.pp-section-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #00ADEF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Content inside section */
.pp-section-body {
    padding: 28px 40px 36px 102px; /* 40px left + 44px num + 18px gap = 102px */
}

.pp-section-body p {
    font-size: 15px;
    line-height: 1.85;
    color: #4a5275;
    margin-bottom: 16px;
}

.pp-section-body p:last-child {
    margin-bottom: 0;
}

.pp-section-body h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a2460 !important;
    margin: 24px 0 12px 0 !important;
    letter-spacing: -0.2px;
}

/* Lists */
.pp-section-body ul,
.pp-section-body ol {
    padding: 0 !important;
    margin: 8px 0 20px 0 !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-section-body ul li,
.pp-section-body ol li {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5275;
    padding: 10px 16px 10px 42px !important;
    position: relative;
    background: #f7f9fd;
    border-radius: 10px;
    border: 1px solid #eef1f9;
    list-style: none !important;
}

.pp-section-body ul li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #2B3890, #00ADEF);
    border-radius: 50%;
}

.pp-section-body ol {
    counter-reset: pp-counter;
}

.pp-section-body ol li {
    counter-increment: pp-counter;
}

.pp-section-body ol li::before {
    content: counter(pp-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #2B3890;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Contact Section ---------- */
.pp-contact-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecf4;
    box-shadow: 0 4px 24px rgba(10,15,46,0.04);
    overflow: hidden;
    margin-top: 20px;
    scroll-margin-top: 130px;
}

.pp-contact-header {
    background: linear-gradient(135deg, #2B3890 0%, #00ADEF 100%);
    padding: 32px 40px;
}

.pp-contact-header h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.4px;
}

.pp-contact-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.5;
}

.pp-contact-body {
    padding: 32px 40px;
}

.pp-contact-body > p {
    font-size: 15px;
    color: #4a5275;
    line-height: 1.8;
    margin-bottom: 24px;
}

.pp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pp-contact-item {
    background: #f7f9fd;
    border: 1px solid #eef1f9;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.pp-contact-item:hover {
    border-color: #c8d3f0;
    background: #eff2fc;
}

.pp-contact-item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0a0f2e 0%, #2B3890 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.pp-contact-item-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8892b0;
    margin-bottom: 4px;
}

.pp-contact-item-text span,
.pp-contact-item-text a {
    font-size: 14px;
    font-weight: 600;
    color: #1a2460;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pp-contact-item-text a:hover {
    color: #00ADEF;
}

/* ---------- Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .privacy-grid {
        grid-template-columns: 230px 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pp-sidebar {
        position: static;
        display: none; /* hide TOC on mobile */
    }

    .privacy-hero-inner {
        padding: 80px 24px 60px;
    }

    .pp-section-body {
        padding: 24px 28px 32px;
    }

    .pp-section-header {
        padding: 28px 28px 0;
    }
}

@media (max-width: 640px) {
    .privacy-hero h1 {
        letter-spacing: -1px;
    }

    .privacy-page-body .container,
    .privacy-hero-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pp-intro-card {
        padding: 28px 24px;
    }

    .pp-section-header {
        padding: 22px 22px 0;
        flex-direction: column;
        gap: 12px;
    }

    .pp-section-body {
        padding: 20px 22px 28px;
    }

    .pp-contact-header,
    .pp-contact-body {
        padding: 24px 22px;
    }

    .pp-contact-grid {
        grid-template-columns: 1fr;
    }

    .privacy-hero-meta {
        gap: 12px;
    }

    .privacy-meta-divider {
        display: none;
        padding: 22px 22px 0;
        flex-direction: column;
        gap: 12px;
    }

    .pp-section-body {
        padding: 20px 22px 28px;
    }

    .pp-contact-header,
    .pp-contact-body {
        padding: 24px 22px;
    }

    .pp-contact-grid {
        grid-template-columns: 1fr;
    }

    .privacy-hero-meta {
        gap: 12px;
    }

    .privacy-meta-divider {
        display: none;
    }
}
