.elementor-widget-shortcode {
	width: 100%;
}
.elementor-widget-shortcode .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}
.elementor-section.section-stretched > .elementor-container {
	max-width: 100% !important;
}

.fcg-section {
	width: 100%;
	padding-bottom: 64px;
	background: #fff;
	overflow: hidden;
}

.fcg-header {
	text-align: center;
	margin-bottom: 40px;
	padding: 0 24px;
}

.fcg-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #020617;
	line-height: 1.15;
	margin: 0 0 16px;
}

.fcg-subtitle {
	margin: 0;
	font-size: 1.125rem;
	color: #64748b;
	line-height: 1.6;
}

.fcg-carousel-wrap {
	overflow: hidden;
	width: 100%;
}

.fcg-track {
	display: flex;
	gap: 20px;
	will-change: transform;
	user-select: none;
	-webkit-user-select: none;
}

.fcg-card {
	position: relative;
	border-radius: 1rem;
	overflow: hidden;
	cursor: pointer;
	flex-shrink: 0;
	aspect-ratio: 3 / 4;
	width: 280px;
	background: #0f172a;
	-webkit-user-select: none;
	user-select: none;
}

@media (min-width: 768px) {
	.fcg-card { width: 340px; }
}

@media (min-width: 1200px) {
	.fcg-card { width: 400px; }
}

.fcg-thumb,
.fcg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s ease;
}

.fcg-thumb  { opacity: 1; z-index: 1; }
.fcg-video  { opacity: 0; z-index: 2; }

.fcg-card.is-hovered .fcg-thumb  { opacity: 0; }
.fcg-card.is-hovered .fcg-video  { opacity: 1; }

.fcg-gradient {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.80) 0%,
		rgba(0,0,0,0.20) 40%,
		transparent 100%
	);
	pointer-events: none;
}

.fcg-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
}

.fcg-desc {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	margin-bottom: 0;
	transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-bottom 0.3s ease-out;
}

.fcg-card.is-hovered .fcg-desc {
	max-height: 200px;
	opacity: 1;
	margin-bottom: 4px;
}

.fcg-desc p {
	margin: 0;
	color: rgba(255,255,255,0.9);
	font-size: 0.875rem;
	line-height: 1.6;
	font-weight: 300;
}

.fcg-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fcg-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 9999px;
	border: 1px solid transparent;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	line-height: 1;
}

.fcg-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	transition: opacity 0.3s ease, transform 0.3s ease;
	opacity: 0.8;
	pointer-events: none;
}

.fcg-card.is-hovered .fcg-play-btn {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.85);
}

.fcg-play-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,0.20);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: 1px solid rgba(255,255,255,0.30);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.fcg-play-circle svg {
	margin-left: 2px;
}

.fcg-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.fcg-modal.is-open {
	display: flex;
}

.fcg-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.85);
	cursor: pointer;
}

.fcg-modal-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	width: 100%;
	max-width: 960px;
}

.fcg-modal-video {
	width: 100%;
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 0.75rem;
	background: #000;
	display: block;
	outline: none;
}

.fcg-modal-close {
	position: absolute;
	top: -16px;
	right: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.fcg-modal-close:hover {
	background: rgba(255,255,255,0.3);
}

.fcp-strip {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fcp-row-wrap {
	overflow: hidden;
	width: 100%;
}

.fcp-track {
	display: flex;
	gap: 12px;
	will-change: transform;
}

.fcp-card {
	flex-shrink: 0;
	border-radius: 1rem;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: transform 0.3s ease-out, z-index 0s;
	z-index: 1;
	width: 340px;
	height: 250px;
}

.fcp-row-wrap:nth-child(2) .fcp-card {
	width: 290px;
	height: 210px;
}

.fcp-card:hover {
	transform: scale(1.04);
	z-index: 20;
}

.fcp-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

@media (max-width: 900px) {
	.fcp-card {
		width: 255px;
		height: 188px;
	}
	.fcp-row-wrap:nth-child(2) .fcp-card {
		width: 218px;
		height: 158px;
	}
}

@media (max-width: 600px) {
	.fcp-strip {
		gap: 8px;
	}
	.fcp-track {
		gap: 8px;
	}
	.fcp-card {
		width: 180px;
		height: 133px;
		border-radius: 0.75rem;
	}
	.fcp-row-wrap:nth-child(2) .fcp-card {
		width: 154px;
		height: 112px;
	}
}

.fcp-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.fcp-modal.is-open {
	display: flex;
}

.fcp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.88);
	cursor: pointer;
}

