/* GeoXYZ — hero, category cards, product cards */

.gx-hero {
	position: relative;
	min-height: 680px;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background: #04080f;
	padding-block: clamp(72px, 9vw, 128px) clamp(96px, 11vw, 156px);
}

.gx-hero__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% center;
	opacity: 0.9;
}

.gx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(96deg, rgba(4, 8, 15, 0.97) 0%, rgba(4, 8, 15, 0.93) 36%, rgba(4, 8, 15, 0.55) 64%, rgba(4, 8, 15, 0.94) 100%);
	z-index: 1;
}

.gx-hero__glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(560px 380px at 78% 26%, rgba(11, 92, 255, 0.32), transparent 72%),
		radial-gradient(420px 320px at 92% 82%, rgba(255, 106, 0, 0.2), transparent 70%);
	z-index: 1;
	pointer-events: none;
}

.gx-hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
}

.gx-hero__content {
	max-width: 700px;
}

.gx-hero__title {
	color: #fff;
	font-size: clamp(2.5rem, 5vw, 4.35rem);
	font-weight: 800;
	letter-spacing: -0.038em;
	line-height: 1.03;
	margin-bottom: 22px;
}

.gx-hero__text {
	font-size: 17.5px;
	color: rgba(255, 255, 255, 0.7);
	max-width: 560px;
	margin: 0;
}

.gx-hero__actions {
	display: flex;
	gap: 12px;
	margin-top: 34px;
	flex-wrap: wrap;
}

.gx-hero__facts {
	display: flex;
	gap: clamp(20px, 3vw, 44px);
	margin-top: 46px;
	flex-wrap: wrap;
}

.gx-hero__facts li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-inline-start: 16px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.gx-hero__facts strong {
	font-size: 25px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}

.gx-hero__facts span {
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.gx-hero__ticker {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	gap: 44px;
	padding: 15px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(4, 8, 15, 0.6);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.38);
	overflow: clip;
	white-space: nowrap;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gx-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 26px 24px;
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: var(--gx-radius-m);
	transition: transform 0.3s var(--gx-ease), box-shadow 0.3s, border-color 0.3s;
	overflow: clip;
}

.gx-cat-card::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--gx-blue-500), var(--gx-orange-500));
	opacity: 0;
	transition: opacity 0.3s;
}

.gx-cat-card:hover {
	transform: translateY(-5px);
	border-color: rgba(11, 92, 255, 0.35);
	box-shadow: var(--gx-shadow-m);
}

.gx-cat-card:hover::after {
	opacity: 1;
}

.gx-cat-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(140deg, rgba(11, 92, 255, 0.12), rgba(11, 92, 255, 0.04));
	color: var(--gx-blue-600);
	margin-bottom: 4px;
}

.gx-cat-card__icon .gx-icon {
	width: 24px;
	height: 24px;
}

.gx-cat-card__index {
	position: absolute;
	top: 26px;
	inset-inline-end: 24px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(10, 22, 38, 0.28);
}

.gx-cat-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.gx-cat-card__text {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--gx-muted);
	margin: 0;
}

.gx-cat-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gx-blue-600);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.gx-cat-card__link .gx-icon {
	width: 15px;
	height: 15px;
	transition: transform 0.25s;
}

.gx-cat-card:hover .gx-cat-card__link .gx-icon {
	transform: translateX(4px);
}

.gx-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: var(--gx-radius-l);
	overflow: clip;
	transition: transform 0.35s var(--gx-ease), box-shadow 0.35s, border-color 0.35s;
}

.gx-product-card:hover {
	transform: translateY(-6px);
	border-color: rgba(11, 92, 255, 0.3);
	box-shadow: var(--gx-shadow-l);
}

.gx-product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(120% 100% at 70% 0%, rgba(11, 92, 255, 0.35), transparent 62%),
		linear-gradient(160deg, #0a1524, #040810);
	overflow: clip;
}

.gx-product-card__media img,
.gx-product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--gx-ease);
}

.gx-product-card:hover .gx-product-card__media img {
	transform: scale(1.04);
}

.gx-product-card__model {
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	padding: 6px 11px;
	border-radius: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(4, 8, 15, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.gx-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 24px 26px;
	gap: 8px;
}

.gx-product-card__cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gx-blue-600);
	margin: 0;
}

.gx-product-card__title {
	font-size: 1.12rem;
	margin: 0;
}

.gx-product-card__title a {
	transition: color 0.2s;
}

.gx-product-card__title a:hover {
	color: var(--gx-blue-600);
}

.gx-product-card__text {
	font-size: 13.5px;
	line-height: 1.62;
	color: var(--gx-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: clip;
}

.gx-product-card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gx-ink);
}

.gx-product-card__more .gx-icon {
	width: 15px;
	height: 15px;
	transition: transform 0.25s;
}

.gx-product-card:hover .gx-product-card__more {
	color: var(--gx-orange-600);
}

.gx-product-card:hover .gx-product-card__more .gx-icon {
	transform: translateX(4px);
}
