/* ==========================================================================
   Homepage CTA
   ========================================================================== */

.homepage-cta {
	width: 100%;
	max-width: 95%;
	margin: 40px auto;
}

.homepage-cta__box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: clamp(34px, 5vw, 56px);
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.12);

	background:
		radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 24%),
		radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 28%),
		linear-gradient(
			135deg,
			color-mix(in srgb, var(--homepage-accent) 22%, #0f0f10) 0%,
			color-mix(in srgb, var(--homepage-accent-2) 18%, #161616) 100%
		);

	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);

	box-shadow:
		0 30px 80px rgba(0,0,0,0.42),
		inset 0 1px 0 rgba(255,255,255,0.06);

	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}

.homepage-cta__box:hover {
	transform: translateY(-4px);
	border-color: rgba(255,255,255,0.18);

	box-shadow:
		0 38px 90px rgba(0,0,0,0.52),
		0 0 40px rgba(212,175,55,0.10);
}

.homepage-cta__box::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			120deg,
			transparent 0%,
			rgba(255,255,255,0.06) 35%,
			transparent 60%
		);
	pointer-events: none;
}

.homepage-cta__box::after {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	top: -180px;
	left: -140px;
	background: radial-gradient(
		circle,
		rgba(255,255,255,0.08) 0%,
		transparent 70%
	);
	pointer-events: none;
}

.homepage-cta__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.homepage-cta__title {
	margin: 0 0 14px;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: #fff;

	text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

.homepage-cta__description {
	margin: 0;
	font-size: 1.04rem;
	line-height: 2.1;
	color: rgba(255,255,255,0.78);
}

.homepage-cta__action {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
}

.homepage-cta__button {
	min-width: 190px;
	min-height: 58px;

	background: linear-gradient(
		180deg,
		#ffffff 0%,
		#f2f2f2 100%
	);

	color: #111;
	font-weight: 800;
	border-radius: 18px;

	box-shadow:
		0 18px 40px rgba(0,0,0,0.26),
		inset 0 1px 0 rgba(255,255,255,0.8);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.homepage-cta__button:hover {
	background: #fff;
	color: #000;

	transform: translateY(-2px);

	box-shadow:
		0 24px 50px rgba(0,0,0,0.32),
		0 0 24px rgba(255,255,255,0.18);
}

@media (max-width: 767px) {
	.homepage-cta {
		max-width: calc(100% - 24px);
	}

	.homepage-cta__box {
		flex-direction: column;
		align-items: stretch;
		padding:
			28px
			20px
			calc(28px + env(safe-area-inset-bottom, 0px));

		border-radius: 24px;
		gap: 24px;
	}

	.homepage-cta__action {
		width: 100%;
	}

	.homepage-cta__button {
		width: 100%;
		min-width: 0;
		min-height: 54px;
	}
}
