/* Privacy Policy Page Styles */

.content-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding-top: 80px; /* Отступ от хедера */
}

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

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

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

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

/* Table of Contents */
.toc-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.toc-sidebar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f59e0b;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toc-link:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    text-decoration: none;
}

.toc-link:active {
    background: rgba(245, 158, 11, 0.2);
}

/* Main Content */
.privacy-main {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.privacy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f59e0b;
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #fff;
}

.privacy-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.privacy-section ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section li {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-section li:before {
    content: "•";
    color: #f59e0b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.privacy-section strong {
    color: #f59e0b;
    font-weight: 600;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.right-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f59e0b;
}

.right-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Info */
.contact-info {
    background: rgba(245, 158, 11, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: #f59e0b;
    font-weight: 600;
}

.contact-item a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.privacy-cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1a2e;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    color: #1a1a2e;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .toc-sidebar {
        position: static;
        order: 2;
    }
    
    .privacy-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .privacy-main {
        padding: 2rem 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.75rem;
    }
    
    .privacy-section h3 {
        font-size: 1.25rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .right-card {
        padding: 1.25rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-main {
        padding: 1.5rem 1rem;
    }
    
    .toc-sidebar {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .right-card {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

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

/* Active state for TOC links */
.toc-link.active {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    font-weight: 600;
}
