/* assets/css/public-privacypolicy.css */

/* ============================================
   1. PAGE SHELL
   ============================================ */
.privacy-section {
    background: var(--sg-surface-alt, #fafaf9);
    min-height: 100vh;
    padding-bottom: 4rem;
}

.privacy-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ============================================
   2. SIDEBAR (Table of Contents)
   ============================================ */
.privacy-sidebar {
    position: relative;
}

.privacy-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.privacy-sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b66;
    margin: 0 0 1rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-sidebar-title i {
    color: #f7941e;
}

.privacy-toc {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.privacy-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #33322e;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}

.privacy-toc-link:hover {
    background: #fff3e1;
    color: #c9720f;
}

.privacy-toc-link.active {
    background: #1a1a1a;
    color: #f7941e;
    font-weight: 600;
}

.privacy-toc-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    opacity: 0.5;
    min-width: 20px;
}

.privacy-toc-link.active .privacy-toc-num {
    opacity: 1;
}

.privacy-sidebar-contact {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fff3e1, #ffe2b8);
    border-radius: 14px;
    text-align: center;
    border: 1px dashed #f7941e;
}

.privacy-sidebar-contact i {
    font-size: 1.5rem;
    color: #c9720f;
    margin-bottom: 0.5rem;
}

.privacy-sidebar-contact p {
    font-size: 0.82rem;
    color: #6b6b66;
    margin: 0 0 0.75rem;
}

.privacy-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    background: #1a1a1a;
    color: #f7941e;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.privacy-contact-link:hover {
    background: #f7941e;
    color: #1a1a1a;
}

/* ============================================
   3. MAIN CONTENT
   ============================================ */
.privacy-main {
    min-width: 0;
}

/* Header Card */
.privacy-header-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-header-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #f7941e;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    top: -100px;
    right: -50px;
}

.privacy-header-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7941e, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.privacy-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin: 0 0 0.75rem;
    position: relative;
    z-index: 1;
}

.privacy-main-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.privacy-header-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.privacy-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.privacy-meta-item i {
    color: #f7941e;
}

/* ============================================
   4. ARTICLE SECTIONS
   ============================================ */
.privacy-article {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 100px;
    transition: box-shadow 0.3s ease;
}

.privacy-article:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.privacy-article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e5e5e5;
}

.privacy-article-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #f7941e;
    line-height: 1;
    opacity: 0.4;
}

.privacy-article-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #1a1a1a;
    margin: 0;
}

.privacy-article-body {
    color: #33322e;
    line-height: 1.8;
    font-size: 0.95rem;
}

.privacy-article-body p {
    margin: 0 0 1rem;
}

.privacy-article-body p:last-child {
    margin-bottom: 0;
}

.privacy-article-body a {
    color: #c9720f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.privacy-article-body a:hover {
    color: #f7941e;
}

/* Subsections */
.privacy-subsection {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f0ee;
}

.privacy-subsection:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.privacy-subsection-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-subsection-title i {
    color: #f7941e;
}

/* Info Grid */
.privacy-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.privacy-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: #fafaf9;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #33322e;
    font-weight: 500;
    border: 1px solid #f1f0ee;
    transition: all 0.2s ease;
}

.privacy-info-item:hover {
    border-color: #f7941e;
    background: #fff3e1;
}

.privacy-info-item i {
    color: #f7941e;
    font-size: 1rem;
}

/* List */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: #fafaf9;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #33322e;
    border-left: 3px solid #f7941e;
}

.privacy-list li i {
    color: #2e7d46;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Info Cards */
.privacy-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.privacy-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fafaf9;
    border-radius: 14px;
    border: 1px solid #f1f0ee;
}

.privacy-info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff3e1, #ffe2b8);
    color: #c9720f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.privacy-info-card strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.privacy-info-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b6b66;
    line-height: 1.6;
}

/* Usage Grid */
.privacy-usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.privacy-usage-item {
    padding: 1.5rem;
    background: #fafaf9;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #f1f0ee;
    transition: all 0.3s ease;
}

.privacy-usage-item:hover {
    border-color: #f7941e;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(247, 148, 30, 0.1);
}

.privacy-usage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #f7941e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.privacy-usage-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.privacy-usage-item p {
    margin: 0;
    font-size: 0.82rem;
    color: #6b6b66;
    line-height: 1.6;
}

/* Third Party */
.privacy-thirdparty-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.privacy-thirdparty-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fafaf9;
    border-radius: 14px;
    border: 1px solid #f1f0ee;
    transition: all 0.2s ease;
}

.privacy-thirdparty-item:hover {
    border-color: #f7941e;
}

.privacy-thirdparty-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.privacy-thirdparty-logo i {
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-thirdparty-content h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    margin: 0 0 0.35rem;
}

