/* 导航栏样式 */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 8%;
	background-color: white;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

.logo {
	display: flex;
	align-items: center;
}

.logo h1 {
	color: #2563eb;
	font-size: 24px;
	margin-left: 10px;
}

.logo-icon {
	color: #2563eb;
	font-size: 28px;
}

.nav-links {
	display: flex;
	list-style: none;
	position: relative;
}

.nav-links li {
	margin: 0 15px;
	position: relative;
}

.nav-links a {
	text-decoration: none;
	color: #334155;
	font-weight: 500;
	font-size: 16px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
}

.nav-links a:hover {
	color: #2563eb;
}

.back-button {

	background-color: #2563eb;
	color: white;
	border: none;
	padding: 10px 22px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 16px;
}

/* 下拉菜单样式 */
.dropdown {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	min-width: 180px;
	border-radius: 8px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	z-index: 1;
	padding: 10px 0;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.dropdown-content li {
	padding: 0;
	margin: 0;
	width: 100%;
}

.dropdown-content a {
	padding: 10px 20px;
	display: block;
	color: #475569;
	font-size: 14px;
	transition: all 0.2s ease;
}

.dropdown-content a:hover {
	background-color: #f1f5f9;
	color: #2563eb;
	padding-left: 25px;
}

.dropdown:hover .dropdown-content {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.dropdown:hover>a::after {
	transform: rotate(180deg);
}

.dropdown>a::after {
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 12px;
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.cta-button {
	background-color: #2563eb;
	color: white;
	border: none;
	padding: 10px 22px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 16px;
}

.cta-button:hover {
	background-color: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/**
  * 悬浮窗样式
  */
.button-container {
	position: relative;
	display: inline-block;
}

.button-container .popup {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
	padding: 15px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 100000;
	width: 280px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 1s ease;
}

.button-container .popup img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 10px;
}

.button-container .popup-text {
	text-align: center;
	margin: 0;
	color: #333;
	font-size: 14px;
}

.qrcode-popup {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
	padding: 15px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 100000;
	width: 130px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 1s ease;
}

.qrcode-popup img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

/* 底部区域 */
.footer {
	background: #0f172a;
	color: white;
	padding: 70px 8% 40px;
	margin-top: 100px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.footer-column h3 {
	font-size: 18px;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: #2563eb;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	text-decoration: none;
	color: #cbd5e1;
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: #60a5fa;
	padding-left: 5px;
}

.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.button-container-a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1e293b;
	color: white;
	transition: all 0.3s ease;
}

.button-container-a:hover {
	background: #2563eb;
	transform: translateY(-3px);
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #1e293b;
	color: #94a3b8;
	font-size: 14px;
}
