.bmpt,
.bmpt * {
	box-sizing: border-box;
}

.bmpt {
	--bmpt-track-width: 88px;
	--bmpt-track-height: 44px;
	--bmpt-switch-gap: 16px;
	--bmpt-tech-visible: 1;
	--bmpt-tech-opacity: 62;
	--bmpt-tech-grid-size: 72px;
	--bmpt-tech-line-color: rgba(90, 134, 214, 0.22);
	--bmpt-tech-glow-color: rgba(60, 120, 255, 0.18);
	position: relative;
	width: 100%;
	padding: 72px 24px;
	border-radius: 24px;
	background: #000;
	color: #fff;
	font-family: IRANYekanX, "IRANYekanX", Tahoma, Arial, sans-serif;
	isolation: isolate;
	overflow: hidden;
}

.bmpt::before,
.bmpt::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bmpt::before {
	z-index: 0;
	opacity: calc((var(--bmpt-tech-opacity) / 100) * var(--bmpt-tech-visible));
	background-image:
		radial-gradient(circle at 12% 20%, var(--bmpt-tech-glow-color) 0, transparent 20%),
		radial-gradient(circle at 85% 18%, var(--bmpt-tech-glow-color) 0, transparent 18%),
		radial-gradient(circle at 78% 72%, var(--bmpt-tech-glow-color) 0, transparent 24%),
		radial-gradient(circle at 22% 82%, var(--bmpt-tech-glow-color) 0, transparent 17%),
		linear-gradient(var(--bmpt-tech-line-color) 1px, transparent 1px),
		linear-gradient(90deg, var(--bmpt-tech-line-color) 1px, transparent 1px),
		linear-gradient(120deg, transparent 0 47%, var(--bmpt-tech-line-color) 49%, transparent 51%),
		linear-gradient(30deg, transparent 0 48%, var(--bmpt-tech-line-color) 50%, transparent 52%),
		radial-gradient(circle at 8% 16%, rgba(255,255,255,.9) 0 1.5px, transparent 2px),
		radial-gradient(circle at 25% 72%, rgba(255,255,255,.8) 0 1.5px, transparent 2px),
		radial-gradient(circle at 46% 34%, rgba(255,255,255,.75) 0 1.5px, transparent 2px),
		radial-gradient(circle at 69% 52%, rgba(255,255,255,.8) 0 1.5px, transparent 2px),
		radial-gradient(circle at 88% 22%, rgba(255,255,255,.78) 0 1.5px, transparent 2px),
		radial-gradient(circle at 82% 86%, rgba(255,255,255,.72) 0 1.5px, transparent 2px);
	background-size:
		auto,
		auto,
		auto,
		auto,
		var(--bmpt-tech-grid-size) var(--bmpt-tech-grid-size),
		var(--bmpt-tech-grid-size) var(--bmpt-tech-grid-size),
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%;
	background-position:
		center,
		center,
		center,
		center,
		0 0,
		0 0,
		center,
		center,
		center,
		center,
		center,
		center,
		center,
		center;
}

.bmpt::after {
	z-index: 0;
	opacity: calc(0.92 * var(--bmpt-tech-visible));
	background:
		radial-gradient(circle at top left, rgba(0,0,0,.92) 0, rgba(0,0,0,.76) 10%, rgba(0,0,0,0) 26%),
		radial-gradient(circle at top right, rgba(0,0,0,.92) 0, rgba(0,0,0,.76) 10%, rgba(0,0,0,0) 26%),
		radial-gradient(circle at bottom left, rgba(0,0,0,.86) 0, rgba(0,0,0,.62) 12%, rgba(0,0,0,0) 30%),
		radial-gradient(circle at bottom right, rgba(0,0,0,.86) 0, rgba(0,0,0,.62) 12%, rgba(0,0,0,0) 30%),
		linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.38) 5%, rgba(0,0,0,0) 13%, rgba(0,0,0,0) 87%, rgba(0,0,0,.38) 95%, rgba(0,0,0,.84) 100%),
		linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.24) 8%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 84%, rgba(0,0,0,.28) 93%, rgba(0,0,0,.72) 100%),
		radial-gradient(circle at 50% 0%, rgba(255,255,255,.055), transparent 35%),
		linear-gradient(180deg, rgba(6,10,18,0) 0%, rgba(6,10,18,.18) 48%, rgba(0,0,0,.46) 100%);
}

