/* #region CALCULATOR SECTION */
.calculator {
	position: relative;
	color: var(--black);
	padding-top: 145px;
	background-color: var(--gray);
	border-bottom-left-radius: 150px;
	border-bottom-right-radius: 150px;
	overflow: hidden;

	&::after,
	&::before {
		content: "";
		position: absolute;
		top: 32px;
		width: 100dvw;
		height: 2px;
		background-color: var(--gray-100);
	}

	&::after {
		top: 0;
		left: 38px;
		width: 2px;
		height: 100%;
	}

	.calculator__line {
		position: absolute;
		top: 0;
		right: 38px;
		width: 2px;
		height: 100%;
		background-color: var(--gray-100);
	}
}

.calculator__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;

	h2 {
		max-width: 612px;
		text-transform: uppercase;
	}
}

.calculator__images {
	position: relative;
	width: 124px;
	height: 124px;
	overflow: hidden;

	.calculator__david {
		position: relative;
		z-index: 1;
		top: 10px;
	}

	.calculator__versache {
		position: absolute;
		left: 0;
	}
}

.form-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.calculator__wrapper {
	position: relative;
	background: var(--bg-gr-main);
	padding: 20px;
	border-radius: var(--radius-25);
	color: var(--white);
}

.calculator__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.calculator__green-border {
	display: flex;
	justify-content: center;
	background: var(--green);
	padding: 3px;
	filter: drop-shadow(var(--box-shadow));
}

.calculator__green-border-big {
	width: 100%;
}

.calculator__green-border-small {
	width: fit-content;
	margin-inline: auto;
}

.calculator__output {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	background: var(--white);
	color: var(--black);
	padding-block: 16px;
}

.calculator__clipped-shape {
	--cut-size-x: 60px;
	--cut-size-y: 45px;
	clip-path: polygon(
		var(--cut-size-x) 0%,
		100% 0%,
		100% calc(100% - var(--cut-size-y)),
		calc(100% - var(--cut-size-x)) 100%,
		0% 100%,
		0% var(--cut-size-y)
	);
}

.calculator__output-title,
.calculator__output-earn,
.calculator__control-item-title,
.calculator__control-item-range-value {
	font-size: var(--text-30);
	font-weight: var(--fw-800);
	text-transform: uppercase;
	text-align: center;
}

.calculator__control-item-title {
	margin-bottom: 16px;
}

.calculator__control-item-range-value {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	padding: 8px 50px;
	color: var(--black);
	background: var(--white);
}

.calculator__invest-controls {
	width: 100%;
}

.calculator__invest-controls-item:first-child {
	margin-bottom: 20px;
}

.calculator__control-range {
	margin-top: 11px;
	display: flex;
	justify-content: space-between;
	transform: translateY(-20px);
}

.calculator__control-range .calculator__range-value {
	font-size: 14px;
	font-weight: 400;
	color: #fff;
}

.calculator__control-range.period .calculator__range-value {
	&:nth-child(1) {
		margin-left: 14px;
	}
}

.calculator__scale-box {
	display: flex;
	justify-content: space-between;
	padding: 0 16px;
	gap: 32px;
	transform: translateY(-11px);
}

.calculator__scale-mark {
	display: block;
	width: 2px;
	height: 12px;
	background: var(--gray-100);

	&:nth-child(2n) {
		height: 16px;
	}
}

.irs--flat .irs-line {
	height: 4px !important;
	border-radius: 4px;
	background: var(--gray-100) !important;
}
.irs--flat .irs-bar {
	height: 4px !important;
	border-radius: 4px 0px 0px 4px;
	background: var(--bg-circle) !important;
}
.irs--flat .irs-min,
.irs--flat .irs-max {
	display: none !important;
}
.irs--flat .irs-handle {
	cursor: pointer !important;
	top: 15px !important;
	width: 36px !important;
	height: 36px !important;
	background: var(--bg-gr-main) !important;
	box-shadow: var(--box-shadow-circle) !important;
	backdrop-filter: blur(4px);
	border-radius: 50% !important;
	top: 10px !important;
}

