body.online-tools-page {
	background:
		radial-gradient(circle at top, rgba(32, 92, 196, 0.08), transparent 28%),
		linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

.tools-home {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 34px 28px 68px;
}

.tools-shell {
	width: 100%;
}

.tools-header {
	margin-bottom: 22px;
}

.tools-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(19, 105, 232, 0.1);
	color: #125fd0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tools-title {
	margin: 14px 0 10px;
	color: #0f172a;
	font-size: 36px;
	line-height: 1.18;
	font-weight: 800;
}

.tools-desc {
	max-width: 760px;
	margin: 0;
	color: #607187;
	font-size: 14px;
	line-height: 1.8;
}

.tools-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	gap: 20px;
	margin-bottom: 26px;
	padding: 28px 24px 26px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 20%),
		radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.18), transparent 22%),
		linear-gradient(135deg, #0f5ed7 0%, #3d8fff 48%, #53c0ff 100%);
	box-shadow: 0 22px 50px rgba(35, 117, 230, 0.24);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.tools-banner-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
}

.tools-banner-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.92;
}

.tools-banner-text {
	margin: 0;
	font-size: 28px;
	line-height: 1.35;
	font-weight: 800;
}

.tools-banner-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 154px;
	min-height: 58px;
	padding: 0 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(6px);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.tool-category {
	margin-bottom: 30px;
	padding: 24px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid #dfe8f3;
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.04);
}

.tool-category:last-child {
	margin-bottom: 0;
}

.tool-category-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e9eff6;
}

.tool-category-title {
	margin: 0;
	color: #0f172a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
}

.tool-category-desc {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
}

.tool-category-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #eef5ff;
	color: #125fd0;
	font-size: 13px;
	font-weight: 700;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
	gap: 16px;
}

.tool-card {
	min-height: 198px;
	padding: 14px 14px 16px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #dee7f2;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
	position: relative;
}

.tool-card:hover {
	transform: translateY(-3px);
	border-color: #c4d9f4;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.tool-card.disabled {
	cursor: default;
	opacity: 0.78;
	pointer-events: none;
}

.tool-card-badge {
	position: absolute;
	left: 10px;
	top: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff7a18 0%, #ffb347 100%);
	box-shadow: 0 8px 18px rgba(255, 145, 61, 0.28);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	z-index: 1;
}

.tool-card-image-wrap {
	width: 100%;
	min-height: 114px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
}

.tool-card-image {
	width: 100%;
	max-width: 116px;
	height: auto;
	display: block;
}

.tool-card-body {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.tool-card-name {
	margin: 0;
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.tool-card-desc {
	margin: 0;
	min-height: 36px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.tool-card-action {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(135deg, #1369e8 0%, #4da3ff 100%);
	box-shadow: 0 10px 20px rgba(19, 105, 232, 0.18);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.tool-card.disabled .tool-card-action {
	background: #e2e8f0;
	box-shadow: none;
	color: #64748b;
}

@media (max-width: 1080px) {
	.tools-home {
		padding: 28px 20px 56px;
	}

	.tools-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}
}

@media (max-width: 768px) {
	.tools-home {
		padding: 22px 12px 40px;
	}

	.tools-title {
		font-size: 30px;
	}

	.tools-banner {
		flex-direction: column;
		align-items: center;
		padding: 18px 16px;
		border-radius: 20px;
	}

	.tools-banner-text {
		font-size: 21px;
	}

	.tools-banner-count {
		min-width: 0;
		min-height: 46px;
		font-size: 22px;
	}

	.tool-category {
		padding: 18px 14px;
		border-radius: 22px;
	}

	.tool-category-head {
		align-items: start;
		flex-direction: column;
	}

	.tools-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.tool-card {
		min-height: 196px;
		padding: 12px 10px 14px;
		border-radius: 18px;
	}

	.tool-card-badge {
		left: 8px;
		top: 8px;
		height: 22px;
		font-size: 11px;
	}

	.tool-card-image-wrap {
		min-height: 94px;
		border-radius: 18px;
	}

	.tool-card-image {
		max-width: 98px;
	}

	.tool-card-name {
		font-size: 14px;
	}

	.tool-card-desc {
		min-height: 32px;
		font-size: 11px;
	}

	.tool-card-action {
		height: 34px;
		font-size: 12px;
	}
}
