/* ==========================================================================
   Product pages -- tech look
   Loaded only on single product pages (see functions.php). Every rule is
   scoped to body.single-bct_product so nothing else on the site changes.
   ========================================================================== */

body.single-bct_product {
	--bct-tech-line: rgba(255, 255, 255, 0.06);
}

/* ---- Hero: deep navy, circuit grid, glow, angled base --------------------- */
body.single-bct_product .bct-page-hero {
	isolation: isolate;
	clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
	padding-bottom: 120px !important;
}
body.single-bct_product .bct-page-hero::after {
	background:
		radial-gradient(circle at 18% 28%, rgba(251, 111, 17, 0.28), transparent 38%),
		radial-gradient(circle at 86% 78%, rgba(30, 88, 166, 0.55), transparent 46%),
		linear-gradient(135deg, rgba(8, 20, 66, 0.96) 0%, rgba(12, 31, 96, 0.92) 55%, rgba(17, 46, 136, 0.88) 100%);
}
body.single-bct_product .bct-page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
	mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
	pointer-events: none;
}
body.single-bct_product .bct-page-hero .elementor-heading-title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: -0.02em;
}
body.single-bct_product .bct-page-hero h1.elementor-heading-title {
	text-shadow: 0 0 40px rgba(30, 88, 166, 0.55);
}
body.single-bct_product .bct-page-hero h6.elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 199, 154, 0.45);
	background: rgba(255, 255, 255, 0.06);
	letter-spacing: 2px;
	font-size: 12px;
}
body.single-bct_product .bct-page-hero h6.elementor-heading-title::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bct-orange);
	box-shadow: 0 0 12px var(--bct-orange);
}
body.single-bct_product .bct-page-hero .elementor-widget-text-editor p {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}

/* ---- Icon tiles: gradient with white glyphs (matches the homepage) -------- */
body.single-bct_product .bct-card__icon {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--bct-navy) 0%, var(--bct-navy-light) 55%, var(--bct-orange) 130%);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(17, 46, 136, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
body.single-bct_product .bct-card__icon svg,
body.single-bct_product .bct-card__icon i {
	color: #fff;
	fill: currentColor;
	stroke: currentColor;
	width: 28px;
	height: 28px;
	font-size: 26px;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* ---- Benefit / step cards: glass panel with a gradient top edge ------------ */
body.single-bct_product .bct-card {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
	border: 1px solid rgba(17, 46, 136, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(17, 46, 136, 0.04), 0 12px 32px -18px rgba(17, 46, 136, 0.25);
}
body.single-bct_product .bct-card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--bct-orange), var(--bct-navy-light), var(--bct-navy));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--bct-ease);
}
body.single-bct_product .bct-card:hover::before { transform: scaleX(1); }
body.single-bct_product .bct-card:hover {
	box-shadow: 0 1px 2px rgba(17, 46, 136, 0.06), 0 26px 50px -22px rgba(17, 46, 136, 0.42), 0 0 0 1px rgba(30, 88, 166, 0.12);
}
body.single-bct_product .bct-card__title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: -0.01em;
}

/* ---- Feature showcase rows ------------------------------------------------ */
body.single-bct_product .bct-showcase__title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: -0.02em;
	padding-left: 18px;
	position: relative;
}
body.single-bct_product .bct-showcase__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--bct-orange), var(--bct-navy-light));
}
body.single-bct_product .bct-showcase__media {
	position: relative;
	padding: 14px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(17, 46, 136, 0.08), rgba(251, 111, 17, 0.08));
}
body.single-bct_product .bct-showcase__media img {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
	border-radius: 16px;
	box-shadow: 0 30px 60px -28px rgba(12, 31, 96, 0.55);
	transition: transform 0.6s var(--bct-ease);
}
body.single-bct_product .bct-showcase__media:hover img { transform: scale(1.015); }
body.single-bct_product .bct-showcase__media::before,
body.single-bct_product .bct-showcase__media::after {
	content: '';
	position: absolute;
	width: 46px;
	height: 46px;
	border: 2px solid var(--bct-orange);
	pointer-events: none;
}
body.single-bct_product .bct-showcase__media::before {
	top: 0;
	left: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 14px 0 0 0;
}
body.single-bct_product .bct-showcase__media::after {
	bottom: 0;
	right: 0;
	border-left: 0;
	border-top: 0;
	border-radius: 0 0 14px 0;
}
body.single-bct_product .bct-showcase__features svg {
	width: 30px;
	height: 30px;
	padding: 6px;
	box-sizing: border-box;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bct-navy), var(--bct-navy-light));
	color: #fff;
	margin-top: 0;
	box-shadow: 0 6px 14px -6px rgba(30, 88, 166, 0.45);
}

/* ---- Other-products aside: glass panel ----------------------------------- */
body.single-bct_product .bct-product-aside {
	background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
	border: 1px solid rgba(17, 46, 136, 0.08);
	box-shadow: 0 24px 50px -30px rgba(17, 46, 136, 0.45);
}
body.single-bct_product .bct-product-aside .bct-card {
	border-radius: 16px;
}

/* ---- FAQ accordion -------------------------------------------------------- */
body.single-bct_product .eael-accordion-tab {
	border: 1px solid rgba(17, 46, 136, 0.1) !important;
	border-radius: 14px !important;
	margin-bottom: 12px !important;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 6px 18px -14px rgba(17, 46, 136, 0.35);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.single-bct_product .eael-accordion-tab.active,
body.single-bct_product .eael-accordion-tab:hover {
	border-color: rgba(30, 88, 166, 0.35) !important;
	box-shadow: 0 14px 30px -18px rgba(17, 46, 136, 0.45);
}
body.single-bct_product .eael-accordion-tab .eael-accordion-tab-title,
body.single-bct_product .eael-accordion-tab .eael-accordion-tab-title-wrap {
	background: #fff !important;
}
body.single-bct_product .eael-accordion-tab-title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	font-weight: 700 !important;
	color: var(--bct-navy) !important;
}

/* ---- CTA banner ----------------------------------------------------------- */
body.single-bct_product .bct-cta-banner {
	background:
		radial-gradient(circle at 15% 20%, rgba(251, 111, 17, 0.28), transparent 38%),
		radial-gradient(circle at 85% 85%, rgba(30, 88, 166, 0.55), transparent 45%),
		linear-gradient(135deg, var(--bct-navy-dark) 0%, var(--bct-navy) 100%);
	box-shadow: 0 40px 80px -40px rgba(12, 31, 96, 0.7);
}
body.single-bct_product .bct-cta-banner__pattern {
	opacity: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

@media (max-width: 768px) {
	body.single-bct_product .bct-page-hero { clip-path: none; padding-bottom: 90px !important; }
	body.single-bct_product .bct-showcase__media img { aspect-ratio: 4 / 3; }
	body.single-bct_product .bct-card { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	body.single-bct_product .bct-showcase__media img { transition: none; }
}
