@charset "utf-8";

/* ========== 智能产品 · Tab 切换 ========== */
.sp-layout {
	padding: 60px 0 80px;
}

.sp-wrap {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 28px;
	align-items: start;
}

.sp-radios {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.sp-nav {
	position: sticky;
	top: 100px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(28, 73, 142, .08);
	padding: 20px 12px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(28, 73, 142, .25) transparent;
}
.sp-nav::-webkit-scrollbar {
	width: 4px;
}
.sp-nav::-webkit-scrollbar-thumb {
	background: rgba(28, 73, 142, .25);
	border-radius: 4px;
}

.sp-nav-head {
	padding: 4px 12px 16px;
	border-bottom: 1px solid rgba(28, 73, 142, .08);
	margin-bottom: 12px;
}
.sp-nav-head h2 {
	font-size: 20px;
	font-weight: 700;
	color: var(--secondary);
	margin: 0;
}
.sp-nav-head p {
	font-size: 12px;
	color: var(--text-light);
	margin: 4px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.sp-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sp-nav-item label {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all .35s cubic-bezier(.22, 1, .36, 1);
	position: relative;
	overflow: hidden;
}
.sp-nav-item label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--primary);
	border-radius: 0 3px 3px 0;
	transform: scaleY(0);
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.sp-nav-item label:hover {
	background: rgba(28, 73, 142, .04);
	border-color: rgba(28, 73, 142, .08);
}
.sp-nav-item .cn {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--secondary);
	line-height: 1.45;
}
.sp-nav-item .en {
	display: block;
	font-size: 11px;
	color: var(--text-light);
	line-height: 1.4;
	margin-top: 4px;
	font-family: Arial, Helvetica, sans-serif;
	word-break: keep-all;
}

.sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-nav-item:nth-child(1) label,
.sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-nav-item:nth-child(2) label,
.sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-nav-item:nth-child(3) label,
.sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-nav-item:nth-child(4) label,
.sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-nav-item:nth-child(5) label,
.sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-nav-item:nth-child(6) label,
.sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-nav-item:nth-child(7) label,
.sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-nav-item:nth-child(8) label,
.sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-nav-item:nth-child(9) label,
.sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-nav-item:nth-child(10) label,
.sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-nav-item:nth-child(11) label,
.sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-nav-item:nth-child(12) label,
.sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-nav-item:nth-child(13) label,
.sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-nav-item:nth-child(14) label {
	background: linear-gradient(135deg, rgba(28, 73, 142, .08) 0%, rgba(211, 38, 41, .06) 100%);
	border-color: rgba(28, 73, 142, .12);
	box-shadow: 0 4px 16px rgba(28, 73, 142, .08);
}
.sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-nav-item:nth-child(1) label::before,
.sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-nav-item:nth-child(2) label::before,
.sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-nav-item:nth-child(3) label::before,
.sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-nav-item:nth-child(4) label::before,
.sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-nav-item:nth-child(5) label::before,
.sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-nav-item:nth-child(6) label::before,
.sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-nav-item:nth-child(7) label::before,
.sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-nav-item:nth-child(8) label::before,
.sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-nav-item:nth-child(9) label::before,
.sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-nav-item:nth-child(10) label::before,
.sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-nav-item:nth-child(11) label::before,
.sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-nav-item:nth-child(12) label::before,
.sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-nav-item:nth-child(13) label::before,
.sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-nav-item:nth-child(14) label::before {
	transform: scaleY(1);
}
.sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-nav-item:nth-child(1) .cn,
.sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-nav-item:nth-child(2) .cn,
.sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-nav-item:nth-child(3) .cn,
.sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-nav-item:nth-child(4) .cn,
.sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-nav-item:nth-child(5) .cn,
.sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-nav-item:nth-child(6) .cn,
.sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-nav-item:nth-child(7) .cn,
.sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-nav-item:nth-child(8) .cn,
.sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-nav-item:nth-child(9) .cn,
.sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-nav-item:nth-child(10) .cn,
.sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-nav-item:nth-child(11) .cn,
.sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-nav-item:nth-child(12) .cn,
.sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-nav-item:nth-child(13) .cn,
.sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-nav-item:nth-child(14) .cn {
	color: var(--primary);
}

.sp-panels {
	position: relative;
	min-height: 420px;
}

.sp-panel {
	display: none;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(28, 73, 142, .08);
	overflow: hidden;
}
.sp-panel-inner {
	padding: clamp(28px, 4vw, 44px);
}

