/* --- Privacy Policy Page Styles (Light Mode) --- */

/* Page Layout */
.privacy-page-wrapper {
    background-color: #ffffff;
    /* White Background */
    color: #1a202c;
    /* Dark Slate Text */
    font-family: var(--font-body);
    padding-top: 140px;
    /* Space for header */
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Header Section */
.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    /* Almost Black */
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-transform: none;
}

.privacy-updated {
    font-size: 0.95rem;
    color: #718096;
    /* Cool Gray */
}

/* Grid Layout: Sidebar + Content */
.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    position: relative;
    align-items: start;
    /* Important for sticky sidebar */
}

/* Sidebar Navigation (Light Mode) */
.privacy-sidebar {
    background: #f8f9fa;
    /* Light Gray */
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 120px;
    /* Top offset */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: block;
    padding: 10px 16px;
    color: #718096;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: #2d3748;
    background: #edf2f7;
}

/* Active State (Blue/Purple Theme) */
.sidebar-link.active {
    background: #e0f2fe;
    /* Very Light Blue */
    color: #0284c7;
    /* Strong Blue */
    border-left-color: #0284c7;
    font-weight: 600;
}

/* Main Content Area */
.privacy-content {
    background: transparent;
    font-size: 1.05rem;
    line-height: 1.8;
}

.privacy-section {
    margin-bottom: 50px;
    scroll-margin-top: 140px;
    /* Offset for sticky header */
}

/* Typography inside content */
.privacy-content h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-content h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 20px;
    color: #4a5568;
    /* Dark Gray */
}

.privacy-content ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 10px;
}

.privacy-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #4a5568;
}

.privacy-content ul li::before {
    content: '•';
    color: #00d4ff;
    /* Cyan brand color */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Header Override for Light Page */
/* Force header to be dark even on white page, but maybe ensure transparency works */
/* The global header styles should handle this if 'scrolled' class is used, giving it a dark bg */


/* Responsive */
@media (max-width: 991px) {
    .privacy-container {
        grid-template-columns: 1fr;
        /* Stack sidebar on top */
        gap: 40px;
    }

    .privacy-header {
        text-align: left;
    }

    .privacy-sidebar {
        position: static;
        /* Remove sticky on mobile */
        margin-bottom: 20px;
        z-index: 1;
    }

    .sidebar-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .sidebar-nav ul {
        grid-template-columns: 1fr;
    }

    .privacy-title {
        font-size: 2.2rem;
    }
}