/* 发展历程 — 白蓝时间轴（高保真） */

.page-history {
	margin: 0;
	background: #f8faff;
	color: var(--color-text, #0f2744);
	-webkit-font-smoothing: antialiased;
}

.page-history > #top {
	background: var(--color-header, #fff);
}

.page-history > #footer {
	background: var(--color-footer, #0c2647);
}

.page-history #top iframe {
	display: block;
	vertical-align: top;
}

/* —— 主区域背景 —— */
.history-main {
	position: relative;
	overflow: hidden;
	padding: 48px 0 72px;
	background: linear-gradient(180deg, #f8faff 0%, #f0f6ff 42%, #f8faff 100%);
}

.history-main__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 40% at 0% 100%, rgba(22, 119, 255, 0.07) 0%, transparent 70%),
		radial-gradient(ellipse 50% 38% at 100% 90%, rgba(22, 119, 255, 0.06) 0%, transparent 65%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800' fill='none'%3E%3Cpath d='M-40 620C120 560 200 680 360 640C520 600 580 520 760 560C940 600 1040 500 1240 540' stroke='%231677ff' stroke-opacity='0.08' stroke-width='1.5'/%3E%3Cpath d='M-20 680C140 620 240 720 400 680C560 640 600 580 780 620C960 660 1080 560 1260 600' stroke='%231677ff' stroke-opacity='0.06' stroke-width='1.2'/%3E%3Cpath d='M80 120C220 80 320 160 480 130C640 100 720 40 900 70C1080 100 1120 30 1240 50' stroke='%231677ff' stroke-opacity='0.05' stroke-width='1.2'/%3E%3C/svg%3E") center / cover no-repeat;
	opacity: 1;
}

.history-page {
	position: relative;
	z-index: 1;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

/* —— 页头 —— */
.history-head {
	text-align: center;
	margin-bottom: 36px;
}

.history-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary, #1677ff);
	letter-spacing: 0.08em;
}

.history-head__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-primary, #1677ff);
	box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.2);
	flex-shrink: 0;
}

.history-head__title {
	margin: 0;
	font-size: 36px;
	font-weight: 700;
	color: #0a2d5c;
	line-height: 1.25;
	letter-spacing: 0.06em;
}

