﻿/* 横幅 */
.Connect_banner {
	background: linear-gradient(135deg, #d5defa 0%, #f2f5f6 100%);
	text-align: center;
	padding: 100px 20px;
}

.Connect_banner h2 {
	font-size: 50px;
	color: #343434;
	margin-bottom: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.Connect_banner span {
	color: rgb(59 130 246);
	position: relative;
}
.Connect_banner span:after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 0;
	width: 100%;
	height: 6px;
	background-color: rgba(57, 116, 175, 0.2);
	z-index: -1;
}
.Connect_banner p {
	font-size: 16px;
	color: #666;
	max-width: 70%;
	margin: 0 auto;
	line-height: 1.6;
}
/* 主容器 */
.Connect {
	padding: 10px 0px 30px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 40px;
	margin: 0 auto;
}
/* 左侧表单 & 右侧联系信息 */
.Connect_form,
.Connect_info {
	flex: 1;
	border-radius: 16px;
	box-shadow: 0 9px 20px rgba(31, 38, 135, 0.1);
	padding: 50px 60px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	position: relative;
	z-index: 1;
	background: #fff;
}
/* 表单元素 */
.container-form h1 {
	text-align: center;
	color: #3974af;
	margin-bottom: 10px;
	font-size: 22px;
}
.subtitle {
	text-align: center;
	color: #546e7a;
	margin-bottom: 15px;
	font-size: 14px;
}
.form-group {
	margin-bottom: 10px;
}
.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #263238;
	font-weight: 500;
	font-size: 14px;
}

.required::before {
	content: "*";
	color: #f44336;
	margin-right: 4px;
}

input[type=text],
input[type=tel],
textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.7);
}

input:focus,
textarea:focus {
	outline: none;
	border-color: #2196f3;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

textarea {
	resize: vertical;
	min-height: 100px;
}

.error-message {
	color: #f44336;
	font-size: 14px;
	margin-top: 6px;
	display: none;
}

.form-group.error input {
	border-color: #f44336;
}

.form-group.error .error-message {
	display: block;
}

.submit-btn {
	width: 100%;
	padding: 15px;
	background: linear-gradient(to right, #2196f3, #1976d2);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

/* 右侧联系信息 */
.Connect_info h3 {
	font-size: 22px;
	color: #3974af;
	margin-bottom: 24px;
	font-weight: 600;
	position: relative;
	padding-bottom: 12px;
	/* text-align: center; */
}

.Connect_info h3:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: #3974af;
	border-radius: 3px;

}

.info_item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 20px;
	padding-bottom: 15px;
}

.info_item:last-child {
	border-bottom: none;
}

.info_item img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
	margin-top: 2px;
}

.info_item span {
	transition: all 0.3s ease;
}

.info_item:hover span {
	color: #3974af;
}

.qr_box {
	display: flex;
	justify-content: space-between;
	text-align: center;
	font-size: 14px;
	color: #666;
	margin-top: 30px;
	gap: 20px;
}

.qr_box>div {
	flex: 1;
}

.qr_box img {
	width: 150px;
	height: 150px;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid #eee;
	padding: 8px;
	background: #fff;
}

.qr_box img:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.qr_box p {
	margin-top: 10px;
	font-weight: 500;
}

/* 成功弹窗 */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.modal {
	background: rgba(255, 255, 255, 0.9);
	padding: 40px 32px;
	border-radius: 12px;
	text-align: center;
	width: 320px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	position: relative;
}

.modal h2 {
	color: #388e3c;
	margin-bottom: 12px;
	font-size: 22px;
}

.modal p {
	color: #555;
	font-size: 15px;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	cursor: pointer;
}

.close-btn:hover {
	color: #333;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
	.Connect {
		gap: 30px;
	}

	.Connect_form,
	.Connect_info {
		padding: 30px;
	}
}

@media (max-width: 800px) {
	.Connect {
		flex-direction: column;
		align-items: center;
		padding: 20px 0px;
	}

	.Connect_form,
	.Connect_info {
		width: 100%;
		min-width: 200px;
	}

	.Connect_banner h2 {
		font-size: 36px;
	}

	.Connect_banner p {
		max-width: 90%;
	}
}

@media (max-width: 600px) {
	.Connect_banner {
		padding: 60px 20px;
	}

	.Connect_banner h2 {
		font-size: 28px;
	}

	.Connect_banner p {
		max-width: 95%;
		font-size: 14px;
	}

	.container-form h1 {
		font-size: 20px;
	}

	.Connect_info h3 {
		font-size: 20px;
	}
}

/* 提交中状态样式 */
.submit-btn:disabled {
	background-color: #95c5ff;
	cursor: not-allowed;
	opacity: 0.8;
}

.submit-btn.loading {
	position: relative;
	color: transparent;
}

.submit-btn.loading::after {
	content: "提交中...";
	position: absolute;
	left: 0;
	right: 0;
	color: white;
}