:root {
	--wf-bg: #0b1326;
	--wf-bg-deep: #060e20;
	--wf-surface-low: rgba(19, 27, 46, .76);
	--wf-surface: rgba(23, 31, 51, .84);
	--wf-surface-high: rgba(34, 42, 61, .9);
	--wf-border: rgba(185, 202, 203, .16);
	--wf-border-strong: rgba(0, 240, 255, .34);
	--wf-text: #dae2fd;
	--wf-muted: #b9cacb;
	--wf-dim: #7f93a6;
	--wf-cyan: #00f0ff;
	--wf-cyan-soft: #00dbe9;
	--wf-blue: #3e90ff;
	--wf-blue-soft: #aac7ff;
	--wf-warm: #ffb4ab;
	--wf-radius-sm: 10px;
	--wf-radius: 18px;
	--wf-radius-lg: 28px;
	--wf-shadow: 0 24px 80px rgba(0, 0, 0, .36);
	--wf-glow: 0 0 28px rgba(0, 240, 255, .26);
	--wf-max: 1280px;
}

html {
	background: var(--wf-bg-deep);
	scroll-behavior: smooth;
}

body.witflow-theme {
	background:
		radial-gradient(circle at 18% 10%, rgba(0, 240, 255, .16), transparent 28rem),
		radial-gradient(circle at 78% 4%, rgba(62, 144, 255, .18), transparent 34rem),
		linear-gradient(180deg, var(--wf-bg-deep), var(--wf-bg) 28rem, var(--wf-bg-deep));
	color: var(--wf-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow-x: hidden;
}

body.witflow-theme::before {
	background-image:
		linear-gradient(rgba(185, 202, 203, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(185, 202, 203, .045) 1px, transparent 1px);
	background-size: 54px 54px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: -2;
}

body.witflow-theme::after {
	background: radial-gradient(circle at var(--x, 70%) var(--y, 12%), rgba(0, 240, 255, .12), transparent 22rem);
	content: "";
	inset: 0;
	pointer-events: none;
	position: fixed;
	transition: background .25s ease;
	z-index: -1;
}

.witflow-theme h1,
.witflow-theme h2,
.witflow-theme h3,
.witflow-theme h4,
.witflow-theme .site-title {
	color: var(--wf-text);
	font-family: "Space Grotesk", Inter, sans-serif;
	letter-spacing: -.035em;
}

.witflow-theme p,
.witflow-theme li {
	color: var(--wf-muted);
	font-size: 1.04rem;
	line-height: 1.75;
}

.witflow-theme a {
	color: var(--wf-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.witflow-theme a:hover {
	color: #fff;
}

.witflow-theme ::selection {
	background: rgba(0, 240, 255, .28);
	color: #fff;
}

.witflow-theme :focus-visible {
	outline: 2px solid var(--wf-cyan);
	outline-offset: 4px;
}

.site-content,
.ast-container,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
	background: transparent !important;
}

.ast-container {
	max-width: none;
	padding: 0;
}

.site-main,
.content-area.primary {
	margin: 0 !important;
}

.ast-plain-container.ast-no-sidebar #primary {
	margin: 0;
}

.main-header-bar,
.ast-primary-header-bar {
	backdrop-filter: blur(22px);
	background: rgba(6, 14, 32, .72) !important;
	border-bottom: 1px solid rgba(185, 202, 203, .12);
	box-shadow: 0 12px 50px rgba(0, 0, 0, .22);
	transition: padding .2s ease, background .2s ease;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.wf-site-header {
	backdrop-filter: blur(22px);
	background: rgba(6, 14, 32, .76);
	border-bottom: 1px solid rgba(185, 202, 203, .12);
	box-shadow: 0 14px 54px rgba(0, 0, 0, .24);
}

.wf-header-inner {
	align-items: center;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: auto 1fr auto;
	min-height: 78px;
}

.wf-logo {
	align-items: center;
	display: inline-flex;
	line-height: 0;
}

.wf-logo img {
	height: 44px;
	width: auto;
}

.wf-nav {
	display: flex;
	justify-content: flex-end;
}

.wf-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wf-menu a {
	border-radius: 999px;
	color: rgba(218, 226, 253, .78);
	display: inline-flex;
	font-size: .92rem;
	font-weight: 800;
	padding: .7rem .85rem;
	text-decoration: none;
}

.wf-menu .current-menu-item > a,
.wf-menu a:hover {
	background: rgba(0, 240, 255, .07);
	color: #fff;
}

.wf-header-cta {
	min-height: 42px;
	padding: .72rem 1rem;
	white-space: nowrap;
}

.witflow-scrolled .ast-primary-header-bar {
	background: rgba(6, 14, 32, .92) !important;
}

.witflow-scrolled .wf-site-header {
	background: rgba(6, 14, 32, .93);
}

.site-branding img.custom-logo {
	max-height: 46px;
	width: auto;
}

.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
	color: rgba(218, 226, 253, .78) !important;
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .menu-link:hover {
	color: #fff !important;
}

.main-header-menu .current-menu-item > .menu-link::after,
.main-header-menu .menu-link:hover::after {
	background: linear-gradient(90deg, var(--wf-cyan), var(--wf-blue));
	border-radius: 99px;
	content: "";
	display: block;
	height: 2px;
	margin-top: 2px;
	width: 100%;
}

.ast-header-button-1 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
	background: linear-gradient(135deg, var(--wf-cyan), var(--wf-blue)) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: 0 0 28px rgba(0, 240, 255, .28);
	color: #02111f !important;
	font-weight: 800;
}

.wf-wrap {
	margin: 0 auto;
	max-width: var(--wf-max);
	padding: 0 clamp(1.25rem, 3vw, 2rem);
	position: relative;
}

.wf-section {
	padding: clamp(4.5rem, 8vw, 8rem) 0;
	position: relative;
}

.wf-section-tight {
	padding: clamp(3rem, 5vw, 5rem) 0;
}

.wf-eyebrow,
.wf-chip,
.wf-status {
	align-items: center;
	border: 1px solid rgba(0, 240, 255, .22);
	border-radius: 999px;
	color: var(--wf-cyan);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 800;
	gap: .45rem;
	letter-spacing: .13em;
	line-height: 1;
	padding: .58rem .78rem;
	text-transform: uppercase;
}

.wf-chip {
	background: rgba(0, 240, 255, .07);
	color: var(--wf-blue-soft);
	letter-spacing: .04em;
	text-transform: none;
}

.wf-status {
	background: rgba(0, 240, 255, .09);
	font-size: .68rem;
}

.wf-gradient-text {
	-webkit-background-clip: text;
	background: linear-gradient(90deg, var(--wf-cyan), var(--wf-blue-soft) 48%, var(--wf-blue));
	background-clip: text;
	color: transparent;
}

.wf-lead {
	color: var(--wf-muted);
	font-size: clamp(1.08rem, 1.6vw, 1.28rem);
	line-height: 1.8;
	max-width: 760px;
}

.wf-hero {
	min-height: clamp(720px, 92vh, 980px);
	overflow: hidden;
	padding: clamp(6rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6rem);
	position: relative;
}

.wf-hero::before {
	background: url("../img/witflow-hero.svg") center/cover no-repeat;
	content: "";
	inset: -8% -8% 0 36%;
	opacity: .72;
	position: absolute;
}

.wf-hero-grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.04fr) minmax(360px, .86fr);
	position: relative;
	z-index: 1;
}

