/* Modem Cards Styles */

.modem-cards-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em;
	margin: 2em 0;
	padding: 0 1em;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.modem-card {
    margin-left: 0;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s 
ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modem-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
	border-color: rgba(109, 213, 237, 0.5);
}

.modem-image {
	width: 100%;
	height: 280px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5em;
}

.modem-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.modem-card:hover .modem-image img {
	transform: scale(1.05);
}

.modem-info {
	padding: 1.5em;
	text-align: center;
}

.modem-info h3 {
	color: #ffffff;
	font-size: 0.8em;
	margin-bottom: 0.5em;
	font-weight: 600;
}

.modem-desc {
	color: rgb(0 0 0 / 45%);
	font-size: 0.9em;
	margin-bottom: 1em;
	line-height: 1.6;
}

.modem-price {
	padding: 0.8em 0;
	margin: 1em 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.price-label {
	display: none;
}

.price-value {
	font-size: 1.5em;
	color: #6dd5ed;
	font-weight: 600;
	direction: rtl;
}

.modem-info .button {
	width: 100%;
	margin-top: 1em;
	font-size: 0.95em;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
	border: none;
	box-shadow: 0 4px 15px rgba(109, 213, 237, 0.4);
	transition: all 0.3s ease;
	animation: pulse 2s ease-in-out infinite;
	text-align: center;
	display: inline-block;
}

.modem-info .button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.modem-info .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(109, 213, 237, 0.6);
	background: linear-gradient(135deg, #7ee0f5 0%, #2ba3c0 100%);
}

.modem-info .button:hover::before {
	left: 100%;
}

.modem-info .button:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(109, 213, 237, 0.4);
}

@keyframes pulse {
	0%, 100% {
		box-shadow: 0 4px 15px rgba(109, 213, 237, 0.4);
	}
	50% {
		box-shadow: 0 4px 20px rgba(109, 213, 237, 0.7);
	}
}

.modem-footer-text {
	margin-top: 3em;
	text-align: center !important;
}

/* Responsive Design */
@media screen and (max-width: 980px) {
	.modem-cards-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5em;
	}
	
	.modem-image {
		height: 240px;
	}
}

@media screen and (max-width: 736px) {
	.modem-cards-container {
		grid-template-columns: 1fr;
		gap: 1.5em;
		padding: 0;
	}
	
	.modem-image {
		height: 260px;
	}
	
	.modem-info h3 {
		font-size: 1.2em;
	}
	
	.price-value {
		font-size: 1.3em;
	}
}

@media screen and (max-width: 480px) {
	.modem-card {
		border-radius: 10px;
	}
	
	.modem-image {
		height: 220px;
		padding: 1em;
	}
	
	.modem-info {
		padding: 1.2em;
	}
	
	.modem-info h3 {
		font-size: 1.1em;
	}
	
	.price-value {
		font-size: 1.2em;
	}
}
