:root, [data-bs-theme=dark], [data-bs-theme=light] {
	--bs-primary: #379ae6;
	--bs-primary-rgb: 55, 154, 230;
	--bs-body-font-family: "Urbanist", sans-serif;
	--bs-body-font-size: 16px;
	--bs-border-radius: 0;
}

@media (min-width: 992px) {
	:root, [data-bs-theme=dark], [data-bs-theme=light] {
		--bs-body-font-size: 16px;
	}
}

[data-bs-theme=dark] {
	--bs-body-color: #f5f5f5;
	--bs-body-bg: #0C111D;
	--bs-emphasis-color: #F5F5F6;
	--bs-emphasis-color-rgb: 245, 245, 246;
	--bs-secondary-color: #94969C;
	--bs-secondary-bg: #161B26;
	--bs-secondary-bg-rgb: 22, 27, 38;
	--bs-secondary-text-emphasis: #CECFD2;
	--bs-border-color: #333741;
	--bs-gray-900: #1b1b26;
	--bs-gray-800: #1F242F;
	--bs-gray-700: #333741;
	--bs-gray-600: #61646c;
	--bs-gray-500: #85888e;
	--bs-gray-400: #94969c;
	--bs-gray-300: #cecfd2;
	--bs-gray-200: #ececed;
}

[data-bs-theme=light] {
	--bs-border-color: #cccccc;
}

body {
	letter-spacing: 0.5px;
}

.navbar {
	--bs-navbar-padding-y: 14px;
	--bs-navbar-toggler-padding-y: 0.3125rem;
	--bs-navbar-toggler-padding-x: 10px;
	--bs-navbar-nav-link-padding-x: 1.3rem;
	border-bottom: 1px solid rgba(55, 154, 230, 0.12);
	background: rgba(12, 17, 29, 0.85);
	backdrop-filter: blur(24px) saturate(1.4);
	-webkit-backdrop-filter: blur(24px) saturate(1.4);
	position: sticky;
	top: 0;
	z-index: 1030;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
	background: rgba(12, 17, 29, 0.95);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(55, 154, 230, 0.1);
}

.navbar-nav {
	--bs-nav-link-padding-y: 0.5rem;
	--bs-nav-link-color: #b0b3b8;
	--bs-nav-link-font-weight: medium;
}

.navbar-nav .nav-item .nav-link {
	font-weight: 500;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: all 0.25s ease;
	font-size: 15px;
}


.navbar-nav .nav-item .nav-link:hover {
	background-color: rgba(55, 154, 230, 0.08);
	border-color: rgba(55, 154, 230, 0.15);
	color: #fff;
}

.btn-primary {
	--bs-btn-bg: #379AE6;
	--bs-btn-border-color: #379AE6;
	--bs-btn-active-bg: #0c87e5;
	--bs-btn-hover-bg: #0c87e5;
	--bs-btn-hover-border-color: #0c87e5;
}


.pattern-square {
    position: relative
}

