/* Solution Page — 深色主题（与 Product 页共享变量与视觉语言） */
:root {
	--bg: #06090d;
	--bg-soft: #0d131a;
	--card: #111925;
	--text: #edf2f7;
	--muted: #9fb1c4;
	--brand: #2dc7cf;
	--brand-2: #5fdfe5;
	--line: #203144;
}

body {
	margin: 0;
	font-family: "Noto Sans SC", sans-serif;
	color: var(--text);
	background: radial-gradient(1400px 700px at 80% -10%, rgba(45, 199, 207, 0.2), transparent 50%),
		linear-gradient(180deg, #04070b 0%, #091018 70%, #0a121b 100%);
	line-height: 1.6;
}

.container {
	width: min(1160px, 92vw);
	margin: 0 auto;
}

h1, h2, h3, h4 {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	line-height: 1.2;
}

.sol-hero {
	padding: 60px 0 48px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.sol-hero.has-bg {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.sol-hero.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6,9,13,0.72), rgba(6,9,13,0.86));
	z-index: 0;
}

.sol-hero.has-bg .container {
	position: relative;
	z-index: 1;
}

.sol-hero h1 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	margin-bottom: 14px;
	color: #ffffff;
	font-weight: 700;
}

.sol-hero p {
	color: var(--muted);
	max-width: 720px;
	margin: 0 auto 24px;
	font-family: "Noto Sans SC", sans-serif;
}

.sol-section {
	padding: 50px 0;
	border-top: 1px solid var(--line);
}

.sol-section:first-of-type {
	border-top: none;
}

.sol-section.sol-showcase {
	padding-top: 24px;
	border-top: none;
}

.sol-section-alt {
	background: rgba(9, 14, 20, 0.45);
}

.sol-section-title {
	text-align: center;
	font-size: 1.6rem;
	margin-bottom: 24px;
	color: var(--brand-2);
	font-weight: 600;
}

.sol-two-column {
	display: flex;
	gap: 32px;
	justify-content: center;
	max-width: 1160px;
	margin: 0 auto;
}

.sol-two-column > div {
	flex: 1;
	padding: 18px 20px;
	background: linear-gradient(165deg, rgba(18, 28, 42, 0.86), rgba(11, 17, 26, 0.86));
	border: 1px solid var(--line);
	border-radius: 12px;
	border-left: 3px solid var(--brand);
}
.sol-two-column p {
	margin: 0 0 0.75em;
	color: var(--muted);
	font-family: "Noto Sans SC", sans-serif;
}

.sol-two-column p:last-child {
	margin-bottom: 0;
}

.sol-two-column a {
	color: var(--brand-2);
}

.sol-bg-image {
	margin-top: 16px;
}

.sol-bg-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	border: 1px solid var(--line);
}

.sol-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.sol-card {
	background: linear-gradient(165deg, rgba(18, 28, 42, 0.86), rgba(11, 17, 26, 0.86));
	padding: 22px 24px;
	border-radius: 12px;
	border: 1px solid var(--line);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sol-card:hover {
	border-color: rgba(45, 199, 207, 0.35);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.sol-card h3 {
	margin-top: 0;
	color: var(--text);
	font-size: 1.05rem;
	margin-bottom: 12px;
	font-weight: 600;
}

.sol-card p {
	margin: 0;
	color: var(--muted);
	font-family: "Noto Sans SC", sans-serif;
}

.sol-feature-list {
	margin: 0 auto;
}

.sol-feature-list p {
	margin-bottom: 18px;
	font-size: 1.05rem;
	color: var(--muted);
	font-family: "Noto Sans SC", sans-serif;
}

.sol-feature-list strong {
	color: var(--text);
}

.sol-showcase-images {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: center;
}

.sol-showcase-images.single {
	justify-content: center;
}

.sol-showcase-figure {
	margin: 0;
	flex: 1;
	min-width: 0;
}

.sol-showcase-images.single .sol-showcase-figure {
	flex: 0 0 auto;
	width: 100%;
}

.sol-showcase-figure img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.sol-cta {
	text-align: center;
}

.sol-cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.sol-cta-lead {
	width: 100%;
	align-self: stretch;
	margin: 0;
	font-size: 1.05rem;
	color: var(--muted);
	font-family: "Noto Sans SC", sans-serif;
	text-align: left;
}

.sol-cta-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	width: 100%;
	margin: 0 auto;
	align-items: stretch;
}

.sol-cta-figure {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.sol-cta-figure img {
	width: 100%;
	height: auto;
	display: block;
	/* GIF 动图：避免 filter/transform 破坏动画；object-fit 保持版式 */
	object-fit: contain;
	max-height: min(480px, 55vh);
}

.sol-paper-list {
	margin: 0 auto;
	list-style: none;
	padding: 0;
}

.sol-paper-list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.sol-paper-list a {
	color: var(--brand-2);
	font-weight: 600;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
}

.sol-paper-list a:hover {
	text-decoration: underline;
}

.sol-paper-authors {
	display: block;
	color: var(--muted);
	font-size: 0.92rem;
	margin-top: 6px;
	font-family: "Noto Sans SC", sans-serif;
}

/* 与全站深色导航/页脚衔接 */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(12px);
	background: rgba(6, 10, 14, 0.88);
	border-bottom: 1px solid rgba(159, 177, 196, 0.18);
}

.site-footer {
	border-top: 1px solid var(--line);
	padding: 34px 0 40px;
	background: #05090e;
	color: var(--muted);
}

@media (max-width: 768px) {
	.sol-hero {
		padding: 48px 0 36px;
	}

	.sol-section {
		padding: 40px 0;
	}

	.sol-two-column {
		flex-direction: column;
	}

	.sol-cta-images {
		grid-template-columns: 1fr;
	}

	.sol-showcase-images {
		flex-direction: column;
	}

	.sol-showcase-images.single .sol-showcase-figure {
		max-width: 100%;
	}
}
