/* =========================================================
 * Tech Resolve — WordPress Performance & SEO
 * ======================================================= */

.tr-wordpress-performance {
	position: relative;
	overflow: hidden;

	padding:
		clamp(110px, 11vw, 185px)
		var(--tr-gutter);

	color: #fff;

	background: #06100d;
}


.tr-wordpress-performance__background,
.tr-wordpress-performance__grid,
.tr-wordpress-performance__glow {
	position: absolute;

	pointer-events: none;
}


.tr-wordpress-performance__background {
	inset: 0;
}


.tr-wordpress-performance__grid {
	inset: 0;

	opacity: .14;

	background-image:
		linear-gradient(
			rgba(255,255,255,.04) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(255,255,255,.04) 1px,
			transparent 1px
		);

	background-size:
		52px 52px;
}


.tr-wordpress-performance__glow {
	top: -220px;
	left: 30%;

	width: 720px;
	height: 720px;

	background:
		radial-gradient(
			circle,
			rgba(25,224,120,.1),
			transparent 68%
		);
}


.tr-wordpress-performance__shell {
	position: relative;
	z-index: 2;

	width: min(100%, var(--tr-container));
	margin: 0 auto;
}


/* Header */

.tr-wordpress-performance__header {
	display: grid;
	grid-template-columns:
		minmax(0,1.1fr)
		minmax(340px,.9fr);
	align-items: end;
	gap: clamp(50px,8vw,120px);

	margin-bottom: 65px;
}


.tr-wordpress-performance__eyebrow {
	display: block;

	margin-bottom: 17px;

	color: #19e078;

	font-size: 9px;
	font-weight: 800;
	letter-spacing: .15em;
}


.tr-wordpress-performance__header h2 {
	max-width: 900px;
	margin: 0;

	color: #fff;

	font-size: clamp(44px,5.3vw,76px);
	font-weight: 800;
	line-height: .99;
	letter-spacing: -.055em;
}


.tr-wordpress-performance__header > p {
	margin: 0;

	color: rgba(255,255,255,.49);

	font-size: 14px;
	line-height: 1.78;
}


/* Console */

.tr-wordpress-performance__console {
	overflow: hidden;

	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.045),
			rgba(255,255,255,.012)
		);

	border: 1px solid rgba(255,255,255,.085);
	border-radius: 24px;

	box-shadow:
		0 40px 100px rgba(0,0,0,.24);
}


.tr-wordpress-performance__console-top,
.tr-wordpress-performance__console-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 52px;
	padding: 0 20px;

	color: rgba(255,255,255,.3);

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-wordpress-performance__console-top {
	border-bottom:
		1px solid rgba(255,255,255,.075);
}


.tr-wordpress-performance__console-top > div {
	display: flex;
	align-items: center;
	gap: 7px;

	color: #19e078;
}


.tr-wordpress-performance__console-top i {
	width: 6px;
	height: 6px;

	background: #19e078;

	border-radius: 50%;

	box-shadow:
		0 0 11px rgba(25,224,120,.7);
}


/* Body */

.tr-wordpress-performance__body {
	display: grid;
	grid-template-columns:
		minmax(300px,.7fr)
		minmax(0,1.3fr);
}


/* Meter */

.tr-wordpress-performance__meter {
	position: relative;

	display: grid;
	place-items: center;

	min-height: 600px;

	border-right:
		1px solid rgba(255,255,255,.07);
}


.tr-wordpress-performance__meter-rings {
	position: absolute;

	width: 280px;
	height: 280px;
}


.tr-wordpress-performance__meter-rings span {
	position: absolute;

	border:
		1px solid rgba(25,224,120,.13);

	border-radius: 50%;
}


.tr-wordpress-performance__meter-rings span:nth-child(1) {
	inset: 0;
}


.tr-wordpress-performance__meter-rings span:nth-child(2) {
	inset: 37px;

	border-color:
		rgba(20,215,232,.09);
}


.tr-wordpress-performance__meter-rings span:nth-child(3) {
	inset: 78px;

	border-color:
		rgba(255,255,255,.07);
}


