/*
 * Krivalabs.com - Premium Design System Stylesheet
 * Custom built, ultra-clean, highly optimized.
 */

/* ==========================================================================
   1. Design Tokens (CSS Variables)
   ========================================================================== */
:root {
	/* Typography */
	--font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	/* Color Palette (HSL based for easy tone adjustments) */
	--h-primary: 224;
	--s-primary: 71%;
	--l-primary: 4%;
	/* #0B0F19 - Dark luxury slate */

	--h-accent: 262;
	--s-accent: 80%;
	--l-accent: 58%;
	/* #8b5cf6 - Vibrant purple brand accent matching mascot hoodie */

	--color-dark: hsl(var(--h-primary), var(--s-primary), var(--l-primary));
	--color-dark-muted: hsl(var(--h-primary), 15%, 45%);
	--color-accent: hsl(var(--h-accent), var(--s-accent), var(--l-accent));
	--color-accent-hover: hsl(var(--h-accent), var(--s-accent), 48%);

	--color-border: rgba(15, 23, 42, 0.08);
	--color-border-focus: rgba(139, 92, 246, 0.4);

	/* Layout Gradients (Lavender/Sky Soft backdrops) */
	--color-bg-gradient: linear-gradient(180deg, #F3EEFE 0%, #FAF8FF 600px, #FFFFFF 100%);
	--color-accent-gradient: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);

	/* Glassmorphism Styles */
	--glass-bg: rgba(255, 255, 255, 0.75);
	--glass-border: rgba(255, 255, 255, 0.6);
	--glass-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.06), 0 1px 1px 0 rgba(255, 255, 255, 0.8) inset;
	--glass-shadow-hover: 0 20px 50px -15px rgba(15, 23, 42, 0.12), 0 1px 1px 0 rgba(255, 255, 255, 0.9) inset;

	/* Grid & Spacing */
	--container-width: 1240px;
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-full: 9999px;

	/* Dynamic Shadows */
	--shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
	--shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 24px 50px -15px rgba(15, 23, 42, 0.12);

	/* Transitions */
	--transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	--transition-fast: all 0.2s ease;
}

/* ==========================================================================
   2. Reset & Core Base Styles
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scrollbar-width: thin;
	scrollbar-color: rgba(139, 92, 246, 0.25) transparent;
}

/* Custom Global (Site-wide) Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: transparent;
	/* Seamless integration with gradients and backdrops */
}

::-webkit-scrollbar-thumb {
	background: rgba(139, 92, 246, 0.25);
	/* Soft brand purple thumb */
	border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(139, 92, 246, 0.55);
	/* Highlighted brand purple on hover */
}


body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	color: var(--color-dark);
	background: var(--color-bg-gradient);
	background-attachment: scroll;
	background-repeat: no-repeat;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border-radius: var(--radius-sm);
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: var(--transition-fast);
}

a:hover {
	color: var(--color-accent-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-headings);
	color: var(--color-dark);
	font-weight: 700;
	line-height: 1.15;
	margin-top: 0;
	margin-bottom: 0.5em;
	letter-spacing: -0.02em;
}

/* Fluid Typography Presets */
h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
}

h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
}

