/* Стили для страницы раскрытия рисков */

/* Общие стили */
.disclosure-page {
    padding-top: 0;
    background: var(--bg-light);
    min-height: 100vh;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Заголовочная секция */
.disclosure-header {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.disclosure-header::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.disclosure-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Предупреждение */
.risk-warning {
    padding: 4rem 0;
    background: #fff;
}

.warning-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--error-color), #ff6b6b);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.warning-card::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 60 60"><polygon points="30,10 50,50 10,50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.2;
}

.warning-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.warning-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.warning-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Типы рисков */
.risk-types {
    padding: 6rem 0;
    background: var(--bg-light);
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.risk-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.risk-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 1rem;
    background: var(--gradient-1);
    color: white;
}

.risk-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.risk-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.risk-card-content {
    padding: 2rem;
}

.risk-card-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.risk-card-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.risk-card-content ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--secondary-text-color);
}

.risk-card-content ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.risk-level {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-level.high {
    background: rgba(255, 82, 82, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.risk-level.medium {
    background: rgba(255, 169, 0, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(255, 169, 0, 0.3);
}

.risk-level.low {
    background: rgba(0, 200, 81, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 200, 81, 0.3);
}

/* Управление рисками */
.risk-management {
    padding: 6rem 0;
    background: #fff;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.management-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.management-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.management-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.management-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.management-card p {
    line-height: 1.6;
    color: var(--secondary-text-color);
}

/* Дополнительные предупреждения */
.additional-warnings {
    padding: 6rem 0;
    background: var(--bg-light);
}

.warning-list {
    max-width: 800px;
    margin: 0 auto;
}

.warning-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-color);
}

.warning-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.warning-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.warning-text p {
    line-height: 1.6;
    color: var(--secondary-text-color);
}

/* Консультации */
.consultation-info {
    padding: 6rem 0;
    background: #fff;
}

.consultation-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.consultation-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.consultation-content {
    position: relative;
    z-index: 2;
}

.consultation-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.consultation-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.consultation-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.consultation-image {
    text-align: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Адаптивность */
@media (max-width: 992px) {
    .disclosure-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .warning-card {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .consultation-image {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .disclosure-header {
        padding: 4rem 0 3rem;
    }
    
    .disclosure-header h1 {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
    }
    
    .management-grid {
        grid-template-columns: 1fr;
    }
    
    .warning-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .consultation-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .disclosure-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .warning-card,
    .consultation-card {
        padding: 1.5rem;
    }
    
    .risk-card-content,
    .management-card {
        padding: 1.5rem;
    }
}

/* Анимации */
.risk-card,
.management-card,
.warning-item {
    animation: fadeInUp 0.6s ease-out;
}

.risk-card:nth-child(1) { animation-delay: 0.1s; }
.risk-card:nth-child(2) { animation-delay: 0.2s; }
.risk-card:nth-child(3) { animation-delay: 0.3s; }
.risk-card:nth-child(4) { animation-delay: 0.4s; }
.risk-card:nth-child(5) { animation-delay: 0.5s; }
.risk-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