.bmpt button,
.bmpt input,
.bmpt select,
.bmpt textarea {
	font: inherit;
}

.bmpt-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
}

.bmpt-header {
	text-align: center;
}

.bmpt-subtitle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.9;
	color: #f2f4f7;
}

.bmpt-subtitle-icon {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.bmpt-title {
	margin: 24px 0 0;
	padding: 0;
	font-size: clamp(38px, 5vw, 72px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.035em;
	color: #fff;
}

.bmpt-switch {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--bmpt-track-height);
	margin-top: 30px;
}

.bmpt-tablist {
	display: grid;
	grid-template-columns: minmax(0, max-content) minmax(0, max-content);
	align-items: center;
	justify-content: center;
	column-gap: calc(var(--bmpt-track-width) + var(--bmpt-switch-gap) + var(--bmpt-switch-gap));
	max-width: 100%;
}

.bmpt-tab-label,
.bmpt-switch-track {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	outline: 0;
}

.bmpt-tab-label {
	padding: 8px 0;
	background: transparent;
	color: #a9afba;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
	cursor: pointer;
	transition: color 180ms ease, opacity 180ms ease;
}

.bmpt-tab-label:hover,
.bmpt-tab-label:focus-visible,
.bmpt-tab-label[aria-selected="true"] {
	color: #fff;
}

.bmpt-tab-label:focus-visible,
.bmpt-switch-track:focus-visible {
	outline: 2px solid #a9c0df;
	outline-offset: 4px;
	border-radius: 999px;
}

.bmpt-switch-track {
	position: absolute;
	left: 50%;
	z-index: 2;
	flex: 0 0 var(--bmpt-track-width);
	width: var(--bmpt-track-width);
	height: var(--bmpt-track-height);
	padding: 3px;
	border: 1px solid #30343b;
	border-radius: 999px;
	background: rgba(5, 6, 7, 0.82);
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 24px rgba(0,0,0,.25);
	backdrop-filter: blur(10px);
	transform: translateX(-50%);
}

.bmpt-switch-knob {
	position: absolute;
	top: 3px;
	right: 3px;
	display: block;
	width: calc(var(--bmpt-track-height) - 8px);
	height: calc(var(--bmpt-track-height) - 8px);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,.28), 0 0 18px rgba(169,192,223,.28);
	transform: translateX(0);
	transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.bmpt[data-active-tab="2"] .bmpt-switch-knob {
	transform: translateX(calc(-1 * (var(--bmpt-track-width) - var(--bmpt-track-height))));
}

.bmpt-panels {
	position: relative;
	z-index: 1;
	margin-top: 110px;
}

.bmpt-panel[hidden] {
	display: none !important;
}

.bmpt-panel {
	width: 100%;
	min-width: 0;
}

.bmpt-panel > .elementor,
.bmpt-panel > .elementor > .elementor-element,
.bmpt-panel .elementor-section-wrap {
	width: 100%;
}

.bmpt-placeholder {
	padding: 24px;
	border: 1px dashed rgba(169,192,223,.45);
	border-radius: 16px;
	background: rgba(169,192,223,.07);
	color: #cbd7e7;
	font-size: 14px;
	line-height: 1.9;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.bmpt-switch-knob,
	.bmpt-tab-label {
		transition: none;
	}
}

@media (max-width: 767px) {
	.bmpt {
		--bmpt-track-width: 64px;
		--bmpt-track-height: 34px;
		--bmpt-tech-grid-size: 42px;
	}

	.bmpt-title {
		font-size: clamp(34px, 11vw, 50px);
		letter-spacing: -0.025em;
	}

	.bmpt-subtitle {
		font-size: 12px;
		line-height: 1.8;
	}

	.bmpt-switch {
		--bmpt-switch-gap: 10px;
		width: 100%;
	}

	.bmpt-tablist {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		width: 100%;
	}

	.bmpt-tab-label {
		min-width: 0;
		font-size: 12px;
		white-space: normal;
	}

	.bmpt-panels {
		margin-top: 64px;
	}
}
