:root {
	--primary: #1a365d;
	--secondary: #2c5282;
	--accent: #c9a227;
	--accent-hover: #b8922a;
	--surface: #f8fafc;
	--muted: #64748b;
	--border: #e2e8f0;
	--text-dark: #1e293b;
	--text-gray: #475569;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Microsoft YaHei, Arial, sans-serif;
	background-color: var(--surface);
	color: var(--text-dark);
	line-height: 1.6;
}

.font_serif {
	font-family: Microsoft YaHei, Arial, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}

/* 容器 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 头部导航 */
.header {
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo_icon {
	width: 48px;
}

.logo_text h1 {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
}

.logo_text p {
	font-size: 12px;
	color: var(--muted);
}

/* 桌面导航 */
.nav_menu {
	display: flex;
	gap: 4px;
}

.nav_link {
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-gray);
	border-radius: 6px;
	transition: all 0.3s ease;
	position: relative;
}

.nav_link:hover,
.nav_link.active {
	color: var(--accent);
	background: rgba(201, 162, 39, 0.08);
}

.nav_link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.nav_link:hover::after,
.nav_link.active::after {
	width: 60%;
}

/* 移动端菜单按钮 */
.mobile_menu_btn {
	display: none;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 8px;
}

.mobile_menu_btn svg {
	width: 24px;
	height: 24px;
	color: var(--primary);
}

/* 移动端导航 */
.mobile_nav {
	display: none;
	padding: 16px 0;
	border-top: 1px solid var(--border);
}

.mobile_nav.open {
	display: block;
}

.mobile_nav a {
	display: block;
	padding: 12px 16px;
	font-size: 15px;
	color: var(--text-gray);
	border-radius: 6px;
	transition: all 0.2s;
}

.mobile_nav a:hover,
.mobile_nav a.active {
	background: rgba(201, 162, 39, 0.1);
	color: var(--accent);
}

/* 返回顶部 */
.back_top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 48px;
	height: 48px;
	background: var(--accent);
	color: var(--primary);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
	z-index: 999;
}

.back_top.visible {
	opacity: 1;
	visibility: visible;
}

.back_top:hover {
	background: var(--accent-hover);
	transform: translateY(-3px);
}

.back_top svg {
	width: 24px;
	height: 24px;
}

/* Toast提示 */
.toast {
	position: fixed;
	top: 100px;
	left: 50%;
	transform: translateX(-50%) translateY(-20px);
	padding: 14px 28px;
	background: var(--primary);
	color: white;
	font-size: 14px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 9999;
}

.toast.show {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
	.nav_menu {
		display: none;
	}

	.mobile_menu_btn {
		display: block;
	}
}

@media (max-width: 640px) {
	.header .container {
		height: 70px;
	}

	.logo_text h1 {
		font-size: 18px;
	}

	.logo_text p {
		display: none;
	}
}



/* 页脚 */
.footer {
	background: #0f172a;
	color: white;
	padding: 60px 0 30px;
}

.footer_grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer_brand .logo {
	margin-bottom: 16px;
}

.footer_brand .logo_icon {
	background: var(--surface);
}

.footer_brand .logo_icon svg {
	color: var(--primary);
}

.footer_brand .logo_text h1 {
	color: white;
}

.footer_brand p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
}

.footer_title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 20px;
}

.footer_links {
	list-style: none;
}

.footer_links li {
	margin-bottom: 10px;
}

.footer_links a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.3s ease;
}

.footer_links a:hover {
	color: var(--accent);
}

.footer_contact p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 8px;
}

.footer_bottom {
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer_bottom p,
.footer_bottom a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.3s ease;
}

.footer_bottom a:hover {
	color: var(--accent);
}

/* 页脚响应式 */
@media (max-width: 1024px) {
	.footer_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.footer_grid {
		grid-template-columns: 1fr;
	}

	.footer_bottom {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}
