/* .header-main-nav-wrapper .nav-link {
	color: #ffffff;
} */

/* 轮播图区域样式 */
.swiper-section {
	position: relative;
	width: 100%;
	/* height: 100vh; */
	padding-top: 125px;
	/* 为固定头部留出空间 */
	min-height: 600px;
	background: linear-gradient(135deg, var(--main-color) 60%, var(--sec-color) 100%);
	overflow: hidden;
}

.swiper-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(../image/bg-pattern.png);
	background-position: center;
	pointer-events: none;
	z-index: 1;
}

.head-swiper {
	width: 100%;
	height: calc(100vh - 125px);
	position: relative;
	z-index: 2;
}

.head-swiper .swiper-slide {
	height: auto;
	min-height: 600px;
	display: flex;
	align-items: center;
}

.slide-container {
	width: 100%;
	max-width: 1368px;
	margin: 0 auto;
	padding: 80px 40px;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

.slide-text {
	flex: 0 0 45%;
	max-width: 500px;
	z-index: 3;
}

.slide-title {
	font-size: 48px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin-bottom: 24px;
	
	letter-spacing: -0.5px;
}

.slide-description {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin-bottom: 40px;
	
}

.slide-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.slide-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	
	transition: all 0.3s ease;
	white-space: nowrap;
}

.slide-btn-outline {
	border: 1px solid #ffffff;
	color: #ffffff;
	background-color: transparent;
}

.slide-btn-outline:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.8);
	transform: translateY(-2px);
}

.play-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

#headSwiperSection .slide-image-wrapper {
	position: relative;
	/* min-height: 400px; */
	display: flex;
	align-items: center;
	justify-content: center;
}

#headSwiperSection .banner-img {
	width: 36px;
	height: 64px;
	position: absolute;
	bottom: 0;
	right: 0;
	object-fit: contain;
	/* 增加上下緩慢跳動動畫 */
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

#headSwiperSection .banner-img-1 {
	bottom: 78px;
	right: 240px;
}

#headSwiperSection .banner-img-2 {
	bottom: 131px;
	right: 146px;
}

#headSwiperSection .banner-img-3 {
	bottom: 185px;
	right: 50px;
}

/* 服务器机架样式 */
.server-rack {
	position: absolute;
	width: 80px;
	height: 120px;
	background: linear-gradient(135deg, rgba(59, 193, 191, 0.2) 0%, rgba(59, 193, 191, 0.4) 100%);
	border: 1px solid rgba(59, 193, 191, 0.5);
	border-radius: 4px;
	transform-style: preserve-3d;
}

.server-rack::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: repeating-linear-gradient(to bottom,
			transparent 0px,
			transparent 14px,
			rgba(59, 193, 191, 0.3) 14px,
			rgba(59, 193, 191, 0.3) 16px);
}

.server-rack-1 {
	top: 20%;
	left: 10%;
	transform: rotateY(-20deg) rotateX(10deg);
}

.server-rack-2 {
	top: 15%;
	right: 20%;
	transform: rotateY(15deg) rotateX(-5deg);
}

.server-rack-3 {
	bottom: 30%;
	left: 50%;
	transform: translateX(-50%) rotateY(5deg) rotateX(8deg);
}

#headSwiperSection .bg-shape {
	position: absolute;
	height: 100vh;
	object-fit: contain;
}

#headSwiperSection .left-shape {
	top: 0;
	left: 0;
}

#headSwiperSection .right-shape {
	right: 0;
	top: 0;
}

/* Swiper 分页器样式 */
.head-swiper .swiper-pagination {
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	position: relative;
}

.head-swiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	margin: 0 6px;
	transition: all 0.3s ease;
}

.head-swiper .swiper-pagination-bullet-active {
	background: #ffffff;
	width: 20px;
	border-radius: 6px;
}

/* Swiper 导航按钮样式 */
.head-swiper .swiper-button-next,
.head-swiper .swiper-button-prev {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.3s ease;
}

.head-swiper .swiper-button-next:hover,
.head-swiper .swiper-button-prev:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

.head-swiper .swiper-button-next::after,
.head-swiper .swiper-button-prev::after {
	font-size: 18px;
	font-weight: bold;
}

