@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

.aafe-pricing-section-wrapper {
	width: 100%;
}

.aafe-pricing-section-wrapper h1,
.aafe-pricing-section-wrapper h2,
.aafe-pricing-section-wrapper h3,
.aafe-pricing-section-wrapper h4,
.aafe-pricing-section-wrapper h5,
.aafe-pricing-section-wrapper h6 {
	font-family: 'Sora', sans-serif;
	margin: 0;
}

.aafe-pricing-section-wrapper p,
.aafe-pricing-section-wrapper span,
.aafe-pricing-section-wrapper li,
.aafe-pricing-section-wrapper a {
	font-family: 'Inter', sans-serif;
}

.aafe-pricing-section__header {
	width: 100%;
	padding-top: 64px;
	padding-bottom: 48px;
	text-align: center;
}

.aafe-pricing-section__heading {
	font-size: 48px;
	font-weight: 700;
	line-height: 56px;
	color: #1A1A1A;
	margin-bottom: 16px;
}

.aafe-pricing-section__heading span {
	background-color: #BFFF00;
	padding: 4px 8px;
	border-radius: 4px;
	transform: rotate(-1deg);
	display: inline-block;
}

.aafe-pricing-section__subheading {
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #6B7280;
	max-width: 400px;
	display: inline-block;
	text-align: inherit;
	margin: 0;
}

.aafe-pricing-section__toggle {
	margin-top: 32px;
	display: inline-flex;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 32px;
	padding: 4px;
}

.aafe-pricing-section__toggle-btn {
	background: transparent;
	color: #6B7280;
	font-size: 16px;
	font-weight: 500;
	border: none;
	border-radius: 24px;
	height: 40px;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
}

.aafe-pricing-section__toggle-btn.active {
	background: #1F2937;
	color: #FFFFFF;
}

.aafe-pricing-section__toggle-badge {
	background: #BFFF00;
	color: #1A1A1A;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 6px;
}

/* Pricing Grid */
.aafe-pricing-section__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 0 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.aafe-pricing-section__card {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	min-height: 420px;
}

.aafe-pricing-section__card--featured {
	border: 2px solid #22C55E;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.aafe-pricing-section__plan-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.aafe-pricing-section__plan-name {
	font-size: 24px;
	font-weight: 600;
	color: #1A1A1A;
	margin: 0;
}

.aafe-pricing-section__popular-badge {
	background: #BFFF00;
	padding: 4px 10px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #1A1A1A;
}

.aafe-pricing-section__price-wrap {
	display: flex;
}

.aafe-pricing-section__price {
	font-size: 48px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 56px;
	display: none; /* hidden by default, toggled via grid class */
}

/* Toggle Price Display */
.aafe-pricing-section__grid--billing-monthly .aafe-pricing-section__price--monthly {
	display: block;
}
.aafe-pricing-section__grid--billing-annual .aafe-pricing-section__price--annual {
	display: block;
}

.aafe-pricing-section__price-subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #6B7280;
	margin-top: 4px;
	margin-bottom: 32px;
}

.aafe-pricing-section__section-label {
	font-size: 14px;
	font-weight: 600;
	color: #1A1A1A;
	margin-bottom: 16px;
}

.aafe-pricing-section__features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.aafe-pricing-section__features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.aafe-pricing-section__feature-icon {
	color: #22C55E;
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 2px;
}

.aafe-pricing-section__popular-badge svg,
.aafe-pricing-section__popular-badge i {
	width: 12px;
	height: 12px;
	font-size: 12px;
	fill: currentColor;
}

.aafe-pricing-section__price-wrap {
	display: flex;
}

.aafe-pricing-section__price {
	font-size: 48px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 56px;
	display: none; /* hidden by default, toggled via grid class */
}

/* Toggle Price Display */
.aafe-pricing-section__grid--billing-monthly .aafe-pricing-section__price--monthly {
	display: block;
}
.aafe-pricing-section__grid--billing-annual .aafe-pricing-section__price--annual {
	display: block;
}

