* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #ff5252;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Секция услуг */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

/* Призыв к действию */
.cta {
    background: #667eea;
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Подвал */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Стили для страницы 404 */
.error-content {
    padding: 60px 0;
    background: white;
}

.error-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.error-number h2 {
    font-size: 8rem;
    color: #667eea;
    margin: 0;
    text-align: center;
}

.error-message h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.error-options {
    list-style-type: none;
    padding-left: 0;
}

.error-options li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.error-options li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
}

.error-options a {
    color: #667eea;
    text-decoration: none;
}

.error-options a:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .error-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-number h2 {
        font-size: 5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
}

