/**
 * SMT Partner Registration page
 */

.smt-partner-reg {
	--smt-pr-primary: var(--primary-color, #8ed94d);
	--smt-pr-navy: #0f1f3d;
	--smt-pr-text: #1a2a44;
	--smt-pr-muted: #5a6b82;
	--smt-pr-radius: 18px;
	--smt-reveal-duration: 2.1s;
	color: var(--smt-pr-text);
	overflow-x: hidden;
}

.smt-partner-reg-page {
	background: #fff;
}

.smt-partner-reg-block {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero */
.smt-partner-reg__section--hero {
	position: relative;
	padding: 48px 0 72px;
	background:
		radial-gradient(ellipse 80% 60% at 70% 20%, rgba(142, 217, 77, .08), transparent 55%),
		radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30, 115, 190, .06), transparent 50%),
		#fff;
}

.smt-pr-hero {
	display: grid;
	gap: 36px;
	align-items: center;
}

@media (min-width: 960px) {
	.smt-partner-reg__section--hero {
		padding: 64px 0 88px;
	}

	.smt-pr-hero {
		grid-template-columns: 0.95fr 1.05fr;
		gap: 48px;
	}
}

.smt-pr-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--smt-pr-primary);
}

.smt-pr-hero__title {
	margin: 0 0 14px;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.08;
	font-weight: 900;
	color: var(--smt-pr-navy);
}

.smt-pr-hero__lead {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--smt-pr-muted);
	max-width: 520px;
}

.smt-pr-hero__cta.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 0;
	border-radius: 999px;
	padding: 9px 20px !important;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.smt-pr-hero__visual {
	position: relative;
	min-height: 460px;
}

.smt-pr-globe-wrap {
	position: relative;
	width: min(480px, 96vw);
	height: min(480px, 96vw);
	max-width: 480px;
	margin: 0 auto;
}

.smt-pr-globe {
	position: absolute;
	inset: 15%;
}

.smt-pr-globe__ball {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #dfe6ef;
	box-shadow:
		0 24px 48px rgba(15, 31, 61, .14),
		0 8px 18px rgba(15, 31, 61, .08);
}

.smt-pr-globe__rotator {
	display: flex;
	width: 200%;
	height: 100%;
	animation: smtPrGlobeSpin 48s linear infinite;
	will-change: transform;
}

.smt-pr-globe__strip {
	display: block;
	width: 50%;
	height: 100%;
	flex: 0 0 50%;
}

.smt-pr-globe__glass {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 50%;
	pointer-events: none;
	background:
		radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 42%),
		radial-gradient(circle at 72% 78%, rgba(15, 31, 61, .18) 0%, rgba(15, 31, 61, 0) 48%),
		radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 58%, rgba(15, 31, 61, .12) 100%);
	box-shadow:
		inset -18px -22px 36px rgba(15, 31, 61, .1),
		inset 14px 16px 28px rgba(255, 255, 255, .75);
}

.smt-pr-globe__glass::after {
	content: "";
	position: absolute;
	inset: -3%;
	border-radius: 50%;
	border: 1px solid rgba(142, 217, 77, .2);
	box-shadow: 0 0 36px rgba(142, 217, 77, .1);
}

@keyframes smtPrGlobeSpin {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* Counter */
.smt-pr-counter {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 8;
	width: min(92%, 320px);
	text-align: center;
	pointer-events: none;
}

.smt-pr-counter__digits {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 8px;
}

.smt-pr-counter__digit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 38px;
	padding: 0 6px;
	border-radius: 8px;
	background: var(--smt-pr-navy);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(15, 31, 61, .22);
	font-variant-numeric: tabular-nums;
}

@media (min-width: 560px) {
	.smt-pr-counter__digit {
		min-width: 36px;
		height: 44px;
		padding: 0 7px;
		font-size: 22px;
	}
}

.smt-pr-counter__label {
	font-size: 13px;
	line-height: 1.35;
	color: var(--smt-pr-text);
	font-weight: 600;
	text-transform: lowercase;
	max-width: 220px;
	margin: 0 auto;
}

