.header {
	background: linear-gradient(135deg, #4d97ff 0%, #2d7aff 100%);
	box-shadow: 0 2px 20px 0 rgba(77, 151, 255, 0.2);
	position: relative;
	z-index: 1000;
}
.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L100,0 Z" fill="rgba(255,255,255,0.05)"/></svg>');
	background-size: cover;
}
.nav-container {
	/* max-width: 1400px; */
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	height: 50px;
	line-height: 50px;
	color: white;
	font-size: 22px;
	font-weight: bold;
	padding: 0 15px;
}

.logo i {
	margin-right: 8px;
}


.logo-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}

.logo {
	font-weight: bold;
	display: flex;
	align-items: center;
}

.logo i {
	margin-right: 12px;
	font-size: 32px;
}
.nav {
	display: flex;
	gap: 15px;
}

.nav ul {
	list-style: none;
	display: flex;
}

.nav > ul > li {
	position: relative;
}

.nav > ul > li > a {
	display: block;
	height: 50px;
	line-height: 50px;
	padding: 0 20px;
	color: white;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s;
	font-weight: 500;
}

.nav > ul > li:hover > a {
	background-color: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.nav > ul > li.active > a {
	background-color: rgba(255, 255, 255, 0.2);
}



.nav a {
	color: white;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 4px;
	transition: all 0.3s;
	font-size: 15px;
	position: relative;
	overflow: hidden;
}

.nav a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s;
}

.nav a:hover::before {
	left: 100%;
}

.nav a:hover {
	background-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}
.submenu {
	position: absolute;
	top: 50px;
	left: 0;
	width: 130px;
	background-color: white;
	box-shadow: 0 8px 25px 0 rgba(77, 151, 255, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s;
	z-index: 1001;
	border: 1px solid #f1f5f9;
}

.nav > ul > li:hover .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu li {
	position: relative;
}

.submenu li a {
	display: block;
	padding: 8px 16px;
	color: #475569;
	text-decoration: none;
	border-bottom: 1px solid #f1f5f9;
	transition: all 0.2s;
	white-space: nowrap;
	font-weight: 500;
}

.submenu li:last-child a {
	border-bottom: none;
}

.submenu li a:hover {
	background-color: #f8fafc;
	color: #4d97ff;
	padding-left: 20px;
}

.submenu li a i {
	margin-right: 8px;
	color: #94a3b8;
}

.mobile-toggle {
	display: none;
	position: fixed;
	top: 2px;
	left: 10px;
	width: 42px;
	height: 42px;
	background: #4d97ff;
	border-radius: 50%;
	color: white;
	font-size: 18px;
	text-align: center;
	line-height: 42px;
	cursor: pointer;
	z-index: 1002;
	box-shadow: 0 4px 15px rgba(77, 151, 255, 0.4);
	transition: all 0.3s ease;
	border: 2px solid white;
}

.mobile-toggle:hover {
	background: #2d7aff;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(77, 151, 255, 0.6);
}

/* 移动端侧边导航 - 优化宽度 */
.mobile-nav {
	position: fixed;
	top: 0;
	left: -180px; /* 宽度减小 */
	width: 180px; /* 刚好显示4个字的宽度 */
	height: 100%;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 4px 0 25px rgba(0, 0, 0, 0.1);
	transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1001;
	overflow-y: auto;
}

.mobile-nav.active {
	left: 0;
}

.mobile-nav-header {
	padding: 15px 16px; /* 内边距减小 */
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, #4d97ff 0%, #2d7aff 100%);
	margin-bottom: 8px;
}

.mobile-nav-title {
	color: white;
	font-size: 16px; /* 标题字体进一步减小 */
	font-weight: bold;
	white-space: nowrap;
}

.mobile-close {
	color: white;
	font-size: 16px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transition: all 0.3s;
}

.mobile-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.mobile-nav ul {
	list-style: none;
	padding: 0;
}

.mobile-nav > ul > li {
	border-bottom: 1px solid #f1f5f9;
}

.mobile-nav > ul > li > a {
	display: block;
	padding: 10px 16px; /* 内边距进一步减小 */
	color: #334155;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap; /* 防止文字换行 */
}

.mobile-nav > ul > li > a:hover {
	background-color: #f8fafc;
	color: #4d97ff;
}

.mobile-nav > ul > li > a i {
	margin-right: 8px;
	width: 16px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
}

.mobile-submenu {
	display: none;
	background-color: #f8fafc;
	border-left: 3px solid #4d97ff;
}

.mobile-submenu.active {
	display: block;
}

.mobile-submenu li a {
	display: block;
	padding: 8px 16px 8px 40px; /* 内边距进一步减小 */
	color: #475569;
	text-decoration: none;
	border-bottom: 1px solid #f1f5f9;
	transition: all 0.3s;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap; /* 防止文字换行 */
}

.mobile-submenu li:last-child a {
	border-bottom: none;
}

.mobile-submenu li a:hover {
	background-color: white;
	color: #4d97ff;
	padding-left: 42px;
}

.mobile-submenu li a i {
	margin-right: 6px;
	width: 14px;
	text-align: center;
	color: #94a3b8;
	font-size: 12px;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.5);
	z-index: 1000;
	display: none;
	backdrop-filter: blur(2px);
}

.overlay.active {
	display: block;
}

.arrow {
	float: right;
	transition: transform 0.3s;
	color: #94a3b8;
	font-size: 12px;
}

.arrow.active {
	transform: rotate(90deg);
	color: #4d97ff;
}
/* 电脑端二级菜单竖排样式 */
.submenu-vertical {
	display: block !important;
}

.submenu-vertical li {
	display: block;
	width: 100%;
}

.submenu-vertical li a {
	display: block;
	text-align: left;
}
/* 响应式设计 */
@media (max-width: 768px) {
	.mobile-toggle {
		display: block;
	}
	
	.nav {
		display: none;
	}
	
	.logo {
		margin-left: 15px;
	} 

	.header {
		padding: 0 15px;
	}

}