h3 {
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	font-weight: 600;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

p {
	margin-top: 0;
	margin-bottom: 1.25em;
	color: var(--color-dark-muted);
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.grid {
	display: grid;
	gap: 32px;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-sidebar {
	grid-template-columns: 2fr 1fr;
}

@media (max-width: 868px) {
	.grid-sidebar {
		grid-template-columns: 1fr;
	}
}

.flex {
	display: flex;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.section-padding {
	padding-top: clamp(60px, 8vw, 120px);
	padding-bottom: clamp(60px, 8vw, 120px);
}

/* Clear floating header space cleanly and avoid double margins */
.site-main {
	margin-top: 0 !important;
}

.site-main.section-padding {
	padding-top: 120px;
}

.text-center {
	text-align: center;
}

.text-muted {
	color: var(--color-dark-muted);
}

/* Buttons & Interactive Elements */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-family: var(--font-headings);
	font-weight: 600;
	font-size: 15px;
	border-radius: var(--radius-full);
	border: 1px solid transparent;
	cursor: pointer;
	transition: var(--transition-smooth);
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background-color: var(--color-dark);
	color: #ffffff;
}

.btn-primary:hover {
	background-color: hsl(var(--h-primary), var(--s-primary), 12%);
	color: #ffffff;
}

.btn-secondary {
	background-color: var(--glass-bg);
	border-color: var(--color-border);
	color: var(--color-dark);
}

.btn-secondary:hover {
	background-color: #ffffff;
}

/* Premium Text Rolling Effect */
.btn-text-inner {
	display: inline-block;
	position: relative;
	overflow: hidden;
	height: 1.25em;
	line-height: 1.25;
	pointer-events: none;
}

.btn-text-span {
	display: block;
	position: relative;
	transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-text-span::after {
	content: attr(data-text);
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	white-space: nowrap;
}

.btn:hover .btn-text-span {
	transform: translateY(-100%);
}

.btn-icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: var(--radius-full);
}

/* ==========================================================================
   4. Glassmorphism Components
   ========================================================================== */
.glass-panel {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
	border-radius: var(--radius-lg);
	transition: var(--transition-smooth);
}

.glass-panel-hover:hover {
	transform: translateY(-4px);
	box-shadow: var(--glass-shadow-hover);
}

.solid-panel {
	background: #ffffff;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius-lg);
	transition: var(--transition-smooth);
}

.solid-panel-hover:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}


/* Floating Navigation Header */
.site-header {
	position: fixed;
	top: 24px;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
	transition: var(--transition-smooth);
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.site-header .nav-container {
	pointer-events: auto;
	max-width: 1000px;
	/* Kept narrow as a gorgeous, compact centered floating capsule */
	width: calc(100% - 48px);
	margin: 0;
	padding: 20px 32px;
	/* Increased vertical padding to 20px for a bold, vertically thick, premium look */
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: var(--transition-smooth);
	position: relative;
}

/* Delicate specular edge lighting reflection */
.header-specular-rim {
	pointer-events: none;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 
		inset 0 1.5px 0px 0px rgba(255, 255, 255, 0.8), 
		inset 1px 0px 0px 0px rgba(255, 255, 255, 0.3), 
		inset -1px 0px 0px 0px rgba(255, 255, 255, 0.3), 
		inset 0px -1px 0px 0px rgba(255, 255, 255, 0.1);
	z-index: 5;
}

/* On Scroll Styles */
.site-header.scrolled .nav-container {
	padding: 20px 32px;
	/* Maintained identical padding to prevent jumpiness on scroll */
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
}

.site-logo-image {
	width: 38px;
	height: 38px;
	object-fit: contain;
	border-radius: var(--radius-sm);
	/* square with elegant slight curvature */
	flex-shrink: 0;
}

.site-logo-brand {
	height: 28px;
	width: auto;
	object-fit: contain;
	display: block;
	transition: var(--transition-fast);
}

.site-footer .site-logo-image {
	filter: invert(1);
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 20px;
	color: var(--color-dark);
}

.site-logo-icon {
	width: 38px;
	height: 38px;
	background-color: var(--color-dark);
	border-radius: var(--radius-full);
	color: #ffffff;
	font-weight: 800;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-navigation ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 28px;
	align-items: center;
}

.main-navigation a {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-dark-muted);
	padding: 8px 0;
	position: relative;
}

.main-navigation a:hover {
	color: var(--color-dark);
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: var(--color-dark);
	transition: var(--transition-fast);
	transform: translateX(-50%);
}

.main-navigation a:hover::after {
	width: 100%;
}

.main-navigation .current-menu-item a {
	color: var(--color-dark);
}

.main-navigation .current-menu-item a::after {
	width: 100%;
}

.header-cta .btn {
	padding: 10px 22px;
	font-size: 14px;
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.mobile-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--color-dark);
	margin-bottom: 5px;
	transition: var(--transition-fast);
}

.mobile-nav-toggle span:last-child {
	margin-bottom: 0;
}

.mobile-nav-toggle.open span:first-child {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.mobile-nav-toggle.open span:last-child {
	transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
	.main-navigation {
		display: none;
		/* Controlled by JS via active class */
		position: absolute;
		top: 100%;
		left: 12px;
		right: 12px;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		border-radius: var(--radius-lg);
		border: 1px solid var(--color-border);
		box-shadow: var(--shadow-lg);
		padding: 24px;
		margin-top: 12px;
	}

	.main-navigation.active {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}

	.main-navigation a {
		font-size: 16px;
		width: 100%;
		display: block;
	}

	.mobile-nav-toggle {
		display: block;
	}

	.header-cta {
		display: none;
	}
}

/* ==========================================================================
   5. Page Templates Layouts & Sections
   ========================================================================== */

/* Hero Styles */
.hero-section {
	padding-top: clamp(140px, 15vw, 200px);
	padding-bottom: clamp(60px, 8vw, 100px);
	text-align: center;
}

.hero-subtitle {
	max-width: 620px;
	margin: 24px auto 36px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.6;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
}

@media (max-width: 480px) {
	.hero-buttons {
		flex-direction: column;
		align-items: stretch;
		padding: 0 24px;
	}
}

/* Services Grid & Cards */
.services-section .section-header,
.apps-section .section-header {
	margin-bottom: 60px;
}

.service-card {
	padding: 40px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.service-card-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: var(--color-accent-gradient);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 28px;
}

.service-card-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.service-card h3 {
	margin-bottom: 12px;
}

.service-title-link {
	transition: color var(--transition-fast) !important;
}

.service-card:hover .service-title-link,
.service-title-link:hover {
	color: var(--color-accent) !important;
}

.service-card-meta {
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.service-card-tech {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
}

.service-card-link {
	font-weight: 600;
	font-size: 14px;
	color: var(--color-dark);
	display: flex;
	align-items: center;
	gap: 4px;
}

.service-card-link svg {
	transition: var(--transition-fast);
}

.service-card:hover .service-card-link svg {
	transform: translateX(4px);
}

/* Shopify App Showcase */
.app-card {
	padding: 32px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.app-card-header {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 24px;
}

.app-logo {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-md);
	object-fit: cover;
	box-shadow: var(--shadow-sm);
}

.app-badge-pill {
	display: inline-block;
	padding: 4px 10px;
	background-color: rgba(37, 99, 235, 0.08);
	color: var(--color-accent);
	font-size: 11px;
	font-weight: 700;
	border-radius: var(--radius-full);
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}

.app-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--color-dark-muted);
}

.app-rating-stars {
	color: #FBBF24;
	font-weight: bold;
}

.app-pricing {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
}

.app-card-footer {
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

/* Stats Section */
.stats-section {
	background: transparent;
	color: var(--color-dark);
	border: none;
	border-radius: 0;
	padding: 40px 0;
	margin-top: 60px;
	margin-bottom: 60px;
	position: relative;
}

.stats-section h2,
.stats-section p {
	color: var(--color-dark);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	position: relative;
	z-index: 2;
}

.stat-item-number {
	font-family: var(--font-headings);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1;
	background: var(--color-accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 12px;
}

.stat-item-label {
	font-weight: 600;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 6px;
}

.stat-item-desc {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

/* Call to Action Section */
.cta-banner {
	padding: 80px 40px;
	border-radius: var(--radius-lg);
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.cta-banner h2 {
	margin-bottom: 16px;
}

.cta-banner p {
	max-width: 500px;
	margin: 0 auto 32px;
}



/* ==========================================================================
   5a. Premium Interactive Homepage Sections
   ========================================================================== */

/* Human Marquee Component */
.human-marquee-container {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	background: rgba(139, 92, 246, 0.02);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	padding: 18px 0;
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 60px;
}

.human-marquee-content {
	display: inline-block;
	animation: marquee-scroll 45s linear infinite;
}

.human-marquee-content span {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-dark-muted);
	padding: 0 32px;
	letter-spacing: 0.02em;
}

.human-marquee-content .marquee-dot {
	color: var(--color-accent);
	font-weight: 700;
	padding: 0;
}

@keyframes marquee-scroll {
	0% {
		transform: translate3d(0, 0, 0);
	}

	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

.services-section {
	margin-top: clamp(60px, 8vw, 100px);
}

/* 1. Services: Scroll-Driven Capabilities Accordion */
.capabilities-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 60px;
	align-items: start;
}

.capabilities-info {
	position: sticky;
	top: calc(50vh - 220px);
}

.capabilities-cards-scroll {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-bottom: 100px;
}

.capability-card {
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	opacity: 0.1;
	/* Inactive cards are highly transparent */
	pointer-events: none;
	/* Ignore pointer clicks/hovers when card is inactive */
}

@media (min-width: 992px) {
	.capability-card {
		min-height: 65vh;
		justify-content: center;
	}
}

.capability-card.active {
	opacity: 1;
	/* Highlighted card is fully visible */
	pointer-events: auto;
}

.mobile-card-info {
	display: none;
}

.drawer-icon {
	width: 44px;
	height: 44px;
	background: rgba(139, 92, 246, 0.08);
	color: var(--color-accent);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.drawer-icon svg {
	width: 22px;
	height: 22px;
}

.drawer-tech-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tech-chip {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	background: rgba(139, 92, 246, 0.06);
	color: var(--color-accent);
	border-radius: var(--radius-full);
}

/* Abstract Graphic Placeholder Box */
.graphic-placeholder-box {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin-top: 0;
	position: relative;
	overflow: hidden;
}

.graphic-placeholder-box img {
	max-width: 320px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}


.abstract-pipeline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.abstract-pipeline::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	height: 1px;
	border-top: 2px dashed var(--color-border);
	transform: translateY(-50%);
	z-index: 1;
}

.pipeline-node {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 10px 16px;
	font-size: 12px;
	font-weight: 700;
	color: var(--color-dark-muted);
	position: relative;
	z-index: 2;
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: center;
	gap: 8px;
}

.capability-drawer.expanded .pipeline-node {
	border-color: rgba(139, 92, 246, 0.2);
}

.pipeline-node.active {
	border-color: var(--color-accent);
	color: var(--color-accent);
	box-shadow: 0 0 12px rgba(139, 92, 246, 0.1);
}

/* 2. Apps: The Product Engine Room */
.engine-room-tabs {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 40px;
}

.app-tab-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 24px;
	background: var(--glass-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	color: var(--color-dark-muted);
	font-family: var(--font-headings);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: var(--transition-fast);
	box-shadow: var(--shadow-sm);
}

.app-tab-btn:hover {
	border-color: rgba(139, 92, 246, 0.25);
	color: var(--color-dark);
}

.app-tab-btn.active {
	background: var(--color-dark);
	border-color: var(--color-dark);
	color: #ffffff;
	box-shadow: var(--shadow-md);
}

.app-tab-logo {
	width: 24px;
	height: 24px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 11px;
	color: #ffffff;
	flex-shrink: 0;
}

.app-showcase-screen {
	display: none;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.app-showcase-screen.active {
	display: grid;
	opacity: 1;
}

.app-showcase-screen h3 {
	font-size: 28px;
	margin-bottom: 8px;
	margin-top: 12px;
}

.app-showcase-screen .app-rating {
	margin-bottom: 20px;
}

.app-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 28px 0;
}

.metric-widget {
	padding: 16px;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.metric-val {
	font-family: var(--font-headings);
	font-size: 20px;
	font-weight: 800;
	color: var(--color-accent);
}

.metric-lbl {
	font-size: 11px;
	font-weight: 600;
	color: var(--color-dark-muted);
	margin-top: 2px;
}

/* App Showcase Image Placeholder */
.app-showcase-image-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.app-image-placeholder {
	width: 100%;
	max-width: 380px;
	height: 250px;
	border: 2px dashed rgba(139, 92, 246, 0.2);
	background: rgba(139, 92, 246, 0.02);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
	transition: var(--transition-fast);
}

.app-image-placeholder:hover {
	border-color: rgba(139, 92, 246, 0.45);
	background: rgba(139, 92, 246, 0.05);
	box-shadow: 0 8px 30px rgba(139, 92, 246, 0.04);
}

.placeholder-icon-circle {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-full);
	background: rgba(139, 92, 246, 0.06);
	color: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(139, 92, 246, 0.1);
	transition: var(--transition-fast);
}

.app-image-placeholder:hover .placeholder-icon-circle {
	transform: scale(1.05);
	background: rgba(139, 92, 246, 0.1);
}

.placeholder-label {
	font-family: var(--font-monospace);
	font-size: 12px;
	color: var(--color-dark-muted);
	font-weight: 500;
	background: rgba(15, 23, 42, 0.04);
	padding: 4px 12px;
	border-radius: var(--radius-sm);
}

/* Mock Viewport Panel */
.mock-viewport {
	background: #f8fafc;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	height: 340px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	display: flex;
	flex-direction: column;
	position: relative;
}

.viewport-header {
	background: #ffffff;
	border-bottom: 1px solid var(--color-border);
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

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

.viewport-dot {
	width: 8px;
	height: 8px;
	border-radius: var(--radius-full);
	background: var(--color-border);
}

.viewport-address-bar {
	background: #f1f5f9;
	border-radius: var(--radius-full);
	padding: 6px 16px;
	font-size: 11px;
	color: var(--color-dark-muted);
	flex-grow: 1;
	text-align: center;
	font-family: monospace;
	letter-spacing: 0.02em;
}

.viewport-body {
	flex-grow: 1;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: #ffffff;
}

/* Checkout Preview Content */
.checkout-mock-container {
	width: 100%;
	max-width: 320px;
	background: #ffffff;
	padding: 20px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	border: 1px solid var(--color-border);
}

.checkout-progress-header {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}

.checkout-progress-track {
	height: 6px;
	background: #f1f5f9;
	border-radius: var(--radius-full);
	overflow: hidden;
	margin-bottom: 16px;
}

.checkout-progress-bar {
	height: 100%;
	width: 80%;
	background: var(--color-accent-gradient);
	border-radius: var(--radius-full);
	animation: slide-progress 3s infinite alternate ease-in-out;
}

@keyframes slide-progress {
	0% {
		width: 75%;
	}

	100% {
		width: 100%;
	}
}

.checkout-upsell-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(139, 92, 246, 0.04);
	border: 1px dashed rgba(139, 92, 246, 0.25);
	padding: 10px;
	border-radius: var(--radius-sm);
}

.checkout-upsell-img {
	width: 36px;
	height: 36px;
	background: #e2e8f0;
	border-radius: 4px;
}

.checkout-upsell-text {
	flex-grow: 1;
}

.checkout-upsell-text div:first-child {
	font-size: 11px;
	font-weight: 700;
}

.checkout-upsell-text div:last-child {
	font-size: 10px;
	color: var(--color-accent);
	font-weight: 600;
}

.checkout-upsell-btn {
	background: var(--color-dark);
	color: #ffffff;
	border: none;
	padding: 6px 12px;
	border-radius: var(--radius-full);
	font-size: 9px;
	font-weight: 700;
	cursor: pointer;
}

/* Abstract Sync Pipeline Graphic */
.sync-mock-container {
	width: 100%;
	max-width: 340px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.sync-mock-flow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.sync-mock-flow::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 15%;
	right: 15%;
	height: 2px;
	background: var(--color-border);
	transform: translateY(-50%);
	z-index: 1;
}

.sync-mock-node {
	width: 48px;
	height: 48px;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	box-shadow: var(--shadow-sm);
}

.sync-mock-node.active {
	border-color: var(--color-accent);
	box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.sync-mock-node svg {
	width: 18px;
	height: 18px;
	color: var(--color-dark-muted);
}

.sync-mock-node.active svg {
	color: var(--color-accent);
}

.sync-mock-node-label {
	font-size: 9px;
	font-weight: 700;
	color: var(--color-dark-muted);
	margin-top: 4px;
	text-align: center;
}

.sync-status-indicator {
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: #10b981;
	background: rgba(16, 185, 129, 0.06);
	border: 1px solid rgba(16, 185, 129, 0.15);
	padding: 6px 12px;
	border-radius: var(--radius-full);
	margin: 0 auto;
	display: inline-block;
}

/* Abstract Node Map (Conversion API) */
.node-map-graphic {
	width: 100%;
	max-width: 280px;
	height: auto;
}

.node-graphic-dot {
	fill: #ffffff;
	stroke: var(--color-border);
	stroke-width: 2px;
	transition: var(--transition-fast);
}

.node-graphic-dot.accent {
	stroke: var(--color-accent);
	fill: rgba(139, 92, 246, 0.05);
}

.node-graphic-dot.success {
	stroke: #10b981;
	fill: rgba(16, 185, 129, 0.05);
}

.node-graphic-line {
	stroke: var(--color-border);
	stroke-width: 2px;
	stroke-dasharray: 6 4;
	animation: march-lines 20s linear infinite;
}

@keyframes march-lines {
	to {
		stroke-dashoffset: -400;
	}
}

.node-graphic-text {
	font-family: var(--font-headings);
	font-size: 9px;
	font-weight: 700;
	fill: var(--color-dark-muted);
}

.node-graphic-text.accent {
	fill: var(--color-accent);
}

/* 3. Stats: Proven Performance & Scale */
.stats-header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

.stats-header-title {
	font-family: var(--font-headings);
	font-size: clamp(1.8rem, 3.2vw, 2.5rem);
	font-weight: 300;
	color: var(--color-dark);
	letter-spacing: -0.02em;
}

.stats-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
}

.metric-card {
	background: transparent;
	border: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.metric-card-number {
	font-family: var(--font-headings);
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
	color: var(--color-dark);
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.metric-card-label {
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-dark);
	margin-bottom: 8px;
}

.metric-card-desc {
	font-size: 14px;
	color: var(--color-dark-muted);
	line-height: 1.55;
	margin: 0;
}

/* 4. CTA: Natural Language Project Configurator */
.cta-banner.glass-panel {
	max-width: 1040px;
	text-align: center;
	padding: 96px 48px;
	position: relative;
	overflow: hidden;
}

.cta-banner.glass-panel::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, rgba(255, 255, 255, 0) 75%);
	pointer-events: none;
}

/* Dark Theme High-Contrast CTA Banner */
.cta-banner.dark-theme {
	background: var(--color-dark); /* #0B0F19 */
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: var(--shadow-lg);
	border-radius: var(--radius-lg);
	text-align: center;
	max-width: 1040px;
	margin: 0 auto;
	padding: 96px 48px;
	position: relative;
	overflow: hidden;
	color: #ffffff;
}

.cta-banner.dark-theme::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 0) 75%);
	pointer-events: none;
}