.irs--flat .irs-handle i {
	display: none !important;
}
.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
	top: -24px !important;
	color: #101010;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px;
	background-color: unset !important;
	padding: 0 !important;
}
.irs--flat .irs-single {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before {
	display: none !important;
}
.irs-single {
	display: none !important;
}

.calculator__note {
	text-align: center;
	margin-top: 32px;
	font-size: var(--text-22);
	font-weight: var(--fw-800);
	color: var(--black);
	text-transform: uppercase;
}

.calculator__about {
	position: relative;
	bottom: -36px;
	display: block;
	font-size: 155px;
	font-weight: var(--fw-600);
	text-transform: uppercase;
	color: rgba(19, 201, 128, 0.5);
	pointer-events: none;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1200px) {
	.calculator {
		padding-top: 120px;
		border-bottom-left-radius: 100px;
		border-bottom-right-radius: 100px;

		&::after {
			left: 26px;
		}
		.calculator__line {
			right: 26px;
		}
	}

	.calculator__header {
		margin-bottom: 16px;

		h2 {
			font-size: var(--text-38);
		}
	}
	.form-container {
		flex-direction: column-reverse;
	}

	.calculator__wrapper {
		max-width: 653px;
		width: 100%;
	}
	.calculator__note {
		margin-top: 16px;
	}
	.calculator__about {
		font-size: 106px;
		bottom: -26px;
	}
}

@media (max-width: 834px) {
	.calculator {
		padding-top: 95px;
		border-bottom-left-radius: 80px;
		border-bottom-right-radius: 80px;

		&::after {
			left: 16px;
		}
		.calculator__line {
			right: 16px;
		}
	}
	.calculator__header {
		flex-direction: column;
		text-align: center;
		gap: 32px;
		margin-bottom: 32px;

		h2 {
			font-size: var(--text-32);
		}
	}
	.calculator__wrapper {
		border-radius: var(--radius-20);
	}
	.calculator__output-title,
	.calculator__output-earn,
	.calculator__control-item-title,
	.calculator__control-item-range-value {
		font-size: var(--text-22);
	}

	.calculator__scale-box {
		padding: 0 8px;
		gap: 12px;
	}
	.calculator__note {
		margin-top: 26px;
		font-size: var(--text-16);
	}

	.calculator__about {
		font-size: 46px;
		bottom: -8px;
	}

	.calculator__control-range.investment .calculator__range-value {
		&:nth-child(1) {
			margin-left: -6px;
		}
	}

	.calculator__control-range.period .calculator__range-value {
		&:nth-child(1) {
			margin-left: 6px;
		}
	}

	.irs--flat .irs-handle {
		width: 23px !important;
		height: 23px !important;
		top: 14px !important;
	}
}

/* #endregion CALCULATOR SECTION */

/* #region HOW_TO SECTION */
.how-start {
	position: relative;
	padding-block: 120px;
	overflow: hidden;

	.container {
		position: relative;
	}
}

.how-start__circle-wrapper {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 600px;
	height: 600px;
	z-index: -1;
	transform: translate(-50%, -50%);
}

.how-start__circle-green {
	width: 100%;
	height: 100%;
}

.how-start__circle-blue {
	left: -20%;
	top: 50%;
}

.how-start__bg {
	position: absolute;
	bottom: 22%;
	right: -12%;
	overflow: hidden;
	z-index: -1;
	width: 653px;
}
.how-start__bg-text {
	font-size: var(--text-42);
	font-weight: var(--fw-800);
	line-height: var(--lh-12);
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--bg-gr-main);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: moveRow 30s linear infinite;

	&:nth-child(even) {
		animation-direction: reverse;
	}
}

.how-start__header {
	display: flex;
	align-items: flex-end;
	margin-bottom: 85px;
	text-transform: uppercase;
}

.how-start__subtitle {
	font-size: var(--text-22);
	font-weight: var(--fw-700);
	text-align: end;
	text-wrap: balance;
}

.how-start__orbit {
	position: relative;
	width: 100%;
	height: 1094px;
	margin: 0 auto;
}

.how-start__object {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 690px;
	height: 690px;
	background: url("/img/3d-object.png") no-repeat center/contain;
	transform: translate(-50%, -50%);
	animation: float 4s ease-in-out infinite;
	transform-style: preserve-3d;
}

@keyframes float {
	0%,
	100% {
		transform: translate(-50%, -52%);
	}
	50% {
		transform: translate(-50%, -48%);
	}
}

.how-start__cards {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.how-start__card {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	width: 282px;
	padding: 30px;
	border-radius: 25px;
	background: var(--bg-gr-main);
	backdrop-filter: blur(4px);

	p {
		text-transform: capitalize;
	}
}

.how-start__card-title {
	text-transform: uppercase;
}

.how-start__subtitle-mob {
	display: none;
}

@media (max-width: 1200px) {
	.how-start {
		padding-block: 80px;
	}
	.how-start__header {
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 32px;
		flex-direction: column;
	}
	.how-start__title {
		max-width: 526px;
	}
	.how-start__orbit {
		height: 864px;
	}
	.how-start__object {
		width: 460px;
		height: 460px;
	}
	.how-start__card {
		padding: 16px;
		width: 262px;
	}
	.how-start__card-title {
		font-size: var(--text-22);
	}
	.how-start__bg {
		bottom: 37%;
		right: -20%;
	}
}

@media (max-width: 834px) {
	.how-start {
		padding-block: 64px;
	}
	.how-start__header {
		align-items: center;
	}
	.how-start__title {
		text-align: center;
	}

	.how-start__circle-wrapper {
		width: 400px;
		height: 400px;
	}

	.how-start__circle-blue {
		left: 70%;
		top: 45%;
	}

	.how-start__bg {
		bottom: 20%;
		right: -40%;
	}
	.how-start__bg-text {
		font-size: var(--text-22);
	}
	.how-start__orbit {
		display: grid;
		grid-template-areas:
			"signin"
			"fund"
			"object"
			"call"
			"earn";
		grid-template-columns: 1fr;
		gap: 16px;
		justify-items: center;
		align-items: center;
		height: auto;
	}

	.how-start__object-wrapper {
		grid-area: object;
		width: 335px;
		height: 335px;
		position: relative;
		margin-block: 48px;
	}

	.how-start__object {
		width: 100%;
		height: 100%;
	}

	.how-start__cards {
		display: contents;
		position: relative;
	}

	.how-start__card {
		flex: 1 1 260px;
		max-width: 300px;
		padding: 24px;
		border-radius: 20px;
		background: var(--bg-gr-main);
		backdrop-filter: blur(4px);
		text-align: center;
		position: relative;

		&.how-start__card--signin {
			grid-area: signin;
		}
		&.how-start__card--fund {
			grid-area: fund;
		}
		&.how-start__card--call {
			grid-area: call;
		}
		&.how-start__card--earn {
			grid-area: earn;
		}
	}

	.how-start__subtitle-tablet {
		display: none;
	}

	.how-start__subtitle-mob {
		display: block;
		margin-top: 32px;
		text-align: center;
	}
}

/* #endregion HOW_TO SECTION */