/* Floating cards — placed outside globe, not over counter */
.smt-pr-float-card {
	position: absolute;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(226, 232, 240, .95);
	box-shadow: 0 12px 28px rgba(15, 31, 61, .1);
	animation: smtPrFloatCard 5s ease-in-out infinite;
	animation-delay: var(--smt-pr-card-delay, 0s);
	max-width: 148px;
}

.smt-pr-float-card--tl {
	top: 2%;
	left: 0;
}

.smt-pr-float-card--tr {
	top: 4%;
	right: 0;
	left: auto;
}

.smt-pr-float-card--bl {
	bottom: 2%;
	left: 0;
	top: auto;
}

.smt-pr-float-card--br {
	bottom: 2%;
	right: 0;
	left: auto;
	top: auto;
}

.smt-pr-float-card--ml {
	top: 42%;
	left: 0;
	transform: translateY(-50%);
}

.smt-pr-float-card--mr {
	top: 42%;
	right: 0;
	left: auto;
	transform: translateY(-50%);
}

.smt-pr-float-card__avatar {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
	background: #eef2f7;
	flex: 0 0 auto;
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 4px 10px rgba(15, 31, 61, .08);
}

.smt-pr-float-card__name {
	font-size: 12px;
	font-weight: 800;
	color: var(--smt-pr-text);
	display: flex;
	align-items: center;
	gap: 4px;
}

.smt-pr-float-card__role {
	font-size: 11px;
	color: var(--smt-pr-muted);
	margin-top: 2px;
}

.smt-pr-float-card__lines span {
	display: block;
	height: 4px;
	border-radius: 999px;
	background: #e8edf3;
	margin-top: 5px;
}

.smt-pr-float-card__lines span:last-child {
	width: 72%;
}

@keyframes smtPrFloatCard {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.smt-pr-float-card--ml,
.smt-pr-float-card--mr {
	animation-name: smtPrFloatCardSide;
}

@keyframes smtPrFloatCardSide {
	0%, 100% {
		transform: translateY(-50%);
	}
	50% {
		transform: translateY(calc(-50% - 8px));
	}
}

.smt-pr-scroll-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: 28px;
	text-decoration: none;
	color: var(--smt-pr-muted);
	font-size: 13px;
	font-weight: 700;
	animation: smtPrScrollBounce 2s ease-in-out infinite;
}

.smt-pr-scroll-hint svg {
	width: 22px;
	height: 22px;
}

@keyframes smtPrScrollBounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(6px);
	}
}

/* Section head */
.smt-pr-section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 28px;
}

.smt-pr-section-head__title {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 900;
}

.smt-pr-section-head__lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--smt-pr-muted);
}

/* Benefits */
.smt-partner-reg__section--benefits {
	padding: 56px 0 64px;
	background: linear-gradient(180deg, rgba(30, 115, 190, .04), rgba(255, 255, 255, 0));
}

.smt-pr-benefits {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.smt-pr-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.smt-pr-benefits {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.smt-pr-benefit {
	padding: 24px 20px;
	border-radius: var(--smt-pr-radius);
	background: #fff;
	border: 1px solid #e8edf3;
	box-shadow: 0 12px 30px rgba(20, 40, 70, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.smt-pr-benefit:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 40, 70, .1);
}

.smt-pr-benefit__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(142, 217, 77, .12);
	color: var(--smt-pr-primary);
	margin-bottom: 14px;
}

.smt-pr-benefit__icon svg {
	width: 24px;
	height: 24px;
}

.smt-pr-benefit__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 800;
}

.smt-pr-benefit__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--smt-pr-muted);
}

/* Who */
.smt-partner-reg__section--who {
	padding: 56px 0;
	background: var(--smt-pr-navy);
	color: #fff;
}

.smt-pr-who {
	display: grid;
	gap: 28px;
	align-items: center;
}

@media (min-width: 900px) {
	.smt-pr-who {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 40px;
	}
}

.smt-pr-who__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 900;
	color: #fff;
}

.smt-pr-who__list {
	margin: 0;
	padding-left: 1.2em;
}

