﻿/* --- Estilos base de la sección --- */
.pricing-section {
	padding: 80px 20px;
	background: rgba(248, 249, 252, 0.09);
	font-family: 'Inter', sans-serif;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.pricing-title {
	color: white;
	text-align: center;
	font-size: 2.4rem;
	font-weight: 700;
}

.pricing-subtitle {
	text-align: center;
	color: white;
	margin-bottom: 30px;
}

/* --- Switch de Facturación --- */
.billing-toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 50px;
	color: white;
	font-weight: 600;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
}

	.switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #444;
	transition: .4s;
	border-radius: 34px;
	border: 1px solid #ff0000;
}

	.slider:before {
		position: absolute;
		content: "";
		height: 18px;
		width: 18px;
		left: 4px;
		bottom: 3px;
		background-color: #ff0000;
		transition: .4s;
		border-radius: 50%;
	}

input:checked + .slider {
	background-color: #ff0000;
}

	input:checked + .slider:before {
		transform: translateX(24px);
		background-color: #111;
	}

.text-success-custom {
	color: #00ff88;
	font-size: 0.85rem;
	margin-left: 5px;
}

/* --- Grid y Cards --- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 25px;
	max-width: 1200px;
	margin: auto;
}

.plan-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(0,0,0,.08);
	transition: transform .3s ease, box-shadow .3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

	.plan-card:hover {
		transform: translateY(-8px);
		box-shadow: 0 25px 45px rgba(0,0,0,.12);
	}

.plan-header {
	background: #212121;
	padding: 20px;
	border-radius: 16px 16px 0 0;
	text-align: center;
}

	.plan-header h3 {
		color: white;
		margin: 0;
		font-weight: 700;
	}

.plan-body {
	padding: 30px;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.price {
	font-size: 2.2rem;
	font-weight: 700;
	color: #111;
}

	.price span {
		font-size: .9rem;
		color: #555;
	}

.note {
	font-size: .9rem;
	color: #444;
	margin-top: 10px;
}

.discount {
	color: #e63946;
	font-weight: 600;
	margin: 15px 0;
	font-size: 0.85rem;
}

/* --- Listas de beneficios --- */
.plan-body ul {
	list-style: none;
	padding: 0;
	margin: 20px 0;
	text-align: left;
}

	.plan-body ul li {
		margin: 10px 0;
		color: #555;
		font-size: 0.9rem;
		display: flex;
		align-items: flex-start;
	}

		
		.plan-body ul li::before {
			content: "✓";
			color: #ff0000;
			font-weight: bold;
			margin-right: 10px;
		}

.btn-outline {
	padding: 12px 25px;
	border-radius: 30px;
	border: 2px solid #ff0000;
	background: transparent;
	cursor: pointer;
	font-weight: 600;
	transition: .3s;
	width: 100%;
	margin-top: auto;
}

	.btn-outline:hover:not(:disabled) {
		background: #ff0000;
		color: #111;
	}

	.btn-outline:disabled {
		border-color: #ccc;
		color: #999;
		cursor: not-allowed;
	}

/* --- Tarjeta Destacada --- */
.featured {
	transform: scale(1.05);
	border: 2px solid #ff0000;
}

.badge {
	position: absolute;
	top: -12px;
	right: 20px;
	background: #111;
	color: #fff;
	padding: 6px 14px;
	font-size: .75rem;
	border-radius: 20px;
	z-index: 10;
}

/* --- Mensajes de sesión --- */
.sesionMessage {
	color: white;
	text-align: center;
}

	.sesionMessage a {
		color: #ff0000;
		text-decoration: underline;
		text-decoration: none;
	}
