/* Pricing section */

.rf-pricing {
	position: relative;
	overflow: hidden;
	padding: clamp(76px, 8vw, 120px) 20px;
	color: #fff;
	background:
		radial-gradient(circle at 12% 15%, rgba(168, 85, 247, 0.25), transparent 34%),
		radial-gradient(circle at 88% 22%, rgba(37, 211, 102, 0.1), transparent 28%),
		linear-gradient(180deg, #10001d 0%, #080011 100%);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rf-pricing *,
.rf-pricing *::before,
.rf-pricing *::after {
	box-sizing: border-box;
}

.rf-pricing-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
	background-size: 34px 34px;
	opacity: 0.42;
	mask-image: radial-gradient(circle at 50% 45%, black, transparent 76%);
}

.rf-pricing-wrap {
	position: relative;
	z-index: 2;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.rf-pricing-head {
	max-width: 940px;
	margin-bottom: 30px;
}

.rf-pricing-head > .rf-pricing-kicker,
.rf-pricing-head > h2,
.rf-pricing-head > p {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.rf-pricing.is-in-view .rf-pricing-head > .rf-pricing-kicker {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.04s;
}

.rf-pricing.is-in-view .rf-pricing-head > h2 {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.12s;
}

.rf-pricing.is-in-view .rf-pricing-head > p {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.2s;
}

.rf-pricing-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	margin-bottom: 16px;
	border-radius: 999px;
	color: #d8b4fe;
	background: rgba(168, 85, 247, 0.14);
	border: 1px solid rgba(216, 180, 254, 0.18);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.rf-pricing-kicker i,
.rf-ready-pill i {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #25d366;
	box-shadow: 0 0 16px rgba(37, 211, 102, 0.9);
	flex-shrink: 0;
}

.rf-pricing-head h2 {
	margin: 0;
	font-size: clamp(2.125rem, 5.4vw, 4.5rem);
	line-height: 0.95;
	letter-spacing: -0.065em;
}

.rf-pricing-head p {
	max-width: 790px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 16px;
	line-height: 1.65;
}

.rf-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	align-items: stretch;
}

.rf-price-card,
.rf-addon-strip,
.rf-future-note {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.rf-price-card {
	position: relative;
	overflow: hidden;
	min-height: 650px;
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 32px;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.rf-pricing.is-in-view .rf-price-card {
	opacity: 1;
	transform: translateY(0);
}

.rf-pricing.is-in-view .rf-price-card:nth-child(1) {
	transition-delay: 0.24s;
}

.rf-pricing.is-in-view .rf-price-card:nth-child(2) {
	transition-delay: 0.36s;
}

.rf-pricing.is-in-view .rf-price-card:nth-child(3) {
	transition-delay: 0.48s;
}

.rf-price-card::after {
	content: "";
	position: absolute;
	width: 190px;
	height: 190px;
	right: -70px;
	bottom: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 66%);
	pointer-events: none;
}

.rf-price-card.featured {
	border-color: rgba(37, 211, 102, 0.24);
	background:
		radial-gradient(circle at 85% 0%, rgba(37, 211, 102, 0.13), transparent 35%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
	box-shadow: 0 28px 100px rgba(37, 211, 102, 0.08), 0 24px 80px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rf-price-card.featured::after {
	background: radial-gradient(circle, rgba(37, 211, 102, 0.18), transparent 66%);
}

.rf-popular-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 8px 10px;
	border-radius: 999px;
	color: #86efac;
	background: rgba(37, 211, 102, 0.13);
	border: 1px solid rgba(37, 211, 102, 0.18);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (min-width: 621px) {
	.rf-price-card.featured {
		padding-top: 52px;
	}

	.rf-price-card.featured .rf-popular-badge {
		top: 16px;
		left: 16px;
		right: auto;
	}

	.rf-price-card.featured .rf-plan-top h3 {
		padding-right: 0;
		max-width: 100%;
	}
}

.rf-plan-label {
	display: inline-flex;
	width: fit-content;
	padding: 8px 10px;
	margin-bottom: 16px;
	border-radius: 999px;
	color: #d8b4fe;
	background: rgba(168, 85, 247, 0.14);
	border: 1px solid rgba(216, 180, 254, 0.16);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rf-price-card.featured .rf-plan-label {
	color: #86efac;
	background: rgba(37, 211, 102, 0.12);
	border-color: rgba(37, 211, 102, 0.18);
}

.rf-plan-top h3 {
	margin: 0 0 10px;
	font-size: clamp(1.625rem, 3vw, 2.375rem);
	line-height: 1;
	letter-spacing: -0.055em;
}

.rf-plan-top p {
	min-height: 78px;
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	line-height: 1.55;
}

.rf-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 24px 0 14px;
}

.rf-price span {
	color: rgba(255, 255, 255, 0.58);
	font-size: 18px;
	font-weight: 850;
}

.rf-price strong {
	font-size: clamp(2.875rem, 5vw, 4rem);
	line-height: 0.9;
	letter-spacing: -0.07em;
}

.rf-price small {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
	font-weight: 800;
}

.rf-price.custom {
	display: block;
	margin-bottom: 18px;
}

.rf-price.custom strong {
	display: block;
	font-size: clamp(2.375rem, 4vw, 3.25rem);
	letter-spacing: -0.055em;
}

.rf-price.custom small {
	display: block;
	margin-top: 6px;
}

.rf-ready-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 9px 11px;
	margin-bottom: 16px;
	border-radius: 999px;
	color: #86efac;
	background: rgba(37, 211, 102, 0.1);
	border: 1px solid rgba(37, 211, 102, 0.15);
	font-size: 12px;
	font-weight: 850;
}

.rf-ready-pill.purple {
	color: #d8b4fe;
	background: rgba(168, 85, 247, 0.14);
	border-color: rgba(216, 180, 254, 0.16);
}

.rf-ready-pill.purple i {
	background: #a855f7;
	box-shadow: 0 0 16px rgba(168, 85, 247, 0.8);
}

.rf-core-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px;
}

.rf-core-choices span {
	padding: 7px 9px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.065);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 850;
}

.rf-plan-list {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0 0 24px;
	list-style: none;
}

.rf-plan-list li {
	position: relative;
	padding-left: 24px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.42;
}

.rf-plan-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #25d366;
	font-weight: 950;
}

.rf-price-btn {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	margin-top: auto;
	padding: 0 18px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.86), rgba(37, 211, 102, 0.42));
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 18px 42px rgba(168, 85, 247, 0.22);
	transition: 0.28s ease;
}

