/* Helix Labs page sections. */

/* --- Hero --- */

.helix-labs-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 64px);
}

.helix-labs-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.helix-labs-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 50% at 18% 18%, rgba(0, 200, 255, 0.1), transparent 70%),
		radial-gradient(50% 45% at 82% 30%, rgba(30, 123, 255, 0.12), transparent 72%);
}

.helix-labs-hero__glow {
	position: absolute;
	left: 50%;
	bottom: -30%;
	width: 80%;
	height: 60%;
	transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(0, 200, 255, 0.12), transparent 70%);
	filter: blur(10px);
}

.helix-labs-hero__vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(2, 4, 8, 0.85) 100%);
}

.helix-labs-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.16fr) minmax(0, 1.08fr) minmax(0, 0.76fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: center;
}

.helix-labs-hero__title {
	font-size: clamp(30px, 2.9vw, 42px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.16;
	margin-bottom: 1.1rem;
}

@media (min-width: 1025px) {
	.helix-labs-hero__title-line {
		white-space: nowrap;
	}
}

.helix-labs-hero__title-line {
	display: block;
}

.helix-labs-hero__title-line--accent {
	color: var(--helix-accent-cyan);
	text-shadow: 0 0 40px var(--helix-glow-cyan);
}

.helix-labs-hero__subtitle {
	color: var(--helix-text-secondary);
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	max-width: 30rem;
	margin: 0 0 1.75rem;
}

.helix-labs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* Hero trust chips (under the buttons, as in the mockup) */

.helix-labs-hero__chips {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-content: start;
	align-items: center;
	margin: 1.7rem 0 0;
	padding: 0;
	max-width: 29rem;
}

.helix-labs-hero__chip {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.15rem 1rem;
}

.helix-labs-hero__chip:first-child {
	padding-left: 0;
}

.helix-labs-hero__chip + .helix-labs-hero__chip {
	border-left: 1px solid var(--helix-border);
}

.helix-labs-hero__chip-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 1.2rem;
	height: 1.2rem;
	color: var(--helix-accent-cyan);
}

.helix-labs-hero__chip-icon svg {
	width: 100%;
	height: 100%;
}

.helix-labs-hero__chip-label {
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--helix-text-silver);
}

.helix-labs-hero__chip-line {
	display: block;
	white-space: nowrap;
}

/* Hero visual */

.helix-labs-hero__visual {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
}

.helix-labs-hero__visual-glow {
	position: absolute;
	inset: 12% 6% 4%;
	background: radial-gradient(55% 55% at 50% 62%, rgba(0, 200, 255, 0.14), transparent 72%);
	filter: blur(16px);
	pointer-events: none;
}

.helix-labs-hero__img {
	position: relative;
	width: 100%;
	max-width: 620px;
	margin-inline: auto;
	filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.6));
}

/* "Why test" checklist card */

.helix-labs-why {
	background: linear-gradient(180deg, rgba(14, 23, 34, 0.94), rgba(5, 7, 10, 0.94));
	border: 1px solid var(--helix-border-strong);
	border-radius: var(--helix-radius);
	box-shadow: var(--helix-shadow);
	backdrop-filter: blur(12px);
	padding: 1.5rem 1.6rem;
}

.helix-labs-why__title {
	font-size: 0.92rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 1.1rem;
}

.helix-labs-why__list {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.helix-labs-why__item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--helix-text-silver);
}

.helix-labs-why__check {
	display: inline-flex;
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	color: var(--helix-accent-cyan);
}

.helix-labs-why__check svg {
	width: 100%;
	height: 100%;
}

.helix-labs-why__powered {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--helix-border);
}

.helix-labs-why__powered-label {
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--helix-text-muted);
}

.helix-labs-why__powered-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--helix-text-primary);
}

.helix-labs-why__powered-icon {
	display: inline-flex;
	width: 1.2rem;
	height: 1.2rem;
	color: var(--helix-accent-cyan);
}

.helix-labs-why__powered-icon svg {
	width: 100%;
	height: 100%;
}

/* Trust strip */

.helix-labs-trust {
	list-style: none;
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	padding: 1.5rem 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--helix-border);
	border-bottom: 1px solid var(--helix-border);
}

.helix-labs-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 1rem;
	text-align: center;
}

.helix-labs-trust__item + .helix-labs-trust__item {
	border-left: 1px solid var(--helix-border);
}

.helix-labs-trust__icon {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--helix-accent-cyan);
}

.helix-labs-trust__icon svg {
	width: 100%;
	height: 100%;
}

.helix-labs-trust__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--helix-text-silver);
	max-width: 11rem;
}

/* --- Panels --- */

.helix-labs-panels .helix-section-heading {
	max-width: 1000px;
}

.helix-labs-panels .helix-section-heading .section-title,
.helix-labs-steps .helix-section-heading .section-title {
	text-transform: none;
	letter-spacing: 0.03em;
}

.helix-labs-panels .helix-section-heading .section-title {
	position: relative;
	padding-bottom: 0.9rem;
	font-size: clamp(30px, 3.4vw, 46px);
}

.helix-labs-panels .helix-section-heading .section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 64px;
	height: 2px;
	background: var(--helix-gradient-btn);
	box-shadow: 0 0 18px var(--helix-glow-cyan);
}

.helix-labs-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.9rem 1.6rem;
}

/* Bare icons, as in the mockup */

.helix-labs-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.15rem;
	color: var(--helix-accent-cyan);
	filter: drop-shadow(0 0 14px rgba(0, 200, 255, 0.25));
}

