/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

img {
    max-width: 100%;
    height: auto;
}

.btn-order, .btn-submit {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-order:hover, .btn-submit:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.price {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #7f8c8d;
    font-size: 20px;
    margin-right: 15px;
}

.new-price {
    color: #e74c3c;
    font-size: 28px;
    font-weight: bold;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

/* Шапка */
.header {
    background: #fff;
    color: #2c3e50;
    padding: 80px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header-image {
    flex: 1;
    text-align: center;
}

.header-text {
    flex: 1;
}

.header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.subtitle, .subtitle a {
    font-size: 22px;
    margin-bottom: 30px;
    color: #7f8c8d;
}

.product-photo {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-photo:hover {
    transform: scale(1.02);
}

/* Особенности */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #3498db;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #2c3e50;
}

.feature-item p {
    color: #7f8c8d;
}

/* Товар */
.product {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-info h2 {
    margin-bottom: 30px;
    font-size: 36px;
    color: #2c3e50;
}

.product-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-info ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #34495e;
}

.product-info ul li:before {
    content: "•";
    color: #3498db;
    font-size: 20px;
    position: absolute;
    left: 0;
}

/* Отзывы */
.reviews {
    padding: 80px 0;
    background-color: #fff;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #2c3e50;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
}

.review-author {
    font-weight: bold;
    margin-bottom: 15px;
    color: #3498db;
}

.review-text {
    color: #7f8c8d;
    font-style: italic;
}

/* Форма заказа */
.order {
    padding: 80px 0;
    background-color: #2c3e50;
    color: white;
}

.order h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
}

.order-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 20px;
    opacity: 0.9;
}

.order-form {
    max-width: 500px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.order-info {
    text-align: center;
    font-size: 18px;
}

.order-info p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

/* Подвал */
.footer {
    background-color: #1a252f;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p, .footer p a {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    color: #2c3e50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-content, .header-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .header h1, .features h2, 
    .product-info h2, .reviews h2, 
    .order h2 {
        font-size: 32px;
    }
    
    .header {
        padding: 60px 0;
    }
    
    .features, .product, .reviews, .order {
        padding: 60px 0;
    }
    
    .header-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .btn-order, .btn-submit {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .new-price {
        font-size: 24px;
    }
    
    .old-price {
        font-size: 18px;
    }
}