/* ===========================================================
   首页 · 产品应用场景（六大场景 全线守护）
   位置：banner 正下方、产品中心轮播之上
   来源：改版方案 product-center.html（已按站点 rem 体系与 .main 容器适配）
   =========================================================== */

.pcx {
	position: relative;
	overflow: hidden;
	padding: 1.28rem 0 1.3rem;
	background: #ffffff;
	color: #1c2530;
	font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
}
.pcx *,
.pcx *::before,
.pcx *::after {
	box-sizing: border-box;
}
.pcx :where(h2, h3, p, ul, li, figure) {
	margin: 0;
	padding: 0;
}
.pcx ul {
	list-style: none;
}
.pcx img {
	display: block;
	max-width: 100%;
}
.pcx a {
	text-decoration: none;
}

.pcx__wrap {
	position: relative;
	z-index: 1;
}

/* ---------- 模块头：引题 + 主标题 + 导语 ---------- */
.pcx__head {
	padding-bottom: 0.26rem;
	border-bottom: 1px solid rgba(11, 31, 42, 0.22);
}
.pcx__title {
	font-weight: 800;
	color: #0b1f2a;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0 0 0.16rem;
}
.pcx__title-sub {
	display: block;
	font-weight: 600;
	letter-spacing: 0.16em;
	font-size: 18px;
	color: #5b6b77;
	margin-bottom: 10px;
}
.pcx__title-main {
	display: block;
	font-weight: 800;
	font-size: clamp(28px, 3.89vw, 56px);
	line-height: 1.16;
	letter-spacing: -0.03em;
}
.pcx__title-main em {
	font-style: normal;
	font-size: inherit;
	font-weight: inherit;
	position: relative;
	z-index: 0;
	color: #0077a3;
	padding: 0 0.04em;
}
.pcx__title-main em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.08em;
	height: 0.22em;
	background: rgba(255, 193, 7, 0.42);
	z-index: -1;
}
.pcx__lead {
	max-width: 42em;
	color: #5b6b77;
	font-size: clamp(15px, 1.18vw, 18px);
	line-height: 1.8;
}

/* ---------- 主体：六张场景卡片 ---------- */
.pcx__stage {
	margin-top: 0.5rem;
}
.pcx__body {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.3rem;
	align-items: stretch;
}

.pcx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid rgba(11, 31, 42, 0.12);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(11, 31, 42, 0.1);
	transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.34s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcx-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(11, 31, 42, 0.16);
	border-color: rgba(11, 31, 42, 0.22);
}
.pcx-card:hover .pcx-card__title {
	color: #0077a3;
}

.pcx-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #eef2f4;
	overflow: hidden;
}
.pcx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	transition: transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcx-card:hover .pcx-card__media img {
	transform: scale(1.03);
}

.pcx-card__body {
	padding: 0.2rem 0.24rem 0.24rem;
	border-top: 1px solid rgba(11, 31, 42, 0.08);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.pcx-card__rule {
	width: 44px;
	height: 3px;
	background: #f7c400;
	margin-bottom: 0.15rem;
}
.pcx-card__title {
	font-weight: 700;
	font-size: clamp(17px, 1.28vw, 23px);
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: #0b1f2a;
	transition: color 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcx-card__desc {
	margin-top: 10px;
	color: #5b6b77;
	font-size: clamp(13.5px, 1.02vw, 18px);
	line-height: 1.75;
}

/* 标签 */
.pcx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 0.2rem;
}
.pcx-tags__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	min-height: 26px;
	border: 1px solid rgba(11, 31, 42, 0.12);
	border-radius: 2px;
	font-size: clamp(11px, 0.8vw, 14px);
	font-weight: 500;
	color: #5b6b77;
	letter-spacing: 0.02em;
	transition: color 0.16s ease-out, border-color 0.16s ease-out;
}
.pcx-tags__item::before {
	content: "";
	width: 4px;
	height: 4px;
	background: #0099cd;
	flex: none;
	transform: rotate(45deg);
	opacity: 0.75;
}
.pcx-tags__item:hover {
	color: #1c2530;
	border-color: rgba(11, 31, 42, 0.22);
}

/* 卡片底部入口 */
.pcx-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: 0.2rem;
	font-size: clamp(13px, 0.95vw, 16px);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #0077a3;
	cursor: pointer;
	transition: color 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcx-card__more i {
	font-style: normal;
	flex: none;
	font-size: 16px;
	line-height: 1;
	transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcx-card__more:hover {
	color: #0b1f2a;
}
.pcx-card__more:hover i {
	transform: translateX(4px);
}

/* ---------- 入场（仅在 JS 可用时隐藏，保证无 JS 可读） ---------- */
.pcx-js .pcx-reveal {
	opacity: 0;
	transform: translateY(26px);
}
.pcx-js .pcx-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1), transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
	.pcx-js .pcx-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.pcx-card,
	.pcx-card__media img,
	.pcx-card__more i {
		transition: none !important;
	}
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
	.pcx__body {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.pcx__title-main {
		font-size: clamp(28px, 4.2vw, 50px);
	}
}

/* 站点移动端断点：以下 1rem = 100 * 屏宽 / 750 */
@media (max-width: 1043px) {
	.pcx {
		padding: 0.72rem 0 0.76rem;
		font-size: 0.26rem;
	}
	.pcx__head {
		padding-bottom: 0.24rem;
	}
	.pcx__title {
		margin-bottom: 0.14rem;
	}
	.pcx__title-sub {
		font-size: 17px;
		margin-bottom: 0.12rem;
	}
	.pcx__title-main {
		font-size: 0.56rem;
		line-height: 1.14;
	}
	.pcx__lead {
		font-size: 0.26rem;
		line-height: 1.75;
	}
	.pcx__stage {
		margin-top: 0.36rem;
	}
	.pcx__body {
		grid-template-columns: 1fr;
		gap: 0.24rem;
	}
	.pcx-card__body {
		padding: 0.24rem 0.3rem 0.3rem;
	}
	.pcx-card__rule {
		margin-bottom: 0.16rem;
	}
	.pcx-card__title {
		font-size: 0.34rem;
	}
	.pcx-card__desc {
		margin-top: 0.12rem;
		font-size: 0.26rem;
		line-height: 1.72;
	}
	.pcx-tags {
		margin-top: 0.2rem;
		gap: 0.12rem;
	}
	.pcx-tags__item {
		font-size: 0.22rem;
		padding: 0.07rem 0.16rem;
		min-height: 0.42rem;
	}
	.pcx-card__more {
		margin-top: 0.18rem;
		font-size: 0.24rem;
	}
}