.cta-banner.dark-theme h2 {
	color: #ffffff !important;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.cta-banner.dark-theme p {
	color: rgba(255, 255, 255, 0.7) !important;
	max-width: 600px;
	margin: 0 auto 48px;
}

/* Buttons inside dark CTA banner */
.cta-banner.dark-theme .btn-primary {
	background-color: #ffffff !important;
	color: var(--color-dark) !important;
}

.cta-banner.dark-theme .btn-primary:hover {
	background-color: rgba(255, 255, 255, 0.9) !important;
	color: var(--color-dark) !important;
}

.cta-banner.dark-theme .btn-secondary {
	background-color: rgba(255, 255, 255, 0.05) !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
}

.cta-banner.dark-theme .btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.15) !important;
	border-color: #ffffff !important;
	color: #ffffff !important;
}

/* Natural sentence matching on dark background */
.cta-banner.dark-theme .natural-sentence {
	color: #ffffff !important;
}

.cta-banner.dark-theme .cta-inline-select {
	color: #a78bfa !important;
	border-bottom-color: #a78bfa !important;
}

.cta-banner.dark-theme .cta-inline-select:hover,
.cta-banner.dark-theme .cta-inline-select:focus {
	color: #c084fc !important;
	border-bottom-color: #c084fc !important;
}

