/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0px 30px;
    margin: 0 auto;
}

/* 顶部插图 */
.top-section {
    width: 100%;
    height: auto;
}

.top-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* 中间内容区域 */
.center-section {
    width: 100%;
   
    background-image: url('https://file.jiadianliang.com/48e9e5ac81a2c811fc594052ca293a305dae241624789e17ef032b8dff198d21.jpg');
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.order-form {
    width: 100%;
    
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.input-group input {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: white;
}

.input-group input:focus {
    border-color: #ff9800;
}

.order-btn {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    margin-bottom: 20px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
}

.agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.agreement input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
}

.agreement label {
    cursor: pointer;
    flex: 1;
    line-height: 1.4;
}

.price-info {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    text-align: center;
}

/* 尾部插图 */
.footer-section {
    width: 100%;
    height: auto;
}

.footer-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* 表单验证样式 */
.input-group input:invalid:focus {
    border-color: #f44336;
}

.agreement input[type="checkbox"]:invalid ~ label {
    color: #f44336;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-form {
    animation: fadeIn 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .order-form {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .input-group input {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .order-btn {
        padding: 18px;
        font-size: 18px;
    }
    
    .agreement {
        font-size: 12px;
    }
    
    .price-info {
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .center-section {
        padding: 30px 0;
    }
    
    .order-form {
        padding: 15px 12px;
    }
    
    .input-group input {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .order-btn {
        padding: 16px;
        font-size: 17px;
    }
}