:root {
	--bg: #ffffff;
	--border-color: #e5e7eb;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	--shadow-hover: 0 12px 30px rgba(59, 130, 246, 0.12);
}

/* ========== 导航 ========== */
.category-section {
	padding: 20px 0 0 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-list {
	display: flex;
	justify-content: center;
	gap: 260px;
}

.category-item {
	font-size: 18px;
	font-weight: 500;
	color: #666680;
	cursor: pointer;
	padding: 12px 0;
	position: relative;
	transition: all 0.3s ease;
	text-decoration: none;
}

.category-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--purple));
	border-radius: 2px;
	transition: width 0.3s ease;
}

.flex {
	display: flex;
}

.category-item:hover,
.category-item.active {
	color: #3b82f6;
}

.category-item:hover::after,
.category-item.active::after {
	width: 100%;
}

/* ========== 公司介绍区域 ========== */
.intro-section {
	padding: 80px 0;
	background: #ffffff;
	position: relative;
}

.intro-section::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 0;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
	pointer-events: none;
}

.intro-content {
	display: flex;
	gap: 80px;
	align-items: center;
	position: relative;
	z-index: 10;
}

.intro-content.reverse {
	flex-direction: row-reverse;
}

.intro-image {
	width: 700px;
	flex-shrink: 0;
}

.intro-image-box {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.intro-image-box img {
	width: 100%;
	display: block;
	height: 390px;
}

.intro-text {
	flex: 1;
}

.intro-text h3 {
	font-size: 24px;
	font-weight: 600;
	color: var(--fg);
	margin-bottom: 24px;
	position: relative;
	padding-left: 20px;
}

.intro-text h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 28px;
	background: linear-gradient(180deg, var(--blue), var(--purple));
	border-radius: 2px;
}

.intro-text p {
	font-size: 16px;
	color: var(--fg-muted);
	margin-bottom: 20px;
	text-align: justify;
	line-height: 2;
}

.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
	margin: 0;
}

.service-section {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ========== 团队信息区域 ========== */
.team-section {
	padding: 80px 0 100px;
	background: #ffffff;
	position: relative;
}

.team-section::after {
	content: '';
	position: absolute;
	bottom: 10%;
	right: 0;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
	pointer-events: none;
}

.team-content {
	display: flex;
	gap: 80px;
	align-items: center;
	position: relative;
	z-index: 10;
}

.team-text {
	flex: 1;
}

.team-text h3 {
	font-size: 24px;
	font-weight: 600;
	color: var(--fg);
	margin-bottom: 24px;
	position: relative;
	padding-left: 20px;
}

.team-text h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 28px;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	border-radius: 2px;
}

.team-text p {
	font-size: 16px;
	color: var(--fg-muted);
	line-height: 2;
}

.team-image {
	flex: 1;
	flex-shrink: 0;
}

.team-image-box {
	width: 100%;
	position: relative;
}

/* ========== 发展历程 (已修改) ========== */
.history-section {
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.history-bg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('images/mountain.jpg');
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	opacity: 0.15;
	z-index: 0;
	pointer-events: none;
}

.history-container {
	position: relative;
	z-index: 1;
}

.timeline-wrapper {
	position: relative;
	padding: 0 80px;
	margin-top: 20px;
}

.timeline-main-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), var(--blue), rgba(59, 130, 246, 0.1));
	transform: translateY(-50%);
	z-index: 1;
}

.timeline-scroll-container {
	overflow: hidden;
	width: 100%;
	padding: 50px 0 0 0;
}

