/* Хлебные крошки */
.breadcrumb-nav {
    margin: 20px 0;
}

.breadcrumb {
    background: var(--background-color);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-color);
    margin: 0 12px;
    font-size: 18px;
}

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

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 600;
}

/* Основная страница */
.privacy-policy-page {
    margin: 40px 0;
}

/* Навигация по разделам */
.privacy-navigation {
    position: sticky;
    top: 100px;
    background: var(--background-color);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.privacy-navigation h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

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

.privacy-nav-list li {
    margin-bottom: 8px;
}

.privacy-nav-list a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.privacy-nav-list a:hover,
.privacy-nav-list a.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-left-color: white;
    transform: translateX(5px);
}

/* Контент */
.privacy-content {
    background: var(--background-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Заголовок страницы */
.privacy-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.last-updated {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

/* Разделы */
.privacy-section {
    padding: 40px;
    border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.privacy-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.privacy-section h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.privacy-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

/* Текст */
.privacy-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.privacy-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Списки */
.data-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.data-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f3f4;
}

.data-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.data-list li:last-child {
    border-bottom: none;
}

/* Информация о компании */
.company-info {
    background: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.company-info h3 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.company-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-info ul li {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.company-info ul li:last-child {
    border-bottom: none;
}

/* Меры защиты */
.protection-measures {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #b3d9f2;
}

.protection-measures h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Типы cookies */
.cookies-types {
    margin: 25px 0;
}

.cookie-type {
    background: var(--background-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-type h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

/* Права пользователей */
.rights-list {
    margin: 25px 0;
}

.right-item {
    background: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.right-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.right-item p {
    margin: 0;
    color: var(--text-color);
}

/* Контактная карточка */
.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin: 25px 0;
    box-shadow: 0 8px 32px rgba(0, 9, 60, 0.3);
}

.contact-card h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-details p {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Изменения в политике */
.policy-changes {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
}

.policy-changes h2::before {
    background: linear-gradient(135deg, #ffc107 0%, #e67e22 100%);
}

/* Адаптивность */
@media (max-width: 992px) {
    .privacy-navigation {
        position: static;
        margin-bottom: 30px;
    }

    .privacy-section {
        padding: 25px;
    }

    .privacy-header {
        padding: 30px 25px;
    }

    .privacy-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 20px;
    }

    .privacy-header {
        padding: 25px 20px;
    }

    .privacy-header h1 {
        font-size: 1.6rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .company-info,
    .protection-measures,
    .contact-card {
        padding: 20px;
    }

    .right-item {
        padding: 20px;
    }

    .breadcrumb {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .privacy-policy-page {
        margin: 20px 0;
    }

    .privacy-section {
        padding: 15px;
    }

    .privacy-header {
        padding: 20px 15px;
    }

    .privacy-header h1 {
        font-size: 1.4rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
        padding-left: 15px;
    }

    .privacy-navigation {
        padding: 20px;
    }

    .contact-card,
    .company-info,
    .protection-measures {
        padding: 15px;
    }

    .right-item {
        padding: 15px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анимация появления */
.privacy-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.privacy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Подсветка активного раздела */
.privacy-section.active {
    background: var(--background-color);
}