/* Facet Portfolio — Raleway, design tokens, shortcode grid + single template */

:root {
	--fp-navy: #0b1b4d;
	--fp-navy-deep: #05051a;
	--fp-navy-mid: #0a1440;
	--fp-blue: #3d5afe;
	--fp-blue-soft: #5e6ad2;
	--fp-sky: #7a8dfc;
	--fp-accent: #6d7bff;
	--fp-text: #1a1f3f;
	--fp-muted: #8e92a4;
	--fp-border: #e5e7ef;
	--fp-bg: #f3f4f8;
	--fp-white: #ffffff;
	--fp-radius: 14px;
	--fp-radius-sm: 999px;
	--fp-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
	--fp-font: "Raleway", sans-serif;
	/* Match glasslogosllc.com Elementor boxed container */
	--fp-content-width: 1140px;
	--fp-gutter: 20px;
}

.fp-grid-wrap,
.fp-single,
.fp-grid-wrap *,
.fp-single * {
	box-sizing: border-box;
}

.fp-grid-wrap,
.fp-single {
	font-family: var(--fp-font);
	color: var(--fp-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	width: 100%;
}

.fp-grid-wrap a,
.fp-single a {
	text-decoration: none;
	color: inherit;
}

/* Shared content alignment (same as Elementor .elementor-container) */
.fp-container {
	width: 100%;
	max-width: var(--fp-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
}

/* ========== SHORTCODE: Filter + Card Grid ========== */

.fp-grid-wrap {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.fp-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e4e7ef;
}

.fp-filters__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--fp-text);
	padding: 0 4px 0 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.fp-filters__label-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--fp-text);
}

.fp-filters__label-icon img,
.fp-filters__label-icon svg {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
}

.fp-filter {
	appearance: none;
	border: 1px solid #dce0ea;
	background: #fff;
	color: #3a4060;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	padding: 10px 16px;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.2;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fp-filter__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: currentColor;
	opacity: 0.9;
}

.fp-filter__icon svg,
.fp-filter__icon img,
.fp-cat-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
	overflow: visible;
}

.fp-filter:hover {
	border-color: #c5cad8;
	color: var(--fp-text);
}

.fp-filter.is-active {
	background: #0b1b4d;
	border-color: #0b1b4d;
	color: #fff;
	box-shadow: 0 4px 14px rgba(11, 27, 77, 0.25);
}

.fp-filter.is-active .fp-filter__icon {
	opacity: 1;
}

.fp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.fp-card {
	background: #fff;
	border: 1px solid #e6e9f0;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	opacity: 1;
	min-width: 0;
}

.fp-card.is-hidden {
	display: none;
}

.fp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.fp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dbe1f0;
	border-radius: 16px 16px 0 0;
}

.fp-card__img,
.fp-card__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.fp-card:hover .fp-card__img {
	transform: scale(1.04);
}

.fp-card__placeholder {
	background: linear-gradient(135deg, #c5cee6, #e8ecf6);
}

.fp-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #4f46e5;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.fp-card__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.fp-card__badge-icon svg,
.fp-card__badge-icon img {
	width: 14px;
	height: 14px;
	object-fit: contain;
	display: block;
}

.fp-card__body {
	padding: 18px 18px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
}

.fp-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--fp-text);
}

.fp-card__title a:hover {
	color: var(--fp-blue);
}

.fp-card__excerpt {
	margin: 0;
	font-size: 13.5px;
	color: var(--fp-muted);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fp-card__footer {
	margin-top: auto;
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid #eef0f5;
}

.fp-card__url {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--fp-muted);
	min-width: 0;
}

.fp-card__url span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fp-card__url:hover {
	color: var(--fp-blue);
}

.fp-card__arrow {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fp-navy);
	background: #eef1f8;
	transition: background 0.2s ease, color 0.2s ease;
}

.fp-card__arrow:hover {
	background: var(--fp-navy);
	color: #fff;
}

.fp-empty {
	text-align: center;
	color: var(--fp-muted);
	padding: 40px 0;
}

@media (max-width: 1024px) {
	.fp-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 640px) {
	.fp-filters {
		gap: 8px;
		margin-bottom: 24px;
	}

	.fp-filters__label {
		width: 100%;
		margin-bottom: 4px;
	}

	.fp-filter {
		padding: 9px 14px;
		font-size: 12px;
	}

	.fp-cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.fp-card__title {
		font-size: 17px;
	}
}

/* ========== SINGLE / SHOWCASE: Hero / Featured / Apps / CTA ========== */