.pattern-square:after {
    background-image: url(../media/pattern.svg);
    background-position: top;
    bottom: 0;
    content: "";
    height: 312px;
    left: 0;
    -webkit-mask-image: linear-gradient(0deg,transparent 35%,#000 75%);
    mask-image: linear-gradient(0deg,transparent 35%,#000 75%);
    padding: 40px 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1
}

.btn {
	--bs-btn-padding-x: 1.2rem;
	--bs-btn-padding-y: 0.5rem;
	--bs-btn-font-weight: 600;
	--bs-btn-font-size: 16px;
}

.navbar-brand {
	position: relative;
	margin-right: 1.5rem;
}

.navbar-brand img {
	height: 40px;
	filter: drop-shadow(0 0 12px rgba(55, 154, 230, 0.2));
	transition: filter 0.3s ease;
}

.navbar-brand:hover img {
	filter: drop-shadow(0 0 20px rgba(55, 154, 230, 0.35));
}

footer .navbar-brand img {
	height: 38px;
}

.container-fluid, .container-xl, .container-xxl {
	--bs-gutter-x: 50px;
}

.h1, h1 {
	font-size: 40px;
	font-weight: 600;
}

@media (min-width: 1200px) {
	.h1, h1 {
		font-size: 50px;
	}
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}

.dropdown-toggle::after {
	-webkit-mask-image: url(../icons/arrow-down-s-line.svg);
	mask-image: url(../icons/arrow-down-s-line.svg);
	height: 18px;
	width: 14px;
	vertical-align: middle;
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
	margin: 0;
	display: inline-block;
	flex-shrink: 0;
	border: 0;
	background-color: var(--bs-nav-link-color);
}

.home-video-wrapper {
	position: relative;
}

.home-video-wrapper video {
	width: 100%;
}

.home-video-wrapper .btn-video {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	position: absolute;
	height: 52px;
	width: 52px;
	top: calc(50% - 26px);
	left: calc(50% - 26px);
	z-index: 100;
	border: 0;
}

.home-video-wrapper .btn-video .icon {
	height: 30px;
	width: 30px;
	-webkit-mask-size: 30px 30px;
	mask-size: 30px 30px;
}

.home-video-wrapper .btn-play {
	display: none;
}

.home-video-wrapper .btn-pause {
	display: none;
}

.home-video-wrapper.playing:hover .btn-pause {
	display: flex;
}

.form-control, .form-select {
	background-color: transparent;
}

.form-label {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 5px;
	color: var(--bs-secondary-color);
}

.form-control:focus, .form-select:focus {
	box-shadow: none;
	outline: 0;
	border-color: #379AE6;
}

.dropdown-menu {
	--bs-dropdown-link-active-bg: rgba(55, 154, 230, 0.1);
	--bs-dropdown-link-hover-bg: rgba(55, 154, 230, 0.08);
	--bs-dropdown-item-padding-y: 0.75rem;
	--bs-dropdown-border-color: rgba(55, 154, 230, 0.12);
	--bs-dropdown-spacer: 0.6rem;
	--bs-dropdown-padding-x: 0.75rem;
	--bs-dropdown-padding-y: 0.75rem;
	--bs-bg-opacity: 1;
	background: rgba(16, 21, 33, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(55, 154, 230, 0.08);
	border-radius: 12px;
	animation: fade-in-up 0.2s ease-out;
}

.wide-dropdown-menu {
	width: 400px;
}

@media (max-width: 1199px) {
	.wide-dropdown-menu {
		width: 100%;
	}
}

.mega-menu .mega-menu-header {
	padding: 1rem;
}

.fs-18px {
	font-size: 18px !important;
}

.dropdown-item {
	--bs-dropdown-item-border-radius: var(--bs-border-radius);
	height: 100%;
}

@media (min-width: 1200px) {
	.dropdown-menu.mega-menu {
		width: 750px;
		left: 50% !important;
		transform: translateX(-50%);
	}
	/* .dropdown-menu::before {
		content: '';
		position: absolute;
		top: -10px;
		border-width: 0 10px 10px 10px;
		border-style: solid;
		border-color: transparent transparent var(--bs-tertiary-bg) transparent;
		z-index: 1001;
	} */
	.dropdown-menu:not(.dropdown-menu-end)::before {
		left: 50%;
		transform: translateX(-50%);
	}
	.dropdown-menu.dropdown-menu-end::before {
		right: 60px;
	}
}

.dropdown-menu.mega-menu .dropdown-item {
	white-space: normal;
}

.dropdown-item {
	border-radius: 10px;
	transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-title {
	color: #fff;
}

.dropdown-item-title {
	font-weight: 600;
	margin-bottom: 0.35rem;
	display: block;
	line-height: 20px;
	transition: color 0.2s ease;
}

.dropdown-item-description {
	display: block;
	font-size: 14px;
	white-space: initial;
	line-height: 1.5;
}

.icon.dropdown-item-icon {
	background-color: #379AE6;
	height: 24px;
	width: 24px;
	mask-size: 24px 24px;
}

.section {
	padding: 70px 0;
}

@media (min-width: 992px) {
	.section {
		padding: 100px 0;
	}
}

.section:last-of-type {
	padding-bottom: 100px;
}

.about-number-box {
	height: 40px;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 600;
	background-color: #379AE6;
	border-radius: 50%;
	color: #fff;
}

.text-300 {
	color: #CECFD2;
}

footer .nav-link {
	color: var(--bs-secondary-color);
	position: relative;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	font-weight: 600;
}

footer .nav-link:hover {
	color: var(--bs-body-color);
}

footer .navbar-brand>img {
	filter: grayscale(100%);
}

.btn-dark {
	--bs-btn-bg: var(--bs-secondary-bg);
	--bs-btn-border-color: var(--bs-secondary-bg);
	--bs-btn-color: var(--bs-secondary-text-emphasis);
	--bs-btn-hover-bg: var(--bs-gray-800);
}

.icon-box {
	display: inline-flex;
	height: 50px;
	width: 50px;
	border-radius: 5px;
	border: 1px solid var(--bs-border-color);
	align-items: center;
	justify-content: center;
}

.icon-box > i {
	background-color: #CECFD2;
	height: 24px;
	width: 24px;
	mask-size: 24px 24px;
}

hr {
	border-top-color: var(--bs-gray-600);
}

.hero-section h1 {
	font-size: 60px;
	line-height: 70px;
	letter-spacing: -1px;
	font-weight: 800;
}

@media (min-width: 768px) {
	.hero-section h1 {
		font-size: 80px;
		line-height: 90px;
	}
}

@media (min-width: 991px) {
	.hero-section h1 {
		font-size: 90px;
		line-height: 100px;
	}
}

.glow-bg {
	height: 100%; aspect-ratio: 1 / 1; 
	border-radius: 50%;
	background-color:#333741;
	filter: blur(122px);
	position: absolute;
	z-index: -1;
}

.tns-outer {
	position: relative;
}

.tns-outer [data-action="stop"] {
	display: none;
}

.companies-carousel.tns-slider{
	margin: 0 auto;
	display: flex;
	align-items: center;
}

.companies-carousel.tns-slider img {
	max-width: 80%;
}

@media (min-width: 1200px) {
	.map-section {
		background-image: url(/media/Map_new.png);
		background-repeat: no-repeat;
		background-position-x: right;
		background-size: auto 100%;
	}
}

.reviews-carousel {
	font-size: 24px;
}

#carousel_reviews-ow .tns-controls {
	position: absolute;
}

#carousel_reviews-ow .tns-controls {
	position: absolute;
	right: 0;
	top: 20px;
	z-index: 1000;
	background-color: var(--bs-body-bg);
}

#carousel_reviews-ow .tns-controls button {
	border: 0;
	width: 40px;
	height: 40px;
	margin-left: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255,255,255,0.05);
}

#carousel_reviews-ow .tns-controls button:hover {
	background-color: rgba(255,255,255,0.1);	
}