.cta-banner.dark-theme .cta-inline-select-wrap::after {
	color: #a78bfa !important;
}


.natural-sentence-container {
	position: relative;
	z-index: 2;
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.natural-sentence {
	font-family: var(--font-headings);
	font-size: clamp(1.8rem, 3.8vw, 3rem);
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-dark);
	text-align: center;
}

/* Inline Styled Dropdowns */
.cta-inline-select-wrap {
	display: inline-block;
	position: relative;
	margin: 0 4px;
}

.cta-inline-select {
	background: transparent;
	border: none;
	border-bottom: 2px dashed var(--color-accent);
	color: var(--color-accent);
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: inherit;
	cursor: pointer;
	outline: none;
	padding: 0 24px 0 4px;
	transition: var(--transition-fast);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.cta-inline-select:hover,
.cta-inline-select:focus {
	color: var(--color-accent-hover);
	border-bottom-color: var(--color-accent-hover);
}

/* Custom indicator icon for dropdown */
.cta-inline-select-wrap::after {
	content: '↓';
	font-size: 0.6em;
	color: var(--color-accent);
	position: absolute;
	right: 4px;
	bottom: 2px;
	pointer-events: none;
	transition: var(--transition-fast);
}

.cta-inline-select-wrap:hover::after {
	color: var(--color-accent-hover);
}

/* Responsive adjustments for premium interactive sections */
@media (max-width: 991px) {
	.capabilities-wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.capabilities-info {
		display: none !important;
	}

	.capability-card {
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	.mobile-card-info {
		display: block !important;
	}

	.app-showcase-screen {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.mock-viewport {
		height: 300px;
	}
}

@media (max-width: 768px) {
	.cta-banner.glass-panel,
	.cta-banner.dark-theme {
		padding: 64px 24px;
	}

	.natural-sentence {
		font-size: 1.5rem;
		line-height: 1.6;
	}

	.cta-inline-select {
		padding-right: 18px;
		border-bottom-width: 1px;
	}
}

@media (max-width: 600px) {
	.engine-room-tabs {
		flex-direction: column;
		align-items: stretch;
	}

	.app-tab-btn {
		justify-content: center;
	}

	.app-metrics-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}


/* ==========================================================================
   6. About & Contact Page Templates
   ========================================================================== */

/* About Pipeline */
.pipeline-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 48px;
}

.pipeline-step {
	padding: 32px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.pipeline-step-number {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-full);
	background: var(--color-dark);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 18px;
	flex-shrink: 0;
}

@media (max-width: 600px) {
	.pipeline-step {
		flex-direction: column;
	}
}

/* Contact Sheet */
.contact-grid {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 60px;
	margin-top: 40px;
}

@media (max-width: 868px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.contact-form-wrapper {
	padding: 48px;
}

@media (max-width: 480px) {
	.contact-form-wrapper {
		padding: 24px;
	}
}

.contact-info-panel {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.contact-info-block h4 {
	margin-bottom: 8px;
}

.form-group {
	margin-bottom: 24px;
}

.form-group label {
	display: block;
	font-family: var(--font-headings);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-dark);
	margin-bottom: 8px;
}

.form-control {
	width: 100%;
	padding: 14px 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: rgba(255, 255, 255, 0.4);
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: 15px;
	transition: var(--transition-fast);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-accent);
	background-color: #ffffff;
	box-shadow: 0 0 0 4px var(--color-border-focus);
}

/* Contact Options (Radio Chips) */
.options-group-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
	margin-top: 24px;
	margin-bottom: 8px;
	display: block;
}

.options-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.option-chip {
	position: relative;
}

.option-chip-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	font-size: 13px;
	font-weight: 500;
	color: var(--color-dark-muted);
	cursor: pointer;
	text-align: center;
	transition: var(--transition-smooth);
	user-select: none;
}

