/* 客户咨询弹窗样式 */
.inquiry-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.inquiry-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.inquiry-modal-header {
    background: linear-gradient(135deg, #1b9cfc, #1477fb);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.inquiry-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.inquiry-modal-body {
    padding: 30px;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1b9cfc;
    box-shadow: 0 0 0 3px rgba(27, 156, 252, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1b9cfc, #1477fb);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 156, 252, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.required {
    color: #e74c3c;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .inquiry-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .inquiry-modal-body {
        padding: 20px;
    }
}

/* 复制成功提示样式 */
.copy-success-tip {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(40, 167, 69, 0.95) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    animation: copyTipShow 0.3s ease !important;
}

@keyframes copyTipShow {
    from { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 移动端联系我们样式 */
.mobile_contact_content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mobile_contact_header {
    background: linear-gradient(135deg, #1b9cfc, #1477fb);
    color: white;
    text-align: center;
    padding: 25px 20px;
}

.mobile_contact_header h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
}

.mobile_contact_header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.mobile_contact_info {
    padding: 25px 20px;
    background: white;
}

.contact_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1b9cfc;
}

.contact_item:last-child {
    margin-bottom: 0;
}

.contact_item.company_info {
    border-left-color: #28a745;
    text-align: center;
    justify-content: center;
}

.contact_icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.contact_icon img {
    width: 24px;
    height: 24px;
}

.contact_text {
    flex: 1;
    min-width: 0;
}

.contact_text.full_width {
    width: 100%;
}

.contact_label {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.contact_value {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.contact_value:hover {
    color: #1b9cfc;
}

.mobile_wx_container {
    position: relative;
}

.mobile_wx_btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.mobile_wx_btn:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.mobile_qr_code {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    margin-top: 8px;
}

.mobile_qr_code img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.mobile_qr_code p {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: #666;
}

.company_name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.service_area {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.mobile_contact_actions {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
}

.action_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action_btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.phone_btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.phone_btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.consult_btn {
    background: linear-gradient(135deg, #1b9cfc, #1477fb);
    color: white;
}

.consult_btn:hover {
    background: linear-gradient(135deg, #1477fb, #0d5aa7);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 156, 252, 0.4);
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    .mobile_contact_content {
        margin: 15px;
    }
    
    .mobile_contact_header {
        padding: 20px 15px;
    }
    
    .mobile_contact_info {
        padding: 20px 15px;
    }
    
    .contact_item {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .contact_icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .contact_icon img {
        width: 20px;
        height: 20px;
    }
    
    .mobile_contact_actions {
        padding: 15px;
        gap: 12px;
    }
    
    .action_btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .mobile_qr_code img {
        width: 100px;
        height: 100px;
    }
}
