/* ==========================================================
   Premium AI Tool Cards
========================================================== */

.tvh-tool-grid{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
	gap:28px;
	margin-top:40px;
}

.tvh-card{
	position:relative;
	display:flex;
	flex-direction:column;
	height:100%;
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:22px;
	padding:26px;
	transition:.3s ease;
	overflow:hidden;
}

.tvh-card:hover{
	transform:translateY(-8px);
	box-shadow:0 20px 60px rgba(15,23,42,.12);
	border-color:#2563eb;
}

.tvh-card-top{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:22px;
	min-height:30px;
}

.tvh-card-rating{
	font-weight:700;
	font-size:15px;
	color:#f59e0b;
}

.tvh-badge-featured,
.tvh-badge-new{
	display:inline-flex;
	align-items:center;
	padding:6px 12px;
	border-radius:999px;
	font-size:12px;
	font-weight:700;
	letter-spacing:.02em;
}

.tvh-badge-featured{
	background:#dbeafe;
	color:#1d4ed8;
}

.tvh-badge-new{
	background:#dcfce7;
	color:#15803d;
}

.tvh-card-logo{
	display:flex;
	justify-content:center;
	align-items:center;
	margin-bottom:22px;
}

.tvh-card-logo img{
	width:82px;
	height:82px;
	object-fit:contain;
	border-radius:18px;
	padding:10px;
	border:1px solid #e5e7eb;
	background:#fff;
	transition:.3s;
}

.tvh-card:hover .tvh-card-logo img{
	transform:scale(1.08);
}

.tvh-logo-placeholder{
	width:82px;
	height:82px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#2563eb;
	color:#fff;
	font-size:30px;
	font-weight:800;
	border-radius:18px;
}

.tvh-card-content{
	flex:1;
}

.tvh-card-content h3{
	margin:0 0 8px;
	font-size:24px;
	line-height:1.3;
}

.tvh-card-content h3 a{
	text-decoration:none;
	color:#0f172a;
}

.tvh-card-content h3 a:hover{
	color:#2563eb;
}

.tvh-company{
	font-size:14px;
	color:#64748b;
	margin-bottom:16px;
}

.tvh-description{
	margin:0;
	color:#475569;
	line-height:1.7;
	font-size:15px;
	min-height:76px;
}

.tvh-card-tags{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-top:24px;
}

.tvh-tag,
.tvh-pricing{
	display:inline-flex;
	align-items:center;
	padding:8px 14px;
	border-radius:999px;
	font-size:13px;
	font-weight:600;
}

.tvh-tag{
	background:#eff6ff;
	color:#2563eb;
}

.tvh-pricing{
	background:#fef3c7;
	color:#92400e;
}

.tvh-card-footer{
	display:flex;
	gap:14px;
	margin-top:28px;
}

.tvh-card-footer a{
	flex:1;
	text-align:center;
	text-decoration:none;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:1024px){

	.tvh-tool-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

}

@media (max-width:768px){

	.tvh-tool-grid{
		grid-template-columns:1fr;
	}

	.tvh-card{
		padding:22px;
	}

	.tvh-card-footer{
		flex-direction:column;
	}

}