/* Privacy Policy Page Styles */
:root {
    --primary-blue: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-gray: #64748b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --success-green: #059669;
    --warning-orange: #d97706;
    --error-red: #dc2626;
    --accent-purple: #7c3aed;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
    background-size: cover;
}

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

.hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.last-updated {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    margin-top: 2rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Content */
.privacy-content {
    background: white;
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Table of Contents */
.toc-sidebar {
    position: sticky;
    top: 100px;
}

.toc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    display: block;
    transition: var(--transition);
}

.toc-link:hover,
.toc-link.active {
    background: var(--light-bg);
    color: var(--primary-blue);
    text-decoration: none;
    transform: translateX(5px);
}

/* Article Content */
.privacy-article {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-blue);
}

.section-content {
    color: var(--text-dark);
    line-height: 1.7;
}

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

.section-content ul,
.section-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.section-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.info-box {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: 1px solid #3b82f6;
    border-left: 4px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box-title {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box-content {
    color: #1e40af;
    margin: 0;
}

.contact-section {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .toc-sidebar {
        position: static;
        order: -1;
    }
    
    .toc-card {
        padding: 1rem;
    }
    
    .toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toc-item {
        margin-bottom: 0;
    }
    
    .toc-link {
        padding: 0.5rem 1rem;
        background: var(--light-bg);
        border-radius: var(--radius-sm);
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 0 0.75rem;
    }
    
    .privacy-hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .privacy-article {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .contact-section {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .privacy-article {
        padding: 1.5rem 1rem;
    }
    
    .section-content {
        font-size: 0.95rem;
    }
    
    .toc-list {
        display: block;
    }
    
    .toc-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}