/* 重置和基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #333;
	overflow-x: hidden;
}

/* 主要容器 */
.main-container {
	display: flex;
	align-items: center;
	margin: 0 auto;
	padding: 0.6rem 0.4rem;
	gap: 0.8rem;
}

/* 左侧内容区域 */
.content-section {
	flex: 1;
	max-width: 5rem;
}

.hero-content {
	padding: 0.4rem 0;
}

.main-title {
	font-size: 0.24rem;
	font-weight: 300;
	color: #1a1a1a;
	margin-bottom: 0.3rem;
	letter-spacing: 0.02rem;
}

.description {
	font-size: 0.018rem;
	line-height: 1.8;
	color: #666;
	margin-bottom: 0.4rem;
	text-align: justify;
}

.cta-button {
	background: linear-gradient(135deg, #4f7df3 0%, #3b5ae0 100%);
	color: white;
	border: none;
	padding: 0.16rem 0.4rem;
	font-size: 0.01rem;
	border-radius: 0.08rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0.04rem 0.2rem rgba(79, 125, 243, 0.3);
	font-weight: 500;
}

.cta-button:hover {
	transform: translateY(-0.02rem);
	box-shadow: 0 0.06rem 0.25rem rgba(79, 125, 243, 0.4);
}

/* 右侧3D视觉区域 */
.visual-section {
	flex: 1;
	position: relative;
}

.visual-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.floating-elements {
	position: relative;
	width: 100%;
	height: 6rem;
}

/* 3D立方体元素 */
.cube-element {
	position: absolute;
	background: linear-gradient(135deg, #4f7df3 0%, #3b5ae0 100%);
	border-radius: 0.08rem;
	box-shadow: 0 0.1rem 0.3rem rgba(79, 125, 243, 0.3);
	animation: float 6s ease-in-out infinite;
}

.cube-1 {
	width: 0.8rem;
	height: 0.8rem;
	top: 1rem;
	left: 2rem;
	animation-delay: 0s;
}

.cube-2 {
	width: 0.6rem;
	height: 0.6rem;
	top: 2.5rem;
	left: 1rem;
	animation-delay: 2s;
}

.cube-3 {
	width: 0.7rem;
	height: 0.7rem;
	top: 1.5rem;
	right: 1rem;
	animation-delay: 4s;
}

/* 圆形平台 */
.platform-element {
	position: absolute;
	background: linear-gradient(135deg, #87ceeb 0%, #4682b4 100%);
	border-radius: 50%;
	box-shadow: 0 0.15rem 0.4rem rgba(135, 206, 235, 0.3);
	animation: rotate 20s linear infinite;
}

.platform-1 {
	width: 2rem;
	height: 2rem;
	top: 3rem;
	left: 1.5rem;
}

.platform-2 {
	width: 1.2rem;
	height: 1.2rem;
	top: 0.8rem;
	right: 0.5rem;
	animation-direction: reverse;
}

/* 连接线 */
.connection-line {
	position: absolute;
	background: linear-gradient(90deg, #4f7df3, transparent);
	height: 0.02rem;
	animation: pulse 3s ease-in-out infinite;
}

.line-1 {
	width: 1.5rem;
	top: 2rem;
	left: 1rem;
	transform: rotate(45deg);
}

.line-2 {
	width: 1.2rem;
	top: 3.5rem;
	right: 1rem;
	transform: rotate(-30deg);
	animation-delay: 1s;
}

.line-3 {
	width: 1rem;
	top: 1.5rem;
	left: 3rem;
	transform: rotate(60deg);
	animation-delay: 2s;
}

/* 装饰小球 */
.decoration-ball {
	position: absolute;
	background: radial-gradient(circle, #87ceeb 0%, #4682b4 100%);
	border-radius: 50%;
	animation: bounce 4s ease-in-out infinite;
}

.ball-1 {
	width: 0.2rem;
	height: 0.2rem;
	top: 0.5rem;
	left: 1rem;
	animation-delay: 0s;
}

.ball-2 {
	width: 0.15rem;
	height: 0.15rem;
	top: 4rem;
	right: 2rem;
	animation-delay: 1.5s;
}

.ball-3 {
	width: 0.25rem;
	height: 0.25rem;
	top: 4.8rem;
	left: 0.5rem;
	animation-delay: 3s;
}

/* 区域布局 */
.section-area {
	/* padding: 0.8rem 0.4rem; */
}

.solutions-section {
	background: white;
}

.services-section {
	background: #f8fcff;
	padding: 0.35rem;
}

.cases-section {
	background: white;
}

.section-area .section-header,
.section-area .solutions-grid,
.section-area .services-container,
.section-area .cases-grid,
.section-area .more-services,
.section-area .more-cases {
	width: 100%;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 0.6rem;
}

.section-header h2 {
	font-size: 0.42rem;
	color: #1a1a1a;
	margin-bottom: 0.2rem;
	font-weight: 300;
}

.section-subtitle {
	font-size: 0.24rem;
	color: #666;
}

/* 解决方案标签导航 */
.solution-tabs {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 0.4rem 0;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(0.1rem);
	border-radius: 0.08rem;
	padding: 0.08rem;
	max-width: 6rem;
	margin: 0.4rem auto;
}

.solution-tab {
	padding: 0.15rem 0.3rem;
	cursor: pointer;
	font-size: 0.18rem;
	color: #666;
	border-radius: 0.06rem;
	transition: all 0.3s ease;
	text-align: center;
	flex: 1;
	position: relative;
}

.solution-tab.active {
	color: #4f7df3;
	background: white;
	box-shadow: 0 0.02rem 0.08rem rgba(79, 125, 243, 0.2);
	border-bottom: 0.01rem solid #4f7df3;
}

.solution-tab:hover {
	color: #4f7df3;
	background: rgba(79, 125, 243, 0.05);
}

/* 解决方案内容区域 */
.solutions-content {
	margin-top: 0.6rem;
	margin-bottom: 0.6rem;
}

.solution-content {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

.solution-content.active {
	display: block;
}

.solution-container {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	max-width: 14rem;
	margin: 0 auto;
	justify-content: space-between;
}

.solution-text {
	width: 7.5rem;
}

.solution-text h3 {
	font-size: 0.42rem;
	color: #1a1a1a;
	margin-bottom: 0.3rem;
	font-weight: 300;
}

.solution-description {
	font-size: 0.22rem;
	line-height: 1.8;
	color: #666;
	margin-bottom: 0.4rem;
	text-align: justify;
}

.solution-cta-button {
	background: linear-gradient(135deg, #4f7df3 0%, #3b5ae0 100%);
	color: white;
	border: none;
	padding: 0.16rem 0.4rem;
	font-size: 0.1rem;
	border-radius: 0.08rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0.04rem 0.2rem rgba(79, 125, 243, 0.3);
	font-weight: 500;
}

.solution-cta-button:hover {
	transform: translateY(-0.02rem);
	box-shadow: 0 0.06rem 0.25rem rgba(79, 125, 243, 0.4);
}

.solution-visual {
	display: flex;
	justify-content: center;
}

.solution-image {
	width: 5rem;
	height: 3.5rem;
	border-radius: 0.16rem;
	overflow: hidden;
	box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.15);
	background-size: cover;
	background-position: center;
}

.solution-image>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 各个方案的图片背景 */
.smart-park-image {}

.smart-medical-image {}

.enterprise-image {}

.manufacturing-image {}

/* 智能园区展示区域 */
.smart-park-section {
	background: linear-gradient(135deg, #f8fcff 0%, #e8f4fd 100%);
	padding: 1rem 0.4rem;
}

.park-container {
	max-width: 14rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.park-content {
	flex: 1;
	max-width: 5rem;
}

.park-content h2 {
	font-size: 0.25rem;
	color: #1a1a1a;
	margin-bottom: 0.3rem;
	font-weight: 300;
}

.park-description {
	font-size: 0.11rem;
	line-height: 1.8;
	color: #666;
	margin-bottom: 0.4rem;
	text-align: justify;
}

.park-cta-button {
	background: linear-gradient(135deg, #4f7df3 0%, #3b5ae0 100%);
	color: white;
	border: none;
	padding: 0.16rem 0.4rem;
	font-size: 0.1rem;
	border-radius: 0.08rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0.04rem 0.2rem rgba(79, 125, 243, 0.3);
	font-weight: 500;
}

.park-cta-button:hover {
	transform: translateY(-0.02rem);
	box-shadow: 0 0.06rem 0.25rem rgba(79, 125, 243, 0.4);
}

.park-visual {
	flex: 1;
}

.park-image-container {
	position: relative;
	width: 100%;
	height: 4rem;
	border-radius: 0.16rem;
	overflow: hidden;
}

.park-demo-image {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	border-radius: 0.16rem;
	position: relative;
	box-shadow: 0 0.2rem 0.4rem rgba(255, 107, 53, 0.3);
}

.park-demo-image::before {
	content: '';
	position: absolute;
	top: 0.2rem;
	left: 0.2rem;
	right: 0.2rem;
	bottom: 0.2rem;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="80" height="80" fill="none" stroke="white" stroke-width="2" opacity="0.7"/></svg>');
	background-size: 0.5rem 0.5rem;
	border-radius: 0.12rem;
}

/* 能力标签样式 */
.capability-tags {
	margin-top: 0.3rem;
	display: flex;
	align-items: center;
	gap: 0.1rem;
	flex-wrap: wrap;
}

.capability-label {
	font-size: 0.2rem;
	color: #666;
}

.capability-tag {
	background: rgba(79, 125, 243, 0.1);
	color: #4f7df3;
	padding: 0.06rem 0.16rem;
	border-radius: 0.2rem;
	font-size: 0.2rem;
	border: 0.01rem solid rgba(79, 125, 243, 0.2);
}

/* AI开放服务样式 */
.services-container {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.6rem;
	align-items: flex-start;
}

/* 左侧服务导航 */
.ai-services-nav {
	width: 3.5rem;
}

.ai-service-card {
	display: flex;
	background-image: url("../images/aifa/AI_leftBg.png");
	background-size: 100% 100%;
	border-radius: 0.05rem;
	color: white;
	position: relative;
	height: 4.5rem;
	overflow: hidden;
}

.service-labels {
	display: flex;
	justify-content: center;
	flex-direction: column;
	position: relative;
	z-index: 2;
	width: 100%;
}

.service-label {
	padding: 0.35rem 0.4rem;
	font-weight: 500;
	font-size: 0.11rem;
	width: 100%;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.service-label:hover {
	/* background: rgba(255, 255, 255, 0.3); */
	/* box-shadow: 0 0.04rem 0.15rem rgba(255, 255, 255, 0.2); */
}

.service-label.active {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(0.1rem);
}

.service-title {
	display: block;
	transition: all 0.3s ease;
	font-size: 0.22rem;
}

.service-subtitle {
	display: block;
	font-size: 0.16rem;
	font-weight: 400;
	opacity: 0;
	line-height: 1.6;
	height: 0;
	overflow: hidden;
	margin-top: 0;
	transition: all 0.35s ease-in;
}

.service-label:hover .service-subtitle,
.service-label.active .service-subtitle {
	opacity: 1;
	height: 0.32rem;
	margin-top: 0.05rem;
}

.service-label:nth-child(1) .service-title {
	font-weight: 600;
}

/* 右侧服务内容 */
.services-content {
	flex: 1;
}

.service-content {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

.service-content.active {
	display: block;
}

.service-grid {
	display: flex;
	gap: 0.2rem;
	flex-wrap: wrap;
}

.service-item-card {
	background: white;
	border-radius: 0.12rem;
	padding: 0.15rem;
	box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	border: 0.01rem solid #f0f0f0;
	width: 2.65rem;
}

.service-item-card:hover {
	transform: translateY(-0.04rem);
	box-shadow: 0 0.08rem 0.3rem rgba(0, 0, 0, 0.12);
	border-color: rgba(79, 125, 243, 0.2);
}

.service-item-card h4 {
	font-size: 0.18rem;
	color: #1a1a1a;
	margin-bottom: 0.15rem;
	font-weight: 500;
}

.service-item-card p {
	font-size: 0.16rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 0.2rem;
}

.service-buttons {
	display: flex;
	gap: 0.1rem;
}

.service-btn {
	padding: 0.08rem 0.2rem;
	border: none;
	border-radius: 0.06rem;
	font-size: 0.085rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.service-btn.primary {
	background: #4f7df3;
	color: white;
}

.service-btn.primary:hover {
	background: #3b5ae0;
}

.service-btn.secondary {
	background: #f5f5f5;
	color: #666;
}

.service-btn.secondary:hover {
	background: #e8e8e8;
}


/* 项目案例样式 */
.cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
	gap: 0.4rem;
	margin-top: 0.6rem;
}

.case-card {
	background: white;
	border-radius: 0.16rem;
	overflow: hidden;
	box-shadow: 0 0.08rem 0.32rem rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.case-card:hover {
	transform: translateY(-0.08rem);
	box-shadow: 0 0.16rem 0.48rem rgba(0, 0, 0, 0.15);
}

.case-image {
	height: 2rem;
	background-size: cover;
	background-position: center;
	position: relative;
}

.case-image-1 {
	background: linear-gradient(135deg, #ff9a56 0%, #ffad56 100%);
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="8" fill="white" opacity="0.3"/><circle cx="70" cy="50" r="12" fill="white" opacity="0.2"/><rect x="20" y="60" width="60" height="20" rx="10" fill="white" opacity="0.1"/></svg>');
}

.case-image-2 {
	background: linear-gradient(135deg, #868e96 0%, #adb5bd 100%);
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="20" width="60" height="40" rx="8" fill="white" opacity="0.3"/><rect x="30" y="35" width="40" height="3" fill="white" opacity="0.5"/><rect x="30" y="42" width="30" height="3" fill="white" opacity="0.4"/></svg>');
}

.case-image-3 {
	background: linear-gradient(135deg, #4c6ef5 0%, #9775fa 100%);
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="25" y="30" width="50" height="30" rx="5" fill="white" opacity="0.2"/><circle cx="35" cy="40" r="3" fill="white" opacity="0.4"/><rect x="42" y="37" width="20" height="2" fill="white" opacity="0.3"/><rect x="42" y="42" width="15" height="2" fill="white" opacity="0.3"/></svg>');
}

.case-content {
	padding: 0.3rem;
}

.case-content h4 {
	font-size: 0.13rem;
	color: #1a1a1a;
	margin-bottom: 0.2rem;
	font-weight: 500;
}

.case-content p {
	font-size: 0.095rem;
	color: #666;
	line-height: 1.7;
	text-align: justify;
}

.more-cases {
	text-align: center;
	margin-top: 0.6rem;
}

/* 动画 */
@keyframes float {

	0%,
	100% {
		transform: translateY(0rem);
	}

	50% {
		transform: translateY(-0.2rem);
	}
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.6;
	}

	50% {
		opacity: 1;
	}
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-0.3rem);
	}

	60% {
		transform: translateY(-0.15rem);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(0.2rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.main-container {
		gap: 0.4rem;
		padding: 0.4rem 0.2rem;
	}

	.park-container {
		gap: 0.4rem;
	}
}

@media (max-width: 750px) {
	.main-container {
		flex-direction: column;
		text-align: center;
	}

	.park-container {
		flex-direction: column;
	}

	.main-title {
		font-size: 0.3rem;
	}

	.visual-section {
		min-height: 4rem;
	}

	.floating-elements {
		height: 4rem;
	}

	.section-area {
		/* padding: 0.6rem; */
	}

	.services-container {
		flex-direction: column;
		gap: 0.4rem;
	}

	.ai-services-nav {
		flex: none;
		flex-direction: row;
		overflow-x: auto;
		gap: 0.15rem;
		width: 100%
	}

	.ai-service-card {
		/* min-width: 3rem;
		height: 4rem; */
		background-size: cover;
		background-repeat: no-repeat;
	}
	
	.service-title{
		font-size: .32rem;
	}

	.service-labels {
		flex-wrap: wrap;
		flex-direction: row;
	}

	.service-subtitle,
	.service-label:hover .service-subtitle,
	.service-label.active .service-subtitle {
		height: unset;
		margin-top: .15rem;
	}

	.service-subtitle {
		opacity: 0;
		margin-top: .15rem;
		font-size: .2rem;
		padding: 0 .15rem;
	}

	.service-label:hover .service-subtitle,
	.service-label.active .service-subtitle {
		opacity: 1;
	}

	.service-item-card {
		width: 100%;
		padding: .25rem .15rem;
	}

	.service-label {
		display: flex;
		align-items: center;
		justify-content: center;

		width: 50%;
		padding: 0;
	}

	.services-content {
		width: 100%;
	}

	.service-content.active {
		display: flex;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.solution-container {
		flex-direction: column;
		gap: 0.4rem;
		text-align: center;
	}

	.solution-image {
		max-width: 100%;
		height: unset;
	}

	.section-header h2 {
		font-size: .52rem;
		margin-bottom: .35rem;
	}

	.section-subtitle {
		font-size: .32rem;
	}

	.solution-tabs {
		width: 100%;
		max-width: unset;
		flex-wrap: wrap;
	}

	.solution-tab {
		font-size: .32rem;
		width: 50%;
		flex: unset;
	}

	.solution-text {
		width: 90%;
	}

	.solution-description {
		font-size: .32rem;
	}

	.capability-label {
		font-size: .32rem;
	}

	.capability-tag {
		font-size: .28rem;
	}
	
	.service-item-card h4{
		text-align: center;
		font-size: .24rem;
	}
	
	.service-item-card p{
		font-size: .2rem;
	}
}

@media (max-width: 450px) {
    .service-item-card {
        /* width: 45%; */
    }
}