.option-chip-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.option-chip-input:focus + .option-chip-label {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-border-focus);
}

.option-chip-input:checked + .option-chip-label {
	background: rgba(139, 92, 246, 0.08);
	border-color: var(--color-accent);
	color: var(--color-accent);
	font-weight: 600;
}

.option-chip-label:hover {
	border-color: rgba(139, 92, 246, 0.3);
	color: var(--color-dark);
}


/* ==========================================================================
   7. CPT Detail Page Custom Designs (App & Service)
   ========================================================================== */

/* Single App Layout */
.app-detail-hero {
	padding-top: clamp(140px, 15vw, 180px);
	padding-bottom: 60px;
	border-bottom: 1px solid var(--color-border);
}

.app-detail-hero-content {
	display: flex;
	gap: 40px;
	align-items: center;
}

@media (max-width: 768px) {
	.app-detail-hero-content {
		flex-direction: column;
		text-align: center;
	}
}

.app-detail-icon {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	object-fit: cover;
	flex-shrink: 0;
}

.app-detail-pricing-grid {
	margin: 60px 0;
}

.pricing-card {
	padding: 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius-lg);
	transition: var(--transition-smooth);
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.pricing-card.featured {
	border: 2.5px solid var(--color-accent);
	box-shadow: var(--shadow-lg);
	position: relative;
}

