/* =========================================================
 * index.css - 首页完整样式文件
 * 整合了所有首页相关的CSS模块
 * ======================================================= */


/* =========================================================
 * 模块2: 首屏关键样式（Header & Hero 顶部区域） * 对应模块：页面头部导出.header + 首屏英雄.hero
 * ======================================================= */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 8px 0;
	background: transparent;
}



.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
}

/* Hero 背景：渐变叠加背景图 */
.hero {
	background: linear-gradient(135deg, rgba(10, 40, 75, .78), rgba(24, 48, 90, .92)), url('../img/Back.webp') no-repeat center center/cover;
}


/* 仅核心业务按钮样式 */
.core-service .btn {
    border-radius: 100px;
	width: 140px;
	height: 40px;
	display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* =========================================================
 * 模块3: 骨架屏效果（Skeleton） * 对应模块：图/ 图标加载占位 .skeleton
 * ======================================================= */

.skeleton {
	position: relative;
	background: #1a2e4a;
	overflow: hidden;
}

.skeleton::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
	animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}


/* =========================================================
 * 模块4: 无障碍偏好：降低动效时移除动效果 * ======================================================= */

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}


/* =========================================================
 * 模块5: 核心业务模块（services） * 布局、卡片标题装饰等
 * 对应模块services 区域
 * ======================================================= */

.services {
	padding: 65px 0;
}

/* 核心业务主列表容器 */
.core-services {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

/* 单个核心业务卡片 */
.core-service {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	/* gap: 32px; */
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #f8fafc;
	box-shadow: none;
	position: relative;
	overflow: visible;
}

.core-service::before {
	content: none;
}

/* 卡片内部左右布局容器：左文案 / 右图 */
.core-service-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

/* 左侧文案 */
.core-service-text {
	flex: 1 1 320px;
	max-width: 620px;
}

/* 业务类型小标签（芯片）- 位于容器顶部居中 */
.core-service-tag-1,
.core-service-tag-2 {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 20px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #93c5fd;
	background: rgba(37, 99, 235, .12);
	border: 1px solid rgba(59, 130, 246, .35);
	margin-bottom: 20px;
	margin-top: 0;
	position: relative;
	z-index: 2;
}

/* 标签与说明之间的装饰分隔线 */
.core-service-divider {
	width: 72px;
	height: 4px;
	margin: 6px 0 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(59, 130, 246, .9), rgba(59, 130, 246, .2));
	opacity: .9;
}
.core-service-title {
	font-size: 24px;
	line-height: 1.35;
	margin: 0 0 12px;
}
.core-service-subtitle {
	font-size: 16px;
	color: #cbd5f5;
	margin: 0 0 18px;
	line-height: 1.75;
}

/* 卖点列表容器 */
.core-service-bullets {
	list-style: none;
	padding: 0;
	margin: 12px 0 24px;
}

.core-service-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #e5e7eb;
	margin-bottom: 8px;
}

/* 列表左侧圆形 check 图标 */
.core-service-bullet-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: rgba(59, 130, 246, .12);
	border: 1px solid rgba(59, 130, 246, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.core-service-bullet-icon::before {
	content: '';
	display: block;
	width: 8px;
	height: 4px;
	border-left: 2px solid #60a5fa;
	border-bottom: 2px solid #60a5fa;
	transform: rotate(-45deg) translateY(-1px);
}

.core-service-bullet-text {
	flex: 1;
}

/* 按钮区域 */
.core-service-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

/* 右侧图片总体容器 */
.core-service-media {
	/* flex: 1 1 320px; */
	max-width: 600px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

/* 图片卡片：参考新建文本文档中rounded + shadow + hover 风格 */
.core-service-media-inner {
	position: relative;
	width: 100%;
	max-width: 550px;
	min-height: auto;
	border-radius: 10px;
	overflow: hidden;
	background: #1a1f2e;
	box-shadow: 0 16px 30px rgba(15, 23, 42, .8);
	display: block;
	height: auto;
	line-height: 0;
	transition: transform .3s ease, box-shadow .3s ease;
}

.core-service-media-inner img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

.core-service-media-inner:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 45px rgba(15, 23, 42, .9);
}

/* 桌面端偶数项左右交错布局（劳务外包/ AI 数据外包）*/
.core-service:nth-child(even) .core-service-inner {
	flex-direction: row-reverse;
}

@media (max-width: 1024px) {
	.core-service {
		padding: 26px 22px;
	}
}

@media (max-width: 768px) {
	.core-service {
		padding: 22px 18px;
	}

	.core-service-inner {
		flex-direction: column;
	}

	/* 移动端布局：标签-> 图片 -> 文本 */
	.core-service-media {
		order: 1;
		width: 100%;
		max-width: 100%;
	}

	.core-service-text {
		order: 2;
	}

	/* 移动端布局：图片应适应固定宽度 */
	.core-service-media-inner {
		width: 100%;
		max-width: 100%;
		height: auto;
	}

	.core-service-media-inner img {
		width: 100% !important;
		height: auto !important;
		object-fit: contain;
		aspect-ratio: auto !important;
	}

	.core-service-title {
		font-size: 20px;
	}

	.core-service-subtitle {
		font-size: 14px;
	}
}

/* =========================================================
 * 模块6: 核心业务标题装饰（section title） * 对应模块services 上方标题区域
 * ======================================================= */

.section-title-kicker {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #2563eb;
	background: rgba(37, 99, 235, .08);
	border: 1px solid rgba(37, 99, 235, .35);
	margin-bottom: 10px;
}

.section-title-underline {
	width: 80px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2563eb, #22c55e);
	margin: 10px auto 0;
}


/* =========================================================
 * 模块7: 客户Logo两栏布局样式
 * 来源: client-logos-layout.css
 * 对应模块：客户展示区 * ======================================================= */

/* 客户logo两栏布局 */
.client-logos-container {
	display: flex;
	gap: 40px;
	padding: 30px 0 20px 0;
	max-width: 1500px;
	margin: 0 auto;
}

/* 优化服务客户section标题与logo墙的间距 */
#cases .container:last-child .section-title {
	margin-bottom: 40px;
}

