:root {
	--bg: #0F172A;
	--bg-deep: #020617;
	--accent: #22D3EE;
	--accent-purple: #A78BFA;
	--text: #F8FAFC;
	--text-muted: #94A3B8;
	--content-width: 1440px;
}

.metrics-section {
	position: relative;
	padding: 120px 0 140px;
	background: var(--bg-deep);
	overflow: hidden;
}

.metrics-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(34, 211, 238, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 211, 238, 0.025) 1px, transparent 1px);
	background-size: 80px 80px;
	pointer-events: none;
	z-index: 0;
}

.metrics-inner {
	position: relative;
	z-index: 1;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 40px;
}

.section-header {
	text-align: center;
	margin-bottom: 72px;
}

.section-header .accent-bar {
	width: 48px;
	height: 3px;
	background: var(--accent);
	margin: 0 auto 24px;
	border-radius: 2px;
	box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
}

.section-header h2 {
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--text);
	margin-bottom: 16px;
	line-height: 1.3;
}

.section-header .subtitle {
	font-size: 16px;
	color: var(--text-muted);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.7;
}

.metrics-cards {
	display: flex;
	gap: 40px;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}

.metric-card {
	flex: 1 1 300px;
	max-width: 360px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 40px 28px 36px;
	transition: border-color 0.35s, box-shadow 0.35s;
}

.metric-card:hover {
	border-color: rgba(34, 211, 238, 0.2);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.05);
}

/* 示波器容器 */
.oscope-wrapper {
	width: 100%;
	margin-bottom: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

/* 大数字 */
.oscope-value {
	font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
	font-size: 46px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: -0.5px;
	line-height: 1;
}

.oscope-value .unit {
	font-size: 16px;
	color: var(--text-muted);
	margin-left: 2px;
	font-weight: 500;
}

/* Canvas 容器 */
.oscope-canvas-wrap {
	position: relative;
	width: 100%;
	max-width: 280px;
	height: 60px;
}

.oscope-canvas-wrap canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.metric-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 10px;
	letter-spacing: 0.2px;
}

.metric-desc {
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-muted);
}

/* 知识与支持区域 */
.knowledge-section {
	position: relative;
	padding: 100px 0 120px;
	background: var(--bg-deep);
}

.knowledge-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 40px;
}

/* 顶部 Tab 导航 */
.tab-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 48px;
}

.tab-btn {
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--text-muted);
	font-size: 15px;
	font-weight: 500;
	padding: 14px 36px;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 0.4px;
}

.tab-btn:hover {
	border-color: rgba(167, 139, 250, 0.4);
	color: var(--text);
	background: rgba(167, 139, 250, 0.08);
}

.tab-btn.active {
	border-color: var(--accent-purple);
	color: #fff;
	background: rgba(167, 139, 250, 0.12);
	box-shadow: 0 0 20px rgba(167, 139, 250, 0.1);
}

/* 内容区 */
.tab-content {
	position: relative;
	min-height: 400px;
}

.tab-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
}

.tab-panel.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	position: relative;
}

/* FAQ 折叠面板 */
.faq-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	margin-bottom: 4px;
}

.faq-question {
	width: 100%;
	background: transparent;
	border: none;
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
	padding: 20px 0;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	letter-spacing: 0.3px;
	transition: color 0.2s;
}

.faq-question:hover {
	color: var(--accent-purple);
}

.faq-icon {
	font-size: 20px;
	color: var(--accent-purple);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 16px;
}

.faq-item.open .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
	padding: 0 0;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.7;
}

.faq-item.open .faq-answer {
	max-height: 200px;
	padding: 0 0 20px 0;
}

/* 文章列表 */
.blog-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.blog-card {
	display: flex;
	gap: 20px;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 24px;
	transition: border-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
	text-decoration: none;
	align-items: center;
}

.blog-card:hover {
	border-color: rgba(167, 139, 250, 0.3);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.blog-thumb {
	width: 100px;
	height: 70px;
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(34, 211, 238, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-thumb svg {
	width: 32px;
	height: 32px;
	color: var(--accent-purple);
	opacity: 0.6;
}

.blog-info h4 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
	line-height: 1.4;
}

.blog-info .meta {
	font-size: 12px;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 10px;
}

.meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--accent-purple);
}

/* 底部引导链接 */
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 500;
	color: var(--accent-purple);
	text-decoration: none;
	transition: gap 0.2s;
}

.more-link:hover {
	gap: 12px;
}

@media (max-width: 900px) {
	.metrics-cards {
		gap: 24px;
	}

	.metric-card {
		max-width: 100%;
	}

	.section-header h2 {
		font-size: 28px;
	}

	.oscope-value {
		font-size: 36px;
	}

	.blog-list {
		grid-template-columns: 1fr;
	}

	.blog-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.tab-btn {
		padding: 12px 24px;
	}
}