@import url('./nvidia-a100-pcie.css');

:root {
	--h100-green: #76b900;
	--h100-lime: #a7f432;
	--h100-cyan: #22d3ee;
	--h100-black: #020617;
	--h100-ink: #0f172a;
	--h100-muted: #64748b;
	--h100-soft: #f2faee;
	--h100-line: rgba(118, 185, 0, 0.24);
	--h100-shadow: 0 24px 70px rgba(2, 6, 23, 0.13);
}

.gpuclusters-page {
	background: #ffffff;
}

.gpuclusters-hero {
	padding: 126px 0 112px;
	background:
		linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(6, 17, 34, 0.88) 44%, rgba(118, 185, 0, 0.18) 100%),
		url('../images/gpu-clusters-banner.jpg') center right / cover no-repeat;
}

.gpuclusters-hero::before {
	background: rgba(34, 211, 238, 0.12);
}

.gpuclusters-hero::after {
	border-color: rgba(167, 244, 50, 0.15);
}

.gpuclusters-hero .h100-hero__content {
	max-width: 1050px;
}

.gpuclusters-hero h1 {
	max-width: 1120px;
	font-size: clamp(42px, 5.1vw, 80px);
}

.gpuclusters-hero p {
	max-width: 930px;
}

.gpuclusters-overview {
	background:
		radial-gradient(circle at 10% 12%, rgba(118, 185, 0, 0.08), transparent 34%),
		#ffffff;
}

.gpuclusters-pricing {
	background:
		radial-gradient(circle at 10% 0%, rgba(118, 185, 0, 0.14), transparent 32%),
		radial-gradient(circle at 92% 8%, rgba(34, 211, 238, 0.12), transparent 28%),
		linear-gradient(180deg, #f8fafc 0%, #f2faee 100%);
}

.gpuclusters-page .h100-pricing-shell {
	position: relative;
	max-width: 1260px;
	margin: 0 auto;
}

.gpuclusters-page .h100-plan-slider {
	display: grid;
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 60px) / 3);
	gap: 30px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 18px 4px 32px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.gpuclusters-page .h100-plan-slider::-webkit-scrollbar {
	display: block;
	height: 10px;
}

.gpuclusters-page .h100-plan-card {
	min-width: 0;
	width: 100%;
	padding: 24px;
	border-radius: 32px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 255, 241, 0.96));
}

.gpuclusters-page .h100-slider-btn {
	display: inline-flex;
}

.gpuclusters-page .h100-plan-head h3 {
	font-size: clamp(21px, 1.5vw, 27px);
}

.gpuclusters-page .h100-plan-head p {
	max-width: 100%;
}

.gpuclusters-page .h100-plan-card--featured {
	border-color: rgba(118, 185, 0, 0.55);
	box-shadow: 0 30px 90px rgba(118, 185, 0, 0.2);
}

.gpuclusters-page .h100-price {
	flex-wrap: nowrap;
	padding: 14px 8px;
	white-space: nowrap;
}

.gpuclusters-page .h100-price strong {
	font-size: clamp(13px, 0.76vw, 19px);
	letter-spacing: -0.055em;
	white-space: nowrap;
	word-break: normal;
}

.gpuclusters-page .h100-price span {
	font-size: 12px;
	white-space: nowrap;
}

.gpuclusters-spec-list li {
	grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1.2fr);
	gap: 12px;
	padding: 12px 0;
}

.gpuclusters-spec-list strong {
	font-size: 13px;
	line-height: 1.45;
	word-break: normal;
}

.gpuclusters-topology {
	background: #ffffff;
}

.gpuclusters-topology__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.gpuclusters-topology-card {
	position: relative;
	overflow: hidden;
	min-height: 250px;
	padding: 30px;
	border: 1px solid var(--h100-line);
	border-radius: 30px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fff1 100%);
	box-shadow: var(--h100-shadow);
}

.gpuclusters-topology-card::after {
	content: "";
	position: absolute;
	right: -52px;
	bottom: -52px;
	width: 145px;
	height: 145px;
	border-radius: 999px;
	background: rgba(118, 185, 0, 0.11);
}

.gpuclusters-topology-card--dark {
	grid-row: span 2;
	background:
		linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.92)),
		linear-gradient(135deg, rgba(118, 185, 0, 0.22), rgba(34, 211, 238, 0.16));
	color: #ffffff;
}

.gpuclusters-topology-card--dark::after {
	background: rgba(34, 211, 238, 0.16);
}

.gpuclusters-topology-card h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 3vw, 48px);
	font-weight: 950;
	line-height: 1.08;
	letter-spacing: -0.05em;
}

.gpuclusters-topology-card strong {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 14px;
	color: var(--h100-black);
	font-size: 24px;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.gpuclusters-topology-card p {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	color: var(--h100-muted);
	font-size: 16px;
	line-height: 1.76;
}

.gpuclusters-topology-card--dark p {
	color: rgba(255, 255, 255, 0.78);
}

.gpuclusters-faq {
	background:
		radial-gradient(circle at 14% 10%, rgba(118, 185, 0, 0.12), transparent 32%),
		radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.1), transparent 30%),
		#ffffff;
}

.gpuclusters-faq .h100-faq-list details {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.gpuclusters-faq .h100-faq-list details[open] {
	border-color: rgba(118, 185, 0, 0.42);
	box-shadow: 0 24px 70px rgba(118, 185, 0, 0.14);
}

.gpuclusters-page .h100-cta__box {
	background:
		linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.92)),
		linear-gradient(135deg, rgba(118, 185, 0, 0.28), rgba(34, 211, 238, 0.16));
}

.gpuclusters-page .h100-cta h2,
.gpuclusters-page .h100-cta p {
	color: #ffffff;
}

@media (max-width: 1180px) {
	.gpuclusters-page .h100-pricing-shell {
		max-width: 900px;
	}

	.gpuclusters-page .h100-plan-slider {
		grid-auto-columns: calc((100% - 24px) / 2);
		gap: 24px;
	}

	.gpuclusters-topology__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gpuclusters-topology-card--dark {
		grid-row: auto;
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.gpuclusters-hero {
		padding: 92px 0 78px;
	}

	.gpuclusters-page .h100-pricing-shell {
		max-width: 100%;
	}

	.gpuclusters-page .h100-plan-slider {
		grid-auto-columns: 86vw;
		gap: 22px;
		padding-top: 10px;
	}

	.gpuclusters-page .h100-plan-card {
		min-width: 0;
		padding: 20px;
	}

	.gpuclusters-page .h100-price strong {
		font-size: 12.5px;
	}

	.gpuclusters-topology__grid {
		grid-template-columns: 1fr;
	}

	.gpuclusters-topology-card,
	.gpuclusters-topology-card--dark {
		min-height: auto;
		padding: 24px;
		border-radius: 24px;
	}

	.gpuclusters-spec-list li {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
