/* Taksit Fırsatı — ana sayfa bölümü + hesaplayıcı */

.tf {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-areas:
		"intro plans"
		"foot  plans";
	gap: 14px 28px;
	align-items: center;
	margin: 16px 0 8px;
	padding: 22px 24px;
	border-radius: 20px;
	background: linear-gradient(135deg, #eef4ff 0%, #f7f4ff 55%, #fff5fb 100%);
	border: 1px solid #e2ebfb;
	box-sizing: border-box;
}

.tf * {
	box-sizing: border-box;
}

/* İç grid kapsayıcı; öğeler .tf grid'ine taşınsın */
.tf__grid {
	display: contents;
}

.tf__intro {
	grid-area: intro;
	min-width: 0;
	text-align: center;
}

.tf__badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(90deg, #1e5bdb, #7c3aed, #ec4899, #f97316, #1e5bdb);
	background-size: 300% 100%;
	animation: tfShine 3.4s linear infinite;
}

.tf__title {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.4vw, 27px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
	background: linear-gradient(90deg, #0f172a, #1e5bdb 55%, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #0f172a;
}

.tf__sub {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #64748b;
}

.tf__plans {
	grid-area: plans;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tf__plan {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 14px;
	background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
	border: 1px solid #dbe7fb;
	border-radius: 16px;
	box-shadow: 0 12px 26px -20px rgba(30, 91, 219, .7);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tf__plan::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--sn-blue, #1e5bdb), #2f7cf6);
}

.tf__plan:hover {
	transform: translateY(-2px);
	border-color: #bcd2f7;
	box-shadow: 0 18px 34px -18px rgba(30, 91, 219, .6);
}

.tf__plan-count {
	flex: 0 0 58px;
	height: 58px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(160deg, var(--sn-blue, #1e5bdb), #3b82f6);
	color: #fff;
	line-height: 1;
	box-shadow: 0 8px 18px -8px rgba(30, 91, 219, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.tf__plan-count strong {
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.tf__plan-count span {
	margin-top: 3px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .92;
}

.tf__plan-meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tf__plan-threshold {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: #0f172a;
}

.tf__plan-tag {
	align-self: flex-start;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #15803d;
	background: #e7f9ee;
	border: 1px solid #c9eed9;
}

/* Öne çıkan plan (en yüksek taksit) */
.tf__plan--featured {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1e5bdb 100%);
	border-color: #1e5bdb;
	box-shadow: 0 18px 34px -18px rgba(30, 91, 219, .85);
}

.tf__plan--featured::before {
	background: linear-gradient(180deg, #f59e0b, var(--sn-hot, #e23d3d));
}

.tf__plan--featured:hover {
	border-color: #2f7cf6;
	box-shadow: 0 22px 40px -16px rgba(30, 91, 219, .9);
}

.tf__plan--featured .tf__plan-count {
	background: linear-gradient(160deg, #f59e0b, #f97316);
	box-shadow: 0 8px 18px -8px rgba(245, 158, 11, .9), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.tf__plan--featured .tf__plan-threshold {
	color: #fff;
}

.tf__plan--featured .tf__plan-tag {
	color: #fff;
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .3);
}

.tf__plan-ribbon {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 10px;
	border-bottom-left-radius: 12px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #0f172a;
	background: linear-gradient(90deg, #fbbf24, #f59e0b);
	box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5);
}

.tf__foot {
	grid-area: foot;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px dashed #dbe4f2;
}

.tf__secure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #15803d;
	background: #eefbf3;
	border: 1px solid #d3f2e0;
}

.tf__brands {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tf__logo {
	display: inline-flex;
	width: 48px;
	height: 31px;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}

.tf__logo svg {
	width: 100%;
	height: 100%;
	display: block;
}

.tf__note {
	flex: 1 1 100%;
	margin: 0;
	text-align: center;
	font-size: 11.5px;
	line-height: 1.5;
	color: #94a3b8;
}

@keyframes tfShine {
	from { background-position: 0% 50%; }
	to { background-position: 300% 50%; }
}

@media (max-width: 860px) {
	.tf {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro"
			"plans"
			"foot";
		gap: 14px;
	}
}

@media (max-width: 480px) {
	.tf {
		padding: 18px 16px;
		border-radius: 16px;
	}

	.tf__plans {
		grid-template-columns: 1fr;
	}

	.tf__plan-count {
		flex-basis: 52px;
		height: 52px;
	}

	.tf__plan-threshold {
		font-size: 15px;
	}

	.tf__foot {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf__badge {
		animation: none;
	}

	.tf__plan {
		transition: none;
	}

	.tf__plan:hover {
		transform: none;
	}
}
