/* 全局颜色变量（蓝紫色渐变体系） */
:root {
	--primary-blue: #2196F3;
	/* 基础蓝色 */
	--primary-purple: #9C27B0;
	/* 基础紫色 */
	--gradient-main: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
	/* 主渐变 */
	--gradient-light: linear-gradient(90deg, rgba(33, 150, 243, 0.1), rgba(156, 39, 176, 0.1));
	/* 浅渐变 */
	/* --icon-color: #673AB7; */
	/* 图标主色（蓝紫中间色） */
	--text-primary: #333;
	--text-secondary: #666;
}

/* 全局重置与基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
	background-color: #f8f9fa;
	color: var(--text-primary);
	line-height: 1.6;
}

.yh-container {
	width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

a {
	text-decoration: none;
	color: #323232;
}

button {
	cursor: pointer;
	border: none;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.yh-section-title {
	text-align: center;
	margin-bottom: 60px;
	font-size: 32px;
	font-weight: 700;
	color: #323232;
	/* 标题文字色 */
	position: relative;
}

.yh-section-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background: var(--gradient-main);
	/* 标题下划线渐变 */
	margin: 15px auto;
	border-radius: 2px;
}

/* 导航栏样式 */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

.yh-nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.yh-logo {
	height: 50px;
	display: flex;
	align-items: center;
}

.yh-logo img {
	height: 80%;
	width: auto;
}

.yh-nav-menu {
	display: flex;
	list-style: none;
}

.yh-nav-menu li {
	margin-left: 35px;
}

.yh-nav-menu a {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-primary);
	padding: 8px 0;
	position: relative;
}

.yh-nav-menu a:hover {
	color: var(--primary-purple);
	/* 导航 hover 色 */
}

.yh-nav-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-main);
	/* 导航下划线渐变 */
	transition: width 0.3s ease;
}

.yh-nav-menu a:hover::after {
	width: 100%;
}

.yh-mobile-menu-btn {
	display: none;
	font-size: 24px;
	color: var(--primary-purple);
	/* 移动端菜单按钮色 */
}

/* 按钮样式（蓝紫色渐变） */
.yh-gradient-btn {
	background: var(--gradient-main);
	color: #fff;
	padding: 12px 35px;
	font-size: 16px;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.yh-gradient-btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.yh-gradient-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(103, 58, 183, 0.3);
	/* 蓝紫阴影 */
}

.yh-gradient-btn:hover::after {
	opacity: 1;
}

.yh-gradient-btn span {
	position: relative;
	z-index: 1;
}

.yh-outline-btn {
	background-color: transparent;
	color: #fff;
	border: 1px solid #fff;
	padding: 12px 35px;
	font-size: 16px;
	font-weight: 600;
}

.yh-outline-btn:hover {
	background-color: rgba(103, 58, 183, 0.05);
	transform: translateY(-2px);
}

/* 首页Banner样式 */
.yh-banner {
	height: 100vh;
	background: linear-gradient(rgba(33, 150, 243, 0.8), rgba(156, 39, 176, 0.9)), url('../image/image.webp');
	/* 蓝紫渐变背景 */
	background-size: cover;
	background-position: center;
	color: #fff;
	display: flex;
	align-items: center;
	text-align: center;
	padding-top: 80px;
}

.yh-banner-content {
	max-width: 800px;
	margin: 0 auto;
}

.yh-banner h1 {
	font-size: 52px;
	margin-bottom: 25px;
	line-height: 1.3;
}

.yh-banner p {
	font-size: 20px;
	margin-bottom: 40px;
	opacity: 0.9;
}

.yh-banner-btns {
	display: flex;
	justify-content: center;
	gap: 20px;
}

/* 关于我们样式 */
.yh-about {
	padding: 120px 0;
	background-color: #fff;
}

.yh-about-content {
	display: flex;
	align-items: center;
	gap: 80px;
}

.yh-about-img {
	flex: 1;
}

.yh-about-img img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yh-about-text {
	flex: 1;
}

.yh-about-text h3 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #323232;
}

.yh-about-text p {
	font-size: 16px;
	margin-bottom: 20px;
	color: var(--text-secondary);
}

.yh-about-advantages {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 30px;
}

