/* =================================================================
   PRIVACY POLICY PAGE STYLES
   ================================================================= */

:root {
    --privacy-primary: #d4a574;
    --privacy-secondary: #c09560;
    --privacy-dark: #2c1810;
    --privacy-light: #f7f3ed;
    --privacy-white: #ffffff;
    --privacy-gray: #666666;
    --privacy-border: rgba(212, 165, 116, 0.15);
}

/* Page Layout */
.privacy-policy-page {
    background: linear-gradient(to bottom, var(--privacy-light) 0%, var(--privacy-white) 100%);
    min-height: 100vh;
}

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, var(--privacy-dark) 0%, #3a2318 100%);
    color: var(--privacy-white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: var(--privacy-white);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 165, 116, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.last-updated i {
    color: var(--privacy-primary);
}

/* Content Area */
.privacy-content {
    padding: 4rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar */
.privacy-sidebar {
    position: sticky;
    top: 2rem;
}

.toc-wrapper {
    background: var(--privacy-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--privacy-border);
}

.toc-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--privacy-dark);
    font-weight: 600;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--privacy-primary);
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--privacy-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.toc-nav a:hover {
    background: var(--privacy-light);
    color: var(--privacy-primary);
    transform: translateX(5px);
}

.toc-nav a:active {
    background: var(--privacy-primary);
    color: var(--privacy-white);
}

/* Main Content */
.privacy-main {
    max-width: 800px;
}

.privacy-section {
    background: var(--privacy-white);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--privacy-border);
    position: relative;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--privacy-primary) 0%, var(--privacy-secondary) 100%);
    border-radius: 16px 16px 0 0;
}

.privacy-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--privacy-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--privacy-border);
}

.privacy-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    color: var(--privacy-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.privacy-section h4 {
    color: var(--privacy-primary);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.privacy-section i {
    color: var(--privacy-primary);
    font-size: 1.2rem;
}

.section-content {
    line-height: 1.7;
    color: var(--privacy-gray);
}

.section-content p {
    margin-bottom: 1.2rem;
}

.section-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.section-content a {
    color: var(--privacy-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-content a:hover {
    color: var(--privacy-secondary);
    text-decoration: underline;
}

/* Special Components */
.cookie-types {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.cookie-category {
    background: var(--privacy-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--privacy-primary);
}

.analytics-opt-out {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #4caf50;
    margin-top: 1rem;
}

.data-usage {
    background: var(--privacy-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.sharing-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.partner-card {
    background: var(--privacy-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--privacy-border);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--privacy-dark);
}

.retention-timeline {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.retention-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--privacy-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--privacy-primary);
}

.retention-icon {
    width: 50px;
    height: 50px;
    background: var(--privacy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--privacy-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.retention-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--privacy-dark);
}

.retention-info p {
    margin: 0;
    color: var(--privacy-gray);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.right-card {
    text-align: center;
    background: var(--privacy-light);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--privacy-border);
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--privacy-primary);
}

.right-card i {
    font-size: 2.5rem;
    color: var(--privacy-primary);
    margin-bottom: 1rem;
    display: block;
}

.right-card h4 {
    margin: 0 0 0.75rem 0;
    color: var(--privacy-dark);
    font-size: 1.1rem;
}

.right-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--privacy-gray);
}

.contact-info-card {
    background: var(--privacy-light, #faf8f5);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--privacy-border, #e5e5e5);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card p {
    color: var(--privacy-gray, #666);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Methods Container */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Individual Contact Method */
.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--privacy-border, #e5e5e5);
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--privacy-dark, #2c1810);
    min-width: 200px;
    justify-content: center;
}

/* Contact Method Icons */
.contact-method i {
    font-size: 1.2rem;
    color: var(--privacy-primary, #d4a574);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Contact Method Links */
.contact-method a {
    color: var(--privacy-primary, #d4a574);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    border-color: var(--privacy-primary, #d4a574);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
}

/* Response Time Text */
.response-time {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 2rem !important;
    color: var(--privacy-gray, #666);
    padding-top: 1.5rem;
    border-top: 1px solid var(--privacy-border, #e5e5e5);
}

.contact-method a:hover {
    color: var(--privacy-secondary, #c09660);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .privacy-sidebar {
        position: static;
        order: -1;
    }
    
    .toc-wrapper {
        padding: 1.5rem;
    }
    
    .toc-nav {
        display: none;
    }
    
    .toc-wrapper.expanded .toc-nav {
        display: block;
        margin-top: 1rem;
    }
    
    .toc-wrapper::after {
        content: '▼';
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        color: var(--privacy-primary);
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .toc-wrapper.expanded::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 4rem 0 3rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .privacy-section {
        padding: 2rem 1.5rem;
    }
    
    .sharing-partners {
        grid-template-columns: 1fr;
    }
    
    .rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-method {
        min-width: auto;
        width: 100%;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .retention-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .last-updated {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .contact-info-card {
        padding: 1.5rem 1rem;
    }

    .contact-method {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .contact-method i {
        font-size: 1rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Highlight target section */
.privacy-section:target {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, var(--privacy-white) 100%);
    border-color: var(--privacy-primary);
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.15);
}