.timeline-scroll {
	display: flex;
	gap: 40px;
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-node {
	flex-shrink: 0;
	width: 280px;
	height: 450px;
	/* 增加高度以容纳新样式 */
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* 修改1：圆点连接线 - 居左，拉长一倍 */
.node-dot {
	position: absolute;
	top: 50%;
	/* 修改：从居中改为居左 30px */
	left: 30px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: #fff;
	border: 3px solid var(--blue);
	border-radius: 50%;
	z-index: 5;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.node-line {
	position: absolute;
	/* 修改：从居中改为居左 37px (圆点中心) */
	left: 37px;
	transform: none;
	/* 移除X轴变换 */
	width: 2px;
	background: var(--blue);
	z-index: 1;
}

.node-line.top {
	bottom: 50%;
	/* 修改：拉长一倍，从 40px 到 80px */
	height: 80px;
	background: linear-gradient(180deg, var(--blue) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.node-line.bottom {
	top: 50%;
	/* 修改：拉长一倍，从 40px 到 80px */
	height: 80px;
	background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, var(--purple) 100%);
}

/* 修改2 & 3：卡片新样式 */
.timeline-card {
	width: 100%;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	padding: 24px;
	/* 移除原有边框，使用伪元素制作科技角 */
	border: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
	/* 修改：内容左对齐 */
	text-align: left;
	position: relative;
	transition: all 0.3s ease;
	z-index: 2;
	overflow: hidden;
	/* 裁剪内部梯形 */
}

/* 科技感四角边框 */
.timeline-card::before,
.timeline-card::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	transition: all 0.3s ease;
	pointer-events: none;
}

/* 左上角和右上角 */
.timeline-card::before {
	top: 0;
	left: 0;
	border-top: 2px solid var(--blue);
	border-left: 2px solid var(--blue);
	border-top-left-radius: 8px;
}

.timeline-card::after {
	top: 0;
	right: 0;
	border-top: 2px solid var(--blue);
	border-right: 2px solid var(--blue);
	border-top-right-radius: 8px;
}

/* 底部两个角用伪元素不太方便做，因为还有底部线，这里用 box-shadow 模拟或者直接不做下边框 */
/* 为了更有科技感，我们在内部再加一层伪元素处理底部 */
.timeline-card-inner {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	pointer-events: none;
}

.timeline-card-inner::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border-bottom: 2px solid var(--blue);
	border-left: 2px solid var(--blue);
	border-bottom-left-radius: 8px;
}

.timeline-card-inner::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 20px;
	height: 20px;
	border-bottom: 2px solid var(--blue);
	border-right: 2px solid var(--blue);
	border-bottom-right-radius: 8px;
}

.timeline-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

/* Hover时边框变色 */
.timeline-card:hover::before,
.timeline-card:hover::after,
.timeline-card:hover .timeline-card-inner::before,
.timeline-card:hover .timeline-card-inner::after {
	border-color: var(--cyan);
	width: 24px;
	height: 24px;
}

/* 中间类似梯形的装饰 */
.timeline-tech-deco {
	position: absolute;
	top: 0;
	left: 50%;
	right: 20px;
	height: 6px;
	background: linear-gradient(90deg, var(--blue), var(--purple));
	clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
	opacity: 0.8;
	width: 50%;
	transform: translate(-50%, 0%);
	-webkit-transform: translate(-50%, 0%);
}

.timeline-card.bottom-card .timeline-tech-deco {
	background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.timeline-card.top-card {
	position: absolute;
	bottom: 50%;
	margin-bottom: 80px;
	/* 配合拉长的线 */
	left: 0;
}

.timeline-card.bottom-card {
	position: absolute;
	top: 50%;
	margin-top: 80px;
	/* 配合拉长的线 */
	left: 0;
}

.timeline-year-tag {
	display: inline-block;
	padding: 4px 12px;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	/* 方一点，更有科技感 */
	margin-bottom: 12px;
	font-family: 'DIN Alternate', sans-serif;
	/* 增加一点左边距，让文字不紧贴边框 */
	margin-left: 2px;
}

.timeline-card.bottom-card .timeline-year-tag {
	background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
}

.timeline-title {
	display: none;
	font-size: 18px;
	/* 稍微放大 */
	font-weight: 700;
	/* 加粗 */
	color: var(--fg);
	margin-bottom: 8px;
	padding-left: 5px;
	/* 视觉对齐微调 */
}

.timeline-desc {
	font-size: 14px;
	/* 稍微放大 */
	color: var(--fg-muted);
	line-height: 1.6;
	padding-left: 5px;
	text-align: left;
}

/* 底部内层容器用于CSS定位 */
.timeline-card-inner {
	/* 定位已在上面定义 */
}

.timeline-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: #fff;
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 50%;
	cursor: pointer;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-btn:hover {
	background: var(--blue);
	border-color: var(--blue);
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.timeline-btn:hover svg {
	color: #fff;
}

.timeline-btn svg {
	width: 20px;
	height: 20px;
	color: var(--blue);
	transition: color 0.3s ease;
}

.timeline-btn.prev {
	left: 20px;
}

.timeline-btn.next {
	right: 20px;
}

/* ========== 数据统计栏目 — 优化布局 ========== */
.stats-section {
	padding: 80px 0;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	position: relative;
}

.stats-item {
	position: relative;
}

.stats-item::after {
	content: '';
	position: absolute;
	bottom: -30px;
	right: -30px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
	pointer-events: none;
	display: none;
}

.stats-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.stats-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 24px;
	padding: 36px 32px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-radius: 16px;
	border: 1px solid rgba(59, 130, 246, 0.15);
	transition: all 0.3s ease;
	text-align: left;
	overflow: hidden;
}

.stats-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(59, 130, 246, 0.1);
	border-color: rgba(59, 130, 246, 0.2);
}

/* 图标 — 左侧 */
.stats-icon {
	width: 90px;
	height: 90px;
	flex-shrink: 0;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
	border-radius: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
}

.stats-icon img {
	width: 100%;
	height: 100%;
}

/* 文字区 — 右侧 */
.stats-info {
	flex: 1;
	min-width: 0;
}

.stats-num {
	font-size: 42px;
	font-weight: 700;
	font-family: 'DIN Alternate', sans-serif;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.1;
	margin-bottom: 6px;
}

.stats-title {
	font-size: 20px;
	color: var(--fg-muted);
	font-weight: 500;
	line-height: 1.4;
}

/* 响应式 */
@media (max-width: 1200px) {

	.intro-content,
	.intro-content.reverse,
	.team-content {
		flex-direction: column;
		gap: 20px;
	}

	.intro-image,
	.team-image {
		width: 100%;
		max-width: 550px;
	}

	.category-list {
		gap: 40px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}
.intro-image-box img {
    height: 11.5rem;
}
	.flex {
		justify-content: center;
		width: 100%;
		margin: 15px auto 10px auto;
	}

	.stats-section {
		padding: 20px 0;
	}

	.intro-text h3,
	.team-text h3 {
		font-size: 18px;
	}

	.stats-grid {
		gap: 20px;
	}

	.stats-title {
		font-size: 16px;
	}

	.intro-text p,
	.team-text p {
		font-size: 14px;
		line-height: 2;
	}

	.team-image-box img {
		width: 100%;
	}

	.timeline-scroll-container {
		padding: 0;
	}

	.timeline-scroll {
		padding: 30px 0;
	}

	.intro-section,
	.team-section,
	.history-section {
		padding: 30px 0;
	}

	.category-list {
		gap: 0;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.category-item {
		font-size: 14px;
	}

	.category-section {
		padding: 0;
	}

	.timeline-wrapper {
		padding: 0 40px;
	}

	.timeline-node {
		width: 240px;
		height: 320px;
	}

	.node-line.top,
	.node-line.bottom {
		height: 30px;
	}

	.timeline-card.top-card {
		margin-bottom: 30px;
	}

	.timeline-card.bottom-card {
		margin-top: 30px;
	}

	.stats-grid {
		/* grid-template-columns: 1fr; */
	}

	.stats-item {
		padding: 15px;
		gap: 18px;
		display: block;
		text-align: center;
	}

	.stats-icon {
		width: 56px;
		height: 56px;
		margin: 0 auto;
	}

	.stats-num {
		font-size: 26px;
	}
}