/* Plans Wrapper */
.aab-plans-wrapper {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 1rem;
	background: linear-gradient(to bottom, #e8f4fd 0%, transparent 20%, transparent 80%, #e8f4fd 100%);
	position: relative;
}

.aab-plans-wrapper::before,
.aab-plans-wrapper::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 100px;
	background-image: 
		radial-gradient(circle at 2px 2px, rgba(0,0,0,0.08) 1px, transparent 0);
	background-size: 30px 30px;
	pointer-events: none;
}

.aab-plans-wrapper::before {
	top: 0;
}

.aab-plans-wrapper::after {
	bottom: 0;
}

/* Toggle Switch */
.aab-plans-toggle-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 3rem;
}

.aab-plans-toggle {
	display: inline-flex;
	background: #e5e5e5;
	border-radius: 8px;
	padding: 4px;
	position: relative;
	gap: 0;
}

.aab-toggle-option {
	position: relative;
	padding: 0.75rem 2rem;
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	color: #999;
	transition: all 0.3s ease;
	outline: none;
	min-width: 120px;
	text-align: center;
}

.aab-toggle-option.active {
	background: #4a5568;
	color: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.aab-toggle-option:hover:not(.active) {
	color: #666;
}

.aab-discount-badge {
	position: absolute;
	top: -10px;
	right: -5px;
	background: #0073aa;
	color: #fff;
	font-size: 0.65rem;
	font-weight: bold;
	padding: 3px 8px;
	border-radius: 12px;
	white-space: nowrap;
	line-height: 1.2;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Plans Container */
.aab-plans-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

@media (min-width: 1200px) {
	.aab-plans-container {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Plan Card */
.aab-plan-card {
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 2rem;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.aab-plan-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Plan Header */
.aab-plan-header {
	margin-bottom: 1.5rem;
}

.aab-plan-name {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 0 0.5rem 0;
	color: #333;
	line-height: 1.2;
}

.aab-plan-description {
	color: #666;
	font-size: 0.95rem;
	margin: 0 0 1rem 0;
	line-height: 1.5;
}

/* Price Section */
.aab-plan-price-wrapper {
	margin: 1.5rem 0;
}

.aab-plan-price {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.aab-price-amount {
	font-size: 2.5rem;
	font-weight: bold;
	color: #333;
	line-height: 1;
}

.aab-plan-period {
	font-size: 1rem;
	color: #666;
	font-weight: normal;
}

/* Benefits Section */
.aab-plan-benefits-wrapper {
	margin: 1.5rem 0;
	flex-grow: 1;
}

.aab-plan-benefits {
	list-style: none;
	padding: 0;
	margin: 0;
}

.aab-plan-benefits li {
	padding: 0.75rem 0;
	padding-left: 1.75rem;
	position: relative;
	color: #333;
	font-size: 0.95rem;
	line-height: 1.5;
}

.aab-plan-benefits li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #46b450;
	font-weight: bold;
	font-size: 1.1rem;
	top: 0.75rem;
}

/* CTA Button */
.aab-plan-cta {
	margin-top: auto;
	padding-top: 1.5rem;
}

.aab-plan-button {
	display: inline-block;
	padding: 0.875rem 1.5rem;
	background: transparent;
	color: #0073aa;
	text-decoration: none;
	border-radius: 6px;
	text-align: center;
	width: 100%;
	transition: all 0.2s;
	font-weight: 500;
	font-size: 1rem;
	border: 2px solid #0073aa;
	box-sizing: border-box;
}

.aab-plan-button:hover {
	background: #0073aa;
	border-color: #0073aa;
	color: #fff;
	transform: translateY(-1px);
}

.aab-plan-button.free {
	background: #6b46c1;
	border-color: #6b46c1;
	color: #fff;
}

.aab-plan-button.free:hover {
	background: #553c9a;
	border-color: #553c9a;
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	.aab-plans-container {
		grid-template-columns: 1fr;
	}
	
	.aab-plans-toggle {
		width: 100%;
		max-width: 300px;
	}
	
	.aab-toggle-option {
		flex: 1;
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
	}
}