.fp-single {
	width: 100%;
	overflow: hidden;
	font-family: var(--fp-font);
	--fp-content-width: 1156px;
	--fp-gutter: 32px;
}

/* —— Hero —— */

.fp-hero {
	position: relative;
	background: var(--fp-navy-deep);
	color: var(--fp-white);
	padding: 65.75px 0 142.14px;
	text-align: left;
	overflow: hidden;
}

.fp-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(14, 15, 82, 0.6), rgba(14, 15, 82, 0.6)), url(../images/cta-bg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.fp-hero__bg.has-custom-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(5, 5, 26, 0.9) 0%,
		rgba(5, 8, 35, 0.78) 42%,
		rgba(8, 12, 45, 0.45) 100%
	);
}

.fp-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--fp-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
}

.fp-hero__content {
	max-width: 640px;
}

.fp-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--fp-radius-sm);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 21.4px;
}

.fp-hero__gem {
	color: #a8adff;
	flex-shrink: 0;
}

.fp-hero__title {
	margin: 0 0 19.3px;
	font-size: 56px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #fff;
}

.fp-hero__title span {
	color: #5153FF;
}

.fp-hero__subtitle {
	margin: 0 0 31.4px;
	max-width: 540px;
	font-size: 16.5px;
	line-height: 1.65;
	color: #A7A9D6;
	font-weight: 500;
}

.fp-hero__stats {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0;
}

.fp-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fp-stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.fp-stat__num {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.fp-stat__label {
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: #A7A9D6;
	font-weight: 600;
}

/* —— Featured Work —— */

.fp-featured {
	background: #f4f4fb;
	padding: 64px 0 96px;
}

.fp-featured__shell {
	max-width: var(--fp-content-width);
	margin: 0 auto;
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
}

.fp-featured__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding: 0 4px;
}

.fp-featured__heading {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--fp-text);
}

.fp-featured__showing {
	font-size: 13px;
	color: #A7A9D6;
	font-weight: 500;
}

.fp-featured__panel {
	background: var(--fp-white);
	border-radius: 6px;
	box-shadow: var(--fp-shadow);
	padding: 0;
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) 270px;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid #0E0F521A;
}

.fp-featured__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 28px 12px 28px 0;
	background: #f4f4fb;
	border-right: 1px solid #eef0f5;
}

.fp-featured__browse {
	display: block;
	padding: 0 16px 14px 28px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--fp-muted);
}

.fp-nav-item {
	appearance: none;
	border: 0;
	background: transparent;
	font-family: inherit;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px 11px 24px;
	margin: 0 8px 0 8px;
	border-radius: 0;
	color: #6F7196;
	font-size: 13.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	position: relative;
	transition: color 0.2s ease, background 0.2s ease;
	width: calc(100% - 10px);
}

.fp-nav-item:hover {
	color: #0E0F52;
}

.fp-nav-item.is-active {
	color: #0E0F52;
	background: transparent;
}

.fp-nav-item.is-active::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	border-radius: 2px;
	background: #5153FF;
}

.fp-nav-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: currentColor;
	flex-shrink: 0;
	opacity: 0.85;
}

.fp-nav-item__icon svg,
.fp-nav-item__icon img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
	overflow: visible;
}

/* Hide fill-only artboard plates from uploaded SVGs without killing stroked icon rects */
.fp-nav-item__icon svg:has(path, circle, ellipse, polygon, polyline, line) > rect:first-of-type:not([stroke]),
.fp-filter__icon svg:has(path, circle, ellipse, polygon, polyline, line) > rect:first-of-type:not([stroke]),
.fp-card__badge-icon svg:has(path, circle, ellipse, polygon, polyline, line) > rect:first-of-type:not([stroke]),
.fp-showcase__badge-icon svg:has(path, circle, ellipse, polygon, polyline, line) > rect:first-of-type:not([stroke]) {
	fill: none !important;
}

.fp-nav-item.is-active .fp-nav-item__icon {
	color: #0E0F52;
	opacity: 1;
}

.fp-featured__main {
	min-width: 0;
	padding: 28px 24px 28px 28px;
}

.fp-showcase[hidden] {
	display: none !important;
}

.fp-showcase__media {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	background: #1a1f3f;
	aspect-ratio: 16 / 10;
	clip-path: polygon(
		30px 0,
		100% 0,
		100% calc(100% - 30px),
		calc(100% - 30px) 100%,
		0 100%,
		0 30px
	);
}

@media (min-width: 1025px) {
	.fp-showcase__media {
		width: 650px;
		height: 400px;
		max-width: 100%;
		aspect-ratio: auto;
	}
}

