.features-page-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.features-content-wrapper {
	flex: 1;
	padding: 3rem 0.75rem;
	display: flex;
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

/* Sidebar Navigation */
.features-sidebar {
	width: 330px;
	flex-shrink: 0;
	display: none;
}

.sidebar-sticky {
	position: sticky;
	top: 2rem;
	background: white;
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #e5e7eb;
	max-height: calc(100vh - 4rem);
	display: flex;
	flex-direction: column;
}

.sidebar-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 1rem 0;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	overflow-y: auto;
	overflow-x: hidden;
}

.sidebar-nav-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: transparent;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: left;
	width: 100%;
	color: #6b7280;
	font-size: 0.9375rem;
}

	.sidebar-nav-item:hover {
		background: #f3f4f6;
		color: #111827;
	}

	.sidebar-nav-item.active {
		background: linear-gradient(135deg, #0c4a6e 0%, #14b8a6 100%);
		color: white;
		font-weight: 600;
	}

	.sidebar-nav-item .nav-icon {
		font-size: 1.25rem;
		flex-shrink: 0;
	}

	.sidebar-nav-item .nav-title {
		flex: 1;
	}

.features-list-container {
	flex: 1;
	max-width: 1000px;
	display: flex;
	flex-direction: column;
}

/* Feature Item */
.feature-item {
	background: white;
	border-radius: 0;
	box-shadow: none;
	border-left: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	border-bottom: none;
	overflow: hidden;
	transition: all 0.3s ease;
	margin: 0;
	position: relative;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

	.feature-item:first-child {
		border-top-left-radius: 1rem;
		border-top-right-radius: 1rem;
	}

	.feature-item:last-child {
		border-bottom-left-radius: 1rem;
		border-bottom-right-radius: 1rem;
		border-bottom: 1px solid #e5e7eb;
	}

	.feature-item.expanded:not(:first-child):not(:last-child) {
		border-radius: 0;
	}

	.feature-item.expanded:first-child {
		border-top-left-radius: 1rem;
		border-top-right-radius: 1rem;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.feature-item.expanded:last-child {
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		border-bottom-left-radius: 1rem;
		border-bottom-right-radius: 1rem;
	}

	.feature-item:not(.expanded):not(:last-child)::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 1px;
		background: #e5e7eb;
	}

	.feature-item:hover {
		box-shadow: none;
	}

	.feature-item.expanded {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
		border: 1px solid #0c4a6e;
		border-radius: 1rem;
		z-index: 10;
	}

		.feature-item.expanded::after {
			display: none;
		}

		/* Remove double border between adjacent expanded items */
		.feature-item.expanded + .feature-item.expanded {
			border-top: none;
		}

/* Feature Header */
.feature-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

	.feature-header:hover {
		background-color: #f9fafb;
	}

.feature-header-content {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
}

.features-page-icon-box {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #14b8a6 0%, #0c4a6e 100%);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(12, 74, 110, 0.2);
}

.features-page-icon {
	font-size: 2rem;
	line-height: 1;
	font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.feature-title-section {
	flex: 1;
	min-width: 0;
}

.feature-title {
	font-weight: 700;
	font-size: 1.125rem;
	color: #111827;
	margin: 0 0 0.25rem 0;
}

.feature-subtitle {
	font-size: 0.8125rem;
	color: #6b7280;
	margin: 0;
}

/* Expand Button */
.expand-button {
	width: 48px;
	height: 48px;
	background: #f3f4f6;
	border: 2px solid #e5e7eb;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s ease;
	color: #6b7280;
}

	.expand-button:hover {
		background: #e5e7eb;
		border-color: #d1d5db;
		color: #374151;
	}

	.expand-button:active {
		transform: scale(0.95);
	}

	.expand-button svg {
		transition: transform 0.3s ease;
	}

		.expand-button svg.expanded {
			transform: rotate(180deg);
		}

/* Feature Content */
.features-page-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-in-out;
}

	.features-page-content.expanded {
		max-height: 5000px;
	}



.features-page-content-inner {
	padding: 0 1.5rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.feature-detail-item {
	display: flex;
	gap: 1rem;
	padding: 0.75rem;
	border-radius: 0.75rem;
	transition: background-color 0.2s ease;
}

	.feature-detail-item:hover {
		background-color: #f9fafb;
	}

.feature-checkmark {
	width: 40px;
	height: 40px;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.feature-detail-item:hover .feature-checkmark {
	transform: scale(1.1);
}

.checkmark-icon {
	width: 24px;
	height: 24px;
	color: #14b8a6;
	stroke-width: 3;
}

.feature-detail-text {
	flex: 1;
	min-width: 0;
}

.feature-detail-title {
	font-weight: 600;
	font-size: 1rem;
	color: #111827;
	margin: 0 0 0.25rem 0;
}

.feature-detail-description {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

/* Collapse All Button */
.collapse-all-button {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #0c4a6e 0%, #14b8a6 100%);
	border: none;
	border-radius: 50%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: all 0.3s ease;
	z-index: 1000;
}

	.collapse-all-button:hover {
		transform: scale(1.1);
		box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
	}

	.collapse-all-button:active {
		transform: scale(0.95);
	}

/* Desktop - Show Sidebar */
@media (min-width: 1024px) {
	.features-sidebar {
		display: block;
	}
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.features-content-wrapper {
		padding: 1.5rem 0.75rem;
	}

	.feature-header {
		padding: 1rem;
	}

	.features-page-icon-box {
		width: 48px;
		height: 48px;
	}

	.features-page-icon {
		font-size: 1.5rem;
	}

	.feature-title {
		font-size: 1.125rem;
	}

	.feature-subtitle {
		font-size: 0.8125rem;
	}

	.expand-button {
		width: 40px;
		height: 40px;
		border-width: 1.5px;
	}

	.features-page-content-inner {
		padding: 0 1rem 1rem 1rem;
	}

	.collapse-all-button {
		bottom: 1.5rem;
		right: 1.5rem;
		width: 48px;
		height: 48px;
	}
}
