/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Хлебные крошки */
.breadcrumbs {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #6c757d;
    font-size: 14px;
}

/* Основной контент */
.main-content {
    padding: 40px 0;
}

h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
}

h2 {
    font-size: 26px;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    font-size: 20px;
    color: #34495e;
    margin: 20px 0 10px 0;
}

/* Введение */
.intro-section {
    margin-bottom: 50px;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Разделы реестра */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.section-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.section-card h3 {
    color: #2980b9;
    margin-bottom: 15px;
    font-size: 18px;
}

.section-card p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.section-card ul {
    list-style: none;
    padding-left: 0;
}

.section-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: #555;
}

.section-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Функционал */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.feature h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    font-size: 14px;
    line-height: 1.5;
}

/* Наша помощь */
.our-help {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin: 40px -20px;
    border-radius: 12px;
}

.help-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.help-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 25px;
}

.services-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

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

.services-list strong {
    color: #2c3e50;
}

/* Этапы работы */
.steps {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.advantage {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage:hover {
    transform: translateY(-8px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.advantage h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.advantage p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    margin: 50px -20px 0;
    border-radius: 12px;
    text-align: center;
}

.cta-content h2 {
    color: white;
    border-bottom: none;
    margin-bottom: 20px;
    font-size: 28px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #fff;
    color: #667eea;
    border-color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #667eea;
}

/* Адаптивность */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .help-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 0;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 18px;
        margin: 30px 0 15px 0;
    }
    
    .lead {
        font-size: 16px;
        padding: 20px;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .our-help {
        margin: 30px -15px;
        padding: 30px 0;
    }
    
    .cta-section {
        margin: 40px -15px 0;
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}