.smt-pr-who__list li {
	margin-bottom: 10px;
	line-height: 1.75;
	color: rgba(255, 255, 255, .88);
}

.smt-pr-who__stats {
	display: grid;
	gap: 14px;
}

.smt-pr-stat {
	padding: 20px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
}

.smt-pr-stat strong {
	display: block;
	font-size: 28px;
	line-height: 1.1;
	color: var(--smt-pr-primary);
	margin-bottom: 4px;
}

.smt-pr-stat span {
	font-size: 14px;
	color: rgba(255, 255, 255, .82);
}

/* Steps */
.smt-partner-reg__section--steps {
	padding: 56px 0 64px;
}

.smt-pr-steps {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.smt-pr-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.smt-pr-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.smt-pr-step {
	position: relative;
	padding: 22px 18px 20px;
	border-radius: var(--smt-pr-radius);
	background: #fff;
	border: 1px solid #e8edf3;
	box-shadow: 0 10px 28px rgba(20, 40, 70, .05);
}

.smt-pr-step__num {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
	color: var(--smt-pr-primary);
	margin-bottom: 10px;
}

.smt-pr-step__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 800;
}

.smt-pr-step__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--smt-pr-muted);
}

/* Form */
.smt-partner-reg__section--form {
	padding: 24px 0 72px;
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, rgba(142, 217, 77, .07), transparent 60%),
		#f8fafc;
}

.smt-pr-form-box {
	max-width: 820px;
	margin: 0 auto;
	padding: 32px 24px 28px;
	border-radius: calc(var(--smt-pr-radius) + 4px);
	background: #fff;
	border: 1px solid #e8edf3;
	box-shadow: 0 24px 56px rgba(15, 31, 61, .08);
}

@media (min-width: 768px) {
	.smt-pr-form-box {
		padding: 40px 36px 36px;
	}
}

.smt-pr-form-box__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 900;
	text-align: center;
	color: var(--smt-pr-navy);
}

.smt-pr-form-box__lead {
	margin: 0 0 24px;
	text-align: center;
	font-size: 15px;
	line-height: 1.75;
	color: var(--smt-pr-muted);
}

.smt-pr-msg {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.6;
}

.smt-pr-notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 16px;
	border-radius: 14px;
	margin-bottom: 20px;
}

.smt-pr-notice__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.smt-pr-notice__title {
	display: block;
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.35;
}

.smt-pr-notice__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
}

.smt-pr-notice--ok {
	background: rgba(142, 217, 77, .14);
	border: 1px solid rgba(142, 217, 77, .4);
	color: #1a5631;
}

.smt-pr-notice--ok .smt-pr-notice__icon {
	background: var(--smt-pr-primary, #8ed94d);
	color: #fff;
}

.smt-pr-notice--err {
	background: rgba(220, 53, 69, .08);
	border: 1px solid rgba(220, 53, 69, .28);
	color: #842029;
}

.smt-pr-notice--err .smt-pr-notice__icon {
	background: #dc3545;
	color: #fff;
}

.smt-pr-form.is-submitting {
	opacity: .92;
}

.smt-pr-form__submit.is-loading {
	position: relative;
	opacity: .85;
	pointer-events: none;
	padding-right: 44px !important;
}

.smt-pr-form__submit.is-loading::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: smtPrSpin .75s linear infinite;
}

@keyframes smtPrSpin {
	to {
		transform: rotate(360deg);
	}
}

.smt-pr-msg--ok {
	background: rgba(142, 217, 77, .14);
	border: 1px solid rgba(142, 217, 77, .35);
	color: #1a5631;
}

.smt-pr-msg--err {
	background: rgba(220, 53, 69, .08);
	border: 1px solid rgba(220, 53, 69, .25);
	color: #842029;
}

.smt-pr-form__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.smt-pr-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.smt-pr-form__field {
	margin: 0 0 14px;
}

.smt-pr-form__field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--smt-pr-text);
}

.smt-pr-form__field label span {
	color: #c0392b;
}

