/* 行业应用：独立全屏布局，仅影响 industry-section 板块。 */
.industry-section {
	--industry-gutter: 7.5vw;
	--industry-accent: var(--compt-color-accent-deep);
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	isolation: isolate;
	margin: 0;
	background: #122235;
	color: #fff;
}

.industry-section,
.industry-section *,
.industry-section *::before,
.industry-section *::after {
	box-sizing: border-box;
}

/* 背景始终保留在 DOM 中，不使用 display / hidden，避免中断淡入淡出。 */
.industry-section__backgrounds {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.industry-section__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #122235;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
}

/* 保持背景堆叠顺序固定，仅过渡透明度，快速切换时不跳变层级。 */
.industry-section__background--active {
	opacity: 1;
}

.industry-section__background-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.industry-section__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(90deg, rgba(8, 22, 36, 0.7), rgba(8, 22, 36, 0.12) 65%),
		linear-gradient(0deg, rgba(8, 22, 36, 0.5), transparent 65%);
	pointer-events: none;
}

.industry-section__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin-inline: auto;
}

.industry-section__header {
	position: absolute;
	top: clamp(32px, 7vh, 80px);
	left: var(--industry-gutter);
	right: var(--industry-gutter);
	z-index: 10;
}

/* 与「关于我们」一致的大字水印，深色图上改用低透明白色。 */
.industry-section__header::before {
	content: 'INDUSTRY';
	position: absolute;
	top: -0.16em;
	left: 0;
	z-index: 0;
	font-size: clamp(64px, 10vw, 170px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.08);
	pointer-events: none;
	user-select: none;
}

.industry-section__eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 12px;
	color: #7fd4ff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.industry-section__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: inherit;
	font-size: var(--compt-fs-section-title);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

/* 左侧导航与右下角卡片浮在背景和遮罩之上。 */
.industry-section__nav {
	position: absolute;
	top: 50%;
	left: var(--industry-gutter);
	z-index: 10;
	width: clamp(220px, 26vw, 360px);
	max-height: calc(100% - 220px);
	overflow-y: auto;
	transform: translateY(-50%);
	scrollbar-width: thin;
}

.industry-section__nav-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.industry-section__nav-item {
	margin: 0;
	padding: 0;
}

.industry-section__nav-button {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 68px;
	padding: 18px 24px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(8, 22, 36, 0.5);
	color: inherit;
	font: inherit;
	font-size: 20px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.industry-section__nav-button:hover,
.industry-section__nav-item--active .industry-section__nav-button {
	border-color: var(--industry-accent);
	background: var(--industry-accent);
}

.industry-section__nav-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.industry-section__nav-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
}

.industry-section__nav-name {
	overflow-wrap: anywhere;
}

.industry-section__card {
	position: absolute;
	right: var(--industry-gutter);
	bottom: clamp(32px, 7vh, 80px);
	z-index: 10;
	width: clamp(320px, 38vw, 520px);
	max-width: calc(100% - var(--industry-gutter) * 2);
	max-height: calc(100% - 220px);
	overflow-y: auto;
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(8, 22, 36, 0.8);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
	scrollbar-width: thin;
}

.industry-section__card-title {
	margin: 0 0 18px;
	color: inherit;
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.industry-section__card-description {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.8;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.industry-section__card-link {
	display: table;
	margin: 16px 0 0 auto;
	color: #7fd4ff;
	font-size: var(--compt-fs-base);
	line-height: 1.5;
	text-decoration: none;
	text-underline-offset: 4px;
}

.industry-section__card-link:hover,
.industry-section__card-link:focus-visible {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.industry-section {
		--industry-gutter: 12px;
	}

	.industry-section__nav {
		width: 34%;
	}

	.industry-section__nav-button {
		gap: 12px;
		min-height: 60px;
		padding: 14px 18px;
		font-size: 18px;
	}

	.industry-section__card {
		width: 42%;
	}
}

/* 手机端按内容撑高，完整展示两列栏目，简介卡片排在列表下方。 */
@media (max-width: 767px) {
	.industry-section {
		--industry-gutter: 12px;
		height: auto;
	}

	.industry-section__inner {
		height: auto;
		min-height: 0;
		padding: 28px var(--industry-gutter) 0;
	}

	.industry-section__header {
		position: relative;
		inset: auto;
		margin-bottom: 28px;
	}

	.industry-section__content {
		display: grid;
		gap: 24px;
	}

	.industry-section__nav {
		position: relative;
		inset: auto;
		width: auto;
		max-height: none;
		overflow: visible;
		transform: none;
	}

	.industry-section__nav-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.industry-section__nav-button {
		gap: 10px;
		min-height: 56px;
		padding: 12px;
		font-size: var(--compt-fs-base);
	}

	.industry-section__nav-icon {
		width: 24px;
		height: 24px;
	}

	.industry-section__card {
		position: relative;
		inset: auto;
		width: auto;
		max-width: none;
		max-height: none;
		overflow: visible;
		padding: 20px;
	}
}

@media (min-width: 768px) and (max-height: 600px) {
	.industry-section__header {
		top: 20px;
	}

	.industry-section__nav {
		max-height: calc(100% - 140px);
	}

	.industry-section__nav-list {
		gap: 8px;
	}

	.industry-section__nav-button {
		min-height: 48px;
		padding-block: 10px;
	}

	.industry-section__card {
		bottom: 20px;
		max-height: calc(100% - 140px);
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.industry-section__background,
	.industry-section__nav-button {
		transition: none;
	}
}