.wf-hero h1 {
	font-size: clamp(3.25rem, 7.4vw, 7.35rem);
	line-height: .94;
	margin: 1.15rem 0 1.45rem;
	max-width: 980px;
}

.wf-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin-top: 2rem;
}

.wf-button,
.entry-content .wf-button {
	align-items: center;
	background: linear-gradient(135deg, var(--wf-cyan), var(--wf-blue));
	border: 1px solid transparent;
	border-radius: 999px;
	box-shadow: 0 0 34px rgba(0, 240, 255, .22);
	color: #06101f !important;
	display: inline-flex;
	font-weight: 850;
	justify-content: center;
	min-height: 48px;
	padding: .9rem 1.25rem;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.wf-button:hover {
	box-shadow: 0 0 42px rgba(0, 240, 255, .36);
	transform: translateY(-2px);
}

.wf-button-secondary {
	background: rgba(218, 226, 253, .06);
	border-color: rgba(218, 226, 253, .16);
	color: var(--wf-text) !important;
}

.wf-glass {
	background: linear-gradient(180deg, rgba(34, 42, 61, .74), rgba(19, 27, 46, .62));
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-lg);
	box-shadow: var(--wf-shadow);
	position: relative;
}

.wf-glass::before {
	background: linear-gradient(135deg, rgba(0, 240, 255, .4), transparent 28%, rgba(62, 144, 255, .26) 65%, transparent);
	border-radius: inherit;
	content: "";
	inset: 0;
	opacity: .28;
	padding: 1px;
	pointer-events: none;
	position: absolute;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.wf-automation-panel {
	padding: 1.15rem;
}

.wf-panel-header {
	align-items: center;
	border-bottom: 1px solid var(--wf-border);
	display: flex;
	justify-content: space-between;
	margin: -1.15rem -1.15rem 1.2rem;
	padding: 1rem 1.15rem;
}

.wf-panel-title {
	color: var(--wf-text);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
}

.wf-live {
	align-items: center;
	color: var(--wf-cyan);
	display: inline-flex;
	font-size: .76rem;
	font-weight: 800;
	gap: .42rem;
	text-transform: uppercase;
}

.wf-live::before {
	animation: wfPulse 1.6s ease infinite;
	background: var(--wf-cyan);
	border-radius: 50%;
	box-shadow: 0 0 16px var(--wf-cyan);
	content: "";
	height: 8px;
	width: 8px;
}

.wf-flow-steps {
	display: grid;
	gap: .8rem;
}

.wf-flow-step {
	align-items: center;
	background: rgba(6, 14, 32, .58);
	border: 1px solid rgba(185, 202, 203, .12);
	border-radius: 16px;
	display: grid;
	gap: .9rem;
	grid-template-columns: auto 1fr auto;
	padding: .92rem;
}

.wf-step-icon,
.wf-card-icon {
	align-items: center;
	background: linear-gradient(135deg, rgba(0, 240, 255, .16), rgba(62, 144, 255, .12));
	border: 1px solid rgba(0, 240, 255, .24);
	border-radius: 14px;
	box-shadow: inset 0 0 28px rgba(0, 240, 255, .06);
	color: var(--wf-cyan);
	display: inline-flex;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.wf-step-icon svg,
.wf-card-icon svg {
	fill: currentColor;
	height: 23px;
	width: 23px;
}

.wf-step-title {
	color: var(--wf-text);
	display: block;
	font-weight: 800;
}

.wf-step-meta {
	color: var(--wf-dim);
	display: block;
	font-size: .86rem;
}

.wf-section-head {
	align-items: end;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.wf-section-head h2,
.wf-page-hero h1 {
	font-size: clamp(2.35rem, 4.6vw, 4.75rem);
	line-height: 1;
	margin: .85rem 0 0;
	max-width: 900px;
}

.wf-grid {
	display: grid;
	gap: 1.15rem;
}

.wf-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wf-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wf-card {
	background: linear-gradient(180deg, rgba(34, 42, 61, .74), rgba(19, 27, 46, .58));
	border: 1px solid rgba(185, 202, 203, .13);
	border-radius: var(--wf-radius);
	box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
	overflow: hidden;
	padding: 1.35rem;
	position: relative;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wf-card:hover {
	border-color: rgba(0, 240, 255, .42);
	box-shadow: var(--wf-shadow), var(--wf-glow);
	transform: translateY(-4px);
}

.wf-card h3 {
	font-size: 1.35rem;
	margin: 1rem 0 .55rem;
}

.wf-card p {
	font-size: .98rem;
	margin-bottom: 1rem;
}

.wf-card-link {
	font-weight: 800;
	text-decoration: none;
}

.wf-card-media {
	aspect-ratio: 16 / 10;
	background: #071126;
	border-radius: 16px;
	margin: -1.35rem -1.35rem 1.2rem;
	overflow: hidden;
}

.wf-card-media img {
	height: 100%;
	object-fit: cover;
	opacity: .84;
	width: 100%;
}

.wf-card ul,
.wf-rich-content ul {
	margin: 1rem 0 0;
	padding-left: 0;
}

.wf-card li,
.wf-rich-content li {
	list-style: none;
	margin: .58rem 0;
	padding-left: 1.45rem;
	position: relative;
}

.wf-card li::before,
.wf-rich-content li::before {
	background: var(--wf-cyan);
	border-radius: 999px;
	box-shadow: 0 0 12px rgba(0, 240, 255, .5);
	content: "";
	height: 7px;
	left: .2rem;
	position: absolute;
	top: .72rem;
	width: 7px;
}

.wf-problem-card {
	min-height: 250px;
}

.wf-warning {
	align-items: center;
	display: grid;
	gap: 1.2rem;
	grid-template-columns: auto 1fr;
	margin-top: 1.2rem;
	padding: 1.5rem;
}

.wf-warning strong {
	color: var(--wf-warm);
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.35rem;
}

.wf-timeline {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	position: relative;
}

.wf-timeline::before {
	background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .45), transparent);
	content: "";
	height: 1px;
	left: 8%;
	position: absolute;
	right: 8%;
	top: 31px;
}

.wf-timeline-item {
	position: relative;
	z-index: 1;
}

.wf-timeline-number {
	align-items: center;
	background: var(--wf-bg-deep);
	border: 1px solid rgba(0, 240, 255, .34);
	border-radius: 50%;
	box-shadow: 0 0 26px rgba(0, 240, 255, .22);
	color: var(--wf-cyan);
	display: flex;
	font-weight: 900;
	height: 62px;
	justify-content: center;
	margin-bottom: 1rem;
	width: 62px;
}

.wf-page-hero {
	padding: clamp(6rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
	position: relative;
}

.wf-page-hero::after {
	background: linear-gradient(90deg, rgba(0, 240, 255, .22), transparent);
	bottom: 0;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
}

.wf-filters {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin: 2rem 0 0;
}

.wf-plugin-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.wf-plugin-card .wf-button {
	margin-top: auto;
	width: fit-content;
}

.wf-meta-row {
	align-items: center;
	color: var(--wf-dim);
	display: flex;
	flex-wrap: wrap;
	font-size: .9rem;
	gap: .8rem;
	margin: 1rem 0;
}

.wf-blog-featured {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 1.15fr .85fr;
}

.wf-blog-stack {
	display: grid;
	gap: 1.2rem;
}

.wf-post-card {
	padding: 0;
}

.wf-post-card-body {
	padding: 1.25rem;
}

.wf-single-layout {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) 330px;
}

.wf-article {
	max-width: 850px;
}

.wf-article-hero h1 {
	font-size: clamp(2.6rem, 5vw, 5.4rem);
	line-height: .98;
	margin: .9rem 0 1rem;
}

.wf-featured-image {
	border: 1px solid rgba(185, 202, 203, .14);
	border-radius: var(--wf-radius-lg);
	box-shadow: var(--wf-shadow);
	margin: 2rem 0;
	overflow: hidden;
}

.wf-featured-image img {
	display: block;
	width: 100%;
}

.wf-rich-content {
	color: var(--wf-muted);
	font-size: 1.08rem;
}

.wf-rich-content h2,
.wf-rich-content h3 {
	margin-top: 2.2rem;
}

.wf-rich-content blockquote {
	background: rgba(0, 240, 255, .07);
	border-left: 3px solid var(--wf-cyan);
	border-radius: 0 18px 18px 0;
	margin: 2rem 0;
	padding: 1.2rem 1.4rem;
}

.wf-sidebar {
	position: sticky;
	top: 110px;
}

.wf-sidebar .wf-card {
	margin-bottom: 1rem;
}

.wf-footer {
	background: #060e20;
	border-top: 1px solid rgba(185, 202, 203, .12);
	margin-top: 4rem;
	padding: 4rem 0 2rem;
}

.wf-footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1.3fr repeat(3, 1fr);
}

.wf-footer h3,
.wf-footer h4 {
	margin-top: 0;
}

.wf-footer a {
	color: var(--wf-muted);
	display: block;
	margin: .55rem 0;
	text-decoration: none;
}

.wf-footer a:hover {
	color: var(--wf-cyan);
}

.wf-footer-bottom {
	border-top: 1px solid rgba(185, 202, 203, .1);
	color: var(--wf-dim);
	margin-top: 2.5rem;
	padding-top: 1.4rem;
}

.wpcf7-form label {
	color: var(--wf-text);
	font-weight: 700;
}

.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select,
.search-form .search-field {
	background: rgba(6, 14, 32, .74) !important;
	border: 1px solid rgba(185, 202, 203, .2) !important;
	border-radius: 12px !important;
	color: var(--wf-text) !important;
	margin-top: .4rem;
}

.wpcf7 input[type="submit"],
.search-form .search-submit {
	background: linear-gradient(135deg, var(--wf-cyan), var(--wf-blue)) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #06101f !important;
	font-weight: 900 !important;
}

#moove_gdpr_cookie_info_bar,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content {
	background: rgba(6, 14, 32, .96) !important;
	border-color: rgba(0, 240, 255, .2) !important;
	color: var(--wf-text) !important;
}