.smt-pr-form__field input,
.smt-pr-form__field textarea {
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border: 1px solid #d8e0ea !important;
	border-radius: 12px !important;
	background: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
	box-shadow: none !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.smt-pr-form__field select {
	width: 100%;
	margin-top: 6px;
	padding: 10px 40px 10px 14px !important;
	border: 1px solid #d8e0ea !important;
	border-radius: 12px !important;
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	font-size: 14px;
	line-height: 1.4;
	min-height: 46px !important;
	height: auto !important;
	box-sizing: border-box;
	box-shadow: none !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.smt-pr-form__field input:focus,
.smt-pr-form__field select:focus,
.smt-pr-form__field textarea:focus {
	outline: none;
	border-color: var(--smt-pr-primary);
	box-shadow: 0 0 0 3px rgba(142, 217, 77, .18);
}

.smt-pr-form__field textarea {
	resize: vertical;
	min-height: 120px;
}

.smt-pr-form__field--full {
	grid-column: 1 / -1;
}

.smt-pr-form__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.smt-pr-form__submit {
	width: 100%;
	margin-top: 6px;
	border-radius: 12px !important;
	padding: 12px 24px !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	box-shadow: none !important;
}

/* Reveal */
.smt-partner-reg .smt-reveal {
	opacity: 0;
	pointer-events: none;
}

.smt-partner-reg .smt-reveal--up {
	transform: translate3d(0, 64px, 0);
}

.smt-partner-reg .smt-reveal--left {
	transform: translate3d(-68px, 0, 0);
}

.smt-partner-reg .smt-reveal--right {
	transform: translate3d(68px, 0, 0);
}

.smt-partner-reg .smt-reveal.is-visible {
	pointer-events: auto;
}

.smt-partner-reg .smt-reveal.is-visible.smt-reveal--up {
	animation: smtPrRevealUp var(--smt-reveal-duration, 2.1s) cubic-bezier(.22, .84, .32, 1) forwards;
	animation-delay: var(--smt-reveal-delay, 0ms);
}

.smt-partner-reg .smt-reveal.is-visible.smt-reveal--left {
	animation: smtPrRevealLeft var(--smt-reveal-duration, 2.1s) cubic-bezier(.22, .84, .32, 1) forwards;
	animation-delay: var(--smt-reveal-delay, 0ms);
}

.smt-partner-reg .smt-reveal.is-visible.smt-reveal--right {
	animation: smtPrRevealRight var(--smt-reveal-duration, 2.1s) cubic-bezier(.22, .84, .32, 1) forwards;
	animation-delay: var(--smt-reveal-delay, 0ms);
}

@keyframes smtPrRevealUp {
	from { opacity: 0; transform: translate3d(0, 64px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes smtPrRevealLeft {
	from { opacity: 0; transform: translate3d(-68px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes smtPrRevealRight {
	from { opacity: 0; transform: translate3d(68px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.smt-pr-globe__rotator,
	.smt-pr-float-card,
	.smt-pr-scroll-hint {
		animation: none !important;
	}

	.smt-partner-reg .smt-reveal {
		opacity: 1;
		transform: none !important;
		pointer-events: auto;
	}

	.smt-partner-reg .smt-reveal.is-visible.smt-reveal--up,
	.smt-partner-reg .smt-reveal.is-visible.smt-reveal--left,
	.smt-partner-reg .smt-reveal.is-visible.smt-reveal--right {
		animation: none !important;
	}
}

@media (max-width: 849px) {
	.smt-partner-reg .smt-reveal--left,
	.smt-partner-reg .smt-reveal--right {
		transform: translate3d(0, 52px, 0);
	}

	.smt-partner-reg .smt-reveal.is-visible.smt-reveal--left,
	.smt-partner-reg .smt-reveal.is-visible.smt-reveal--right {
		animation-name: smtPrRevealUp;
	}

	.smt-pr-globe-wrap {
		width: min(360px, 92vw);
		height: min(360px, 92vw);
	}

	.smt-pr-float-card {
		max-width: 132px;
		padding: 7px 8px;
	}

	.smt-pr-float-card--bl,
	.smt-pr-float-card--br,
	.smt-pr-float-card--ml,
	.smt-pr-float-card--mr {
		display: none;
	}
}