.pricing-card.featured:hover {
	box-shadow: 0 24px 60px -15px rgba(139, 92, 246, 0.18);
}

.pricing-card.featured::before {
	content: 'Popular';
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--color-accent);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: var(--radius-full);
}

.pricing-price {
	font-family: var(--font-headings);
	font-size: 40px;
	font-weight: 800;
	color: var(--color-dark);
	margin: 20px 0;
}

.pricing-features-list {
	list-style: none;
	padding: 0;
	margin: 30px 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
}

.pricing-features-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pricing-features-list li::before {
	content: '✓';
	color: #10B981;
	font-weight: bold;
}

/* Single Service Layout */
.service-details-meta {
	padding: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 40px 0;
}

.service-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.service-meta-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--color-dark-muted);
}

.service-meta-value {
	font-family: var(--font-headings);
	font-size: 18px;
	font-weight: 600;
	color: var(--color-dark);
}

/* ==========================================================================
   8. Blog, Standard Archives, and Single Post Layouts
   ========================================================================== */

/* Blog Card Layout */
.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

/* Disable hover transition zoom and lift on post-cards as requested */
.post-card.glass-panel-hover:hover {
	transform: none !important;
	box-shadow: var(--glass-shadow) !important;
}

.post-card-thumbnail {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: var(--transition-smooth);
}