.fp-showcase__img,
.fp-showcase__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fp-showcase__placeholder {
	background: linear-gradient(135deg, #2a3358, #12162e);
	min-height: 280px;
}

.fp-showcase__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	background: linear-gradient(180deg, rgba(8, 12, 40, 0.15) 0%, rgba(8, 12, 40, 0.05) 40%, rgba(8, 12, 40, 0.35) 100%);
	pointer-events: none;
}

.fp-showcase__badge,
.fp-showcase__visit {
	pointer-events: auto;
	width: fit-content;
}

.fp-showcase__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #1a1f4c;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 7px 12px;
	border-radius: var(--fp-radius-sm);
}

.fp-showcase__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.fp-showcase__badge-icon svg,
.fp-showcase__badge-icon img {
	width: 14px;
	height: 14px;
	object-fit: contain;
	display: block;
}

.fp-showcase__visit {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--fp-text) !important;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: var(--fp-radius-sm);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-showcase__visit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.fp-showcase__meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	margin-top: 20px;
	position: relative;
	min-height: 72px;
}

.fp-showcase__title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 800;
	color: #0E0F52;
	line-height: 1.2;
}

.fp-showcase__title a:hover {
	color: #5153FF;
}

.fp-showcase__excerpt {
	margin: 0;
	font-size: 14.5px;
	color: #5A5B74;
	max-width: 460px;
	line-height: 1.55;
}

.fp-showcase__num {
	font-size: 44px;
	font-weight: 800;
	line-height: 0.9;
	color: #e8eaf2;
	user-select: none;
	letter-spacing: -0.04em;
}

.fp-featured__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 560px;
	overflow-y: auto;
	padding: 24px 16px 24px 8px;
	border-left: 1px solid #eef0f5;
}

.fp-list-item {
	appearance: none;
	border: 0;
	background: transparent;
	font-family: inherit;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	transition: background 0.2s ease;
	width: 100%;
}

.fp-list-item:hover {
	background: #f7f7fc;
}

.fp-list-item.is-active {
	background: #F4F4FB;
}

.fp-list-item__thumb {
	width: 58px;
	height: 44px;
	border-radius: 0;
	overflow: hidden;
	background: #d8deed;
	flex-shrink: 0;
	clip-path: polygon(
		8px 0,
		100% 0,
		100% calc(100% - 8px),
		calc(100% - 8px) 100%,
		0 100%,
		0 8px
	);
}

.fp-list-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fp-list-item__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fp-list-item__cat {
	font-size: 11px;
	font-weight: 600;
	color: var(--fp-blue-soft);
}

