@font-face {
	font-family: "Aeonik Pro Regular";
	src: url("https://db.onlinewebfonts.com/t/12ff62164c9778917bddb93c6379cf47.eot");
	src: url("https://db.onlinewebfonts.com/t/12ff62164c9778917bddb93c6379cf47.eot?#iefix") format("embedded-opentype"),
		url("https://db.onlinewebfonts.com/t/12ff62164c9778917bddb93c6379cf47.woff2") format("woff2"),
		url("https://db.onlinewebfonts.com/t/12ff62164c9778917bddb93c6379cf47.woff") format("woff"),
		url("https://db.onlinewebfonts.com/t/12ff62164c9778917bddb93c6379cf47.ttf") format("truetype");
	font-display: swap;
}

/* ============================================
   SECTION STYLING
   ============================================ */
#pricing.tv-products {
	background: #1e1e1e;
	background: radial-gradient(circle at 50% 30%, #2a2a2a 0%, #131313 64%);
	padding: 5rem 0 6rem 0;
	position: relative;
}

.tv-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1rem;
}

.tv-section-title {
	text-align: center;
	font-size: clamp(2rem, 5vw, 2.8rem);
	margin-bottom: 0.5rem;
	color: #ffffff !important;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.tv-cat-title {
	text-align: center;
	font-size: clamp(1rem, 2.5vw, 1.3rem);
	margin: 1rem 0 3rem 0;
	color: #888;
	letter-spacing: 0.15em;
	font-weight: 400;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.tv-product-grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 300px));
	gap: clamp(2rem, 3vw, 3rem);
	padding: 2rem 0;
	justify-content: center;
}

/* ============================================
   CARD BASE STYLES
   ============================================ */
