/* ======================================================
   Privacy Policy Page Styles
   ====================================================== */

/* --- Hero Section --- */
.privacy-hero {
    background: var(--gradient-hero);
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.privacy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.privacy-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.privacy-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.privacy-hero-hl {
    background: linear-gradient(90deg, #f5d0fe, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.privacy-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 50px;
}

/* --- Main Content Layout --- */
.privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
    padding: 64px 0 80px;
}

/* --- Table of Contents (Sticky Sidebar) --- */
.privacy-toc {
    position: sticky;
    top: 80px;
    background: #fdf4ff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 24px;
}

.privacy-toc-title {
    font-size: 11px;
    font-weight: 700;
    color: #7c6590;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.privacy-toc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #7c6590;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1.4;
}

.privacy-toc-list a:hover {
    background: rgba(168, 85, 247, 0.08);
    color: #7c3aed;
}

.privacy-toc-list a.toc-active {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    font-weight: 600;
}

.toc-num {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #e9d5ff;
    color: #7c3aed;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.privacy-toc-list a.toc-active .toc-num {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    color: #fff;
}

/* --- Policy Content --- */
.privacy-content {
    min-width: 0;
}

.privacy-section {
    margin-bottom: 48px;
    scroll-margin-top: 90px;
}

.privacy-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3e8ff;
}

.privacy-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.privacy-section-icon svg {
    width: 22px;
    height: 22px;
}

.privacy-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0e0020;
    letter-spacing: -0.3px;
}

.privacy-section-num {
    font-size: 12px;
    font-weight: 600;
    color: #a855f7;
    background: #f3e8ff;
    padding: 2px 8px;
    border-radius: 20px;
}

.privacy-body {
    font-size: 15px;
    color: #4b3e60;
    line-height: 1.85;
}

.privacy-body p {
    margin-bottom: 14px;
}

.privacy-body p:last-child {
    margin-bottom: 0;
}

.privacy-body strong {
    color: #0e0020;
    font-weight: 600;
}

/* --- Info Card (highlighted block) --- */
.priv-card {
    background: #fdf4ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
}

.priv-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.priv-card-title svg {
    width: 14px;
    height: 14px;
}

/* --- List Items --- */
.priv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0;
}

.priv-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #4b3e60;
    line-height: 1.7;
}

.priv-list-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a855f7;
    flex-shrink: 0;
    margin-top: 8px;
}

/* --- Highlight Notice Box --- */
.priv-notice {
    display: flex;
    gap: 14px;
    background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(217,70,239,0.06));
    border: 1px solid rgba(168,85,247,0.2);
    border-left: 4px solid #a855f7;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0;
}

.priv-notice svg {
    width: 20px;
    height: 20px;
    color: #a855f7;
    flex-shrink: 0;
    margin-top: 1px;
}

.priv-notice-text {
    font-size: 14.5px;
    color: #4b3e60;
    line-height: 1.7;
}

/* --- Green Safety Notice --- */
.priv-safe {
    display: flex;
    gap: 14px;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-left: 4px solid #34d399;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0;
}

.priv-safe svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Cookie Table --- */
.priv-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 12px;
    border: 1px solid #e9d5ff;
}

.priv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.priv-table th {
    background: #f3e8ff;
    color: #6d28d9;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
}

.priv-table td {
    padding: 12px 16px;
    color: #4b3e60;
    border-top: 1px solid #f3e8ff;
    line-height: 1.5;
}

.priv-table tr:hover td {
    background: rgba(168,85,247,0.03);
}

/* --- Divider --- */
.privacy-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9d5ff, transparent);
    margin: 48px 0;
}

/* --- Last Updated Footer --- */
.privacy-footer-note {
    background: #0e0020;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
}

.privacy-footer-note p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-footer-note p:last-child {
    margin-bottom: 0;
}

.privacy-footer-note strong {
    color: rgba(255,255,255,0.85);
}

/* --- Back to Top Button --- */
.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    margin-top: 20px;
    transition: opacity 0.2s, transform 0.2s;
}

.back-to-top:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 900px) {
    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 40px 0 60px;
    }

    .privacy-toc {
        position: static;
        margin-bottom: 32px;
        border-radius: 12px;
    }

    .privacy-toc-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .privacy-hero {
        padding: 60px 0 48px;
    }

    .privacy-hero h1 {
        font-size: 28px;
    }

    .privacy-toc-list {
        grid-template-columns: 1fr;
    }

    .privacy-section-header {
        gap: 10px;
    }

    .privacy-section-icon {
        width: 38px;
        height: 38px;
    }

    .privacy-section-title {
        font-size: 17px;
    }

    .privacy-body {
        font-size: 14.5px;
    }

    .priv-card {
        padding: 16px;
    }

    .privacy-footer-note {
        padding: 24px 16px;
    }
}