.aafe-pricing-section__price-subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #6B7280;
	margin-top: 4px;
	margin-bottom: 32px;
}

.aafe-pricing-section__section-label {
	font-size: 14px;
	font-weight: 600;
	color: #1A1A1A;
	margin-bottom: 16px;
}

.aafe-pricing-section__features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.aafe-pricing-section__features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.aafe-pricing-section__feature-icon {
	color: #22C55E;
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 2px;
}

.aafe-pricing-section__feature-icon svg,
.aafe-pricing-section__feature-icon i {
	width: 20px;
	height: 20px;
	font-size: 20px;
	fill: currentColor;
}

.aafe-pricing-section__feature-text {
	font-size: 16px;
	font-weight: 400;
	color: #1A1A1A;
	line-height: 24px;
}

.aafe-pricing-section__card-footer {
	margin-top: auto;
	padding-top: 32px;
}

.aafe-pricing-section__button {
	width: 100%;
	height: 48px;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	color: #1A1A1A;
	font-size: 16px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.aafe-pricing-section__card--featured .aafe-pricing-section__button {
	background: #1F2937;
	border-color: #1F2937;
	color: #FFFFFF;
}

/* Hover Effects (Global) */
.aafe-pricing-section-wrapper[data-hover="lift"] .aafe-pricing-section__card {
    transition: transform var(--aafe-transition, 300ms) ease, box-shadow var(--aafe-transition, 300ms) ease;
}
.aafe-pricing-section-wrapper[data-hover="lift"] .aafe-pricing-section__card:hover,
.aafe-pricing-section-wrapper[data-hover="lift"] .aafe-pricing-section__card:focus-within {
    transform: translateY(var(--aafe-hover-lift, -6px));
    box-shadow: 0 12px 40px var(--aafe-hover-shadow-color, rgba(0,0,0,0.15));
}
.aafe-pricing-section-wrapper[data-hover="scale"] .aafe-pricing-section__card {
    transition: transform var(--aafe-transition, 300ms) ease;
}
.aafe-pricing-section-wrapper[data-hover="scale"] .aafe-pricing-section__card:hover,
.aafe-pricing-section-wrapper[data-hover="scale"] .aafe-pricing-section__card:focus-within {
    transform: scale(var(--aafe-hover-scale, 1.03));
}
.aafe-pricing-section-wrapper[data-hover="glow"] .aafe-pricing-section__card {
    transition: box-shadow var(--aafe-transition, 300ms) ease;
}
.aafe-pricing-section-wrapper[data-hover="glow"] .aafe-pricing-section__card:hover,
.aafe-pricing-section-wrapper[data-hover="glow"] .aafe-pricing-section__card:focus-within {
    box-shadow: 0 0 0 3px var(--aafe-hover-glow-color, #BFFF00), 0 8px 30px var(--aafe-hover-glow-shadow, rgba(191,255,0,0.25));
}
.aafe-pricing-section-wrapper[data-hover="border-pop"] .aafe-pricing-section__card {
    transition: border-color var(--aafe-transition, 300ms) ease, transform var(--aafe-transition, 300ms) ease;
}
.aafe-pricing-section-wrapper[data-hover="border-pop"] .aafe-pricing-section__card:hover,
.aafe-pricing-section-wrapper[data-hover="border-pop"] .aafe-pricing-section__card:focus-within {
    border-color: var(--aafe-hover-border-color, #22C55E);
    transform: scale(1.01);
}

@media (max-width: 1024px) {
	.aafe-pricing-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.aafe-pricing-section__grid {
		grid-template-columns: 1fr;
	}
	.aafe-pricing-section__heading {
		font-size: 36px;
		line-height: 44px;
	}
	.aafe-pricing-section__header {
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.aafe-pricing-section__card {
		max-width: 360px;
		margin: 0 auto;
		width: 100%;
	}
}