.rf-price-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 52px rgba(168, 85, 247, 0.32);
}

.rf-price-btn.secondary {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.rf-addon-strip {
	display: grid;
	grid-template-columns: 1.1fr auto 1fr;
	gap: 18px;
	align-items: center;
	margin-top: 16px;
	padding: 20px;
	border-radius: 30px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.rf-pricing.is-in-view .rf-addon-strip,
.rf-pricing.is-in-view .rf-future-note {
	opacity: 1;
	transform: translateY(0);
}

.rf-pricing.is-in-view .rf-addon-strip {
	transition-delay: 0.56s;
}

.rf-pricing.is-in-view .rf-future-note {
	transition-delay: 0.64s;
}

.rf-addon-strip > div:first-child > span {
	display: block;
	color: #d8b4fe;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.rf-addon-strip h3 {
	margin: 0 0 6px;
	font-size: clamp(1.375rem, 3vw, 2.125rem);
	line-height: 1;
	letter-spacing: -0.055em;
}

.rf-addon-strip p {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	line-height: 1.5;
}

.rf-addon-price {
	min-width: 180px;
	padding: 16px;
	border-radius: 22px;
	background: rgba(37, 211, 102, 0.1);
	border: 1px solid rgba(37, 211, 102, 0.16);
	text-align: center;
}

.rf-addon-price small {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.56);
	font-size: 11px;
	font-weight: 850;
}

.rf-addon-price strong {
	display: block;
	color: #86efac;
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.045em;
}

.rf-addon-price strong span {
	display: inline;
	color: rgba(255, 255, 255, 0.52);
	font-size: 12px;
	letter-spacing: 0;
}

.rf-addon-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.rf-addon-tags span {
	padding: 8px 10px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.76);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 850;
}

.rf-future-note {
	margin-top: 16px;
	padding: 18px 20px;
	border-radius: 26px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.rf-future-note strong {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
}

.rf-future-note p {
	margin: 0;
	max-width: 880px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	line-height: 1.55;
}

@media (max-width: 1040px) {
	.rf-pricing-grid {
		grid-template-columns: 1fr;
	}

	.rf-price-card {
		min-height: auto;
	}

	.rf-plan-top p {
		min-height: 0;
	}

	.rf-addon-strip {
		grid-template-columns: 1fr;
	}

	.rf-addon-tags {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.rf-pricing {
		padding: 58px 16px;
	}

	.rf-price-card,
	.rf-addon-strip,
	.rf-future-note {
		border-radius: 26px;
		padding: 18px;
	}

	.rf-popular-badge {
		position: static;
		width: fit-content;
		margin-bottom: 12px;
	}

	.rf-price {
		margin-top: 20px;
	}

	.rf-addon-price {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rf-pricing *,
	.rf-pricing *::before,
	.rf-pricing *::after {
		animation: none !important;
		transition: none !important;
	}

	.rf-pricing-head > .rf-pricing-kicker,
	.rf-pricing-head > h2,
	.rf-pricing-head > p,
	.rf-price-card,
	.rf-addon-strip,
	.rf-future-note {
		opacity: 1;
		transform: none;
	}
}
