/* Public /features hub + AI credits intro */

.fe-features {
	--fe-primary: #3b5bdb;
	--fe-text: #212529;
	--fe-muted: #6c757d;
	--fe-border: #e9ecef;
	--fe-radius: 16px;
	color: var(--fe-text);
	max-width: 1030px;
	margin: 0 auto;
	padding: 2.5rem 1rem 4rem;
	box-sizing: border-box;
}

.fe-features__hero h1,
.fe-features__section h2,
.fe-features__cta h2 {
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem;
}

.fe-features__eyebrow,
.fe-features__crumb {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fe-primary);
	margin-bottom: 0.5rem;
}

.fe-features__crumb a {
	color: var(--fe-primary);
}

.fe-features__lead,
.fe-features__sub,
.fe-features__state,
.fe-features__cta p {
	color: var(--fe-muted);
	max-width: 42rem;
	line-height: 1.55;
}

.fe-features__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.25rem 0 0.5rem;
}

.fe-features__jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 2rem 0 1rem;
}

.fe-features__jump a {
	border: 1px solid var(--fe-border);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fe-text) !important;
	text-decoration: none !important;
	background: #fff;
}

.fe-features__jump a:hover {
	border-color: var(--fe-primary);
	color: var(--fe-primary) !important;
}

.fe-features-toolbar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.5rem 0 0.75rem;
	position: sticky;
	top: 72px;
	z-index: 20;
	padding: 0.85rem 0 0.75rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 70%, rgba(255, 255, 255, 0.72));
	backdrop-filter: blur(8px);
}

.fe-features-search {
	position: relative;
	width: 100%;
}

.fe-features-search__icon {
	position: absolute;
	left: 0.95rem;
	top: 50%;
	width: 1.1rem;
	height: 1.1rem;
	transform: translateY(-50%);
	color: var(--fe-muted);
	pointer-events: none;
}

.fe-features-search__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--fe-border);
	border-radius: 999px;
	padding: 0.75rem 1rem 0.75rem 2.6rem;
	font: inherit;
	font-size: 1rem;
	color: var(--fe-text);
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fe-features-search__input:hover {
	border-color: #ced4da;
}

.fe-features-search__input:focus {
	border-color: var(--fe-primary);
	box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.18);
}

.fe-features-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.fe-features-categories__btn {
	appearance: none;
	border: 1px solid var(--fe-border);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fe-text);
	background: #fff;
	cursor: pointer;
	line-height: 1.3;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fe-features-categories__btn:hover {
	border-color: var(--fe-primary);
	color: var(--fe-primary);
}

.fe-features-categories__btn.is-active {
	background: var(--fe-primary);
	border-color: var(--fe-primary);
	color: #fff;
	box-shadow: 0 3px 8px rgba(59, 91, 219, 0.28);
}

.fe-features-categories__btn.is-active:hover {
	color: #fff;
}

.fe-features-meta {
	min-height: 1.4em;
	margin: 0 0 0.25rem;
	color: var(--fe-muted);
	font-size: 0.92rem;
}

.fe-features-empty {
	display: none;
	text-align: center;
	padding: 2.5rem 1rem;
	border: 1px dashed var(--fe-border);
	border-radius: var(--fe-radius);
	color: var(--fe-muted);
	background: #f8f9fa;
}

.fe-features-empty.is-visible {
	display: block;
	animation: feFeaturesFadeIn 0.25s ease;
}

.fe-features__section.is-empty {
	display: none;
}

.fe-features__section {
	margin: 2.5rem 0;
}

.fe-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.fe-features__grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fe-features__card {
	border: 1px solid var(--fe-border);
	border-radius: var(--fe-radius);
	padding: 1.15rem 1.2rem;
	background: #fff;
	box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, border-color 0.2s ease;
}

.fe-features__card:hover {
	transform: translateY(-4px);
	border-color: #d0d7e2;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.fe-features__card--hidden {
	opacity: 0;
	transform: scale(0.95);
	pointer-events: none;
}

.fe-features__card--gone {
	display: none;
}

.fe-features__card--entering {
	animation: feFeaturesCardIn 0.25s ease both;
}

@keyframes feFeaturesFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes feFeaturesCardIn {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fe-features__card h3 {
	font-size: 1.05rem;
	margin: 0 0 0.4rem;
}

.fe-features__card p,
.fe-features__card li {
	color: var(--fe-muted);
	margin: 0;
	line-height: 1.5;
}

.fe-features__card ul {
	margin: 0.4rem 0 0.75rem;
	padding-left: 1.1rem;
}

.fe-features__card a {
	display: inline-block;
	margin-top: 0.75rem;
	font-weight: 600;
}

.fe-features__cta {
	margin-top: 2rem;
	padding: 1.5rem 1.4rem;
	border-radius: var(--fe-radius);
	background: #f8f9fa;
	border: 1px solid var(--fe-border);
}

.fe-features__price {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--fe-text);
	margin: 0.35rem 0 0;
}

.fe-features--smart-solutions .fe-features__hero--smart {
	padding: 1.5rem 1.35rem;
	border-radius: var(--fe-radius);
	border: 1px solid rgba(59, 91, 219, 0.2);
	background: linear-gradient(135deg, #f8faff 0%, #eef2ff 48%, #fff 100%);
}

.fe-features__pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	max-width: 42rem;
}

.fe-features__pill-list li {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(34, 139, 84, 0.35);
	color: #1b5e3b;
}

.fe-features__group-title {
	font-size: 1rem;
	margin: 1.5rem 0 0.25rem;
	color: var(--fe-text);
}

.fe-features__card--free {
	border-color: rgba(34, 139, 84, 0.25);
}

.fe-features__how {
	margin-top: 1rem;
}

@media (max-width: 750px) {
	.fe-features-toolbar {
		top: 58px;
	}
}

@media (max-width: 640px) {
	.fe-features {
		padding-top: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fe-features__card,
	.fe-features-categories__btn,
	.fe-features-search__input,
	.fe-features-empty {
		transition: none;
	}

	.fe-features__card:hover {
		transform: none;
	}

	.fe-features__card--entering,
	.fe-features-empty.is-visible {
		animation: none;
	}
}