.sp-panel-head {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(28, 73, 142, .08);
	position: relative;
}
.sp-panel-head::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 2px;
}
.sp-panel-head h2 {
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 700;
	color: var(--secondary);
	margin: 0;
	line-height: 1.35;
}
.sp-panel-head .en {
	font-size: clamp(12px, 1.2vw, 14px);
	color: var(--text-light);
	margin: 8px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

.sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(1),
.sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(2),
.sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(3),
.sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(4),
.sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(5),
.sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(6),
.sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(7),
.sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(8),
.sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(9),
.sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(10),
.sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(11),
.sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(12),
.sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(13),
.sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-panels .sp-panel:nth-child(14) {
	display: block;
	animation: spPanelIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes spPanelIn {
	from {
		opacity: 0;
		transform: translateY(20px) scale(.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes spPanelOut {
	from { opacity: 1; transform: none; }
	to { opacity: 0; transform: translateY(-12px); }
}

.sp-panel.is-leaving {
	animation: spPanelOut .3s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* 富文本 */
.sp-richtext {
	font-size: 15px;
	color: var(--text);
}
.sp-richtext p {
	text-align: justify;
	word-break: keep-all;
}
.sp-richtext img {
	max-width: 100%;
	height: auto;
	margin: 16px 0;
	box-shadow: 0 8px 24px rgba(28, 73, 142, .1);
}
.sp-richtext .highlight {
	padding: 16px 20px;
	background: linear-gradient(135deg, #f4f8fc 0%, #eef4fb 100%);
	border-radius: 10px;
	border-left: 4px solid var(--primary);
	margin: 20px 0;
}

.sp-deco {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 160px;
	height: 160px;
	background: radial-gradient(circle, rgba(211, 38, 41, .06) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.sp-section.in-view .sp-nav {
	animation: spNavIn .7s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes spNavIn {
	from { opacity: 0; transform: translateX(-16px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
	.sp-layout {
		padding: 40px 0 60px;
	}
	.sp-wrap {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.sp-nav {
		position: relative;
		top: auto;
		max-height: none;
		padding: 16px 10px;
	}
	.sp-nav-list {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 8px;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}
	.sp-nav-item {
		flex: 0 0 auto;
		min-width: 140px;
		max-width: 200px;
		scroll-snap-align: start;
	}
	.sp-nav-item label {
		padding: 10px 12px;
		height: 100%;
	}
	.sp-nav-item label::before {
		width: 100%;
		height: 3px;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		transform: scaleX(0);
		border-radius: 3px 3px 0 0;
	}
	.sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-nav-item:nth-child(1) label::before,
	.sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-nav-item:nth-child(2) label::before,
	.sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-nav-item:nth-child(3) label::before,
	.sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-nav-item:nth-child(4) label::before,
	.sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-nav-item:nth-child(5) label::before,
	.sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-nav-item:nth-child(6) label::before,
	.sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-nav-item:nth-child(7) label::before,
	.sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-nav-item:nth-child(8) label::before,
	.sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-nav-item:nth-child(9) label::before,
	.sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-nav-item:nth-child(10) label::before,
	.sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-nav-item:nth-child(11) label::before,
	.sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-nav-item:nth-child(12) label::before,
	.sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-nav-item:nth-child(13) label::before,
	.sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-nav-item:nth-child(14) label::before {
		transform: scaleX(1);
	}
	.sp-nav-head {
		display: none;
	}
}

@media (max-width: 575px) {
	.sp-nav-item {
		min-width: 120px;
	}
	.sp-nav-item .cn {
		font-size: 13px;
	}
	.sp-panel-inner {
		padding: 20px 16px;
	}
}

/* 产品技术页内嵌：Tab 栏切换（横向 Tab + 下方内容） */
.sp-section--tabbar .sp-wrap {
	grid-template-columns: 1fr;
	gap: 20px;
}
.sp-section--tabbar .sp-nav {
	position: relative;
	top: auto;
	max-height: none;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}
.sp-section--tabbar .sp-nav-head {
	display: block;
	padding: 0 0 20px;
	margin-bottom: 4px;
	border-bottom: none;
	text-align: center;
}
.sp-section--tabbar .sp-nav-head h2 {
	font-size: clamp(24px, 3vw, 32px);
}
.sp-section--tabbar .sp-nav-list {
	flex-direction: row;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}
.sp-section--tabbar .sp-nav-item {
	flex: 0 0 auto;
	min-width: 140px;
	max-width: 220px;
	scroll-snap-align: start;
}
.sp-section--tabbar .sp-nav-item label::before {
	width: 100%;
	height: 3px;
	top: auto;
	bottom: 0;
	left: 0;
	right: 0;
	transform: scaleX(0);
	border-radius: 3px 3px 0 0;
}
.sp-section--tabbar .sp-radios:nth-of-type(1):checked ~ .sp-wrap .sp-nav-item:nth-child(1) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(2):checked ~ .sp-wrap .sp-nav-item:nth-child(2) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(3):checked ~ .sp-wrap .sp-nav-item:nth-child(3) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(4):checked ~ .sp-wrap .sp-nav-item:nth-child(4) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(5):checked ~ .sp-wrap .sp-nav-item:nth-child(5) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(6):checked ~ .sp-wrap .sp-nav-item:nth-child(6) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(7):checked ~ .sp-wrap .sp-nav-item:nth-child(7) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(8):checked ~ .sp-wrap .sp-nav-item:nth-child(8) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(9):checked ~ .sp-wrap .sp-nav-item:nth-child(9) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(10):checked ~ .sp-wrap .sp-nav-item:nth-child(10) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(11):checked ~ .sp-wrap .sp-nav-item:nth-child(11) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(12):checked ~ .sp-wrap .sp-nav-item:nth-child(12) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(13):checked ~ .sp-wrap .sp-nav-item:nth-child(13) label::before,
.sp-section--tabbar .sp-radios:nth-of-type(14):checked ~ .sp-wrap .sp-nav-item:nth-child(14) label::before {
	transform: scaleX(1);
}
.sp-layout--embed {
	padding: 20px 0 80px;
	background: linear-gradient(180deg, rgba(244, 248, 252, .6) 0%, #fff 120px);
}