.privacy-thirdparty-content p {
    font-size: 0.85rem;
    color: #6b6b66;
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.privacy-thirdparty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #c9720f;
    text-decoration: none;
    transition: all 0.2s ease;
}

.privacy-thirdparty-link:hover {
    color: #f7941e;
    gap: 0.5rem;
}

/* Security Features */
.privacy-security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.25rem 0;
}

.privacy-security-feature {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f5f5f5, #fafaf9);
    border-radius: 14px;
    border: 1px solid #e5e5e5;
}

.privacy-security-feature i {
    font-size: 1.5rem;
    color: #2e7d46;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.privacy-security-feature strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.privacy-security-feature p {
    margin: 0;
    font-size: 0.82rem;
    color: #6b6b66;
    line-height: 1.6;
}

/* Rights Card */
.privacy-rights-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, #e5f3e8, #c8e6d1);
    border-radius: 16px;
    margin: 1.25rem 0;
    border: 1px solid #a5d6b0;
}

.privacy-rights-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #2e7d46;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.privacy-rights-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.privacy-rights-content > p {
    font-size: 0.9rem;
    color: #33322e;
    margin: 0 0 1rem;
}

.privacy-deletion-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-deletion-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #33322e;
}

.privacy-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2e7d46;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.privacy-deletion-step a {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: underline;
}

/* Children Notice */
.privacy-children-notice {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff8e1;
    border-radius: 14px;
    border: 1px solid #ffe082;
}

.privacy-children-notice > i {
    font-size: 2.5rem;
    color: #f57c00;
    flex-shrink: 0;
}

.privacy-children-notice h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.privacy-children-notice p {
    font-size: 0.875rem;
    color: #33322e;
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.privacy-children-notice p:last-child {
    margin-bottom: 0;
}

/* Changes Info */
.privacy-changes-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.privacy-change-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafaf9;
    border-radius: 12px;
    border-left: 3px solid #f7941e;
}

.privacy-change-item i {
    font-size: 1.25rem;
    color: #f7941e;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.privacy-change-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}

.privacy-change-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b6b66;
    line-height: 1.6;
}

/* Contact Grid */
.privacy-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.privacy-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1.5px solid #e5e5e5;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-contact-card:hover:not(.privacy-contact-card--static) {
    border-color: #f7941e;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(247, 148, 30, 0.15);
}

.privacy-contact-card--static {
    cursor: default;
}

.privacy-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #f7941e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.privacy-contact-info {
    flex: 1;
    min-width: 0;
}

.privacy-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b6b66;
    margin-bottom: 0.15rem;
}

.privacy-contact-value {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.privacy-contact-arrow {
    color: #b3b0a8;
    transition: all 0.2s ease;
}

.privacy-contact-card:hover .privacy-contact-arrow {
    color: #f7941e;
    transform: translateX(4px);
}

/* Final Note */
.privacy-final-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff3e1, #ffe2b8);
    border-radius: 14px;
    margin-top: 1.5rem;
    border: 1px dashed #f7941e;
}

.privacy-final-note i {
    font-size: 1.5rem;
    color: #c0392b;
    flex-shrink: 0;
}

.privacy-final-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #33322e;
    line-height: 1.7;
}

.privacy-final-note strong {
    color: #c9720f;
}

/* Callouts */
.privacy-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.privacy-callout i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.privacy-callout--info {
    background: #e8f4fd;
    border: 1px solid #b3d9f0;
    color: #1a5276;
}

.privacy-callout--info i {
    color: #2980b9;
}

.privacy-callout--warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #7d6608;
}

.privacy-callout--warning i {
    color: #f57c00;
}

.privacy-callout--success {
    background: #e5f3e8;
    border: 1px solid #b3d9c0;
    color: #1b5e20;
}

.privacy-callout--success i {
    color: #2e7d46;
}

.privacy-callout strong {
    display: block;
    margin-bottom: 0.15rem;
}

/* Back to Top */
.privacy-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #f7941e;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.privacy-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.privacy-back-to-top:hover {
    background: #f7941e;
    color: #1a1a1a;
    transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        display: none;
    }

    .privacy-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .privacy-container {
        padding: 1rem;
    }

    .privacy-header-card {
        padding: 2rem 1.5rem;
    }

    .privacy-article {
        padding: 1.5rem;
    }

    .privacy-info-grid {
        grid-template-columns: 1fr;
    }

    .privacy-info-cards {
        grid-template-columns: 1fr;
    }

    .privacy-usage-grid {
        grid-template-columns: 1fr;
    }

    .privacy-security-features {
        grid-template-columns: 1fr;
    }

    .privacy-rights-card {
        flex-direction: column;
        text-align: center;
    }

    .privacy-children-notice {
        flex-direction: column;
        text-align: center;
    }

    .privacy-back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}