/* ========================================
   NOVAFIN AUDITORÍA - POLICY PAGES STYLES
   Унифицированные стили для страниц политики
   ======================================== */

/* Импорт основных стилей */
@import url('./main-styles.css');

/* Специальные стили для страниц политики */
.policy-page {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-bg), var(--section-gradient-start));
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--section-gradient-start), var(--section-gradient-end));
    border-radius: 20px;
    border: 2px solid var(--accent-pink);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.2);
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-header p {
    font-size: 1.1rem;
    color: var(--text-cream);
    opacity: 0.9;
}

.policy-content {
    background: linear-gradient(135deg, var(--section-gradient-start), var(--section-gradient-end));
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid var(--accent-green);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.1);
}

.policy-content h2 {
    color: var(--accent-pink);
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-pink);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-cream);
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-cream);
}

.policy-content strong {
    color: var(--accent-pink);
    font-weight: 600;
}

.policy-content em {
    color: var(--accent-green);
    font-style: italic;
}

.policy-content a {
    color: var(--accent-pink);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px var(--accent-green);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--primary-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.policy-table th {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-green));
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.policy-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--section-gradient-start);
    color: var(--text-cream);
}

.policy-table tr:hover {
    background: var(--section-gradient-start);
}

.policy-highlight {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1), rgba(0, 184, 148, 0.1));
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-pink);
    margin: 25px 0;
}

.policy-highlight h4 {
    color: var(--accent-pink);
    margin-bottom: 10px;
}

.policy-contact-info {
    background: linear-gradient(135deg, var(--section-gradient-start), var(--section-gradient-end));
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 2px solid var(--accent-green);
    text-align: center;
}

.policy-contact-info h3 {
    color: var(--accent-green);
    margin-bottom: 15px;
}

.policy-contact-info p {
    margin-bottom: 10px;
}

.policy-contact-info a {
    color: var(--accent-pink);
    font-weight: 600;
}

.policy-back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-green));
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy-back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 149, 0.4);
    color: white;
}

.policy-date {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: var(--primary-bg);
    border-radius: 10px;
    border: 1px solid var(--section-gradient-start);
    font-size: 14px;
    color: var(--text-cream);
    opacity: 0.8;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

/* Адаптивность для страниц политики */
@media (max-width: 768px) {
    .policy-container {
        padding: 0 15px;
    }
    
    .policy-header {
        padding: 30px 20px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
    
    .policy-table {
        font-size: 14px;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 10px 8px;
    }
    
    .policy-highlight {
        padding: 15px;
    }
    
    .policy-contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-content {
        padding: 20px 15px;
    }
    
    .policy-content h2 {
        font-size: 1.3rem;
    }
    
    .policy-content h3 {
        font-size: 1.1rem;
    }
    
    .policy-table {
        font-size: 12px;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 8px 6px;
    }
}

/* Специальные стили для разных типов политики */
.privacy-policy .policy-header {
    border-color: var(--accent-pink);
}

.cookie-policy .policy-header {
    border-color: var(--accent-green);
}

.terms-policy .policy-header {
    border-color: var(--accent-pink);
}

.disclaimer-policy .policy-header {
    border-color: var(--accent-green);
}

/* Анимации для страниц политики */
.policy-content {
    animation: fadeInUp 0.6s ease-out;
}

.policy-header {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для списков в политике */
.policy-content ul.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-content ul.policy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.policy-content ul.policy-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-pink);
    font-weight: bold;
}

.policy-content ol.policy-numbered {
    counter-reset: policy-counter;
    padding-left: 0;
}

.policy-content ol.policy-numbered li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    counter-increment: policy-counter;
}

.policy-content ol.policy-numbered li::before {
    content: counter(policy-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
} 