.product-card {
	position: relative;
	background: radial-gradient(circle at 50% 0%, #3a3a3a 0%, #1a1a1a 64%);
	box-shadow:
		inset 0 1rem 0.2rem -1rem rgba(255, 255, 255, 0),
		inset 0 -1rem 0.2rem -1rem rgba(0, 0, 0, 0),
		0 -1rem 0.2rem -1rem rgba(255, 255, 255, 0),
		0 1rem 0.2rem -1rem rgba(0, 0, 0, 0),
		0 0 0 1px rgba(255, 255, 255, 0.2),
		0 4px 15px 0 rgba(0, 0, 0, 0.4),
		0 0 0 1px #333;
	width: 100%;
	max-width: 300px;
	height: 480px;
	border-radius: 1.8rem;
	color: #fff;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
	font-family: "Aeonik Pro Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: hidden;
	will-change: transform;
	margin: 0 auto;
}

.product-card::before {
	content: "";
	display: block;
	--offset: 1rem;
	width: calc(100% + 2 * var(--offset));
	height: calc(100% + 2 * var(--offset));
	position: absolute;
	left: calc(-1 * var(--offset));
	right: calc(-1 * var(--offset));
	top: calc(-1 * var(--offset));
	bottom: calc(-1 * var(--offset));
	margin: auto;
	box-shadow: inset 0 0 0 0.06rem rgba(255, 255, 255, 0.15);
	border-radius: 2.6rem;
	--ax: 4rem;
	clip-path: polygon(
		var(--ax) 0, 0 0, 0 var(--ax), var(--ax) var(--ax),
		var(--ax) calc(100% - var(--ax)), 0 calc(100% - var(--ax)),
		0 100%, var(--ax) 100%, var(--ax) calc(100% - var(--ax)),
		calc(100% - var(--ax)) calc(100% - var(--ax)),
		calc(100% - var(--ax)) 100%, 100% 100%,
		100% calc(100% - var(--ax)),
		calc(100% - var(--ax)) calc(100% - var(--ax)),
		calc(100% - var(--ax)) var(--ax), 100% var(--ax),
		100% 0, calc(100% - var(--ax)) 0,
		calc(100% - var(--ax)) var(--ax), var(--ax) var(--ax)
	);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.product-card:hover {
	transform: translateY(-8px);
}

.product-card:hover::before {
	--offset: 0.5rem;
	--ax: 8rem;
	border-radius: 2.2rem;
	box-shadow: inset 0 0 0 0.08rem rgba(255, 255, 255, 0.1);
}

/* ============================================
   LIGHT EFFECTS LAYER
   ============================================ */
.light-layer {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	transform-style: preserve-3d;
	perspective: 400px;
	border-radius: 1.8rem;
	overflow: hidden;
	z-index: 1;
	pointer-events: none;
}

.slit {
	position: absolute;
	left: 0;
	right: 0;
	top: 38%;
	margin: auto;
	width: 64%;
	height: 1.2rem;
	transform: rotateX(-76deg);
	background: #121212;
	box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0);
	transition: all 0.4s ease-in-out;
}

.lumen {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	perspective: 400px;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
}

.lumen .min {
	width: 70%;
	height: 3rem;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
	position: absolute;
	left: 0;
	right: 0;
	top: 28%;
	margin: auto;
	transform: rotateX(-42deg);
	opacity: 0.4;
}

.lumen .mid {
	width: 74%;
	height: 13rem;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
	position: absolute;
	left: 0;
	right: 0;
	top: 18%;
	margin: auto;
	transform: rotateX(-42deg);
	filter: blur(1rem);
	opacity: 0.8;
	border-radius: 100% 100% 0 0;
}

.lumen .hi {
	width: 50%;
	height: 13rem;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
	position: absolute;
	left: 0;
	right: 0;
	top: 13%;
	margin: auto;
	transform: rotateX(22deg);
	filter: blur(1rem);
	opacity: 0.6;
	border-radius: 100% 100% 0 0;
}

.darken {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	perspective: 400px;
	transition: opacity 0.4s ease-in-out;
	opacity: 0.5;
}

.darken > * {
	transition: opacity 0.4s ease-in-out;
}

.darken .sl {
	width: 64%;
	height: 10rem;
	background: linear-gradient(#000, rgba(0, 0, 0, 0));
	position: absolute;
	left: 0;
	right: 0;
	top: 44%;
	margin: auto;
	filter: blur(0.2rem);
	opacity: 0.1;
	border-radius: 0 0 100% 100%;
	transform: rotateX(-22deg);
}

.darken .ll {
	width: 62%;
	height: 10rem;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	position: absolute;
	left: 0;
	right: 0;
	top: 48%;
	margin: auto;
	filter: blur(0.8rem);
	opacity: 0.4;
	border-radius: 0 0 100% 100%;
	transform: rotateX(22deg);
}

.darken .slt {
	width: 0.5rem;
	height: 4rem;
	background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
	position: absolute;
	left: 0;
	right: 11.5rem;
	top: 33%;
	margin: auto;
	opacity: 0.6;
	border-radius: 0 0 100% 100%;
	transform: skewY(42deg);
}

.darken .srt {
	width: 0.5rem;
	height: 4rem;
	background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
	position: absolute;
	right: 0;
	left: 11.5rem;
	top: 33%;
	margin: auto;
	opacity: 0.6;
	border-radius: 0 0 100% 100%;
	transform: skewY(-42deg);
}

/* ============================================
   CARD CONTENT
   ============================================ */
.card-content {
	position: relative;
	z-index: 10;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Product Icon - Masaüstü boyutları korundu */
.product-icon {
	position: absolute;
	top: -35px;
	left: 0;
	right: -5px;
	margin: auto;
	width: fit-content;
	filter: drop-shadow(0 -1.2rem 1px transparent);
	transition: filter 0.4s ease-in-out;
	z-index: 5;
}

.product-icon img {
	width: 600px;
	height: 320px;
	object-fit: contain;
	border-radius: 10px;
}

/* Card Bottom - Masaüstü oranları korundu */
.card-bottom {
	position: relative;
	margin-top: auto;
	padding-top: 180px;
}

.card-bottom h4 {
	margin: 0 0 8px 0;
	font-size: 20px;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.card-bottom p {
	margin: 0 0 12px 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
}

/* ============================================
   PRICE
   ============================================ */
.product-price {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px 0;
	padding-bottom: 10px;
	border-bottom: none;
}

.price-old {
	text-decoration: line-through;
	color: #999;
	font-size: 14px;
}

.price-new {
	color: #00d084;
	font-size: 18px;
	font-weight: 700;
}

/* ============================================
   BUY BUTTON
   ============================================ */
.buy-button {
	position: absolute;
	bottom: 40px;
	right: -10px;
	background: #00d084;
	color: #fff;
	border: none;
	padding: 0px 20px 0px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 208, 132, 0.3);
	width: auto;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.buy-button:hover {
	background: #00b875;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 208, 132, 0.4);
}

.buy-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 208, 132, 0.3);
}

/* ============================================
   TOGGLE BUTTON
   ============================================ */
.card-toggle {
	position: absolute;
	left: 16px;
	bottom: -5px;
	height: 28px;
	width: 64px;
	border-radius: 8px;
	background: #000;
	box-shadow:
		inset 0 -6px 6px 0.2rem rgba(0, 0, 0, 0.3),
		inset 0 0 1px 0.2rem #ddd,
		inset 0 -2px 1px 0.2rem #fff,
		inset 0 1px 2px 0.2rem rgba(0, 0, 0, 0.4),
		inset 0 0 1px 0.6rem #aaa;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 15;
	border: none;
}

.card-toggle::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 48px;
	height: 10px;
	border-radius: 3px;
	background: #000;
	transition: all 0.3s ease;
}

.toggle-handle {
	position: absolute;
	top: 0;
	bottom: 1px;
	margin: auto;
	left: 10px;
	width: 38%;
	height: 28%;
	background: #aaa;
	border-radius: 3px;
	box-shadow:
		inset 0 1px 4px 0 #fff,
		inset 0 -1px 1px 0 rgba(0, 0, 0, 0.7),
		0 0 1px 1px rgba(0, 0, 0, 0.2),
		1px 3px 6px 1px rgba(0, 0, 0, 0.7);
	transition: all 0.3s ease;
}

.card-toggle.active .toggle-handle,
.card-toggle[aria-pressed="true"] .toggle-handle {
	transform: translateX(22px);
}

.toggle-label {
	pointer-events: none;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	bottom: calc(100% + 5px);
	font-size: 11px;
	font-weight: 300;
	color: #666;
	opacity: 0;
	transition: opacity 0.3s ease;
	white-space: nowrap;
	letter-spacing: 0.05em;
}

.card-toggle:hover .toggle-label {
	opacity: 1;
}

.card-toggle:not(.active):hover .toggle-handle {
	transform: translateX(2px);
}

/* ============================================
   ACTIVE STATE
   ============================================ */
.product-card.active {
	box-shadow:
		inset 0 1rem 0.1rem -1rem rgba(255, 255, 255, 0.7),
		inset 0 -4rem 3rem -3rem rgba(0, 0, 0, 0.7),
		0 -1rem 0.2rem -1rem rgba(255, 255, 255, 0.7),
		0 1rem 0.2rem -1rem #000,
		0 0 0 1px rgba(255, 255, 255, 0.15),
		0 4px 20px 0 rgba(0, 0, 0, 0.5),
		0 0 0 1px #333;
}

.product-card.active .slit {
	background: #fff;
	box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.9);
}

