* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    padding: 40px;
}

h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.car-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.car-type {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.car-type:hover {
    border-color: #667eea;
    background: #f0f0ff;
    transform: translateY(-2px);
}

.car-type input[type="radio"] {
    display: none;
}

.car-type input[type="radio"]:checked + label {
    color: #667eea;
    font-weight: 600;
}

.car-type:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: #f0f0ff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.car-type label {
    cursor: pointer;
    font-size: 14px;
    color: #555;
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select:hover {
    border-color: #667eea;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select option {
    padding: 10px;
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input[type="date"]:hover,
.form-group input[type="time"]:hover,
.form-group input[type="tel"]:hover,
.form-group textarea:hover {
    border-color: #667eea;
}

.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-group label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
    margin: 0;
}

.checkbox-group label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.price-display {
    margin-top: 20px;
    padding: 15px;
    background: #f0f0ff;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
    display: none;
}

.price-display.show {
    display: block;
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    h2 {
        font-size: 24px;
    }

    .car-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Стили для главной страницы */
.main-page {
    text-align: center;
    padding: 60px 40px;
}

.main-page h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 20px;
}

.main-page p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.order-link {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.order-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.features {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature {
    padding: 20px;
}

.feature h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 20px;
}

.feature p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 600px) {
    .main-page {
        padding: 40px 25px;
    }

    .main-page h1 {
        font-size: 32px;
    }

    .main-page p {
        font-size: 16px;
    }
}