.history-head__title::after {
	content: "";
	display: block;
	width: 52px;
	height: 4px;
	margin: 16px auto 0;
	background: var(--color-primary, #1677ff);
	border-radius: 2px;
}

.history-head__sub {
	margin: 14px 0 0;
	font-size: 15px;
	color: #8c9bb0;
	letter-spacing: 0.04em;
}

/* —— 引用区 —— */
.history-quote {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 48px;
	padding: 20px 28px;
	background: rgba(230, 244, 255, 0.72);
	border: 1px solid rgba(22, 119, 255, 0.14);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(22, 119, 255, 0.06);
}

.history-quote__icon {
	flex-shrink: 0;
	width: 36px;
	height: 32px;
	color: var(--color-primary, #1677ff);
	margin-top: 2px;
}

.history-quote__icon svg,
.history-quote__icon .tabler-icon {
	width: 100%;
	height: 100%;
}

.history-quote p {
	margin: 0;
	font-size: 14px;
	line-height: 1.85;
	color: #64748b;
	text-align: justify;
}

/* —— 时间轴 —— */
.history-timeline {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 贯穿竖线（与节点圆心对齐） */
.history-timeline::before {
	content: "";
	position: absolute;
	left: calc(64px + 20px + 24px - 1px);
	top: 32px;
	bottom: 32px;
	width: 2px;
	background: linear-gradient(180deg, #1677ff 0%, rgba(22, 119, 255, 0.45) 100%);
	border-radius: 1px;
}

.history-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 64px 48px 1fr;
	align-items: start;
	gap: 0 20px;
	margin-bottom: 32px;
}

.history-timeline__item:last-child {
	margin-bottom: 0;
}

/* 左侧图标 */
.history-timeline__icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(15, 76, 129, 0.1);
	color: var(--color-primary, #1677ff);
	position: relative;
	transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1),
	            box-shadow 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.history-timeline__item:hover .history-timeline__icon {
	transform: scale(1.06);
	box-shadow: 0 6px 24px rgba(22, 119, 255, 0.22);
}

.history-timeline__icon svg {
	width: 28px;
	height: 28px;
	display: block;
}

/* 中轴节点 + 虚线桥 */
.history-timeline__spine {
	position: relative;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.history-timeline__dot {
	position: relative;
	z-index: 2;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #f8faff;
	border: 2.5px solid var(--color-primary, #1677ff);
	box-shadow: 0 0 0 3px #f8faff;
	flex-shrink: 0;
}

.history-timeline__bridge {
	position: absolute;
	left: calc(50% + 8px);
	top: 50%;
	width: calc(50% + 20px);
	height: 0;
	border-top: 2px dashed rgba(22, 119, 255, 0.55);
	transform: translateY(-50%);
	pointer-events: none;
}

/* 内容卡片 */
.history-timeline__card {
	position: relative;
	padding: 26px 32px 30px;
	background: #fff;
	border: 1px solid rgba(22, 119, 255, 0.1);
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 76, 129, 0.08);
	overflow: hidden;
	transition: box-shadow 0.3s var(--ease-out, ease), transform 0.3s var(--ease-out, ease);
}

.history-timeline__card:hover {
	box-shadow: 0 10px 32px rgba(22, 119, 255, 0.14);
	transform: translateY(-2px);
}

/* 年份标签 */
.history-timeline__year {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--color-primary, #1677ff);
	letter-spacing: 0.08em;
	background: #eef4ff;
	padding: 3px 12px;
	border-radius: 4px;
	line-height: 1.5;
}

/* 右下角折角 */
.history-timeline__card::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 28px 28px;
	border-color: transparent transparent #0d4a8f transparent;
}

.history-timeline__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-primary, #1677ff);
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.history-timeline__title-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--color-primary, #1677ff);
	border-radius: 1px;
	flex-shrink: 0;
}

.history-timeline__desc {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: 88%;
	font-size: 14px;
	line-height: 1.85;
	color: #475569;
	text-align: justify;
}

.history-timeline__number {
	position: absolute;
	top: 12px;
	right: 24px;
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	color: rgba(22, 119, 255, 0.1);
	letter-spacing: -0.03em;
	pointer-events: none;
	user-select: none;
}

/* —— 响应式 —— */
@media (max-width: 900px) {
	.history-main {
		padding: 36px 0 56px;
	}

	.history-page {
		padding: 0 20px;
	}

	.history-head__title {
		font-size: 28px;
	}

	.history-timeline::before {
		left: calc(52px + 12px + 18px - 1px);
		top: 26px;
		bottom: 26px;
	}

	.history-timeline__item {
		grid-template-columns: 52px 36px 1fr;
		gap: 0 12px;
		margin-bottom: 24px;
	}

	.history-timeline__icon {
		width: 52px;
		height: 52px;
		border-radius: 10px;
	}

	.history-timeline__icon svg {
		width: 24px;
		height: 24px;
	}

	.history-timeline__spine {
		height: 52px;
	}

	.history-timeline__card {
		padding: 20px 20px 24px;
	}

	.history-timeline__number {
		font-size: 44px;
		right: 16px;
	}

	.history-timeline__desc {
		max-width: 100%;
		padding-right: 48px;
	}
}

@media (max-width: 600px) {
	.history-timeline::before {
		display: none;
	}

	.history-timeline__item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.history-timeline__icon {
		width: 48px;
		height: 48px;
	}

	.history-timeline__spine {
		display: none;
	}

	.history-timeline__bridge {
		display: none;
	}

	.history-quote {
		flex-direction: column;
		padding: 16px 18px;
		gap: 10px;
	}
}
