.how-it-works {
	padding-top: 34px;
	padding-bottom: 19px;
	position: relative;
}
.how-it-works:before {
	content: "";
	display: block;
	position: absolute;
	top: -40px;
	left: 0;
	width: 527px;
	height: 537px;
	background-image: url(../images/how-it-works-figure.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top left;
	z-index: 1;
}
.how-it-works:after {
	content: "";
	display: block;
	position: absolute;
	top: 200px;
	left: 0;
	width: 719px;
	height: 719px;
	background-image: url(../images/how-it-works-figure-2.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top left;
	z-index: 1;
}
.how-it-works .container {
	position: relative;
	z-index: 2;
}

.how-it-works .title {
	margin-bottom: 20px;
	text-align: center;
	font-weight: 700;
}
.how-it-works .title h2 {
	font-weight: 700;
}

.how-it-works .cards {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
}

.how-it-works .cards > .card {
	margin: 0 30px 30px 30px;
	width: calc( (100% - 132px) / 3 );
	max-width: 294px;
	min-width: 294px;
	border: 0;
	border-radius: var(--b-rad-lg);
	background: var(--theme-gray-lightest);
	padding: 40px 15px;
	text-align: center;
}
.how-it-works .cards > .card img {
	height: 100px;
	width: auto;
	display: block;
	margin: 0 auto;
}
.how-it-works .cards > .card .card-img {
	margin-bottom: 20px;
}
.how-it-works .cards > .card .card-title {
	margin-bottom: 20px;
}
.how-it-works .cards > .card .card-title h4 {
	font-weight: 700;
}
.how-it-works .cards > .card .card-text {
	color: var(--theme-gray-light);
}

@media screen and (max-width: 1200px) {
	.how-it-works .cards > .card {
		margin: 0 16px 30px 16px;
	}
}
@media screen and (max-width: 991px) {
	.how-it-works:before,
	.how-it-works:after {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	.how-it-works .cards > .card {
		min-width: 250px;
		padding: 30px 20px;
		margin-bottom: 20px;
	}
}

/* Steps Section - Vertical Layout */
.steps-section {
	padding-top: 60px;
	padding-bottom: 60px;
}

.steps-section .steps-cards {
	flex-direction: column;
	align-items: center;
	max-width: 600px;
	margin: 0 auto;
	gap: 24px;
}

/* Pop-in animation */
@keyframes popIn {
	0% {
		opacity: 0;
		transform: scale(0.8) translateY(20px);
	}
	50% {
		transform: scale(1.05) translateY(-5px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* Continuous pop out and back in animation */
@keyframes popOutIn {
	0%, 100% {
		transform: scale(1) translateY(0);
		box-shadow: 0 0 20px rgba(0, 122, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
	}
	50% {
		transform: scale(1.05) translateY(-8px);
		box-shadow: 0 0 40px rgba(0, 122, 255, 0.5), 0 8px 32px rgba(0, 0, 0, 0.2);
	}
}

@keyframes glowPulse {
	0%, 100% {
		box-shadow: 0 0 20px rgba(0, 122, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1);
	}
	50% {
		box-shadow: 0 0 30px rgba(0, 122, 255, 0.5), 0 6px 24px rgba(0, 0, 0, 0.15);
	}
}

.steps-section .step-card {
	width: 100%;
	max-width: 500px;
	min-width: auto;
	margin: 0;
	padding: 32px 40px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0, 122, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	opacity: 0;
	animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, popOutIn 3s ease-in-out 1s infinite;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.steps-section .step-card:nth-child(1) {
	animation-delay: 0.1s, 1.1s;
}

.steps-section .step-card:nth-child(2) {
	animation-delay: 0.3s, 1.3s;
}

.steps-section .step-card:nth-child(3) {
	animation-delay: 0.5s, 1.5s;
}

.steps-section .step-card:hover {
	box-shadow: 0 0 50px rgba(0, 122, 255, 0.7), 0 10px 40px rgba(0, 0, 0, 0.25);
	transform: translateY(-10px) scale(1.05);
	border-color: rgba(0, 122, 255, 0.4);
	animation-play-state: paused;
}

.steps-section .step-card:active {
	transform: translateY(-4px) scale(0.98);
}

.steps-section .step-number {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--theme-blue);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	flex-shrink: 0;
	margin-right: 24px;
	line-height: 1;
	box-shadow: 0 0 20px rgba(0, 122, 255, 0.5), 0 4px 12px rgba(0, 122, 255, 0.3);
	transition: all 0.3s ease;
}

.steps-section .step-card:hover .step-number {
	box-shadow: 0 0 30px rgba(0, 122, 255, 0.8), 0 6px 20px rgba(0, 122, 255, 0.5);
	transform: scale(1.1);
}

.steps-section .step-content {
	flex: 1;
}

.steps-section .step-content h4 {
	font-weight: 600;
	font-size: 20px;
	margin: 0;
	color: var(--theme-black);
	line-height: 1.4;
	letter-spacing: -0.02em;
}

@media screen and (max-width: 767px) {
	.steps-section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	
	.steps-section .steps-cards {
		gap: 16px;
	}
	
	.steps-section .step-card {
		padding: 24px 20px;
		max-width: 100%;
	}
	
	.steps-section .step-number {
		width: 48px;
		height: 48px;
		font-size: 20px;
		margin-right: 16px;
	}
	
	.steps-section .step-content h4 {
		font-size: 18px;
	}
}