.tr-wordpress-performance__meter-core {
	position: relative;
	z-index: 2;

	display: flex;
	align-items: center;
	flex-direction: column;
}


.tr-wordpress-performance__meter-core span {
	color: #19e078;

	font-size: 9px;
	font-weight: 800;
}


.tr-wordpress-performance__meter-core strong {
	margin-top: 8px;

	color: #fff;

	font-size: 28px;
	letter-spacing: .07em;
}


.tr-wordpress-performance__meter-core small {
	margin-top: 4px;

	color: rgba(255,255,255,.29);

	font-size: 7px;
	font-weight: 800;
	letter-spacing: .13em;
}


.tr-wordpress-performance__meter-labels {
	position: absolute;
	bottom: 28px;

	display: flex;
	align-items: center;
	gap: 11px;

	color: rgba(255,255,255,.27);

	font-size: 7px;
	font-weight: 800;
	letter-spacing: .11em;
}


.tr-wordpress-performance__meter-labels i {
	width: 17px;
	height: 1px;

	background: rgba(25,224,120,.18);
}


/* Systems */

.tr-wordpress-performance__systems {
	display: grid;
	grid-template-columns:
		repeat(2,minmax(0,1fr));
}


.tr-wordpress-performance__system {
	position: relative;

	min-height: 220px;
	padding: 24px;

	border-right:
		1px solid rgba(255,255,255,.065);

	border-bottom:
		1px solid rgba(255,255,255,.065);

	transition:
		background 180ms ease;
}


.tr-wordpress-performance__system:nth-child(2n) {
	border-right: 0;
}


.tr-wordpress-performance__system:hover {
	background:
		rgba(25,224,120,.035);
}


.tr-wordpress-performance__system-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}


.tr-wordpress-performance__system-head span {
	color: #19e078;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-wordpress-performance__system-head small {
	color: rgba(255,255,255,.24);

	font-size: 7px;
	font-weight: 800;
}


.tr-wordpress-performance__system h3 {
	margin: 28px 0 0;

	color: #fff;

	font-size: 19px;
	line-height: 1.1;
}


.tr-wordpress-performance__system p {
	margin: 13px 0 0;

	color: rgba(255,255,255,.42);

	font-size: 9px;
	line-height: 1.7;
}


.tr-wordpress-performance__system-line {
	position: absolute;
	right: 24px;
	bottom: 21px;
	left: 24px;

	display: flex;
	align-items: center;
	gap: 8px;
}


.tr-wordpress-performance__system-line i {
	width: 5px;
	height: 5px;

	background: #19e078;

	border-radius: 50%;
}


.tr-wordpress-performance__system-line span {
	position: relative;

	flex: 1;
	height: 1px;

	background: rgba(255,255,255,.08);
}


.tr-wordpress-performance__system-line span::after {
	content: "";

	position: absolute;
	top: -1px;
	left: 0;

	width: 30%;
	height: 3px;

	background:
		linear-gradient(
			to right,
			#19e078,
			#14d7e8
		);

	border-radius: 99px;

	transition:
		width 250ms var(--tr-ease);
}


.tr-wordpress-performance__system:hover
.tr-wordpress-performance__system-line span::after {
	width: 90%;
}


/* Bottom */

.tr-wordpress-performance__console-bottom {
	justify-content: center;
	gap: 13px;

	border-top:
		1px solid rgba(255,255,255,.07);
}


.tr-wordpress-performance__console-bottom i {
	width: 19px;
	height: 1px;

	background:
		rgba(25,224,120,.18);
}


@media (max-width: 1000px) {

	.tr-wordpress-performance__header,
	.tr-wordpress-performance__body {
		grid-template-columns: 1fr;
	}


	.tr-wordpress-performance__meter {
		min-height: 400px;

		border-right: 0;

		border-bottom:
			1px solid rgba(255,255,255,.07);
	}

}


@media (max-width: 700px) {

	.tr-wordpress-performance__systems {
		grid-template-columns: 1fr;
	}


	.tr-wordpress-performance__system {
		border-right: 0;
	}

}