/* NeoLivis — Showcase Switcher */

.nls {
	--nls-accent: var(--nl-green, #123B32);
	--nls-ink: var(--nl-ink, #182824);
	--nls-muted: var(--nl-ink-muted, #4A5753);
	--nls-surface: #FFFFFF;
	--nls-line: var(--nl-line, #E4E0D5);
	--nls-radius: 18px;
	--nls-ease: cubic-bezier(.2, .7, .2, 1);
	color: var(--nls-ink);
}

/* Picker ----------------------------------------------------------- */

.nls__picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 28px;
}

.nls__picker-label {
	font-weight: 600;
	color: var(--nls-muted);
}

.nls__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nls__tab {
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid var(--nls-line);
	border-radius: 999px;
	background: var(--nls-surface);
	color: var(--nls-ink);
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .2s var(--nls-ease), color .2s var(--nls-ease), border-color .2s var(--nls-ease);
}

.nls__tab:hover {
	border-color: var(--nls-accent);
}

.nls__tab[aria-selected="true"] {
	background: var(--nls-accent);
	border-color: var(--nls-accent);
	color: #FFFFFF;
}

.nls__tab:focus-visible,
.nls__panel:focus-visible,
.nls__cta:focus-visible {
	outline: 3px solid var(--nl-magenta, #DC0876);
	outline-offset: 3px;
}

/* Stage ------------------------------------------------------------ */

.nls__stage {
	display: grid;
}

.nls__panel {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	gap: 40px;
	align-items: center;
	border-radius: var(--nls-radius);
}

.nls__panel[hidden] {
	display: none;
}

.nls__panel.is-entering .nls__devices {
	animation: nls-rise .55s var(--nls-ease) both;
}

.nls__panel.is-entering .nls__card {
	animation: nls-rise .55s .08s var(--nls-ease) both;
}

@keyframes nls-rise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

/* Devices ---------------------------------------------------------- */

.nls__devices {
	position: relative;
	padding: 0 70px 48px 0;
}

.nls__browser {
	border-radius: 14px;
	overflow: hidden;
	background: var(--nls-surface);
	border: 1px solid var(--nls-line);
	box-shadow: 0 30px 60px -30px rgba(18, 59, 50, .35), 0 12px 24px -16px rgba(18, 59, 50, .2);
}

.nls__browser-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 38px;
	padding: 0 14px;
	background: #EEF0F5;
}

.nls__dots {
	display: inline-flex;
	gap: 7px;
}

.nls__dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #CDD2DE;
}

.nls__address {
	flex: 0 1 320px;
	min-width: 0;
	overflow: hidden;
	padding: 3px 12px;
	border-radius: 6px;
	background: #FFFFFF;
	color: var(--nls-muted);
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.nls__screen {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #F3F4F8;
}

.nls__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 27%;
	max-width: 210px;
	padding: 7px;
	border-radius: 30px;
	background: #111614;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45);
}

.nls__phone-screen {
	aspect-ratio: 390 / 844;
	overflow: hidden;
	border-radius: 24px;
	background: #F3F4F8;
}

.nls__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

/* Card ------------------------------------------------------------- */

.nls__card {
	padding: 28px;
	border: 1px solid var(--nls-line);
	border-radius: var(--nls-radius);
	background: var(--nls-surface);
}

.nls__badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3px;
}

.nls__badge--live     { background: #E3F0EA; color: #1F5C43; }
.nls__badge--progress { background: #E6EEF6; color: #24496E; }
.nls__badge--demo     { background: #F3E8D2; color: #6B5320; }

.nls__title {
	margin: 14px 0 0;
	font-family: var(--nl-font-display, inherit);
	font-size: 26px;
	line-height: 1.2;
	color: var(--nls-accent);
}

.nls__summary {
	margin: 10px 0 0;
	color: var(--nls-muted);
	line-height: 1.6;
}

.nls__features {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.nls__features li {
	position: relative;
	padding-inline-start: 26px;
	line-height: 1.45;
}

.nls__features li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .2em;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--nls-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.nls__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	margin-top: 22px;
	padding: 0 20px;
	border-radius: 10px;
	background: var(--nls-accent);
	color: #FFFFFF !important;
	font-weight: 600;
	text-decoration: none;
	transition: transform .2s var(--nls-ease), box-shadow .2s var(--nls-ease);
}

.nls__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px -12px rgba(18, 59, 50, .6);
}

/* Responsive ------------------------------------------------------- */

@media (max-width: 1023px) {
	.nls__panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 600px) {
	.nls__devices {
		padding: 0 38px 34px 0;
	}

	.nls__phone {
		width: 32%;
		padding: 5px;
		border-radius: 20px;
	}

	.nls__phone-screen {
		border-radius: 16px;
	}

	.nls__tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: -16px;
		padding-inline: 16px;
	}

	.nls__tab {
		flex: none;
	}

	.nls__card {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nls__panel.is-entering .nls__devices,
	.nls__panel.is-entering .nls__card {
		animation: none;
	}

	.nls__tab,
	.nls__cta {
		transition: none;
	}
}