.wf-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .7s ease;
}

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

@keyframes wfPulse {
	0%, 100% { opacity: .7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.28); }
}

@media (max-width: 1060px) {
	.wf-hero-grid,
	.wf-blog-featured,
	.wf-single-layout,
	.wf-footer-grid {
		grid-template-columns: 1fr;
	}

	.wf-hero::before {
		inset: 28% -12% 0 -12%;
		opacity: .36;
	}

	.wf-grid-3,
	.wf-grid-2,
	.wf-timeline {
		grid-template-columns: 1fr 1fr;
	}

	.wf-sidebar {
		position: static;
	}

	.wf-header-inner {
		grid-template-columns: 1fr;
		padding: .85rem 0 1rem;
	}

	.wf-nav {
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: .15rem;
	}

	.wf-menu {
		flex-wrap: nowrap;
		min-width: max-content;
	}

	.wf-header-cta {
		justify-self: start;
	}
}

@media (max-width: 680px) {
	.wf-hero {
		min-height: auto;
		padding-top: 5rem;
	}

	.wf-hero-grid,
	.wf-grid-3,
	.wf-grid-2,
	.wf-timeline {
		grid-template-columns: 1fr;
	}

	.wf-section-head {
		align-items: start;
		flex-direction: column;
	}

	.wf-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.wf-button {
		width: 100%;
	}

	.wf-timeline::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
	}

	.wf-reveal {
		opacity: 1;
		transform: none;
	}
}
