/* Glassmorphism cards and pricing */
.card {
	background: var(--glass-bg);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius-lg);
	padding: 32px;
	box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transform-style: preserve-3d;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--gradient-glow);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
	border-radius: var(--border-radius-lg);
}

.card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.card > * {
	position: relative;
	z-index: 1;
}

.card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
	border-color: rgba(99, 102, 241, 0.4);
	background: rgba(255, 255, 255, 0.9);
}

.card:hover::before { opacity: 0.08; }
.card:hover::after { opacity: 1; }

.card-priority { box-shadow: var(--shadow-md); }
.card-priority:hover { box-shadow: var(--shadow-xl); }

.card-title-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.card-icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	object-fit: contain;
}

.pricing-card {
	display: flex;
	flex-direction: column;
	min-height: 360px;
	cursor: default;
	justify-content: space-between;
}

.pricing-card h3 { margin-bottom: 16px; }
.pricing-card .pricing-amount { margin-bottom: 20px !important; }
.pricing-card .pricing-content {
	flex-grow: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin: 0 0 24px 0;
}

.pricing-card .pricing-content p {
	margin-bottom: 0;
	line-height: 1.5;
}

.pricing-card .pricing-cta { margin-top: auto; padding-top: 8px; }
.pricing-card .pricing-cta .btn {
	width: 100%;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pricing-popular {
	border: 2px solid var(--primary-color);
	position: relative;
	padding-top: 40px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
	box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25), 0 0 80px rgba(139, 92, 246, 0.15);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
}

.pricing-popular:hover {
	box-shadow: 0 16px 50px rgba(99, 102, 241, 0.3), 0 0 100px rgba(139, 92, 246, 0.2);
	border-color: rgba(99, 102, 241, 0.8);
}

.pricing-badge {
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient-primary);
	background-size: 200% 200%;
	animation: gradient-shift 3s ease infinite;
	color: var(--surface-contrast);
	padding: 6px 16px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 600;
	z-index: 1;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
	.pricing-card { min-height: auto; }
	.grid-3 .pricing-card { margin-bottom: 24px; }
	.pricing-card .pricing-cta .btn {
		padding: 16px 24px;
		font-size: 16px;
		height: 56px;
	}
	.pricing-popular { padding-top: 48px; }
	.pricing-badge { top: -6px; padding: 8px 16px; font-size: 13px; }
}

.card,
section .section-header {
	opacity: 0;
	animation: slide-up 0.8s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