.product-card.active .lumen {
	opacity: 0.6;
}

.product-card.active .darken {
	opacity: 0.85;
}

.product-card.active .darken .sl {
	opacity: 0.25;
}

.product-card.active .darken .ll {
	opacity: 1;
}

.product-card.active .darken .slt,
.product-card.active .darken .srt {
	opacity: 1;
}

.product-card.active .product-icon {
	filter: drop-shadow(0 -1.2rem 3px rgba(0, 0, 0, 0.25)) brightness(1.75);
}

.product-card.active .card-toggle::before {
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 0 0.4rem 0.25rem rgba(255, 255, 255, 0.6);
}

.product-card.active .toggle-handle {
	box-shadow:
		inset 0 1px 12px 0 #fff,
		inset 0 -1px 1px 0 rgba(255, 255, 255, 0.7),
		0 0 2px 1px rgba(68, 68, 51, 0.2),
		1px 3px 6px 1px rgba(0, 0, 0, 0.35);
}

.product-card.active .buy-button {
	background: #00eea0;
	box-shadow: 0 2px 12px rgba(0, 238, 160, 0.5);
}

.product-card.active .buy-button:hover {
	background: #00d890;
	box-shadow: 0 4px 16px rgba(0, 216, 144, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN - MOBIL OPTIMIZASYON
   ============================================ */
@media (max-width: 1200px) {
	.tv-product-grid-cards {
		grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
		gap: 2.5rem;
	}
}

@media (max-width: 768px) {
	#pricing.tv-products {
		padding: 4rem 0 5rem 0;
	}

	.tv-product-grid-cards {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding: 1.5rem 0.5rem;
	}

	/* Mobil kart boyutları */
	.product-card {
		max-width: 100%;
		height: 400px;
		padding: 1.2rem;
	}

	/* Mobil ikon boyutları */
	.product-icon img {
		width: 400px;
		height: 240px;
	}

	/* Mobil kart alt kısmı */
	.card-bottom {
		padding-top: 140px;
	}

	.card-bottom h4 {
		font-size: 18px;
	}

	.card-bottom p {
		font-size: 13px;
	}

	/* Mobil fiyat */
	.price-new {
		font-size: 16px;
	}

	.price-old {
		font-size: 13px;
	}

	/* Mobil buton */
	.buy-button {
		bottom: 30px;
		right: -5px;
		padding: 0px 16px 0px 16px;
		font-size: 12px;
	}

	/* Mobil toggle */
	.card-toggle {
		left: 12px;
		bottom: -3px;
		height: 24px;
		width: 56px;
	}

	.card-toggle::before {
		width: 42px;
		height: 8px;
	}

	.toggle-handle {
		left: 8px;
		width: 36%;
		height: 26%;
	}
}

@media (max-width: 480px) {
	/* Daha küçük mobil cihazlar için ekstra optimizasyon */
	.product-card {
		height: 360px;
		padding: 1rem;
	}

	.product-icon img {
		width: 320px;
		height: 200px;
	}

	.card-bottom {
		padding-top: 120px;
	}

	.card-bottom h4 {
		font-size: 16px;
		margin-bottom: 6px;
	}

	.card-bottom p {
		font-size: 12px;
		line-height: 1.4;
	}

	.price-new {
		font-size: 15px;
	}

	.price-old {
		font-size: 12px;
	}

	.buy-button {
		bottom: 25px;
		padding: 0px 14px 0px 14px;
		font-size: 11px;
	}

	.card-toggle {
		height: 22px;
		width: 50px;
	}

	.card-toggle::before {
		width: 38px;
		height: 7px;
	}

	.toggle-handle {
		left: 7px;
	}
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* GPU Acceleration */
.product-card,
.light-layer,
.lumen > *,
.darken > * {
	transform: translateZ(0);
	backface-visibility: hidden;
}