.head-swiper .swiper-button-next {
	right: 40px;
}

.head-swiper .swiper-button-prev {
	left: 40px;
}

@keyframes sparkle {

	0%,
	100% {
		opacity: 0.5;
	}

	50% {
		opacity: 1;
	}
}

/* 解决方案区域样式 */
.solutions-section {
	position: relative;
	width: 100%;
	padding: 100px 0;
	background-color: #ffffff;
	overflow: hidden;
	background-image: url(../image/bg.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.solutions-container {
	max-width: 1368px;
	margin: 0 auto;
	padding: 0 24px;
}

.solutions-title {
	font-size: 34px;
	font-weight: 700;
	color: #1a2332;
	line-height: 1.2;
	margin: 0 0 60px 0;
	text-align: center;
	
	letter-spacing: -0.5px;
}

.solutions-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 32px;
	margin: 0 auto;
}

/* 优化5个卡片的布局：第一行2个各占3列（占满整行），第二行3个各占2列 */
.solutions-grid .solution-card:nth-child(1) {
	grid-column: 1 / 4;
}

.solutions-grid .solution-card:nth-child(2) {
	grid-column: 4 / 7;
}

.solutions-grid .solution-card:nth-child(3) {
	grid-column: 1 / 3;
}

.solutions-grid .solution-card:nth-child(4) {
	grid-column: 3 / 5;
}

.solutions-grid .solution-card:nth-child(5) {
	grid-column: 5 / 7;
}

.solution-card {
	background-color: #F6F7FC;
	border-radius: 12px;
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
}

.solution-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.solution-icon {
	width: 200px;
	height: fit-content;
	margin-bottom: 24px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.solution-icon svg {
	width: 100%;
	height: 100%;
}

.solution-card-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a2332;
	line-height: 1.3;
	margin: 0 0 6px 0;
	
}

.solution-description-wrapper {
	width: 100%;
	margin-bottom: 16px;
	position: relative;
	min-height: 44.8px;
	transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.solution-description {
	font-size: 16px;
	color: #666666;
	line-height: 1.4;
	margin: 0;
	
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	max-height: 44.8px;
}

.solution-card:hover .solution-description-wrapper {
	min-height: auto;
	overflow: visible;
}

.solution-card:hover .solution-description {
	display: block;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
	max-height: 200px;
	overflow: visible;
}

.solution-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 6px;
	border: 1px solid #3F6478;
	background-color: #ffffff;
	color: #3F6478;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	
	transition: all 0.3s ease;
	white-space: nowrap;
	margin-top: auto;
}

.solution-btn:hover {
	background-color: #3F6478;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(63, 100, 120, 0.2);
}

/* Popular Use Cases 区域样式 */
.popular-case-section {
	position: relative;
	width: 100%;
	padding: 60px 0;
	background-color: var(--main-color);
	background-image: url(../image/whc-feedback-bg.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.popular-case-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(31, 58, 137, 0.98);
	z-index: 0;
}

.popular-case-section .my-container {
	padding: 0 24px;
}

/* 装饰性几何图案样式 */
.geometric-shape {
	position: absolute;
	pointer-events: none;
	opacity: 0.15;
	z-index: 0;
}

.shape-triangle-1 {
	width: 0;
	height: 0;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	border-bottom: 70px solid rgba(255, 255, 255, 0.2);
    top: -18%;
    right: -18%;
	animation: floatRotateXY1 15s ease-in-out infinite reverse;
}

.shape-triangle-2 {
	width: 160px;
	height: 160px;
	background-color: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.15);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	-webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	bottom: 15%;
	left: -20%;
	animation: floatRotateXY2 22s ease-in-out infinite;
}

.shape-diamond-1 {
	width: 80px;
	height: 80px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	bottom: -9%;
    right: -2%;
	animation: floatRotateY3 16s ease-in-out infinite reverse;
}

/* 组合浮动和旋转动画 */
@keyframes floatRotateY1 {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-30px) rotate(180deg);
	}
}

@keyframes floatRotateX1 {
	0%, 100% {
		transform: translateX(0) rotate(45deg);
	}
	50% {
		transform: translateX(25px) rotate(225deg);
	}
}