.yh-advantage-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.yh-advantage-icon {
	width: 40px;
	height: 40px;
	background-color: var(--icon-color);
	/* 图标纯色背景 */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	/* 图标内文字/符号白色，对比明显 */
	font-size: 20px;
}

.yh-advantage-text {
	font-size: 15px;
	color: var(--text-primary);
}

/* 解决方案样式 */
.yh-solutions {
	padding: 120px 0;
	background-color: #f8f9fa;
}

.yh-solutions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.yh-solution-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	padding: 35px;
	transition: transform 0.3s ease;
}

.yh-solution-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(103, 58, 183, 0.1);
	/* 蓝紫阴影 */
}

.yh-solution-icon img {
	width: 60px;
	height: 60px;
	background-color: var(--icon-color);
	/* 图标纯色背景 */
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	/* 图标内符号白色 */
	font-size: 28px;
	margin-bottom: 25px;
}

.yh-solution-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #323232;
}

.yh-solution-card p {
	font-size: 15px;
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.yh-solution-card a {
	text-decoration: none;
	color: #3877ff;
}

.yh-solution-highlights {
	margin-bottom: 20px;
}

.yh-solution-highlights li {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 8px;
	list-style: none;
	position: relative;
	padding-left: 20px;
}

.yh-solution-highlights li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--primary-purple);
	font-weight: bold;
}

.yh-view-details {
	display: inline-block;
	color: var(--primary-purple);
	font-size: 15px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}

.yh-view-details:hover {
	text-decoration: underline;
}

/* 服务优势样式 */
.yh-service-advantages {
	padding: 120px 0;
	background-color: #fff;
}

.yh-advantages-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	overflow: hidden;
}

.yh-advantages-table th,
.yh-advantages-table td {
	padding: 20px;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
}

.yh-advantages-table th {
	background: var(--gradient-main);
	/* 表格标题渐变 */
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.yh-advantages-table tr:nth-child(even) {
	background-color: #f8f9fa;
}

.yh-advantages-table tr:hover {
	background-color: rgba(103, 58, 183, 0.05);
	/* 行hover浅背景 */
}

.yh-advantages-table td {
	font-size: 15px;
	color: var(--text-secondary);
}

/* 案例展示样式 */
.yh-cases {
	padding: 120px 0;
	background-color: #f8f9fa;
}

.yh-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.yh-case-card {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.yh-case-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(103, 58, 183, 0.1);
}

.yh-case-img {
	height: 200px;
	overflow: hidden;
}

.yh-case-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.yh-case-card:hover .yh-case-img img {
	transform: scale(1.1);
}

.yh-case-info {
	padding: 20px;
}

.yh-case-info h4 {
	font-size: 18px;
	margin-bottom: 10px;
	color: #323232;
}

.yh-case-info p {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 15px;
}


/* 页脚样式 */
footer {
	background: var(--gradient-main);
	/* 页脚蓝紫渐变 */
	color: #fff;
	padding: 60px 0 20px;
}

.yh-footer-content {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}

.yh-footer-logo {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	display: inline-block;
}

.yh-footer-col {
	flex: 1;
}

.yh-footer-col h4 {
	font-size: 18px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 8px;
}

.yh-footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: #fff;
}

.yh-footer-col ul {
	list-style: none;
}

.yh-footer-col ul li {
	margin-bottom: 10px;
}

.yh-footer-col ul li a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	transition: color 0.3s ease;
}

.yh-footer-col ul li a:hover {
	color: #fff;
}

.yh-footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

/* 响应式布局 */
@media (max-width: 1200px) {
	.yh-cases-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.yh-nav-menu {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		background-color: #fff;
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transition: left 0.3s ease;
	}

	.yh-nav-menu.active {
		left: 0;
	}

	.yh-nav-menu li {
		margin: 15px 0;
	}

	.yh-mobile-menu-btn {
		display: block;
	}

	.yh-banner h1 {
		font-size: 36px;
	}

	.yh-banner p {
		font-size: 16px;
	}

	.yh-cases-grid {
		grid-template-columns: 1fr;
	}

	.yh-footer-content {
		flex-direction: column;
		gap: 40px;
	}
}