.fp-list-item__title {
	font-size: 13.5px;
	font-weight: 700;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fp-list-item.is-active .fp-list-item__title {
	color: #5153FF;
}

.fp-list-item__url {
	font-size: 11px;
	color: var(--fp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fp-list-item.is-hidden {
	display: none;
}

/* —— Apps & tools —— */

.fp-apps {
	position: relative;
	background: #05052a;
	color: var(--fp-white);
	padding: 88px 0 88px;
	overflow: hidden;
}

.fp-apps__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-color: #05052a;
	background-image: url("../images/apps-bg.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
}

.fp-apps__inner {
	position: relative;
	max-width: var(--fp-content-width);
	margin: 0 auto;
	padding-left: var(--fp-gutter);
	padding-right: 0;
	z-index: 1;
}

.fp-apps__intro {
	padding-right: var(--fp-gutter);
	max-width: 640px;
}

.fp-apps__title {
	margin: 0 0 9.6px;
	font-size: 34px;
	font-weight: 800;
	max-width: 560px;
	line-height: 1.22;
	color: #fff;
	letter-spacing: -0.01em;
}

.fp-apps__subtitle {
	margin: 0 0 20.78px;
	font-size: 15px;
	line-height: 1.65;
	color: #A7A9D6;
	max-width: 580px;
	font-weight: 500;
}

/* Video carousel — soft blue fade on the right edge only */
.fp-apps__carousel {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	position: relative;
	width: 100%;
	max-width: none;
	padding-right: var(--fp-gutter);
	box-sizing: border-box;
}

.fp-apps__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.fp-apps__fade {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 54px;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(270deg, #0E0F52 0%, rgba(14, 15, 82, 0) 100%);
	opacity: 1;
	transition: opacity 0.2s ease;
}

.fp-apps__fade.is-hidden {
	opacity: 0;
}

.fp-apps__nav {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-top: calc(4px + (180px - 48px) / 2);
	padding: 0;
	border: 1.5px solid #fff;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.fp-apps__nav:hover:not(:disabled),
.fp-apps__nav:focus-visible:not(:disabled) {
	background-color: #5153FF;
	outline: none;
}

.fp-apps__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.fp-apps__nav svg {
	display: block;
}

.fp-apps__track {
	display: flex;
	gap: 20px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 24px 10px 0;
	cursor: grab;
	scrollbar-width: none;
}

.fp-apps__track::-webkit-scrollbar {
	display: none;
}

.fp-apps__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
}

.fp-app-card {
	flex: 0 0 240px;
	width: 240px;
	max-width: 240px;
	min-width: 240px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	color: var(--fp-white);
	scroll-snap-align: start;
	background: transparent;
	border: 0;
	padding: 0;
	text-align: left;
}

.fp-app-card__media {
	position: relative;
	display: block;
	width: 240px;
	height: 180px;
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: auto;
	background: rgba(255, 255, 255, 0.08);
}

.fp-app-card__thumb,
.fp-app-card__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.fp-app-card__placeholder {
	background: linear-gradient(135deg, rgba(94, 140, 255, 0.35), rgba(255, 255, 255, 0.08));
}

.fp-app-card__media--tone-0 .fp-app-card__placeholder {
	background: linear-gradient(145deg, #1a3a6e 0%, #0d1b3a 55%, #2a5a9e 100%);
}

.fp-app-card__media--tone-1 .fp-app-card__placeholder {
	background: linear-gradient(145deg, #2a1a5e 0%, #120d2e 55%, #4a3a9e 100%);
}

.fp-app-card__media--tone-2 .fp-app-card__placeholder {
	background: linear-gradient(145deg, #0d3a4a 0%, #071820 55%, #1a6a7a 100%);
}

.fp-app-card__media--tone-3 .fp-app-card__placeholder {
	background: linear-gradient(145deg, #3a1a3a 0%, #1a0d1a 55%, #6a2a5a 100%);
}

.fp-app-card__media--tone-4 .fp-app-card__placeholder {
	background: linear-gradient(145deg, #1a2a5e 0%, #0a1028 55%, #3a5aaa 100%);
}

.fp-app-card__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fp-app-card__hit[hidden] {
	display: none !important;
}

.fp-app-card__play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: transform 0.2s ease, background 0.2s ease;
}

.fp-app-card__play svg {
	margin-left: 3px;
}

.fp-app-card__hit:hover .fp-app-card__play,
.fp-app-card__hit:focus-visible .fp-app-card__play {
	transform: scale(1.06);
	background: rgba(255, 255, 255, 0.28);
}

.fp-app-card__player {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: #000;
}

.fp-app-card__player[hidden] {
	display: none !important;
}

.fp-app-card__player iframe,
.fp-app-card__player video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
	background: #000;
}

.fp-app-card__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 4;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.fp-app-card__close[hidden] {
	display: none !important;
}

.fp-app-card.is-playing .fp-app-card__thumb,
.fp-app-card.is-playing .fp-app-card__placeholder {
	opacity: 0;
}

.fp-app-card__title {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.fp-app-card__demo {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
}

.fp-app-card__demo:hover {
	color: #fff;
}

.fp-app-card__demo:disabled {
	opacity: 0.45;
	cursor: default;
}

/* —— CTA —— */

.fp-cta {
	position: relative;
	padding: 64px 0;
	overflow: hidden;
	background: #0a1a5c;
}

.fp-cta__bg {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(120deg, rgba(12, 15, 90, 0.9) 7.74%, rgba(30, 34, 124, 0.9) 92.26%), url(../images/hero-bg.png);
	background-size: cover;
	background-position: 80% 34%;
	background-repeat: no-repeat;
}

.fp-cta__inner {
	position: relative;
	max-width: var(--fp-content-width);
	margin: 0 auto;
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	z-index: 1;
}

.fp-cta__title {
	margin: 0;
	color: #fff;
	flex: 1 1 auto;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fp-cta__title-line {
	display: block;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.fp-cta__title-strong {
	display: block;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.fp-cta__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.fp-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	max-width: 256px;
	flex: 0 1 auto;
}

.fp-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: #0e0f52 !important;
	font-size: 15px;
	font-weight: 700;
	padding: 15px 28px;
	border-radius: 999px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	flex-shrink: 0;
	text-decoration: none;
	white-space: nowrap;
}

.fp-cta__btn svg {
	flex-shrink: 0;
}

.fp-cta__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
	color: #0e0f52 !important;
}

.fp-content {
	background: var(--fp-white);
	padding: 40px 0 56px;
}

.fp-content__inner {
	max-width: var(--fp-content-width);
	margin: 0 auto;
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
	font-size: 16px;
	line-height: 1.7;
	color: var(--fp-text);
}

.fp-content__inner img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Responsive — single */

@media (max-width: 1024px) {
	.fp-single {
		--fp-gutter: 20px;
	}

	.fp-featured__panel {
		grid-template-columns: 160px minmax(0, 1fr) 220px;
	}

	.fp-app-card {
		flex: 0 0 240px;
		width: 240px;
		max-width: 240px;
		min-width: 240px;
	}
}

@media (max-width: 900px) {
	.fp-single {
		--fp-gutter: 20px;
	}

	.fp-featured__panel {
		grid-template-columns: 1fr;
	}

	.fp-featured__nav {
		flex-direction: row;
		flex-wrap: wrap;
		padding: 16px;
		border-right: 0;
		border-bottom: 1px solid #eef0f5;
	}

	.fp-featured__browse {
		width: 100%;
		padding: 0 4px 8px;
	}

	.fp-nav-item {
		padding: 10px 14px;
		border-radius: 8px;
		width: auto;
	}

	.fp-nav-item.is-active::before {
		display: none;
	}

	.fp-nav-item.is-active {
		background: #F4F4FB;
		color: #0E0F52;
	}

	.fp-featured__list {
		max-height: none;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-left: 0;
		border-top: 1px solid #eef0f5;
		padding: 16px;
	}

	.fp-apps {
		padding: 72px 0;
	}

	.fp-app-card {
		flex: 0 0 240px;
		width: 240px;
		max-width: 240px;
		min-width: 240px;
	}

	.fp-apps__track {
		padding-right: 24px;
	}

	.fp-apps__fade {
		width: 32px;
	}

	.fp-apps__nav {
		width: 44px;
		height: 44px;
		margin-top: calc(4px + (180px - 44px) / 2);
	}

	.fp-cta {
		padding: 56px 0;
	}

	.fp-cta__inner {
		flex-wrap: wrap;
		gap: 28px;
	}

	.fp-cta__actions {
		gap: 16px;
	}

	.fp-cta__text {
		max-width: 256px;
	}
}

@media (max-width: 767px) {
	:root {
		--fp-gutter: 15px;
	}

	.fp-single {
		--fp-gutter: 20px;
	}

	.fp-hero__title {
		font-size: clamp(28px, 8vw, 40px);
	}

	.fp-hero__stats {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: space-between;
		width: 100%;
		gap: 0;
	}

	.fp-stat {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 10px;
		border-left: 1px solid rgba(255, 255, 255, 0.18);
		gap: 4px;
	}

	.fp-stat:first-child {
		padding-left: 0;
		border-left: 0;
	}

	.fp-stat__num {
		font-size: 22px;
	}

	.fp-stat__label {
		font-size: 10px;
		letter-spacing: 0.06em;
		line-height: 1.3;
	}

	.fp-featured__list {
		grid-template-columns: 1fr;
	}

	.fp-showcase__title {
		font-size: 22px;
	}

	.fp-apps {
		padding: 56px 0 64px;
	}

	.fp-apps__inner {
		padding-right: var(--fp-gutter);
	}

	.fp-apps__title {
		font-size: clamp(22px, 6vw, 30px);
	}

	.fp-app-card {
		flex: 0 0 240px;
		width: 240px;
		max-width: 240px;
		min-width: 220px;
	}

	.fp-app-card__media {
		width: 100%;
		height: 180px;
	}

	.fp-apps__track {
		gap: 12px;
		padding-right: 16px;
	}

	.fp-apps__fade {
		width: 28px;
	}

	.fp-apps__carousel {
		gap: 10px;
	}

	.fp-apps__nav {
		width: 40px;
		height: 40px;
		margin-top: calc(4px + (180px - 40px) / 2);
	}

	.fp-app-card__play {
		width: 56px;
		height: 56px;
	}

	.fp-cta {
		padding: 48px 0;
	}

	.fp-cta__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.fp-cta__title {
		max-width: none;
	}

	.fp-cta__title-line,
	.fp-cta__title-strong {
		font-size: 24px;
		font-weight: 700;
	}

	.fp-cta__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
	}

	.fp-cta__text {
		max-width: 256px;
		font-size: 15px;
	}

	.fp-showcase__meta {
		grid-template-columns: 1fr;
	}

	.fp-showcase__num {
		position: absolute;
		right: 0;
		top: 0;
		opacity: 0.45;
		font-size: 44px;
	}

	.fp-featured__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}
