/* 产品与服务页面特有样式 */
.products-banner {
	position: relative;
	height: 400px;
	background-image: url('../../Lib/img/neibu_ban.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.products-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

.products-banner-content {
	position: relative;
	z-index: 1;
}

.products-banner h1 {
	font-size: 42px;
	margin-bottom: 16px;
}

.products-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.products-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
}

.products-breadcrumb a:hover {
	color: white;
}

/* 产品分类导航 */
.product-categories {
	background-color: white;
	padding: 24px 0;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 90px;
	z-index: 100;
}

.categories-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

.category-item {
	padding: 12px 24px;
	border-radius: 30px;
	background-color: #f5f5f5;
	color: #666;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.category-item:hover {
	background-color: rgba(30, 136, 229, 0.1);
	color: var(--primary-color);
	transform: translateY(-2px);
}

.category-item.active {
	background-color: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

/* 产品列表样式 */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.product-card {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
	height: 200px;
	overflow: hidden;
	padding: 5px;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

.product-content {
	padding: 24px;
}

.product-icon {
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 16px;
}

.product-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
}

.product-description {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.product-features {
	margin-bottom: 20px;
	min-height: 128px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 8px;
	color: #666;
}

.feature-item i {
	color: var(--primary-color);
	margin-right: 12px;
	margin-top: 4px;
}

.product-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary-color);
	font-weight: 500;
	transition: all 0.3s ease;
}

.product-link:hover {
	color: #0D47A1;
	transform: translateX(5px);
}

.product-link i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.product-link:hover i {
	transform: translateX(3px);
}

/* 产品详情样式 */
.product-detail {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	margin-bottom: 48px;
}

.product-detail-header {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 40px;
	border-bottom: 1px solid #f0f0f0;
}

.product-detail-image {
	flex: 0 0 40%;
	border-radius: 12px;
	overflow: hidden;
}

.product-detail-image img {
	width: 100%;
	height: auto;
	transition: transform 0.8s ease;
}

.product-detail-image:hover img {
	transform: scale(1.05);
}

.product-detail-info {
	flex: 1;
	min-width: 300px;
}

.product-detail-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
	color: #333;
}

.product-detail-subtitle {
	font-size: 16px;
	color: var(--primary-color);
	margin-bottom: 24px;
	font-weight: 500;
}

.product-detail-desc {
	color: #666;
	line-height: 1.8;
	margin-bottom: 24px;
}

.product-detail-features {
	margin-bottom: 32px;
	min-height: 150px;
}

.detail-feature-item {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	color: #666;
}

.detail-feature-item i {
	color: var(--primary-color);
	margin-right: 12px;
	font-size: 18px;
}

.product-detail-cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 500;
	text-align: center;
	transition: all 0.3s ease;
	display: inline-block;
}

.btn-primary {
	background-color: var(--primary-color);
	color: white;
	border: 2px solid var(--primary-color);
}

.btn-primary:hover {
	background-color: #0D47A1;
	border-color: #0D47A1;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: white;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-2px);
}

/* 产品详情内容 */
.product-detail-content {
	padding: 40px;
}

.detail-section {
	margin-bottom: 40px;
}

.detail-section h3 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
	position: relative;
	padding-bottom: 12px;
}

.detail-section h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background-color: var(--primary-color);
	border-radius: 3px;
}

.detail-section p {
	color: #666;
	line-height: 1.8;
	margin-bottom: 16px;
	font-size: 15px;
}

.detail-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin-top: 32px;
}

.detail-grid-item {
	background-color: #f9f9f9;
	padding: 24px;
	border-radius: 12px;
	border-left: 4px solid var(--primary-color);
}

.detail-grid-item h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
}

.detail-grid-item p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 0;
}

/* 产品案例展示 */
.case-studies {
	margin-top: 40px;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.case-item {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	margin-bottom: 15px;
}

.case-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-image {
	height: 200px;
	overflow: hidden;
}

.case-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.case-item:hover .case-image img {
	transform: scale(1.05);
}

.case-grid .case-content,
.case-grid .case-image {
	background-color: #fff;
	box-shadow: 0 0px 0px rgba(255, 255, 255, 0.05);
}

.case-grid .case-content {
	padding: 24px;
	flex: 1;
	display: inline-block;
	flex-direction: column;
}

.case-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
}

.case-description {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
	flex: 1;
}

.case-company {
	display: flex;
	align-items: center;
	color: #999;
	font-size: 14px;
	margin-bottom: 16px;
}

.case-company i {
	margin-right: 8px;
}

/* 应用场景样式 */
.scenarios {
	background-color: #fff;
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.scenarios h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 24px;
	color: #333;
}

.scenario-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.case-item .case-image {
	height: 300px;
}

.scenario-item {
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0px 0px 10px 2px rgb(191 191 191 / 50%);
	transition: all 0.3s ease;
	text-align: center;
}

.scenario-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.scenario-icon {
	font-size: 36px;
	color: var(--primary-color);
	margin-bottom: 16px;
}

.scenario-title {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 8px;
	color: #333;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.product-detail-header {
		flex-direction: column;
	}

	.product-detail-image {
		flex: 0 0 auto;
		width: 100%;
	}

	.detail-grid {
		grid-template-columns: 1fr;
	}

	.case-grid {
		grid-template-columns: 1fr;
	}

	.scenario-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.products-banner {
		height: 300px;
	}

	.products-banner h1 {
		font-size: 32px;
	}

	.product-categories {
		top: 60px;
	}

	.categories-container {
		gap: 8px;
		padding: 0 16px;
	}

	.category-item {
		padding: 8px 16px;
		font-size: 14px;
	}

	.product-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.product-detail-header,
	.product-detail-content {
		padding: 24px;
	}

	.product-detail-title {
		font-size: 24px;
	}

	.product-detail-cta {
		flex-direction: column;
	}

	.btn-primary,
	.btn-secondary {
		width: 100%;
		text-align: center;
	}

	.scenarios {
		padding: 24px;
	}

	.scenario-list {
		grid-template-columns: 1fr;
	}
}