/* ==========================================================================
   Altomize Theme — "Platform" page template
   Scope: body.template-platform
   Reuses .home-section, .eyebrow, .check-list, .btn and .cta-band.
   ========================================================================== */

.template-platform .site-inner {
	width: 100%;
	max-width: none;
	padding: 0;
}
/* Hero + orbit
   -------------------------------------------------------------------------- */

.plat-hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0 32px;
	background:
		radial-gradient(circle at 85% 30%, rgba(5, 207, 168, 0.14), transparent 32%),
		linear-gradient(180deg, #f7fcfb, #ffffff);
}

.plat-hero::before,
.plat-hero::after {
	content: "";
	position: absolute;
	width: 320px;
	height: 320px;
	background-image: radial-gradient(#cfdbe2 1.3px, transparent 1.3px);
	background-size: 18px 18px;
	opacity: 0.55;
	pointer-events: none;
}

.plat-hero::before { top: -120px; left: -120px; }
.plat-hero::after { right: -120px; bottom: -140px; }

.plat-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 32px;
	align-items: center;
}

.plat-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.1rem, 3.4vw, 2.9rem);
	line-height: 1.12;
	letter-spacing: -0.04em;
}

.plat-hero__intro {
	max-width: 440px;
	margin: 0 0 22px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--alt-muted);
}

.orbit {
	position: relative;
	width: 100%;
	max-width: 640px;
	aspect-ratio: 640 / 520;
	margin: 0 auto;
}

.orbit__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.orbit__center {
	position: absolute;
	left: 50%;
	top: 55.8%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 31%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, #ffffff 55%, #eefcf8 100%);
	border: 1px solid rgba(5, 207, 168, 0.35);
	box-shadow: 0 30px 60px rgba(5, 207, 168, 0.2), inset 0 0 0 10px rgba(5, 207, 168, 0.06);
	transform: translate(-50%, -50%);
}

.orbit__mark { width: 52%; height: 52%; }

.orbit__node {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 176px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--alt-border);
	box-shadow: 0 14px 30px rgba(7, 21, 47, 0.08);
	transform: translate(-50%, -50%);
}

.orbit__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

.orbit__icon .icon { width: 20px; height: 20px; }

.orbit__body strong {
	display: block;
	font-size: 0.82rem;
	line-height: 1.2;
	color: var(--alt-navy);
}

.orbit__body span {
	display: block;
	margin-top: 3px;
	font-size: 0.68rem;
	line-height: 1.4;
	color: var(--alt-muted);
}

.orbit__node--top { left: 50%; top: 11%; }
.orbit__node--upper-left { left: 20%; top: 29%; }
.orbit__node--upper-right { left: 80%; top: 29%; }
.orbit__node--left { left: 12%; top: 56%; }
.orbit__node--right { left: 88%; top: 56%; }
.orbit__node--lower-left { left: 26%; top: 88%; }
.orbit__node--lower-right { left: 74%; top: 88%; }

/* Steps
   -------------------------------------------------------------------------- */

.plat-steps__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plat-step {
	position: relative;
	margin: 0;
	padding: 28px 18px 24px;
	border-radius: var(--alt-radius-md);
	background: #fff;
	border: 1px solid var(--alt-border);
	text-align: center;
}

.plat-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -19px;
	width: 9px;
	height: 9px;
	border-top: 2px solid #b8c6cf;
	border-right: 2px solid #b8c6cf;
	transform: translateY(-50%) rotate(45deg);
}

.plat-step__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

.plat-step__title {
	margin: 0 0 8px;
	font-size: 1.02rem;
	letter-spacing: -0.01em;
}

.plat-step__text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--alt-muted);
}

/* Modules
   -------------------------------------------------------------------------- */

.plat-modules__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.module {
	display: flex;
	flex-direction: column;
	padding: 24px 22px 22px;
	border-radius: var(--alt-radius-md);
	background: #fff;
	border: 1px solid var(--alt-border);
	scroll-margin-top: 90px;
}

.module__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

.module__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	letter-spacing: -0.015em;
}

.module__text {
	flex: 1 1 auto;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--alt-muted);
}

/* CTA band variant: heading left, text middle, button right
   -------------------------------------------------------------------------- */
/* Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.plat-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.plat-step:nth-child(3)::after { display: none; }

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

	.cta-band--split { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
	.plat-hero { padding: 40px 0 24px; }

	.plat-hero__grid { grid-template-columns: 1fr; gap: 28px; }

	.plat-hero__intro { max-width: none; }

	.orbit__node { width: 150px; padding: 10px 11px; }

	.orbit__body span { display: none; }
}

@media (max-width: 640px) {
	.template-platform .home-section { padding-top: 44px; }

	.orbit { max-width: none; }

	.orbit__node { width: auto; max-width: 140px; gap: 7px; padding: 8px 9px; }

	.orbit__icon { width: 28px; height: 28px; }

	.orbit__icon .icon { width: 16px; height: 16px; }

	.orbit__body strong { font-size: 0.7rem; }

	.plat-steps__list { grid-template-columns: 1fr; gap: 16px; }

	.plat-step::after { display: none; }

	.plat-modules__grid { grid-template-columns: 1fr; }

	.cta-band--split { padding: 30px 22px; }

	.cta-band--split .btn { width: 100%; }
}