.post-card-content {
	padding: 32px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.post-card-meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: var(--color-dark-muted);
	margin-bottom: 12px;
}

.post-card-title {
	font-size: 20px;
	margin-bottom: 12px;
}

.post-card-title a {
	color: var(--color-dark);
}

.post-card-title a:hover {
	color: var(--color-accent);
}

.post-card-excerpt {
	font-size: 14px;
	margin-bottom: 24px;
}

.post-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-avatar {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-full);
}

.author-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-dark);
}

/* Featured Post Card */
.featured-post-card {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 60px;
	padding: 24px;
}

@media (max-width: 768px) {
	.featured-post-card {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Single Post Readability Content */
.single-post-container {
	max-width: 780px;
	margin: 0 auto;
	padding-top: clamp(100px, 8vw, 120px);
	padding-bottom: 80px;
	transition: max-width 0.35s ease;
}

@media (min-width: 1024px) {
	.single-post-container {
		max-width: 1100px;
		/* Increased to accommodate the left TOC sidebar */
	}
}

/* Table of Contents Layout Wrapper */
.single-post-layout-wrapper {
	position: relative;
}

@media (min-width: 1024px) {
	.single-post-layout-wrapper {
		display: grid;
		grid-template-columns: 260px 1fr;
		gap: 64px;
		align-items: start;
	}

	.entry-toc-container {
		position: sticky;
		top: 130px;
		align-self: start;
		max-height: calc(100vh - 180px);
		z-index: 10;
	}
}

@media (max-width: 1023px) {
	.entry-toc-container {
		display: none;
		/* Hide on mobile/tablet to keep readability clean */
	}
}

/* Floating Glassmorphism TOC Box */
.entry-toc {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 4px;
	/* Reduced roundness for a cleaner, sharper modern aesthetic */
	padding: 24px;
	box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05), 0 1px 1px 0 rgba(255, 255, 255, 0.8) inset;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Custom Scrollbar for Navigation Links */
#toc-nav {
	max-height: 380px;
	/* Fixed height for the links list */
	overflow-y: auto;
	padding-right: 12px;
}

#toc-nav::-webkit-scrollbar {
	width: 4px;
}

#toc-nav::-webkit-scrollbar-track {
	background: transparent;
}

#toc-nav::-webkit-scrollbar-thumb {
	background: rgba(139, 92, 246, 0.2);
	/* Soft brand purple thumb */
	border-radius: var(--radius-full);
}

#toc-nav::-webkit-scrollbar-thumb:hover {
	background: rgba(139, 92, 246, 0.5);
	/* Highlighted brand purple on hover */
}

.toc-title {
	font-family: var(--font-headings);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	margin: 0;
}

.toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.toc-item {
	padding: 0;
	margin: 0;
}

.toc-h3 {
	padding-left: 16px;
}

.toc-link {
	display: inline-block;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--color-dark-muted);
	text-decoration: none;
	transition: var(--transition-fast);
}

.toc-link:hover {
	color: var(--color-accent);
	transform: translateX(2px);
}

.toc-link.active {
	color: var(--color-accent);
	font-weight: 600;
	border-left: 2px solid var(--color-accent);
	padding-left: 8px;
	margin-left: -10px;
}

.entry-header {
	text-align: left;
	background: linear-gradient(90deg, #ffffff80, #ffffff40);
	padding: 26px 32px;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--glass-shadow);
	margin-bottom: 48px;
}

.entry-title {
	margin-bottom: 20px;
}

.entry-meta {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--color-dark-muted);
}

.entry-featured-image {
	margin-bottom: 48px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.entry-featured-image img {
	width: 100%;
	border-radius: 0;
}

.entry-content {
	font-size: 18px;
	line-height: 1.75;
	color: hsl(var(--h-primary), 15%, 20%);
}

.entry-content p {
	margin-bottom: 1.6em;
	color: hsl(var(--h-primary), 15%, 20%);
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.8em;
}

.entry-content blockquote {
	border-left: 4px solid var(--color-accent);
	padding-left: 24px;
	margin: 40px 0;
	font-style: italic;
	font-family: var(--font-headings);
	font-size: 22px;
	color: var(--color-dark);
}

.entry-content pre,
.entry-content code {
	font-family: Consolas, Monaco, 'Andale Mono', monospace;
	font-size: 15px;
	background-color: rgba(15, 23, 42, 0.04);
	border-radius: var(--radius-sm);
}

.entry-content pre {
	padding: 24px;
	overflow-x: auto;
	margin: 32px 0;
	border: 1px solid var(--color-border);
}

.entry-content code {
	padding: 2px 6px;
}

.entry-content pre code {
	padding: 0;
	background: none;
	border-radius: 0;
}

/* Responsive Tables & Premium Table Styling */
.entry-content .table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 32px 0;
}

.entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
}

.entry-content .table-responsive table {
	margin: 0;
}

.entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	margin: 32px 0;
	border: none;
}

.entry-content .wp-block-table table {
	margin: 0;
}

