/* How It Works Section - LP: Trial */

.trial-how-it-works {
	padding: 80px 0;

	.inner {
		text-align: center;

		.section-head {
			display: flex;
			justify-content: space-between;
			margin-bottom: 24px;

			@media (max-width: 768px) {
				flex-direction: column;
				align-items: center;
				margin-bottom: 48px;
			}

			h2 {
				font-size: 48px;
				font-weight: 500;
				color: #14191F;
				margin-bottom: 15px;
			}

			.cta-button {
				border-radius: 48px;
				padding: 14px 16px 14px 25px;
				background-color: #3944C4;

				span {
					margin-bottom: -4px;
					font-weight: 400;
				}
			}
		}

		.steps {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 30px;

			@media (max-width: 768px) {
				display: flex;
				flex-direction: column;
			}

			.step-box {
				position: relative;
				display: flex;
				flex-direction: column;
				align-items: flex-start;
				justify-content: flex-start;
				row-gap: 14px;
				border: 1px solid #c8c8c8;
				border-radius: 24px;
				padding: 32px;
				background-color: #fafafa;
				overflow: hidden;
				z-index: 1;

				.number {
					font-size: 36px;
					line-height: 1;
					font-weight: 500;
				}

				.step-title {
					font-size: 24px;
					color: #595959;
					text-align: left;
					line-height: 1.2;
					font-weight: 300;
					padding-right: 40px;

					.highlight {
						color: #5B6EFE;
						font-weight: 400;
					}
				}

				&:first-child {
					&::after {
						background: radial-gradient(circle,#ffffdb 0%, rgba(255, 255, 255, 0) 70%);
					}

					.number {
						color: #FCE8B3;
					}
				}

				&:nth-child(2) {
					&::after {
						background: radial-gradient(circle,#fff3e9 0%, rgba(255, 255, 255, 0) 70%);
					}

					.number {
						color: #FACCC2;
					}
				}

				&:last-child {
					&::after {
						background: radial-gradient(circle,#ffe9ff 0%, rgba(255, 255, 255, 0) 70%);
					}

					.number {
						color: #D9C2FF;
					}
				}

				&::after {
					content: '';
					position: absolute;
					display: block;
					width: 220px;
					height: 220px;
					right: 0;
					z-index: -1;
				}
			}
		}
	}
}
