:root {
	--primary: #1a365d; /* 主色：深蓝（品牌主色调、导航、标题、按钮） */
	--secondary: #2c5282; /* 辅助色：次深蓝（卡片、模块、次要按钮） */
	--accent: #c9a227; /* 强调色：金色（高亮、按钮、图标、重点文字） */
	--accent-hover: #b8922a; /* 强调色悬停：深金色（按钮 hover 效果） */
	--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;
	overflow: visible;
	height: auto;
	display: block;
}

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

.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);
}

/* Banner广告位的样式 */
.poster_banner {
	width: 100%;
	object-fit: cover;
}

/* 面包屑导航 */
.breadcrumb_section {
	padding: 20px 0;
}
.breadcrumb_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-gray);
	padding: 12px 0;
	flex-shrink: 0;
}
.breadcrumb a {
	color: var(--text-gray);
	transition: color 0.3s ease;
}
.breadcrumb a:hover {
	color: var(--accent);
}
.breadcrumb .current {
	color: var(--primary);
	font-weight: 500;
}

/* 桌面导航 */
.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%;
}

/* 获取免费样板按钮 */
.nav_btn {
	background: var(--primary);
	color: white !important;
	font-weight: 600;
	border-radius: 6px;
	padding: 10px 20px;
	transition: all 0.3s ease;
}

.nav_btn:hover {
	background: #e53e3e; /* 红色背景 */
	color: white !important;
}

.nav_btn::after {
	display: none;
}

/* 移动端菜单按钮 */
.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);
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9999;
	background: white;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mobile_nav.open {
	display: block;
}

.mobile_nav .container {
	width: 100%;
	max-width: 100%;
	padding: 0 20px;
	height: auto;
	overflow: visible;
}

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

.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;
	}

	.mobile_nav .container {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
		gap: 8px;
	}

	.mobile_nav a {
		text-align: center;
		padding: 16px 8px;
		font-size: 14px;
		display: block;
		height: auto;
		line-height: 1.4;
	}
}

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

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

	.logo_text p {
		display: none;
	}

	.mobile_nav {
		height: 50vw;
		overflow-y: auto;
	}

	.mobile_nav .container {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
		gap: 8px;
	}

	.mobile_nav a {
		text-align: center;
		padding: 16px 8px;
		font-size: 14px;
		display: block;
		height: auto;
		line-height: 1.4;
	}
}

/* 页脚 */
.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;
	}
}
