/* Основные стили для страницы политики конфиденциальности */
.privacy-policy {
    padding: 60px 20px;
    background: #f5f9fc;
    min-height: calc(100vh - 200px);
}

.privacy-policy .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.privacy-policy h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.privacy-policy h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.privacy-policy > .container > p:first-of-type {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 40px;
}

.privacy-policy section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-policy section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-policy h2 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #3498db;
}

.privacy-policy p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.privacy-policy ul {
    color: #34495e;
    line-height: 1.7;
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-policy li {
    margin-bottom: 10px;
    position: relative;
}

.privacy-policy li:before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.privacy-policy strong {
    color: #2c3e50;
    font-weight: 600;
}

.privacy-policy a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.privacy-policy a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Анимация появления секций */
.privacy-policy section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpSection 0.8s ease forwards;
}

.privacy-policy section:nth-child(1) { animation-delay: 0.1s; }
.privacy-policy section:nth-child(2) { animation-delay: 0.2s; }
.privacy-policy section:nth-child(3) { animation-delay: 0.3s; }
.privacy-policy section:nth-child(4) { animation-delay: 0.4s; }
.privacy-policy section:nth-child(5) { animation-delay: 0.5s; }
.privacy-policy section:nth-child(6) { animation-delay: 0.6s; }
.privacy-policy section:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUpSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 40px 15px;
    }
    
    .privacy-policy .container {
        padding: 30px 25px;
        margin: 0 10px;
    }
    
    .privacy-policy h1 {
        font-size: 2rem;
        padding-bottom: 12px;
    }
    
    .privacy-policy h2 {
        font-size: 1.4rem;
        padding-left: 12px;
        border-left-width: 3px;
    }
    
    .privacy-policy p,
    .privacy-policy ul {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy {
        padding: 30px 10px;
    }
    
    .privacy-policy .container {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .privacy-policy h1 {
        font-size: 1.8rem;
    }
    
    .privacy-policy h2 {
        font-size: 1.3rem;
    }
    
    .privacy-policy ul {
        padding-left: 20px;
    }
    
    .privacy-policy li:before {
        left: -15px;
    }
}

/* Специфичные стили для header и footer на этой странице */
.privacy-policy ~ .main-header {
    min-height: 40vh;
    padding: 60px 20px;
}

.privacy-policy ~ .main-footer {
    margin-top: 0;
}

/* Убираем анимацию печатающегося текста на этой странице */
.privacy-policy ~ .main-header .header-subtitle {
    animation: none;
    opacity: 1;
    transform: none;
}

.privacy-policy ~ .main-header .typed-text,
.privacy-policy ~ .main-header .cursor {
    display: none;
}
