/**
 * Block: stats (dark gradient section with animated counters, see theme.js)
 * Block: stat-card
 */

.stats {
	position: relative;
	overflow: hidden;
	padding: var(--aqua-section-space) 0;
	background: linear-gradient(135deg, #001442 0%, #0b2a6f 55%, #19409a 100%);
}

/* Soft glowing circles in the background. */
.stats::before,
.stats::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 209, 249, 0.25) 0%, rgba(0, 209, 249, 0) 70%);
	pointer-events: none;
}

.stats::before {
	top: -200px;
	left: -150px;
	width: 520px;
	height: 520px;
}

.stats::after {
	right: -180px;
	bottom: -220px;
	width: 600px;
	height: 600px;
}

.stats__inner {
	position: relative;
	z-index: 1;
}

.stat-card {
	position: relative;
	height: 100%;
	padding: 36px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--aqua-radius);
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
	backdrop-filter: blur(4px);
	transition: transform 0.45s var(--aqua-ease), background-color 0.45s ease, border-color 0.45s ease;
}

/* Invisible strip under the card: keeps the hover state while the card is lifted. */
.stat-card::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	height: 8px;
}

.stat-card:hover {
	border-color: rgba(0, 209, 249, 0.5);
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-6px);
}

.stat-card__icon {
	margin-bottom: 14px;
	color: var(--aqua-primary);
	font-size: 30px;
}

.stat-card__value {
	color: var(--aqua-white);
	font-family: var(--aqua-font-heading);
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	font-weight: 700;
	line-height: 1;
}

.stat-card__suffix {
	color: var(--aqua-primary);
}

.stat-card__label {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}
