.how-it-works-section {
	margin: 60px 0;
	padding: 40px 0;
}

.how-it-works-title {
	text-align: center;
	font-size: 48px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 40px;
}

.how-it-works-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	margin: 0 auto 40px;
	max-width: 1160px;
	background: #2B1849;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 40px 20px;
	position: relative;
	overflow: visible;
	z-index: 1;
	min-height: 420px;
}

.how-it-works-visual::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	width: 50%;
	background-image: url(/static/images/left-eclips-bg.svg);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: cover;
	z-index: 0;
	pointer-events: none;
}

.how-it-works-visual::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	width: 50%;
	background-image: url(/static/images/right-eclips-bg.svg);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: cover;
	z-index: 0;
	pointer-events: none;
}

.how-it-works-image-wrapper {
	flex: 0 0 auto;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.how-it-works-arrow {
	flex: 0 0 auto;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.how-it-works-arrow .arrow-icon {
	width: 48px;
	height: 48px;
	display: block;
}

.how-it-works-steps {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 24px;
	margin: -100px auto 0;
	position: relative;
	z-index: 10;
}

.how-it-works-step {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: linear-gradient(135deg, #492387 0%, #712659 100%);
	border-radius: 16px;
	padding: 32px 24px;
	backdrop-filter: blur(10px);
	min-width: 0;
	min-height: 260px;
	align-self: stretch;
	position: relative;
	z-index: 10;
}

.how-it-works-section .step-number {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #8561bd;
	font-size: 24px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-bottom: 16px;
}

.how-it-works-section .step-content {
	flex: 1;
	width: 100%;
}

.how-it-works-section .step-title {
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 12px;
	line-height: 1.4;
}

.how-it-works-section .step-description {
	font-size: 14px;
	color: hsla(0, 0%, 100%, 0.8);
	line-height: 1.6;
	margin: 0;
}

.how-it-works-steps-arrow {
	flex: 0 0 auto;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
}

.how-it-works-steps-arrow .steps-arrow-icon {
	width: 32px;
	height: 32px;
	display: block;
}

.how-it-works-bg-left {
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	height: 100%;
	background-image: url(/static/images/how-it-work-bg.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: 0;
	pointer-events: none;
}

.how-it-works-bg-right {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	background-image: url(/static/images/how-it-work-bg.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transform: scaleX(-1);
	z-index: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.how-it-works-visual {
		padding: 20px 10px;
		min-height: 280px;
		border-radius: 20px;
		gap: 8px;
	}

	.how-it-works-image-wrapper {
		width: 90px;
		height: 90px;
	}

	.how-it-works-image-wrapper .neon-frame {
		width: 90px !important;
		height: 90px !important;
	}

	.how-it-works-image-wrapper .how-it-works-image {
		object-fit: cover;
	}

	.how-it-works-arrow .arrow-icon {
		width: 24px;
		height: 24px;
	}

	.how-it-works-steps {
		flex-direction: column;
		gap: 16px;
		margin: -60px auto 0;
		padding: 0 16px;
	}

	.how-it-works-steps-arrow {
		transform: rotate(90deg);
		margin: 0;
		padding: 8px 0;
	}

	.how-it-works-step {
		width: 100%;
		min-height: 200px;
		padding: 24px 20px;
	}

	.how-it-works-section .step-number {
		width: 28px;
		height: 28px;
		font-size: 18px;
		margin-bottom: 12px;
	}

	.how-it-works-section .step-title {
		font-size: 18px;
		margin-bottom: 8px;
	}

	.how-it-works-section .step-description {
		font-size: 14px;
	}
}