.client-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 30px 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
	backdrop-filter: blur(10px);
	min-height: 100%;
}

/* 左侧：人工智能与互联网公司 - 蓝色 */
.client-column:first-child {
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 45, 75, 0.3));
	border: 2px solid rgba(14, 165, 233, 0.3);
	box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 右侧：制造厂 - 青色/绿色 */
.client-column:last-child {
	background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(6, 45, 75, 0.3));
	border: 2px solid rgba(5, 150, 105, 0.3);
	box-shadow: 0 4px 20px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.client-column-title {
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: 28px;
	margin-top: 0;
	text-align: center;
	padding: 12px 20px;
	border-radius: 10px;
	position: relative;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	width: fit-content;
}

/* 标题下方的装饰线 */
.client-column-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	border-radius: 2px;
}

.client-column:first-child .client-column-title::after {
	background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
	box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.client-column:last-child .client-column-title::after {
	background: linear-gradient(90deg, transparent, #10b981, transparent);
	box-shadow: 0 0 10px rgba(5, 150, 105, 0.5);
}

/* 左侧标题样式 - 蓝色 */
.client-column:first-child .client-column-title {
	color: #0ea5e9;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
	border: 1px solid rgba(14, 165, 233, 0.4);
	box-shadow: 0 2px 10px rgba(14, 165, 233, 0.2);
	text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

/* 右侧标题样式 - 青色 */
.client-column:last-child .client-column-title {
	color: #10b981;
	background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(5, 150, 105, 0.05));
	border: 1px solid rgba(5, 150, 105, 0.4);
	box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
	text-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}


/* 左侧卡片边框和悬停效果 - 蓝色 */
.client-column:first-child .client-logo-item {
	border-color: rgba(14, 165, 233, 0.2);
}

.client-column:first-child .client-logo-item:hover {
	transform: translateY(-5px);
	background: transparent;
	border-color: rgba(14, 165, 233, 0.5);
	box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* 右侧卡片边框和悬停效果 - 青色 */
.client-column:last-child .client-logo-item {
	border-color: rgba(5, 150, 105, 0.2);
}

.client-column:last-child .client-logo-item:hover {
	transform: translateY(-5px);
	background: transparent;
	border-color: rgba(5, 150, 105, 0.5);
	box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.client-logo img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 60px;
}

.client-name {
	font-weight: bold;
	margin: 8px 0 4px;
	font-size: 0.9em;
	color: #f8fafc;
}

.client-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	font-size: 0.8em;
	color: #cbd5e1;
}

/* 左侧信息标签颜色 */
.client-column:first-child .client-type {
	background: rgba(14, 165, 233, 0.2);
	color: #7dd3fc;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid rgba(14, 165, 233, 0.3);
}

.client-column:first-child .cooperation-years {
	background: rgba(14, 165, 233, 0.15);
	color: #bae6fd;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid rgba(14, 165, 233, 0.25);
}

/* 右侧信息标签颜色 */
.client-column:last-child .client-type {
	background: rgba(5, 150, 105, 0.2);
	color: #6ee7b7;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid rgba(5, 150, 105, 0.3);
}

.client-column:last-child .cooperation-years {
	background: rgba(5, 150, 105, 0.15);
	color: #a7f3d0;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid rgba(5, 150, 105, 0.25);
}

	/* 小屏幕设备调整 */
@media (max-width: 768px) {
	.client-logos-container {
		flex-direction: column;
		gap: 40px;
		padding: 30px 0 20px 0;
	}

	.client-column {
		padding: 24px 18px;
	}

	.client-column-title {
		font-size: 1.3em;
		padding: 12px 18px;
		margin-bottom: 24px;
	}

}

@media (max-width: 480px) {
	.client-logos-container {
		padding: 20px 0 15px 0;
		gap: 30px;
	}

	.client-column {
		padding: 20px 15px;
	}

	.client-column-title {
		font-size: 1.2em;
		padding: 10px 16px;
		margin-bottom: 20px;
	}

}


/* =========================================================