#carousel_reviews-ow .tns-controls button img {
	height: 24px;
	width: 24px;
}

.review-img {
	height: 70px;
	width: 70px;
}

.toast {
	--bs-toast-bg: var(--bs-body-bg);
	--bs-toast-font-size: 16px;
}


.industry-ddl-item{
	color: #202020;
}

/* ==========================================================
   REASONING AI PREMIUM DESIGN SYSTEM
   ========================================================== */

/* --- Keyframe Animations --- */
@keyframes float-orb {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(30px, -25px) scale(1.05); }
	66% { transform: translate(-20px, 15px) scale(0.97); }
}

@keyframes gradient-shift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}

@keyframes fade-in-up {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes node-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(55, 154, 230, 0.4); }
	50% { box-shadow: 0 0 0 12px rgba(55, 154, 230, 0); }
}

@keyframes draw-line {
	from { stroke-dashoffset: 200; }
	to { stroke-dashoffset: 0; }
}

/* --- Gradient Text --- */
.gradient-text {
	background: linear-gradient(135deg, #ffffff 0%, #379AE6 60%, #7ec8f8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* --- Section Kicker Pill --- */
.section-kicker {
	display: inline-block;
	padding: 6px 20px;
	background: linear-gradient(135deg, rgba(55, 154, 230, 0.15) 0%, rgba(55, 154, 230, 0.05) 100%);
	border: 1px solid rgba(55, 154, 230, 0.3);
	border-radius: 30px;
	color: #379AE6;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 20px;
}

/* --- Hero Section Backgrounds --- */
.hero-glow {
	position: relative;
	overflow: hidden;
}

.hero-glow::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -100px;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(55, 154, 230, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	animation: float-orb 20s ease-in-out infinite;
	pointer-events: none;
}

.hero-glow::after {
	content: '';
	position: absolute;
	bottom: -150px;
	left: -80px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(55, 154, 230, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	animation: float-orb 15s ease-in-out infinite reverse;
	pointer-events: none;
}

.hero-glow > * {
	position: relative;
	z-index: 1;
}

/* --- Glass Card --- */
.glass-card {
	background: rgba(22, 27, 38, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(55, 154, 230, 0.12);
	border-radius: 20px;
	padding: 36px 28px;
	height: 100%;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
	border-color: rgba(55, 154, 230, 0.35);
	transform: translateY(-6px);
	box-shadow: 0 24px 64px rgba(55, 154, 230, 0.08), 0 0 0 1px rgba(55, 154, 230, 0.15);
}

/* --- Feature Cards (upgraded) --- */
.feature-card {
	background: rgba(22, 27, 38, 0.5);
	border: 1px solid rgba(55, 154, 230, 0.1);
	border-radius: 20px;
	padding: 36px 28px;
	text-align: left;
	height: 100%;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #379AE6, transparent);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.feature-card:hover {
	border-color: rgba(55, 154, 230, 0.3);
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
	opacity: 1;
}

.feature-card h5 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--bs-emphasis-color);
}

.feature-card p {
	color: var(--bs-gray-400);
	font-size: 15px;
	margin-bottom: 0;
	line-height: 1.7;
}

/* --- Icon with Glow Background --- */
.icon-glow {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(55, 154, 230, 0.2) 0%, rgba(55, 154, 230, 0.05) 100%);
	border: 1px solid rgba(55, 154, 230, 0.25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	flex-shrink: 0;
}

.icon-glow i {
	background-color: #379AE6;
	height: 26px;
	width: 26px;
	mask-size: 26px 26px;
	-webkit-mask-size: 26px 26px;
}

/* --- Reasoning Steps (upgraded) --- */
.reasoning-steps {
	position: relative;
	padding-left: 0;
}

.reasoning-step {
	position: relative;
	padding-left: 76px;
	padding-bottom: 44px;
}

.reasoning-step:last-child {
	padding-bottom: 0;
}

.reasoning-step::before {
	content: attr(data-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #379AE6, #1a6fc0);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	box-shadow: 0 4px 20px rgba(55, 154, 230, 0.3);
}

.reasoning-step::after {
	content: '';
	position: absolute;
	left: 23px;
	top: 48px;
	width: 2px;
	height: calc(100% - 48px);
	background: linear-gradient(180deg, rgba(55, 154, 230, 0.4), rgba(55, 154, 230, 0.08));
}

.reasoning-step:last-child::after {
	display: none;
}

.reasoning-step h5 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--bs-emphasis-color);
}

.reasoning-step p {
	color: var(--bs-gray-400);
	font-size: 15px;
	margin-bottom: 0;
	line-height: 1.6;
}

/* --- CTA Banner (upgraded with animated gradient) --- */
.cta-banner {
	background: linear-gradient(135deg, #0d3a5c 0%, #379AE6 40%, #1a6fc0 70%, #0d3a5c 100%);
	background-size: 300% 300%;
	animation: gradient-shift 10s ease infinite;
	padding: 100px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 60%;
	height: 200%;
	background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 60%);
	pointer-events: none;
}

.cta-banner h2 {
	color: #fff;
	font-size: 40px;
	font-weight: 800;
	margin-bottom: 16px;
	position: relative;
}

.cta-banner p {
	position: relative;
}

.cta-banner .btn {
	margin: 0 8px;
	position: relative;
}

/* --- Stats / Metrics Bar --- */
.stats-bar {
	border-top: 1px solid rgba(55, 154, 230, 0.15);
	border-bottom: 1px solid rgba(55, 154, 230, 0.15);
	background: rgba(55, 154, 230, 0.03);
	padding: 48px 0;
}

.stat-item {
	text-align: center;
	padding: 12px 20px;
}

.stat-number {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.1;
	background: linear-gradient(135deg, #ffffff 20%, #379AE6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 8px;
}

.stat-label {
	font-size: 13px;
	color: var(--bs-gray-400);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

/* --- Comparison Table (upgraded) --- */
.comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
	padding: 18px 24px;
	border-bottom: 1px solid rgba(51, 55, 65, 0.6);
	text-align: left;
	font-size: 15px;
}

.comparison-table thead th {
	font-weight: 700;
	font-size: 16px;
	padding-bottom: 20px;
	border-bottom-width: 2px;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
	background: rgba(55, 154, 230, 0.06);
}

.comparison-table thead th.highlight {
	border-bottom: 2px solid #379AE6;
	color: #379AE6;
}

.comparison-table tbody tr {
	transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
	background-color: rgba(55, 154, 230, 0.03);
}

/* --- Toggle Accordion --- */
.toggle-container {
	width: 100%;
	max-width: 600px;
	background: rgba(22, 27, 38, 0.5);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(55, 154, 230, 0.1);
	margin-bottom: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.toggle-container.active {
	border-color: rgba(55, 154, 230, 0.4);
	box-shadow: 0 8px 32px rgba(55, 154, 230, 0.08);
}

.toggle-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 28px;
	min-height: 72px;
	cursor: pointer;
}

.toggle-title {
	font-size: 18px;
	font-weight: 600;
	transition: color 0.3s ease;
}

.toggle-container.active .toggle-title {
	color: #379AE6;
}

.toggle-btn {
	width: 32px;
	height: 32px;
	background: rgba(55, 154, 230, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: #94969C;
	font-size: 20px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.toggle-container.active .toggle-btn {
	background: #379AE6;
	color: #fff;
}

.dropdown-content {
	padding: 0 28px 24px;
	color: var(--bs-gray-400);
	font-size: 15px;
	display: none;
	line-height: 1.7;
}

/* --- Use Case / Industry Cards (upgraded) --- */
.use-case-card {
	background: rgba(22, 27, 38, 0.4);
	border: 1px solid rgba(55, 154, 230, 0.1);
	border-radius: 20px;
	padding: 36px;
	height: 100%;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.use-case-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #379AE6, #7ec8f8);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.use-case-card:hover {
	border-color: rgba(55, 154, 230, 0.25);
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.use-case-card:hover::after {
	opacity: 1;
}

.use-case-card h5 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 14px;
}

.use-case-card p {
	color: var(--bs-gray-400);
	font-size: 15px;
	margin-bottom: 0;
	line-height: 1.7;
}

/* --- Button Styles --- */
.btn-outline-light {
	--bs-btn-color: #fff;
	--bs-btn-border-color: rgba(255,255,255,0.3);
	--bs-btn-hover-bg: rgba(255,255,255,0.1);
	--bs-btn-hover-border-color: rgba(255,255,255,0.5);
	--bs-btn-hover-color: #fff;
}

.btn-rounded {
	border-radius: 8px;
}

.btn-primary {
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(55, 154, 230, 0.25);
	transition: all 0.3s ease;
}

.btn-primary:hover {
	box-shadow: 0 4px 24px rgba(55, 154, 230, 0.4);
	transform: translateY(-1px);
}

.btn-primary::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
	transition: left 0.5s ease;
}

.btn-primary:hover::after {
	left: 100%;
}

/* Navbar CTA button glow */
.navbar .btn-primary {
	box-shadow: 0 2px 16px rgba(55, 154, 230, 0.3);
	font-size: 14px;
	padding: 8px 20px;
}

/* --- Platform Cards (upgraded) --- */
.platform-card {
	background: rgba(22, 27, 38, 0.5);
	border: 1px solid rgba(55, 154, 230, 0.1);
	border-radius: 20px;
	padding: 36px;
	height: 100%;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.platform-card:hover {
	border-color: rgba(55, 154, 230, 0.35);
	transform: translateY(-6px);
	box-shadow: 0 24px 64px rgba(55, 154, 230, 0.1);
}

.platform-card .platform-icon {
	background-color: #379AE6;
	height: 32px;
	width: 32px;
	mask-size: 32px 32px;
	-webkit-mask-size: 32px 32px;
	margin-bottom: 16px;
}

.platform-card h4 {
	font-size: 22px;
	margin-bottom: 8px;
	font-weight: 700;
}

.platform-card .tagline {
	color: #379AE6;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 20px;
}

.platform-card ul {
	padding-left: 0;
	list-style: none;
	margin-bottom: 24px;
}

.platform-card ul li {
	color: var(--bs-gray-300);
	font-size: 15px;
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}

.platform-card ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #379AE6;
}

/* --- Reasoning Node Visualization (replaces dashed placeholders) --- */
.reasoning-visual {
	position: relative;
	min-height: 400px;
	background: radial-gradient(ellipse at center, rgba(55, 154, 230, 0.06) 0%, transparent 70%);
	border-radius: 24px;
	overflow: hidden;
}

.reasoning-visual .node {
	position: absolute;
	border-radius: 50%;
	background: rgba(55, 154, 230, 0.08);
	border: 1.5px solid rgba(55, 154, 230, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: node-pulse 3s ease-in-out infinite;
}

.reasoning-visual .node i {
	background-color: #379AE6;
}

/* --- Animated Reasoning Explainer (Homepage Hero) --- */
@keyframes particle-float {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
	25% { transform: translate(10px, -15px) scale(1.2); opacity: 0.6; }
	50% { transform: translate(-8px, -25px) scale(0.9); opacity: 0.4; }
	75% { transform: translate(15px, -10px) scale(1.1); opacity: 0.5; }
}

@keyframes flow-pulse {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 1; }
}

@keyframes trace-type {
	from { opacity: 0; transform: translateX(-8px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes ring-rotate {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ring-counter-rotate {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes core-pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50% { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes step-activate {
	0% { border-color: rgba(55, 154, 230, 0.15); background: rgba(22, 27, 38, 0.6); }
	50% { border-color: rgba(55, 154, 230, 0.6); background: rgba(55, 154, 230, 0.12); }
	100% { border-color: rgba(55, 154, 230, 0.15); background: rgba(22, 27, 38, 0.6); }
}

@keyframes data-flow {
	0% { stroke-dashoffset: 60; opacity: 0.2; }
	50% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0.2; }
}

.reasoning-explainer {
	position: relative;
	min-height: 440px;
	background: rgba(12, 17, 29, 0.4);
	border: 1px solid rgba(55, 154, 230, 0.1);
	border-radius: 24px;
	overflow: hidden;
	padding: 32px 24px;
}

.explainer-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.explainer-particles .particle {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #379AE6;
	animation: particle-float var(--dur) ease-in-out var(--delay) infinite;
	opacity: 0.3;
}

/* Horizontal flow at the top */
.explainer-flow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 24px;
	position: relative;
	z-index: 2;
}

.flow-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 10px;
	border: 1px solid rgba(55, 154, 230, 0.15);
	border-radius: 14px;
	background: rgba(22, 27, 38, 0.6);
	min-width: 80px;
	animation: step-activate 4s ease-in-out infinite;
	animation-delay: calc((attr(data-step type(<integer>), 1) - 1) * 1s);
}

.flow-step[data-step="1"] { animation-delay: 0s; }
.flow-step[data-step="2"] { animation-delay: 1s; }
.flow-step[data-step="3"] { animation-delay: 2s; }
.flow-step[data-step="4"] { animation-delay: 3s; }

.flow-step.active {
	border-color: rgba(55, 154, 230, 0.5);
	background: rgba(55, 154, 230, 0.08);
	box-shadow: 0 0 24px rgba(55, 154, 230, 0.15);
}

.flow-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(55, 154, 230, 0.2), rgba(55, 154, 230, 0.05));
	display: flex;
	align-items: center;
	justify-content: center;
}

.flow-icon i {
	background-color: #379AE6;
	height: 20px;
	width: 20px;
	mask-size: 20px 20px;
	-webkit-mask-size: 20px 20px;
}

.flow-label {
	font-size: 10px;
	font-weight: 700;
	color: #b0b3b8;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	text-align: center;
	line-height: 1.2;
}

.flow-connector {
	width: 36px;
	flex-shrink: 0;
}

.flow-connector svg {
	width: 100%;
	height: 20px;
}

.flow-path {
	fill: none;
	stroke: #379AE6;
	stroke-width: 1.5;
	stroke-dasharray: 8 4;
	animation: data-flow 2s linear infinite;
}

.flow-arrow {
	fill: #379AE6;
	opacity: 0.6;
}

/* Center engine core */
.engine-core {
	position: relative;
	width: 140px;
	height: 140px;
	margin: 16px auto;
	z-index: 2;
}

.core-ring {
	position: absolute;
	border-radius: 50%;
	border: 1.5px solid transparent;
}

.ring-outer {
	width: 140px;
	height: 140px;
	top: 50%;
	left: 50%;
	border-color: rgba(55, 154, 230, 0.15);
	border-top-color: #379AE6;
	border-right-color: rgba(55, 154, 230, 0.4);
	animation: ring-rotate 6s linear infinite;
}

.ring-inner {
	width: 100px;
	height: 100px;
	top: 50%;
	left: 50%;
	border-color: rgba(55, 154, 230, 0.1);
	border-bottom-color: #379AE6;
	border-left-color: rgba(55, 154, 230, 0.3);
	animation: ring-counter-rotate 4s linear infinite;
}

.core-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(55, 154, 230, 0.1);
	border: 1px solid rgba(55, 154, 230, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: core-pulse 3s ease-in-out infinite;
	box-shadow: 0 0 30px rgba(55, 154, 230, 0.15);
}

/* Trace output panel */
.trace-panel {
	position: relative;
	z-index: 2;
	background: rgba(10, 14, 24, 0.85);
	border: 1px solid rgba(55, 154, 230, 0.15);
	border-radius: 12px;
	overflow: hidden;
	max-width: 360px;
	margin: 20px auto 0;
	font-family: 'SF Mono', 'Fira Code', monospace;
}

.trace-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: rgba(22, 27, 38, 0.8);
	border-bottom: 1px solid rgba(55, 154, 230, 0.1);
}

.trace-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.trace-dot.green { background: #34d399; }
.trace-dot.yellow { background: #fbbf24; }
.trace-dot.red { background: #f87171; }

.trace-title {
	font-size: 11px;
	color: #94969C;
	margin-left: 8px;
}

.trace-body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.trace-line {
	font-size: 11px;
	line-height: 1.6;
	opacity: 0;
	animation: trace-type 0.4s ease-out forwards;
	animation-delay: var(--line-delay);
}

.trace-key { color: #7ec8f8; }
.trace-val { color: #fbbf24; }
.trace-num { color: #34d399; }
.trace-zero { color: #34d399; font-weight: 700; }
.trace-pass { color: #34d399; font-weight: 700; text-transform: uppercase; }

@media (max-width: 991px) {
	.reasoning-explainer {
		min-height: 360px;
		padding: 20px 16px;
	}
	.flow-step {
		min-width: 60px;
		padding: 8px 6px;
	}
	.flow-label {
		font-size: 8px;
	}
	.flow-connector {
		width: 24px;
	}
	.engine-core {
		width: 100px;
		height: 100px;
	}
	.ring-outer {
		width: 100px;
		height: 100px;
	}
	.ring-inner {
		width: 72px;
		height: 72px;
	}
	.core-center {
		width: 44px;
		height: 44px;
	}
	.core-center i {
		height: 22px !important;
		width: 22px !important;
		mask-size: 22px 22px !important;
		-webkit-mask-size: 22px 22px !important;
	}
	.trace-panel {
		max-width: 280px;
	}
}

.reasoning-visual .node.lg {
	width: 100px;
	height: 100px;
}

.reasoning-visual .node.md {
	width: 72px;
	height: 72px;
	animation-delay: 0.5s;
}

.reasoning-visual .node.sm {
	width: 52px;
	height: 52px;
	animation-delay: 1s;
}

.reasoning-visual .center-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 2;
}

.reasoning-visual .center-label span {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #379AE6;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.reasoning-visual svg.connectors {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.reasoning-visual svg.connectors line {
	stroke: rgba(55, 154, 230, 0.15);
	stroke-width: 1;
	stroke-dasharray: 6 4;
}

/* --- Section Transition Divider --- */
.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent 5%, rgba(55, 154, 230, 0.2) 50%, transparent 95%);
	margin: 0;
	border: none;
}

/* --- Scroll Animations --- */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Industry Image Cards --- */
.industry-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	height: 380px;
	transition: transform 0.35s ease;
}

.industry-card:hover {
	transform: translateY(-6px);
}

.industry-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.industry-card:hover img {
	transform: scale(1.05);
}

.industry-card .overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 32px;
	background: linear-gradient(0deg, rgba(12, 17, 29, 0.95) 0%, rgba(12, 17, 29, 0.7) 60%, transparent 100%);
}

.industry-card .overlay h4 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
}

.industry-card .overlay p {
	color: var(--bs-gray-300);
	font-size: 14px;
	margin-bottom: 16px;
	line-height: 1.5;
}

/* --- Quote / Testimonial Styling --- */
.testimonial-card {
	background: rgba(22, 27, 38, 0.5);
	border: 1px solid rgba(55, 154, 230, 0.1);
	border-radius: 20px;
	padding: 40px;
	position: relative;
}

.testimonial-card::before {
	content: '\201C';
	position: absolute;
	top: 20px;
	left: 28px;
	font-size: 72px;
	color: rgba(55, 154, 230, 0.2);
	font-family: Georgia, serif;
	line-height: 1;
}

.testimonial-card blockquote {
	font-size: 18px;
	line-height: 1.7;
	color: var(--bs-gray-300);
	margin-bottom: 24px;
	padding-left: 0;
	border: none;
}

/* --- Section with subtle background pattern --- */
.section-dark {
	background: linear-gradient(180deg, var(--bs-body-bg) 0%, rgba(22, 27, 38, 0.8) 50%, var(--bs-body-bg) 100%);
}

/* --- Asset placeholder (keep for pages not yet updated, but improved) --- */
.asset-placeholder {
	border: 1px solid rgba(55, 154, 230, 0.15);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(55, 154, 230, 0.4);
	font-weight: 600;
	min-height: 300px;
	background: radial-gradient(ellipse at center, rgba(55, 154, 230, 0.04) 0%, rgba(12, 17, 29, 0.6) 100%);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
	.cta-banner {
		padding: 60px 0;
	}
	.cta-banner h2 {
		font-size: 28px;
	}
	.reasoning-step {
		padding-left: 60px;
	}
	.reasoning-step::before {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
	.reasoning-step::after {
		left: 19px;
		top: 40px;
		height: calc(100% - 40px);
	}
	.toggle-container {
		max-width: 100%;
	}
	.stat-number {
		font-size: 36px;
	}
	.industry-card {
		height: 300px;
	}
	.reasoning-visual {
		min-height: 300px;
	}
}

@media (max-width: 767px) {
	.stats-bar .row > div + div {
		border-top: 1px solid rgba(55, 154, 230, 0.1);
	}
	.industry-card {
		height: 260px;
	}
}

/* ==========================================================
   TECHNOLOGY PAGE — MULTI-SCENE ANIMATED EXPLAINER
   ========================================================== */

/* --- Container --- */
.tech-explainer {
	position: relative;
	background: rgba(10, 14, 24, 0.7);
	border: 1px solid rgba(55, 154, 230, 0.15);
	border-radius: 20px;
	overflow: hidden;
	min-height: 500px;
}

/* --- Progress bar --- */
.explainer-progress {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(55, 154, 230, 0.1);
	z-index: 10;
}

.progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #379AE6, #7ec8f8);
	transition: width 0.3s linear;
	box-shadow: 0 0 8px rgba(55, 154, 230, 0.4);
}

.explainer-scene-label {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 11px;
	color: #94969C;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	z-index: 10;
}

/* --- Scene transitions --- */
.explainer-scene {
	position: absolute;
	inset: 0;
	padding: 44px 28px 50px;
	opacity: 0;
	transform: translateX(40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	pointer-events: none;
	display: flex;
	flex-direction: column;
}

.explainer-scene.active {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
	position: relative;
}

.explainer-scene.exit-left {
	opacity: 0;
	transform: translateX(-40px);
}

.scene-title {
	font-size: 13px;
	font-weight: 700;
	color: #379AE6;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 24px;
	text-align: center;
}

/* --- Scene dots --- */
.explainer-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.scene-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(55, 154, 230, 0.2);
	border: 1px solid rgba(55, 154, 230, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.scene-dot.active {
	background: #379AE6;
	border-color: #379AE6;
	box-shadow: 0 0 10px rgba(55, 154, 230, 0.5);
	width: 28px;
	border-radius: 6px;
}

/* =========================
   SCENE 1: The LLM Problem
   ========================= */
.scene-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	flex: 1;
}

.scene1-query {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.query-bubble {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	background: rgba(55, 154, 230, 0.08);
	border: 1px solid rgba(55, 154, 230, 0.25);
	border-radius: 14px;
	font-size: 14px;
	color: #e0e0e0;
	opacity: 0;
	animation: fade-in-up 0.5s ease forwards;
}

.query-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(55, 154, 230, 0.2);
	color: #379AE6;
	font-weight: 800;
	font-size: 16px;
	flex-shrink: 0;
}

.query-text {
	font-style: italic;
	color: #b0b3b8;
}

.query-arrow {
	width: 30px;
	height: 50px;
	opacity: 0;
	animation: fade-in-up 0.4s ease 0.3s forwards;
}

/* Black box */
.scene1-blackbox {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.blackbox-shell {
	width: 160px;
	height: 100px;
	border-radius: 16px;
	background: rgba(30, 20, 20, 0.8);
	border: 1px solid rgba(248, 113, 113, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	opacity: 0;
	animation: fade-in-up 0.5s ease 0.5s forwards;
}

.blackbox-inner {
	text-align: center;
	z-index: 2;
}

.blackbox-label {
	font-size: 20px;
	font-weight: 800;
	color: #f87171;
	letter-spacing: 3px;
}

.blackbox-sublabel {
	font-size: 10px;
	color: rgba(248, 113, 113, 0.6);
	text-transform: uppercase;
	letter-spacing: 2px;
}

@keyframes swirl-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.blackbox-swirl {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.swirl-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid transparent;
}

.swirl-ring.r1 {
	width: 140px;
	height: 140px;
	top: -20px;
	left: 10px;
	border-top-color: rgba(248, 113, 113, 0.15);
	border-right-color: rgba(248, 113, 113, 0.08);
	animation: swirl-spin 4s linear infinite;
}

.swirl-ring.r2 {
	width: 100px;
	height: 100px;
	top: 0;
	right: 0;
	border-bottom-color: rgba(248, 113, 113, 0.12);
	animation: swirl-spin 3s linear infinite reverse;
}

.swirl-ring.r3 {
	width: 60px;
	height: 60px;
	bottom: 0;
	left: 50px;
	border-left-color: rgba(248, 113, 113, 0.1);
	animation: swirl-spin 5s linear infinite;
}

/* Bad outputs */
.scene1-outputs {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.bad-output {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(248, 113, 113, 0.06);
	border: 1px solid rgba(248, 113, 113, 0.2);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #fca5a5;
	opacity: 0;
}

.bad-output.o1 { animation: fade-in-up 0.4s ease 1s forwards; }
.bad-output.o2 { animation: fade-in-up 0.4s ease 1.3s forwards; }
.bad-output.o3 { animation: fade-in-up 0.4s ease 1.6s forwards; }

.bad-x {
	color: #f87171;
	font-size: 16px;
}

.bad-tag {
	font-size: 10px;
	color: rgba(248, 113, 113, 0.5);
	font-weight: 500;
}

.bad-verdict {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(248, 113, 113, 0.7);
	font-weight: 600;
	text-align: center;
	opacity: 0;
	animation: fade-in-up 0.4s ease 2s forwards;
}

/* ===============================
   SCENE 2: The Reasoning Pipeline
   =============================== */
@keyframes pipe-activate {
	0% { border-color: rgba(55, 154, 230, 0.1); box-shadow: none; }
	50% { border-color: #379AE6; box-shadow: 0 0 20px rgba(55, 154, 230, 0.25); }
	100% { border-color: rgba(55, 154, 230, 0.1); box-shadow: none; }
}

@keyframes pipe-line-flow {
	from { background-position: 0 0; }
	to { background-position: 20px 0; }
}

@keyframes pipe-ring-pulse {
	0%, 100% { transform: scale(1); opacity: 0.2; }
	50% { transform: scale(1.6); opacity: 0; }
}

.pipeline-flow {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0 20px;
	flex: 1;
}

.pipe-step {
	display: flex;
	align-items: center;
	gap: 16px;
	opacity: 0;
	transform: translateX(-20px);
}

.pipe-step[data-pipe="1"] { animation: slide-in-left 0.4s ease 0.2s forwards; }
.pipe-step[data-pipe="2"] { animation: slide-in-left 0.4s ease 0.6s forwards; }
.pipe-step[data-pipe="3"] { animation: slide-in-left 0.4s ease 1.0s forwards; }
.pipe-step[data-pipe="4"] { animation: slide-in-left 0.4s ease 1.4s forwards; }
.pipe-step[data-pipe="5"] { animation: slide-in-left 0.4s ease 1.8s forwards; }

.pipe-node {
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(22, 27, 38, 0.8);
	border: 1.5px solid rgba(55, 154, 230, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.pipe-node.active-node {
	border-color: #379AE6;
	background: rgba(55, 154, 230, 0.1);
	box-shadow: 0 0 20px rgba(55, 154, 230, 0.2);
}

.pipe-icon i {
	background-color: #379AE6;
	height: 22px;
	width: 22px;
	mask-size: 22px 22px;
	-webkit-mask-size: 22px 22px;
}

.pipe-ring {
	position: absolute;
	inset: -6px;
	border-radius: 18px;
	border: 1px solid #379AE6;
	opacity: 0;
	animation: pipe-ring-pulse 3s ease-in-out infinite;
}

.pipe-step[data-pipe="1"] .pipe-ring { animation-delay: 0s; }
.pipe-step[data-pipe="2"] .pipe-ring { animation-delay: 0.6s; }
.pipe-step[data-pipe="3"] .pipe-ring { animation-delay: 1.2s; }
.pipe-step[data-pipe="4"] .pipe-ring { animation-delay: 1.8s; }
.pipe-step[data-pipe="5"] .pipe-ring { animation-delay: 2.4s; }

.pipe-info {
	flex: 1;
}

.pipe-name {
	font-size: 14px;
	font-weight: 700;
	color: #e0e0e0;
	margin-bottom: 2px;
}

.pipe-desc {
	font-size: 12px;
	color: #94969C;
	line-height: 1.4;
}

.pipe-connector {
	display: flex;
	align-items: center;
	padding-left: 22px;
	height: 20px;
}

.pipe-line {
	width: 2px;
	height: 100%;
	background: repeating-linear-gradient(180deg, #379AE6 0px, #379AE6 4px, transparent 4px, transparent 8px);
	background-size: 2px 20px;
	animation: pipe-line-flow 1s linear infinite;
	opacity: 0.4;
}

.pipe-dot {
	display: none;
}

/* ===============================
   SCENE 3: The Result
   =============================== */
.result-layout {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}

.good-output {
	text-align: center;
	opacity: 0;
	animation: fade-in-up 0.6s ease 0.3s forwards;
}

.good-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	background: rgba(52, 211, 153, 0.1);
	border: 1px solid rgba(52, 211, 153, 0.3);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #34d399;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.good-check {
	font-size: 16px;
}

.good-answer {
	font-size: 22px;
	color: #fff;
	font-weight: 600;
	margin-bottom: 6px;
}

.good-answer strong {
	color: #34d399;
	font-size: 26px;
}

.good-sub {
	font-size: 13px;
	color: #94969C;
	font-weight: 500;
}

/* Live trace panel */
.live-trace {
	background: rgba(10, 14, 24, 0.9);
	border: 1px solid rgba(55, 154, 230, 0.15);
	border-radius: 12px;
	overflow: hidden;
	max-width: 440px;
	margin: 0 auto;
	font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
	opacity: 0;
	animation: fade-in-up 0.5s ease 0.8s forwards;
}

.lt-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: rgba(22, 27, 38, 0.8);
	border-bottom: 1px solid rgba(55, 154, 230, 0.1);
}

.lt-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.lt-dot.g { background: #34d399; }
.lt-dot.y { background: #fbbf24; }
.lt-dot.r { background: #f87171; }

.lt-title {
	font-size: 11px;
	color: #94969C;
	margin-left: 8px;
}

.lt-body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.lt-line {
	font-size: 12px;
	line-height: 1.7;
	opacity: 0;
	transform: translateX(-8px);
}

.lt-line[data-lt="1"] { animation: trace-type 0.3s ease 1.0s forwards; }
.lt-line[data-lt="2"] { animation: trace-type 0.3s ease 1.3s forwards; }
.lt-line[data-lt="3"] { animation: trace-type 0.3s ease 1.6s forwards; }
.lt-line[data-lt="4"] { animation: trace-type 0.3s ease 1.9s forwards; }
.lt-line[data-lt="5"] { animation: trace-type 0.3s ease 2.2s forwards; }
.lt-line[data-lt="6"] { animation: trace-type 0.3s ease 2.5s forwards; }
.lt-line[data-lt="7"] { animation: trace-type 0.3s ease 2.8s forwards; }
.lt-line[data-lt="8"] { animation: trace-type 0.3s ease 3.1s forwards; }

.ltk { color: #7ec8f8; }
.ltv { color: #fbbf24; }
.ltn { color: #34d399; }
.ltz { color: #34d399; font-weight: 700; }
.ltp { color: #34d399; font-weight: 700; }

/* --- Explainer responsive --- */
@media (max-width: 991px) {
	.tech-explainer {
		min-height: 440px;
	}
	.explainer-scene {
		padding: 40px 16px 50px;
	}
	.blackbox-shell {
		width: 130px;
		height: 80px;
	}
	.blackbox-label {
		font-size: 16px;
	}
	.query-bubble {
		font-size: 12px;
		padding: 10px 16px;
	}
	.bad-output {
		font-size: 12px;
		padding: 4px 12px;
	}
	.pipe-name {
		font-size: 13px;
	}
	.pipe-desc {
		font-size: 11px;
	}
	.good-answer {
		font-size: 18px;
	}
	.good-answer strong {
		font-size: 22px;
	}
	.live-trace {
		max-width: 320px;
	}
	.lt-line {
		font-size: 10px;
	}
}