.helix-labs-panel__icon svg {
	width: 2.6rem;
	height: 2.6rem;
	stroke-width: 1.2;
}

.helix-labs-panel__title {
	font-size: 1.02rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.helix-labs-panel__desc {
	color: var(--helix-text-secondary);
	font-size: 0.94rem;
	margin: 0 0 1.25rem;
}

.helix-labs-panel__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

/* --- How it works --- */

.helix-labs-steps {
	padding-top: 0;
}

.helix-labs-steps__list {
	list-style: none;
	counter-reset: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.helix-labs-steps__item {
	position: relative;
	padding: 1.6rem 1.4rem 1.5rem;
	background: linear-gradient(180deg, rgba(14, 23, 34, 0.85), rgba(5, 7, 10, 0.85));
	border: 1px solid var(--helix-border);
	border-radius: var(--helix-radius);
	text-align: center;
}

.helix-labs-steps__number {
	display: inline-block;
	font-family: var(--helix-font-heading);
	font-size: 1.6rem;
	color: var(--helix-accent-cyan);
	text-shadow: 0 0 24px var(--helix-glow-cyan);
	margin-bottom: 0.6rem;
}

.helix-labs-steps__title {
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.helix-labs-steps__desc {
	color: var(--helix-text-secondary);
	font-size: 0.9rem;
	margin: 0;
}

/* --- Final CTA --- */

.helix-labs-cta {
	padding-top: 0;
}

.helix-labs-cta__inner {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 3rem);
	background: linear-gradient(135deg, rgba(0, 200, 255, 0.08), rgba(11, 17, 24, 0.9) 45%);
	border: 1px solid var(--helix-border-strong);
	border-radius: var(--helix-radius);
	box-shadow: 0 16px 60px rgba(0, 200, 255, 0.08);
}

.helix-labs-cta__icon {
	display: inline-flex;
	flex-shrink: 0;
	height: 4rem;
	color: var(--helix-accent-cyan);
	filter: drop-shadow(0 0 14px var(--helix-glow-cyan));
}

.helix-labs-cta__icon svg {
	width: 3rem;
	height: 100%;
}

.helix-labs-cta__icon-img {
	width: auto;
	height: 100%;
}

.helix-labs-cta__title {
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.4rem;
	color: var(--helix-accent-cyan);
}

.helix-labs-cta__desc {
	color: var(--helix-text-secondary);
	margin: 0;
}

.helix-labs-cta__actions {
	margin-left: auto;
	flex-shrink: 0;
}

/* External-link icon inside buttons/links */

.helix-labs-external-icon {
	display: inline-flex;
	width: 0.85rem;
	height: 0.85rem;
}

.helix-labs-external-icon svg {
	width: 100%;
	height: 100%;
}

/* --- Responsive --- */

@media (max-width: 1280px) {
	.helix-labs-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}

	.helix-labs-why {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0 2rem;
		align-items: center;
	}

	.helix-labs-why__title {
		margin: 0;
		grid-row: 1;
	}

	.helix-labs-why__list {
		grid-row: 1;
		grid-column: 2;
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		column-gap: 1.5rem;
		margin: 0;
	}

	.helix-labs-why__powered {
		grid-column: 1 / -1;
		margin-top: 1rem;
		justify-content: flex-start;
		gap: 0.75rem;
	}
}

@media (max-width: 1024px) {
	.helix-labs-hero__inner {
		grid-template-columns: 1fr;
	}

	.helix-labs-hero__content {
		text-align: center;
	}

	.helix-labs-hero__subtitle {
		margin-inline: auto;
	}

	.helix-labs-hero__actions {
		justify-content: center;
	}

	.helix-labs-hero__chips {
		justify-content: center;
	}

	.helix-labs-hero__visual,
	.helix-labs-why {
		max-width: 640px;
		margin-inline: auto;
		width: 100%;
	}

	.helix-labs-why {
		display: block;
	}

	.helix-labs-why__title {
		margin-bottom: 1.1rem;
	}

	.helix-labs-why__list {
		grid-template-columns: 1fr;
		margin-bottom: 1.25rem;
	}

	.helix-labs-why__powered {
		justify-content: space-between;
		margin-top: 0;
	}

	.helix-labs-trust__label {
		font-size: 0.66rem;
	}

	.helix-labs-trust__item {
		padding: 0.5rem 0.5rem;
	}

	.helix-labs-steps__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.helix-labs-cta__inner {
		flex-direction: column;
		text-align: center;
	}

	.helix-labs-cta__actions {
		margin-left: 0;
	}

	.helix-labs-trust {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 1rem;
	}

	.helix-labs-trust__item + .helix-labs-trust__item {
		border-left: none;
	}

	.helix-labs-trust__item:nth-child(even) {
		border-left: 1px solid var(--helix-border);
	}

	.helix-labs-hero__chips {
		grid-template-columns: repeat(3, 1fr);
		justify-content: center;
		max-width: 26rem;
		margin-inline: auto;
	}

	.helix-labs-hero__chip {
		flex-direction: column;
		text-align: center;
		gap: 0.45rem;
		padding: 0.2rem 0.6rem;
	}

	.helix-labs-hero__chip:first-child {
		padding-left: 0.6rem;
	}

	.helix-labs-hero__chip-label {
		font-size: 0.6rem;
		max-width: none;
	}
}

@media (max-width: 640px) {
	.helix-labs-hero__actions .helix-btn {
		width: 100%;
	}

	.helix-labs-steps__list {
		grid-template-columns: 1fr;
	}
}
