* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

a {
	text-decoration: none;
}

body {
	font-family: "Segoe UI";
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #f4f7fb;
}

/* ===== 顶部 ===== */
header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid #e5eaf3;
	padding: 15px 40px;
	display: flex;
	justify-content: space-between;
	/* 垂直居中 */
	align-items: center;
}

.logo {
	/* 稍微放大 */
	font-size: 20px;
	font-weight: 600;
	color: #3aa0ff;
	letter-spacing: 1px;
	display: flex;
	/* 防止emoji不对齐 */
	align-items: center;
}

/* 轻微发光 */
.logo:hover {
	text-shadow: 0 0 8px rgba(58, 160, 255, 0.4);
}

.logoImg {
	position: absolute;
	height: 75%;
}

/* ===== 导航容器 ===== */
nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ===== 导航链接 ===== */
nav a {
	/* 去掉下划线 */
	text-decoration: none;
	color: #333;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 20px;
	transition: all 0.25s ease;
}

/* hover */
nav a:hover {
	background: #eef5ff;
	color: #3aa0ff;
}

/* 点击状态 */
nav a:active {
	transform: scale(0.95);
}

/* 当前页面 */
nav a.active {
	background: linear-gradient(45deg, #4facfe, #00f2fe);
	color: #fff;
}

/* ===== 主区域 ===== */
/* main 负责居中 */
main {
	flex: 1;
	position: relative;
	display: flex;
	justify-content: center;
	/* 垂直居中 */
	align-items: center;
	overflow: hidden;
}

/* 内容整体容器 */
.center-wrapper {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1000px;
	padding: 40px 20px;

	display: flex;
	flex-direction: column;
	align-items: center;
	/* hero 和卡片间距 */
	gap: 40px;
}

/* 网格（最底层） */
.bg-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		linear-gradient(#dceeff 1px, transparent 1px),
		linear-gradient(90deg, #dceeff 1px, transparent 1px);
	background-size: 40px 40px;
}

/* 动态层 */
#bgAnim {
	position: absolute;
	inset: 0;
	z-index: 2;
	/* 关键 */
	pointer-events: none;
}

/* canvas 粒子 */
#particleCanvas {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

/* shape */
.shape {
	position: absolute;
	opacity: 0.5;
	/* 必须 */
	pointer-events: none;
	filter: blur(0.2px);
}

/* hero */
.hero {
	text-align: center;
}

/* 卡片 */
.mod-grid {
	width: 100%;
}

/* UI内容 */
.hero,
.mod-grid {
	position: relative;
	/* 最上层 */
	z-index: 10;
}

/* 版本信息 */
.version-info {
	margin-top: 10px;
	margin-bottom: 8px;
	font-size: 16px;
	color: #777;
	min-height: 20px;
	letter-spacing: 0.5px;
}

.version-info strong {
	color: #3aa0ff;
	font-weight: 600;
}

/* 按钮 */
.downloadBtn {
	margin-top: 20px;
	padding: 12px 28px;
	border: none;
	border-radius: 30px;
	background: linear-gradient(45deg, #4facfe, #00f2fe);
	color: #fff;
	cursor: pointer;
	font-size: 16px;
}

#downloadClientBtn {
	margin-left: 10px;
	display: none;
}

/* 卡片 */
.mod-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	padding: 40px;
}

.card {
	background: #fff;
	border-radius: 15px;
	padding: 20px;
	border: 1px solid #e5eaf3;
	transition: 0.3s;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 25px rgba(80, 160, 255, 0.4);
}

/* ===== 底部 ===== */
footer {
	color: #777;
	background: #fff;
	border-top: 1px solid #e5eaf3;
	text-align: center;
	padding: 10px 10px 10px 10px;
}

footer a {
	color: #777;
}

/* 备案图标高度与文字统一 */
footer {
	/* line-height: 1.5; */
}

footer img[src="img/filing-icon.png"] {
	height: 1.2em;
	vertical-align: middle;
}