.fcp-modal-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	width: 100%;
	max-width: 1100px;
}

.fcp-modal-img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	width: auto;
	height: auto;
	border-radius: 0.75rem;
	object-fit: contain;
	box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.fcp-modal-close {
	position: absolute;
	top: -16px;
	right: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.fcp-modal-close:hover {
	background: rgba(255,255,255,0.3);
}

/* ─── Tech Showcase ─────────────────────────────────────────────────────── */

.fct-tech-showcase {
	padding: 80px 0;
	background: #fff;
}

.fct-tech-inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 24px;
}

.fct-tech-header {
	text-align: center;
	margin-bottom: 48px;
}

.fct-tech-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #020617;
	line-height: 1.15;
	margin: 0;
}

.fct-tech-subtitle {
	margin: 6px 0 0;
	font-size: 1.125rem;
	color: #64748b;
	line-height: 1.6;
}

.fct-tech-grid {
	display: grid !important;
	grid-template-columns: 6fr 4fr !important;
	gap: 16px;
	min-height: 540px;
}

/* ── Main Card (left) ─────────────────────────────────────────────────────── */

.fct-tech-main,
.fct-tech-tabs {
	min-width: 0;
}

.fct-tech-main {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.08);
}

.fct-browser-bar {
	background: #f1f5f9;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	border-bottom: 1px solid #e2e8f0;
}

.fct-dots {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.fct-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.fct-dot-red    { background: #f87171; }
.fct-dot-yellow { background: #facc15; }
.fct-dot-green  { background: #4ade80; }

.fct-url-bar {
	flex: 1;
	background: #fff;
	border-radius: 6px;
	padding: 4px 12px;
	border: 1px solid #e2e8f0;
	font-size: 12px;
	color: #94a3b8;
	user-select: none;
}

.fct-main-body {
	position: relative;
	flex: 1;
	min-height: 0;
}

.fct-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.fct-gradient-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(15,23,42,.85) 0%,
		rgba(15,23,42,.20) 50%,
		transparent 100%
	);
	pointer-events: none;
}

.fct-main-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px;
}

.fct-main-title {
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
}

.fct-main-desc {
	color: rgba(255,255,255,.65);
	font-size: 14px;
	margin: 6px 0 0;
	line-height: 1.6;
}

/* ── Tab List (right) ─────────────────────────────────────────────────────── */

.fct-tech-tabs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fct-tech-tab {
	display: flex;
	align-items: stretch;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: inherit !important;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
	flex: 0 0 auto;
	min-height: 80px;
	padding: 0;
}

.fct-tech-tab:hover {
	border-color: #f87171;
	box-shadow: 0 4px 6px -1px rgba(248,113,113,.20);
	background: #fff !important;
}

.fct-tech-tab.fct-active {
	border-color: #f87171;
	box-shadow: 0 4px 6px -1px rgba(248,113,113,.20);
	background: #fff !important;
}

.fct-tab-thumb {
	width: 128px;
	flex-shrink: 0;
	overflow: hidden;
}

.fct-tab-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
	transition: transform .5s;
}

.fct-tech-tab:hover .fct-tab-thumb img {
	transform: scale(1.05);
}

.fct-tab-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12px 16px;
	min-width: 0;
}

.fct-tab-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #94a3b8 !important;
	margin: 0;
	transition: color .2s;
}

.fct-tech-tab:hover .fct-tab-title,
.fct-tech-tab.fct-active .fct-tab-title {
	color: #dc2626 !important;
}

.fct-tab-desc {
	font-size: 12px;
	color: #94a3b8 !important;
	margin: 4px 0 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}

.fct-tech-tab:hover .fct-tab-desc,
.fct-tech-tab.fct-active .fct-tab-desc {
	color: #475569 !important;
}

@media (max-width: 900px) {
	.fct-tech-grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.fct-main-body {
		min-height: 320px;
	}
}