@keyframes floatRotateXY1 {
	0%, 100% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(20px, -20px) rotate(90deg);
	}
	50% {
		transform: translate(-15px, -35px) rotate(180deg);
	}
	75% {
		transform: translate(-25px, -10px) rotate(270deg);
	}
}

@keyframes floatRotateY2 {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-25px) rotate(180deg);
	}
}

@keyframes floatRotateXY2 {
	0%, 100% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(18px, -18px) rotate(90deg);
	}
	50% {
		transform: translate(-12px, -30px) rotate(180deg);
	}
	75% {
		transform: translate(-20px, -8px) rotate(270deg);
	}
}

@keyframes floatRotateY3 {
	0%, 100% {
		transform: translateY(0) rotate(45deg);
	}
	50% {
		transform: translateY(-28px) rotate(225deg);
	}
}

/* 确保内容在图案之上 */
.popular-case-title,
.popular-case-grid {
	position: relative;
	z-index: 1;
}

.popular-case-container {
	max-width: 1368px;
	margin: 0 auto;
	padding: 0 40px;
}

.popular-case-title {
	font-size: 34px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin: 0 0 48px 0;
	text-align: center;
	
	letter-spacing: -0.5px;
}

.popular-case-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0 auto;
}

.popular-case-card {
	background: var(--main-color);
	border-radius: 12px;
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(255, 255, 255, 0.16);
}

.popular-case-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(63, 100, 120, 0.1) 0%, rgba(86, 177, 178, 0.1) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.popular-case-card:hover {
	transform: translateY(-4px);
	min-height: auto;
}

.popular-case-card:hover::before {
	opacity: 1;
}

.popular-case-card .right-arrow {
	display: none;
}

.popular-case-card .case-left-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.popular-case-icon {
	width: 32px;
	height: 32px;
	margin-bottom: 6px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	transition: transform 0.4s ease;
}

.popular-case-card:hover .popular-case-icon {
	transform: scale(1.1);
}

.popular-case-icon svg {
	width: 100%;
	height: 100%;
}

.popular-case-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.3;
	margin: 0 0 6px 0;
	
	position: relative;
	z-index: 1;
	transition: color 0.4s ease;
}

.popular-case-description {
	width: 100%;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
}

.popular-case-card:hover .popular-case-description {
	max-height: 300px;
	opacity: 1;
}

.popular-case-description p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin: 0;
	
	text-align: center;
}

/* Resources & Support 区域样式 */
.resources-support-section {
	position: relative;
	width: 100%;
	padding: 60px 0;
	background-color: #f8fafb;
	overflow: hidden;
}

.resources-support-container {
	margin: 0 auto;
	padding: 0 24px;
}

.resources-support-title {
	font-size: 34px;
	font-weight: 700;
	color: #1a2332;
	line-height: 1.2;
	margin: 0 0 8px 0;
	text-align: center;
	
	letter-spacing: -0.5px;
}

.resources-support-subtitle {
	font-size: 18px;
	color: #666666;
	line-height: 1.6;
	margin: 0 0 30px 0;
	text-align: center;
	
}

.resources-support-tabs {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 48px;
	margin-bottom: 24px;
	border-bottom: 1px solid #E0E0E0;
}

.rs-tab-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: var(--main-color);
	
	transition: all 0.3s ease;
	position: relative;
	padding-bottom: 12px;
}

.rs-tab-btn::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--sec-color);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.rs-tab-btn.active {
	color: var(--sec-color);
}

.rs-tab-btn.active::after {
	opacity: 1;
}

.rs-tab-btn:hover svg path,
.rs-tab-btn.active svg path {
	fill: var(--sec-color);
}

.rs-tab-btn.active .rs-tab-icon {
	opacity: 1;
}

.rs-tab-btn:hover {
	color: var(--sec-color);
}

.rs-tab-btn:hover .rs-tab-icon {
	opacity: 1;
}

.resources-support-content {
	position: relative;
}

.rs-tab-content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.rs-tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.rs-content-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rs-content-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 0;
}

.rs-item-link {
	font-size: 16px;
	color: #1a2332;
	text-decoration: none;
	line-height: 1.6;
	
	transition: color 0.3s ease;
	flex: 1;
}

.rs-item-link:hover {
	color: var(--sec-color);
}