.entry-content table th,
.entry-content table td {
	padding: 14px 18px;
	border: 1px solid var(--color-border);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	vertical-align: top;
}

.entry-content table th {
	font-family: var(--font-headings);
	font-weight: 700;
	color: var(--color-dark);
	background: rgba(139, 92, 246, 0.03);
	min-width: 120px;
}

.entry-content table tr:nth-child(even) {
	background: rgba(15, 23, 42, 0.01);
}

.entry-content table td {
	color: hsl(var(--h-primary), 15%, 25%);
}

/* Author Box */
.author-box {
	padding: 40px;
	margin-top: 60px;
	display: flex;
	gap: 28px;
	align-items: center;
}

@media (max-width: 600px) {
	.author-box {
		flex-direction: column;
		text-align: center;
	}
}

.author-box-avatar {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-sm);
}

.author-box-title {
	font-size: 18px;
	margin-bottom: 8px;
}

/* ==========================================================================
   9. Footer Styles & Layout
   ========================================================================== */
.site-footer {
	background-color: transparent;
	color: rgba(255, 255, 255, 0.6);
	padding: 0;
	margin-top: 120px;
	font-size: 14px;
}

/* Footer Content Container on top of Branding */
.footer-inner-content {
	position: relative;
	z-index: 2;
	background-color: #0b0f19;
	padding-top: 80px;
	padding-bottom: 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Massive Krivalabs Footer Branding (Semrush Style) */
.footer-massive-branding {
	position: sticky;
	bottom: 0;
	z-index: 1;
	width: 100%;
	height: clamp(120px, 18vw, 240px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(90deg, #0e131f 0%, #161224 100%);
	/* Elegant, dark desaturated gradient matching site dark theme */
	margin-top: 0;
	padding-bottom: 20px;
	/* Provides elegant bottom padding for the letters */
}


.footer-massive-branding::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(90deg,
			transparent,
			transparent 7px,
			rgba(255, 255, 255, 0.05) 7px,
			/* Much softer, muted lines to avoid high-contrast colorful look */
			rgba(255, 255, 255, 0.05) 8px);
	pointer-events: none;
	z-index: 2;
}

.footer-massive-branding h2,
.footer-massive-branding .footer-huge-logo {
	font-family: 'Outfit', sans-serif !important;
	font-size: clamp(4rem, 15vw, 15rem) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #060910 !important;
	/* Deep cutout text color blending with the footer background */
	letter-spacing: -0.04em;
	z-index: 1;
	user-select: none;
	position: relative;
}

.site-footer h3,
.site-footer h4 {
	color: #ffffff;
	font-size: 16px;
	margin-bottom: 24px;
}

.footer-columns {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

@media (max-width: 900px) {
	.footer-columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.footer-columns {
		grid-template-columns: 1fr;
	}
}

.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-widget a {
	color: rgba(255, 255, 255, 0.6);
}

.footer-widget a:hover {
	color: #ffffff;
}

.footer-bottom {
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 768px) {
	.footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}
}

.footer-copyright {
	font-size: 13px;
}

.footer-socials {
	display: flex;
	gap: 16px;
}

.footer-socials a {
	width: 36px;
	height: 36px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

.footer-socials a:hover {
	background-color: var(--color-accent);
}

/* ==========================================================================
   10. Mascot & Custom Branding Animations
   ========================================================================== */
@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-15px);
	}

	100% {
		transform: translateY(0px);
	}
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.05);
		opacity: 1;
	}
}

.hero-mascot-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-mascot {
	margin-left: 70px;
	margin-right: -70px;
	transition: var(--transition-smooth);
}

.mascot-blob {
	margin-left: 70px;
	transition: var(--transition-smooth);
}

@media (max-width: 991px) {
	.hero-section {
		grid-template-columns: 1fr !important;
		text-align: center !important;
		padding-top: clamp(120px, 12vw, 150px) !important;
		padding-bottom: 40px !important;
		gap: 20px !important;
	}

	.hero-section .hero-buttons {
		justify-content: center !important;
	}

	.hero-mascot {
		max-width: 280px !important;
		margin-top: 20px;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.mascot-blob {
		width: 220px !important;
		height: 220px !important;
		margin-left: 0 !important;
	}
}

/* ==========================================================================
   Liquid Glass Navigation Support
   ========================================================================== */
@supports (backdrop-filter: url(#liquid-glass-filter)) {
	.site-header .nav-container {
		background: rgba(255, 255, 255, 0.04) !important;
		backdrop-filter: url(#liquid-glass-filter) saturate(1.1) !important;
		-webkit-backdrop-filter: url(#liquid-glass-filter) saturate(1.1) !important;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.45);
		border-color: rgba(255, 255, 255, 0.12) !important;
	}

	.site-header.scrolled .nav-container {
		background: rgba(255, 255, 255, 0.08) !important;
		backdrop-filter: url(#liquid-glass-filter) saturate(1.15) !important;
		-webkit-backdrop-filter: url(#liquid-glass-filter) saturate(1.15) !important;
		box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.55);
		border-color: rgba(255, 255, 255, 0.18) !important;
	}
}