/*!
 * FreeConsole — Joomla template by drek124 (https://github.com/drek124)
 * GPL-2.0-or-later
 */

/* ============ Tokens ============ */
:root {
	--vx-primary: #40c896;
	--vx-accent: #2dd4bf;
	--vx-bg: #060b09;
	--vx-bg-2: #0a1410;
	--vx-surface: rgba(16, 28, 23, .62);
	--vx-surface-solid: #0f1a16;
	--vx-border: rgba(64, 200, 150, .14);
	--vx-border-strong: rgba(64, 200, 150, .32);
	--vx-text: #e3efe9;
	--vx-muted: #8ea89c;
	--vx-dim: #5d7369;
	--vx-danger: #f87171;
	--vx-warn: #fbbf24;
	--vx-info: #60a5fa;
	--vx-radius: 16px;
	--vx-radius-sm: 10px;
	--vx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vx-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
	--vx-ease: cubic-bezier(.2, .8, .2, 1);
	--vx-glow: 0 0 0 1px var(--vx-border-strong), 0 10px 40px -10px color-mix(in srgb, var(--vx-primary) 45%, transparent);
	--vx-max: 1240px;
	color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--vx-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--vx-text);
	background: var(--vx-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body > .vx-body, body > #content { flex: 1 0 auto; }
::selection { background: color-mix(in srgb, var(--vx-primary) 35%, transparent); color: #fff; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--vx-primary); text-decoration: none; transition: color .2s; }
a:hover { color: color-mix(in srgb, var(--vx-primary) 70%, #fff); }
h1, h2, h3, h4, h5, h6 { color: #f3faf6; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--vx-border-strong), transparent); margin: 2rem 0; }
code, kbd, pre, samp { font-family: var(--vx-mono); font-size: .9em; }
:not(pre) > code { background: rgba(64, 200, 150, .1); color: var(--vx-primary); padding: .15em .45em; border-radius: 6px; border: 1px solid var(--vx-border); }
pre { background: #050907; border: 1px solid var(--vx-border); border-radius: var(--vx-radius-sm); padding: 1.1rem 1.25rem; overflow: auto; line-height: 1.6; }
blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--vx-primary); background: var(--vx-surface); border-radius: 0 var(--vx-radius-sm) var(--vx-radius-sm) 0; color: var(--vx-muted); }
:focus-visible { outline: 2px solid var(--vx-primary); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--vx-bg); }
::-webkit-scrollbar-thumb { background: #1a2d25; border-radius: 10px; border: 2px solid var(--vx-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--vx-primary); }

.vx-container { width: 100%; max-width: var(--vx-max); margin: 0 auto; padding: 0 24px; position: relative; }
.vx-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--vx-primary); color: #04110b; padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.vx-skip:focus { left: 8px; }
.vx-mono { font-family: var(--vx-mono); }
.vx-muted { color: var(--vx-muted); }
.vx-grad {
	background: linear-gradient(100deg, var(--vx-primary) 0%, var(--vx-accent) 45%, #a7f3d0 60%, var(--vx-primary) 100%);
	background-size: 220% auto;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	animation: vx-shine 8s linear infinite;
}
@keyframes vx-shine { to { background-position: 220% center; } }

/* ============ Background ============ */
.vx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% -10%, #0d2219 0%, var(--vx-bg) 60%); }
#vx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.vx-bg-grid {
	position: absolute; inset: -2px;
	background-image: linear-gradient(rgba(64, 200, 150, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(64, 200, 150, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.bg-none .vx-bg-grid { opacity: .4; }
.vx-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; will-change: transform; }
.vx-orb-1 { width: 520px; height: 520px; background: var(--vx-primary); top: -160px; left: -120px; animation: vx-drift 26s ease-in-out infinite alternate; }
.vx-orb-2 { width: 460px; height: 460px; background: var(--vx-accent); bottom: -180px; right: -140px; opacity: .16; animation: vx-drift 32s ease-in-out infinite alternate-reverse; }
@keyframes vx-drift { to { transform: translate(140px, 90px) scale(1.15); } }
.vx-noise { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.vx-cursor {
	position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
	border-radius: 50%; pointer-events: none; z-index: 0;
	background: radial-gradient(circle, color-mix(in srgb, var(--vx-primary) 11%, transparent) 0%, transparent 65%);
	opacity: 0; transition: opacity .4s;
}
.vx-cursor.is-on { opacity: 1; }
@media (hover: none) { .vx-cursor { display: none; } }

.vx-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--vx-primary), var(--vx-accent)); box-shadow: 0 0 12px var(--vx-primary); }

/* ============ Header ============ */
.vx-topbar { font-size: .85rem; color: var(--vx-muted); border-bottom: 1px solid var(--vx-border); padding: .4rem 0; position: relative; z-index: 60; }
.vx-header { position: relative; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.has-sticky .vx-header { position: sticky; top: 0; }
.vx-header.is-scrolled { background: rgba(6, 11, 9, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--vx-border); }
.vx-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height .3s; }
.vx-header.is-scrolled .vx-header-inner { height: 64px; }

.vx-brand { display: flex; align-items: center; gap: 12px; color: var(--vx-text); }
.vx-brand:hover { color: var(--vx-text); }
.vx-logo-img { max-height: 40px; width: auto; }
.vx-brand-mark {
	position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
	background: linear-gradient(135deg, var(--vx-primary), var(--vx-accent));
	color: #03130c; font: 700 15px/1 var(--vx-mono);
	box-shadow: 0 6px 24px -6px var(--vx-primary);
	overflow: hidden;
}
.vx-brand-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
.vx-brand:hover .vx-brand-mark::after { transform: translateX(120%); transition: transform .8s var(--vx-ease); }
.vx-brand-mark span { animation: vx-blink-soft 2.4s steps(1) infinite; }
@keyframes vx-blink-soft { 50% { opacity: .75; } }
.vx-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.vx-brand-text strong { font-size: 1.08rem; letter-spacing: -.01em; }
.vx-brand-text small { font: 500 .7rem/1.3 var(--vx-mono); color: var(--vx-muted); letter-spacing: .04em; }

.vx-nav { display: flex; align-items: center; gap: 18px; }
.vx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.vx-nav li { position: relative; }
.vx-nav a, .vx-nav .nav-header, .vx-nav .mod-menu__heading {
	display: block; padding: .5rem .9rem; color: var(--vx-muted); font-weight: 500; font-size: .95rem; border-radius: 10px; position: relative; transition: color .2s, background .2s;
}
.vx-nav > ul > li > a::after, .vx-nav .mod-menu > li > a::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--vx-primary); transition: left .3s var(--vx-ease), right .3s var(--vx-ease);
}
.vx-nav a:hover, .vx-nav li.active > a, .vx-nav li.current > a { color: var(--vx-text); background: rgba(64, 200, 150, .07); }
.vx-nav li.active > a::after, .vx-nav li.current > a::after, .vx-nav a:hover::after { left: .9rem; right: .9rem; }
.vx-nav ul ul {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; flex-direction: column; align-items: stretch; padding: 8px;
	background: rgba(10, 20, 16, .96); backdrop-filter: blur(14px); border: 1px solid var(--vx-border); border-radius: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--vx-ease);
}
.vx-nav li:hover > ul, .vx-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.vx-nav ul ul a::after { display: none; }
.vx-gh { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--vx-muted); border: 1px solid var(--vx-border); transition: .25s; }
.vx-gh:hover { color: var(--vx-primary); border-color: var(--vx-border-strong); box-shadow: var(--vx-glow); transform: translateY(-2px); }
.vx-search input { width: 180px; padding: .5rem .85rem; font-size: .9rem; }

.vx-burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--vx-border); border-radius: 11px; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.vx-burger span { width: 20px; height: 2px; background: var(--vx-text); border-radius: 2px; transition: .3s var(--vx-ease); }
.vx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Joomla's submenu toggle is redundant: dropdowns open on hover/focus (desktop) and are always expanded (mobile) */
.vx-nav .mod-menu__toggle-sub { display: none; }

@media (max-width: 960px) {
	.vx-burger { display: flex; }
	.vx-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 24px 28px;
		background: rgba(6, 11, 9, .97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--vx-border);
		clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--vx-ease); max-height: calc(100vh - 76px); overflow: auto;
	}
	.vx-header.is-scrolled .vx-nav { top: 64px; }
	.vx-nav.is-open { clip-path: inset(0 0 0 0); }
	.vx-nav ul { flex-direction: column; align-items: stretch; }
	.vx-nav ul ul { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.vx-nav a::after { display: none; }
	.vx-search input { width: 100%; }
}

/* Account pill */
.vx-nav { margin-left: auto; }
.vx-account { position: relative; flex: none; }
.vx-account-pill {
	display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; max-width: 220px;
	background: rgba(64, 200, 150, .06); color: var(--vx-text); border: 1px solid var(--vx-border); border-radius: 999px;
	font: 500 .9rem var(--vx-font); cursor: pointer; transition: border-color .25s, box-shadow .25s;
}
.vx-account-pill:hover, .vx-account-pill[aria-expanded="true"] { border-color: var(--vx-border-strong); box-shadow: var(--vx-glow); }
.vx-account-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--vx-primary), var(--vx-accent)); color: #03130c; }
.vx-account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-account-caret { flex: none; color: var(--vx-muted); transition: transform .25s var(--vx-ease); }
.vx-account-pill[aria-expanded="true"] .vx-account-caret { transform: rotate(180deg); }
.vx-account-menu {
	position: absolute; top: calc(100% + 10px); right: 0; width: 280px; max-width: calc(100vw - 32px); padding: 18px;
	background: rgba(10, 20, 16, .97); backdrop-filter: blur(14px); border: 1px solid var(--vx-border); border-radius: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--vx-ease); z-index: 60;
}
.vx-account.is-open .vx-account-menu { opacity: 1; visibility: visible; transform: none; }
.vx-login-form { display: flex; flex-direction: column; gap: 6px; }
.vx-login-form label { font-size: .82rem; color: var(--vx-muted); }
.vx-login-form input[type="text"], .vx-login-form input[type="password"] { width: 100%; margin-bottom: 6px; }
.vx-login-form .vx-login-remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; }
.vx-login-form .vx-btn, .vx-logout { width: 100%; justify-content: center; }
.vx-login-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .82rem; }
.vx-account-head { display: flex; flex-direction: column; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--vx-border); line-height: 1.3; }
.vx-account-head small { font: .75rem var(--vx-mono); color: var(--vx-muted); }
.vx-account-link { display: block; padding: .5rem .6rem; margin-bottom: 10px; border-radius: 10px; color: var(--vx-muted); }
.vx-account-link:hover { color: var(--vx-text); background: rgba(64, 200, 150, .07); }
@media (max-width: 960px) {
	.vx-header-inner { gap: 12px; }
	.vx-account { margin-left: auto; }
	.vx-account-name { max-width: 110px; }
}
@media (max-width: 480px) {
	.vx-account-name, .vx-account-caret { display: none; }
	.vx-account-pill { padding: 0 4px; }
}

/* ============ Buttons & forms ============ */
.vx-btn, .btn, button.button, input[type="submit"], .readmore a {
	--b: var(--vx-border-strong);
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .75rem 1.35rem; font: 600 .95rem/1.2 var(--vx-font); border-radius: 12px; cursor: pointer;
	border: 1px solid var(--b); background: rgba(64, 200, 150, .06); color: var(--vx-text);
	transition: transform .25s var(--vx-ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
	position: relative; isolation: isolate; text-decoration: none;
}
.vx-btn:hover, .btn:hover, .readmore a:hover { transform: translateY(-2px); color: #fff; border-color: var(--vx-primary); box-shadow: var(--vx-glow); }
.vx-btn:active, .btn:active { transform: translateY(0) scale(.98); }
.vx-btn-primary, .btn-primary, .btn-success, input[type="submit"] {
	background: linear-gradient(135deg, var(--vx-primary), color-mix(in srgb, var(--vx-primary) 60%, var(--vx-accent)));
	color: #03130c !important; border-color: transparent; box-shadow: 0 8px 28px -8px var(--vx-primary);
}
.vx-btn-primary::before, .btn-primary::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
	background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, .45) 50%, transparent 75%); background-size: 250% 100%; background-position: 150% 0; transition: background-position .8s var(--vx-ease);
}
.vx-btn-primary:hover::before, .btn-primary:hover::before { background-position: -50% 0; }
.vx-btn-primary:hover, .btn-primary:hover { box-shadow: 0 14px 40px -8px var(--vx-primary); }
.vx-btn-primary svg { transition: transform .3s var(--vx-ease); }
.vx-btn-primary:hover svg { transform: translateX(4px); }
.vx-btn-ghost { background: transparent; }
.btn-secondary, .btn-outline-secondary, .btn-light { background: transparent; }
.btn-danger { --b: rgba(248, 113, 113, .45); color: var(--vx-danger); background: rgba(248, 113, 113, .08); }
.btn-sm { padding: .45rem .85rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], input[type="tel"], input[type="date"],
textarea, select, .form-control, .form-select, .inputbox {
	width: 100%; max-width: 100%; padding: .7rem .95rem; font: 400 .95rem/1.4 var(--vx-font); color: var(--vx-text);
	background: rgba(4, 10, 7, .7); border: 1px solid var(--vx-border); border-radius: var(--vx-radius-sm); transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus, .form-control:focus, .form-select:focus {
	outline: none; border-color: var(--vx-primary); background: rgba(4, 10, 7, .95); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vx-primary) 18%, transparent);
}
::placeholder { color: var(--vx-dim); }
label, .form-label, .control-label { display: inline-block; margin-bottom: .35rem; font-weight: 500; color: var(--vx-muted); font-size: .92rem; }
.control-group, .mb-3, .form-group { margin-bottom: 1rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--vx-primary); width: 1.05em; height: 1.05em; }
fieldset { border: 1px solid var(--vx-border); border-radius: var(--vx-radius); padding: 1.25rem 1.5rem; margin: 0 0 1.5rem; }
legend { padding: 0 .5rem; font-weight: 600; color: var(--vx-text); }
.input-group { display: flex; }
.input-group > :first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > :last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Landing: hero ============ */
.vx-hero { position: relative; min-height: calc(100vh - 76px); display: flex; align-items: center; padding: 40px 0 100px; }
.vx-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.vx-eyebrow {
	display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .95rem .4rem .7rem; border-radius: 999px;
	font: 500 .8rem/1 var(--vx-mono); color: var(--vx-primary); background: rgba(64, 200, 150, .08); border: 1px solid var(--vx-border-strong); margin-bottom: 1.6rem;
}
.vx-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--vx-primary); box-shadow: 0 0 0 0 var(--vx-primary); animation: vx-pulse 2s infinite; }
@keyframes vx-pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.vx-hero-title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 1.4rem;
	background: linear-gradient(180deg, #fff 30%, #a9c9bb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vx-typer { font: 500 clamp(1rem, 1.8vw, 1.2rem)/1.4 var(--vx-mono); color: var(--vx-muted); margin-bottom: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.vx-typer .vx-mono { color: var(--vx-dim); }
.vx-typed { color: var(--vx-primary); text-shadow: 0 0 18px color-mix(in srgb, var(--vx-primary) 55%, transparent); }
.vx-caret { display: inline-block; width: .6em; height: 1.15em; margin-left: -.4rem; background: var(--vx-primary); animation: vx-caret 1s steps(1) infinite; vertical-align: middle; }
@keyframes vx-caret { 50% { opacity: 0; } }
.vx-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--vx-muted); max-width: 36em; margin-bottom: 2.2rem; }
.vx-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.vx-center { justify-content: center; }

.vx-hero-visual { position: relative; perspective: 1200px; }
.vx-terminal, .vx-code {
	position: relative; border-radius: 18px; overflow: hidden;
	background: linear-gradient(160deg, rgba(14, 26, 21, .92), rgba(5, 10, 8, .95));
	border: 1px solid var(--vx-border-strong);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 60px -20px color-mix(in srgb, var(--vx-primary) 40%, transparent);
	transition: transform .2s ease-out;
}
.vx-terminal::before, .vx-code::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--vx-angle, 0deg), transparent 0 70%, var(--vx-primary) 85%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: vx-spin 6s linear infinite;
}
@property --vx-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes vx-spin { to { --vx-angle: 360deg; } }
.vx-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--vx-border); background: rgba(255, 255, 255, .02); }
.vx-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.vx-term-bar i:nth-child(2) { background: #febc2e; }
.vx-term-bar i:nth-child(3) { background: #28c840; }
.vx-term-bar span { margin-left: auto; margin-right: auto; font: 500 .78rem var(--vx-mono); color: var(--vx-dim); transform: translateX(-20px); }
.vx-term-body { margin: 0; border: 0; background: none; border-radius: 0; min-height: 330px; padding: 20px 22px; font: .84rem/1.75 var(--vx-mono); color: var(--vx-muted); white-space: pre-wrap; }
.vx-term-body .p { color: var(--vx-primary); }
.vx-term-body .ok { color: #4ade80; }
.vx-term-body .w { color: #e3efe9; }
.vx-term-body .d { color: var(--vx-dim); }
.vx-term-body .y { color: #facc15; }
.vx-term-body .cur { display: inline-block; width: .55em; height: 1.1em; background: var(--vx-primary); vertical-align: text-bottom; animation: vx-caret 1s steps(1) infinite; }

.vx-float-chip {
	position: absolute; display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px;
	font: 500 .78rem var(--vx-mono); color: var(--vx-text); background: rgba(10, 20, 16, .85); backdrop-filter: blur(10px);
	border: 1px solid var(--vx-border-strong); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
	animation: vx-float 6s ease-in-out infinite;
}
.vx-chip-1 { top: -18px; right: -14px; }
.vx-chip-2 { bottom: -20px; left: -22px; animation-delay: -3s; }
.vx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vx-primary); box-shadow: 0 0 10px var(--vx-primary); }
@keyframes vx-float { 50% { transform: translateY(-12px); } }

.vx-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--vx-border-strong); border-radius: 14px; }
.vx-scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--vx-primary); animation: vx-scroll 2s var(--vx-ease) infinite; }
@keyframes vx-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ Marquee ============ */
.vx-marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--vx-border); background: rgba(10, 20, 16, .4);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.vx-marquee-track { display: flex; gap: 52px; width: max-content; animation: vx-marquee 40s linear infinite; }
.vx-marquee:hover .vx-marquee-track { animation-play-state: paused; }
.vx-marquee span { font: 600 1rem var(--vx-mono); color: var(--vx-dim); white-space: nowrap; transition: color .3s; }
.vx-marquee span::before { content: "◆"; color: var(--vx-primary); margin-right: 52px; opacity: .45; font-size: .6em; vertical-align: middle; }
.vx-marquee span:hover { color: var(--vx-primary); }
@keyframes vx-marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.vx-section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.vx-section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.vx-section-head h2, .vx-split h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; }
.vx-section-head p { color: var(--vx-muted); font-size: 1.1rem; }
.vx-kicker { display: inline-block; font: 500 .85rem var(--vx-mono); color: var(--vx-primary); margin-bottom: 1rem; letter-spacing: .02em; }

.vx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vx-card, .card, .moduletable {
	position: relative; padding: 30px; border-radius: var(--vx-radius); background: var(--vx-surface); border: 1px solid var(--vx-border);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; transition: transform .4s var(--vx-ease), border-color .3s, box-shadow .4s;
}
.vx-spot::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--vx-primary) 14%, transparent), transparent 45%);
}
.vx-spot:hover::before { opacity: 1; }
.vx-card:hover { transform: translateY(-6px); border-color: var(--vx-border-strong); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--vx-primary) 40%, transparent); }
.vx-card h3 { margin: 1.2rem 0 .5rem; }
.vx-card p { color: var(--vx-muted); margin: 0; font-size: .97rem; }
.vx-card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: var(--vx-primary);
	background: linear-gradient(135deg, rgba(64, 200, 150, .18), rgba(45, 212, 191, .04)); border: 1px solid var(--vx-border-strong); transition: transform .5s var(--vx-ease); }
.vx-card:hover .vx-card-icon { transform: rotate(-8deg) scale(1.08); }

/* Pipeline */
.vx-pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.vx-pipeline::before {
	content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; z-index: 0;
	background: linear-gradient(90deg, transparent, var(--vx-primary), transparent) 0 0 / 40% 100% no-repeat, var(--vx-border);
	animation: vx-flow 3.5s linear infinite;
}
@keyframes vx-flow { from { background-position: -60% 0, 0 0; } to { background-position: 160% 0, 0 0; } }
.vx-step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.vx-step-num {
	display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 50%;
	font: 700 1.05rem var(--vx-mono); color: var(--vx-primary); background: var(--vx-bg-2); border: 1px solid var(--vx-border-strong);
	box-shadow: 0 0 0 7px var(--vx-bg), 0 0 30px -6px var(--vx-primary);
	animation: vx-node 4s ease-in-out infinite; animation-delay: calc(var(--i) * .9s);
}
@keyframes vx-node { 0%, 70%, 100% { box-shadow: 0 0 0 7px var(--vx-bg), 0 0 30px -6px var(--vx-primary); } 15% { box-shadow: 0 0 0 7px var(--vx-bg), 0 0 46px 2px var(--vx-primary); color: #fff; } }
.vx-step p { color: var(--vx-muted); font-size: .95rem; }

/* Split / code */
.vx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.vx-code pre { margin: 0; border: 0; border-radius: 0; background: none; padding: 22px 24px; font-size: .86rem; line-height: 1.75; color: #cfe0d8; }
.vx-code .k { color: #c084fc; } .vx-code .s { color: var(--vx-primary); } .vx-code .f { color: #60a5fa; }
.vx-code .t { color: #facc15; } .vx-code .n { color: #fb923c; } .vx-code .c { color: var(--vx-dim); font-style: italic; }
.vx-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 2.2rem; }
.vx-stats div { display: flex; flex-direction: column; }
.vx-stats strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.vx-stats strong::after { content: ""; display: block; width: 28px; height: 3px; margin-top: .6rem; border-radius: 3px; background: var(--vx-primary); }
.vx-stats span { margin-top: .5rem; color: var(--vx-muted); font-size: .9rem; }

/* Community */
.vx-split-rev > :first-child { order: 0; }
.vx-feed { display: flex; flex-direction: column; gap: 14px; position: relative; }
.vx-feed::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 80px; background: linear-gradient(transparent, var(--vx-bg)); pointer-events: none; }
.vx-post {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--vx-surface); border: 1px solid var(--vx-border);
	backdrop-filter: blur(10px); transform: translateX(calc(var(--i) * 14px)); transition: transform .4s var(--vx-ease), border-color .3s;
}
.vx-post:hover { transform: translateX(calc(var(--i) * 14px + 6px)); border-color: var(--vx-border-strong); }
.vx-feed.is-in .vx-post { animation: vx-post-in .7s var(--vx-ease) both; animation-delay: calc(var(--i) * .12s); }
@keyframes vx-post-in { from { opacity: 0; transform: translate(calc(var(--i) * 14px - 30px), 10px); } }
.vx-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 700 .8rem var(--vx-mono); color: #03130c; background: linear-gradient(135deg, var(--vx-primary), var(--vx-accent)); }
.vx-post:nth-child(2) .vx-avatar { background: linear-gradient(135deg, #60a5fa, var(--vx-accent)); }
.vx-post:nth-child(3) .vx-avatar { background: linear-gradient(135deg, #c084fc, var(--vx-primary)); }
.vx-post:nth-child(4) .vx-avatar { background: linear-gradient(135deg, #facc15, var(--vx-primary)); }
.vx-post-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vx-post-body strong { font-size: .95rem; font-weight: 600; color: var(--vx-text); }
.vx-post-body small { color: var(--vx-dim); font: .78rem var(--vx-mono); }
.vx-tag { align-self: flex-start; font: 500 .7rem var(--vx-mono); color: var(--vx-primary); padding: 1px 8px; border-radius: 6px; background: rgba(64, 200, 150, .1); border: 1px solid var(--vx-border); margin-bottom: 4px; }
.vx-checks { list-style: none; padding: 0; margin: 0 0 2rem; }
.vx-checks li { position: relative; padding-left: 32px; margin-bottom: .8rem; color: var(--vx-text); }
.vx-checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: .75rem; font-weight: 700; color: var(--vx-primary); background: rgba(64, 200, 150, .12); border: 1px solid var(--vx-border-strong); }

/* CTA */
.vx-cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 90px) 24px; border-radius: 28px; border: 1px solid var(--vx-border-strong);
	background: linear-gradient(160deg, rgba(16, 36, 28, .85), rgba(6, 12, 9, .9)); }
.vx-cta-card h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; position: relative; }
.vx-cta-card p { color: var(--vx-muted); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
.vx-cta-glow { position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; border-radius: 50%;
	background: conic-gradient(from 0deg, var(--vx-primary), transparent 30%, var(--vx-accent), transparent 70%, var(--vx-primary)); filter: blur(100px); opacity: .22; animation: vx-rotate 18s linear infinite; }
@keyframes vx-rotate { to { transform: rotate(360deg); } }

/* ============ Reveal ============ */
.js .vx-reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--vx-ease), transform .9s var(--vx-ease), filter .9s var(--vx-ease); }
.js .vx-reveal[data-delay="1"] { transition-delay: .1s; }
.js .vx-reveal[data-delay="2"] { transition-delay: .2s; }
.js .vx-reveal[data-delay="3"] { transition-delay: .3s; }
.js .vx-reveal[data-delay="4"] { transition-delay: .4s; }
.js .vx-reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ============ Inner pages / Joomla core ============ */
.vx-body { padding: 48px 24px 80px; }
.has-landing .vx-body { padding-top: 0; }
.vx-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.has-left .vx-layout { grid-template-columns: 280px minmax(0, 1fr); }
.has-right .vx-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.has-left.has-right .vx-layout { grid-template-columns: 260px minmax(0, 1fr) 280px; }
.vx-sidebar { display: flex; flex-direction: column; gap: 20px; }
.vx-sidebar > * { position: sticky; top: 90px; }
.vx-modgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-block: 24px; }
.vx-banner { padding-block: 24px; }

.vx-breadcrumbs { margin-bottom: 1.5rem; font: .85rem var(--vx-mono); }
.breadcrumb, .mod-breadcrumbs { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .4rem; color: var(--vx-dim); }
.breadcrumb-item + .breadcrumb-item::before, .mod-breadcrumbs__item + .mod-breadcrumbs__item::before { content: "/"; margin-right: .4rem; color: var(--vx-dim); }
.breadcrumb a { color: var(--vx-muted); }
.breadcrumb a:hover, .breadcrumb .active { color: var(--vx-primary); }

.card { padding: 0; }
.card-header, .moduletable > h3 { margin: 0; padding: 16px 22px; font: 600 .82rem var(--vx-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--vx-primary); border-bottom: 1px solid var(--vx-border); background: rgba(64, 200, 150, .04); }
.card-header::before, .moduletable > h3::before { content: "// "; opacity: .6; }
.card-body { padding: 20px 22px; }
.moduletable { padding: 0 0 20px; }
.moduletable > :not(h3) { padding-inline: 22px; }
.card ul, .moduletable ul { list-style: none; padding-left: 0; margin: 0; }
.card li, .moduletable li { padding: .45rem 0; border-bottom: 1px dashed var(--vx-border); }
.card li:last-child, .moduletable li:last-child { border-bottom: 0; }
.card li a, .moduletable li a { color: var(--vx-muted); transition: color .2s, padding .2s; }
.card li a:hover, .moduletable li a:hover, .card li.current > a { color: var(--vx-primary); padding-left: 4px; }

.vx-component .page-header h1, .vx-component .page-header h2, .item-page > h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.item-page, .blog, .com-content-category, .com-users, .com-contact, .search, .com-finder, .com-tags { min-width: 0; }
.item-page { background: var(--vx-surface); border: 1px solid var(--vx-border); border-radius: 20px; padding: clamp(24px, 4vw, 48px); backdrop-filter: blur(10px); }
.com-content-article__body, .item-page [itemprop="articleBody"] { font-size: 1.06rem; }
.com-content-article__body h2, .item-page h2 { margin-top: 2.2rem; }
.com-content-article__body img { border-radius: 12px; }
.article-info, dl.article-info { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 1.6rem; font: .82rem var(--vx-mono); color: var(--vx-dim); }
.article-info dt { display: none; }
.article-info dd { margin: 0; }
.article-info .icon-fw, .article-info [class^="icon-"] { color: var(--vx-primary); margin-right: .3rem; }

.blog-items, .blog-featured .blog-items { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.blog-items.columns-1 { grid-template-columns: 1fr; }
.blog-item, .com-content-category-blog__item, .item {
	position: relative; padding: 28px; border-radius: var(--vx-radius); background: var(--vx-surface); border: 1px solid var(--vx-border);
	transition: transform .4s var(--vx-ease), border-color .3s, box-shadow .4s; overflow: hidden;
}
.blog-item:hover, .com-content-category-blog__item:hover { transform: translateY(-5px); border-color: var(--vx-border-strong); box-shadow: 0 24px 60px -26px color-mix(in srgb, var(--vx-primary) 45%, transparent); }
.blog-item .page-header h2, .blog-item h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.blog-item h2 a { color: var(--vx-text); }
.blog-item h2 a:hover { color: var(--vx-primary); }
.item-image, .item-image img { border-radius: 12px; overflow: hidden; margin-bottom: 1rem; }
.item-image img { transition: transform .6s var(--vx-ease); }
.blog-item:hover .item-image img { transform: scale(1.04); }
.readmore { margin-top: 1rem; }

.tags, ul.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags a, .badge, .label, .tag-name { display: inline-block; padding: .2rem .65rem; border-radius: 8px; font: 500 .76rem var(--vx-mono); background: rgba(64, 200, 150, .1); color: var(--vx-primary); border: 1px solid var(--vx-border); }
.badge.bg-danger, .badge-danger { color: var(--vx-danger); background: rgba(248, 113, 113, .1); }
.badge.bg-warning { color: var(--vx-warn); background: rgba(251, 191, 36, .1); }

.pagination, .com-content-category-blog__pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.page-link, .pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 11px; background: var(--vx-surface); border: 1px solid var(--vx-border); color: var(--vx-muted); font: 500 .9rem var(--vx-mono); transition: .2s; }
.page-link:hover, .pagination a:hover { color: var(--vx-primary); border-color: var(--vx-border-strong); }
.page-item.active .page-link, .pagination .active span { background: var(--vx-primary); color: #03130c; border-color: transparent; box-shadow: 0 6px 20px -6px var(--vx-primary); }
.page-item.disabled .page-link { opacity: .4; }
.counter { text-align: center; color: var(--vx-dim); font: .82rem var(--vx-mono); }
.pagenavigation .pagination { justify-content: space-between; }

table, .table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 1.5rem; border: 1px solid var(--vx-border); border-radius: 14px; overflow: hidden; font-size: .94rem; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--vx-border); }
th { background: rgba(64, 200, 150, .06); color: var(--vx-text); font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(64, 200, 150, .04); }

.alert, joomla-alert, #system-message-container .alert {
	display: block; position: relative; padding: 1rem 1.25rem 1rem 1.4rem; margin-bottom: 1.4rem; border-radius: 14px; color: var(--vx-text);
	background: rgba(64, 200, 150, .07); border: 1px solid var(--vx-border-strong); border-left: 4px solid var(--vx-primary);
	animation: vx-alert .5s var(--vx-ease);
}
@keyframes vx-alert { from { opacity: 0; transform: translateY(-10px); } }
.alert-danger, joomla-alert[type="danger"], .alert-error { background: rgba(248, 113, 113, .07); border-color: rgba(248, 113, 113, .3); border-left-color: var(--vx-danger); }
.alert-warning, joomla-alert[type="warning"] { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .28); border-left-color: var(--vx-warn); }
.alert-info, joomla-alert[type="info"] { background: rgba(96, 165, 250, .06); border-color: rgba(96, 165, 250, .28); border-left-color: var(--vx-info); }
joomla-alert .joomla-alert--close, .alert .btn-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--vx-muted); font-size: 1.3rem; cursor: pointer; }

.nav-tabs, .nav-pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1rem; border-bottom: 1px solid var(--vx-border); }
.nav-tabs .nav-link, .nav-pills .nav-link { display: block; padding: .55rem 1rem; border-radius: 10px 10px 0 0; color: var(--vx-muted); border: 1px solid transparent; background: none; }
.nav-tabs .nav-link.active, .nav-pills .nav-link.active { color: var(--vx-primary); border-color: var(--vx-border); border-bottom-color: var(--vx-bg); background: var(--vx-surface); }

.com-users-login, .com-users-registration, .com-users-reset, .com-users-remind, .login, .registration, .com-contact__form {
	max-width: 520px; margin-inline: auto; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--vx-surface); border: 1px solid var(--vx-border-strong); backdrop-filter: blur(12px);
	box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--vx-primary) 35%, transparent);
}
.com-users-login__options, .com-users-login .list-group { list-style: none; padding: 0; margin-top: 1.2rem; font-size: .9rem; }

/* ============ Community / forum (Kunena + generic) ============ */
#kunena, .kunena, .com-kunena, [class*="kfrontend"], .forum, .com-easydiscuss, #ed { --bs-body-bg: transparent; --bs-body-color: var(--vx-text); --bs-border-color: var(--vx-border); color: var(--vx-text); }
#kunena .table, #kunena table, .kfrontend, .forum table { background: var(--vx-surface); backdrop-filter: blur(10px); }
#kunena .table thead th, #kunena h2, #kunena .kblock .kheader, #kunena .card-header, .kunena .card-header {
	background: rgba(64, 200, 150, .06) !important; color: var(--vx-primary) !important; border-color: var(--vx-border) !important; font-family: var(--vx-mono);
}
#kunena .card, #kunena .well, #kunena .kmsg, #kunena .kmessage, #kunena .list-group-item, #kunena .bg-white, #kunena .bg-light,
.kunena .card, .kunena .list-group-item { background: var(--vx-surface) !important; color: var(--vx-text) !important; border-color: var(--vx-border) !important; border-radius: 14px; }
#kunena .kmessage, #kunena .kmsg { transition: border-color .3s, box-shadow .3s; }
#kunena .kmessage:hover { border-color: var(--vx-border-strong) !important; box-shadow: 0 20px 50px -30px color-mix(in srgb, var(--vx-primary) 50%, transparent); }
#kunena a, .kunena a { color: var(--vx-primary); }
#kunena .text-muted, #kunena small, #kunena .ksmall { color: var(--vx-muted) !important; }
#kunena .kavatar, #kunena img.img-circle, #kunena .rounded-circle { border-radius: 12px !important; border: 1px solid var(--vx-border-strong); box-shadow: 0 0 20px -8px var(--vx-primary); }
#kunena .navbar, #kunena .nav, #kunena .kfrontend .navbar { background: var(--vx-surface) !important; border: 1px solid var(--vx-border); border-radius: 14px; }
#kunena .badge, #kunena .label { background: rgba(64, 200, 150, .12) !important; color: var(--vx-primary) !important; }
#kunena tr:hover td { background: rgba(64, 200, 150, .035); }
#kunena .kmsgtext pre, #kunena code { background: #050907; color: #cfe0d8; }
#kunena .dropdown-menu, .dropdown-menu { background: var(--vx-surface-solid); border: 1px solid var(--vx-border); border-radius: 12px; padding: 6px; }
.dropdown-menu a, .dropdown-item { color: var(--vx-muted); border-radius: 8px; padding: .45rem .8rem; display: block; }
.dropdown-item:hover { background: rgba(64, 200, 150, .08); color: var(--vx-text); }

/* ============ Footer ============ */
.vx-footer { position: relative; margin-top: auto; padding: 56px 0 28px; background: linear-gradient(180deg, transparent, rgba(4, 9, 7, .9)); }
.vx-footer-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--vx-primary), transparent); opacity: .5; }
.vx-footer-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 40px; color: var(--vx-muted); }
.vx-footer-mods ul { list-style: none; padding: 0; }
.vx-footer-mods a { color: var(--vx-muted); }
.vx-footer-mods a:hover { color: var(--vx-primary); }
.vx-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--vx-border); color: var(--vx-dim); font-size: .88rem; }
.vx-footer-bottom p { margin: 0; }
.vx-credit { font-family: var(--vx-mono); font-size: .8rem; }
.vx-credit a { color: var(--vx-muted); }
.vx-credit a:hover { color: var(--vx-primary); }
.vx-totop { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--vx-border); color: var(--vx-muted); transition: .3s var(--vx-ease); }
.vx-totop:hover { color: var(--vx-primary); border-color: var(--vx-border-strong); transform: translateY(-3px); box-shadow: var(--vx-glow); }

/* ============ Error / offline ============ */
.vx-center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.vx-center-box { max-width: 560px; width: 100%; }
.vx-glitch { position: relative; font: 800 clamp(5rem, 18vw, 9rem)/1 var(--vx-mono); letter-spacing: -.05em; margin-bottom: .5rem; color: var(--vx-primary); text-shadow: 0 0 40px color-mix(in srgb, var(--vx-primary) 50%, transparent); }
.vx-glitch::before, .vx-glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .7; }
.vx-glitch::before { color: var(--vx-accent); animation: vx-glitch 3s infinite steps(1); clip-path: inset(0 0 60% 0); }
.vx-glitch::after { color: #a7f3d0; animation: vx-glitch 2.4s infinite reverse steps(1); clip-path: inset(55% 0 0 0); }
@keyframes vx-glitch { 0%, 88%, 100% { transform: none; } 90% { transform: translate(-4px, 1px); } 94% { transform: translate(4px, -1px); } }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
	.has-left.has-right .vx-layout, .has-left .vx-layout, .has-right .vx-layout { grid-template-columns: minmax(0, 1fr); }
	.vx-sidebar > * { position: static; }
}
@media (max-width: 960px) {
	.vx-hero { min-height: auto; padding: 48px 0 110px; }
	.vx-hero-inner, .vx-split { grid-template-columns: 1fr; gap: 48px; }
	.vx-cards { grid-template-columns: repeat(2, 1fr); }
	.vx-pipeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.vx-pipeline::before { display: none; }
	.vx-community .vx-feed { order: 2; }
}
@media (max-width: 600px) {
	.vx-container { padding: 0 16px; }
	.vx-cards, .vx-pipeline { grid-template-columns: 1fr; }
	.vx-brand-text small { display: none; }
	.vx-float-chip { display: none; }
	.vx-term-body { min-height: 280px; font-size: .76rem; padding: 16px; }
	.vx-post { transform: none !important; }
	.vx-stats { gap: 24px; }
	.vx-stats strong { font-size: 2.1rem; }
	.vx-body { padding: 32px 16px 64px; }
	.blog-items { grid-template-columns: 1fr; }
}

/* ============ Motion preferences ============ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .vx-reveal { opacity: 1; transform: none; filter: none; }
	#vx-canvas, .vx-cursor { display: none; }
}

/* ============ Free Hands branding ============ */
.vx-brand-mark svg { position: relative; z-index: 1; transform-origin: 70% 90%; }
.vx-brand:hover .vx-brand-mark svg { animation: vx-wave 1s var(--vx-ease); }
@keyframes vx-wave { 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
.vx-hero-hl {
	display: block; margin-top: .1em;
	background: linear-gradient(100deg, var(--vx-primary) 0%, var(--vx-accent) 45%, #a7f3d0 60%, var(--vx-primary) 100%);
	background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: vx-shine 8s linear infinite;
	filter: drop-shadow(0 0 28px color-mix(in srgb, var(--vx-primary) 35%, transparent));
}

/* Footer: centred copyright, back-to-top on the right */
.vx-footer-bottom { position: relative; justify-content: center; text-align: center; min-height: 66px; }
.vx-footer-bottom .vx-totop { position: absolute; right: 0; top: 50%; margin-top: 12px; transform: translateY(-50%); }
.vx-footer-bottom .vx-totop:hover { transform: translateY(calc(-50% - 3px)); }

/* ============ Header menu: robust alignment + dropdowns ============ */
@media (min-width: 961px) {
	.vx-nav > ul, .vx-nav .mod-menu { align-items: stretch; height: 100%; }
	.vx-nav > ul > li, .vx-nav .mod-menu > li { display: flex; align-items: center; margin: 0; padding: 0; }
	.vx-nav > ul > li > a, .vx-nav > ul > li > span,
	.vx-nav .mod-menu > li > a, .vx-nav .mod-menu > li > span { display: inline-flex; align-items: center; gap: .4rem; line-height: 1.2; height: 40px; padding: 0 .95rem; margin: 0; }

	/* caret on items with children */
	.vx-nav li.parent > a::before, .vx-nav li.deeper > a::before, .vx-nav li.parent > span::before, .vx-nav li.deeper > span::before {
		content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg); opacity: .6; transition: transform .25s var(--vx-ease), margin .25s;
	}
	.vx-nav li.parent:hover > a::before, .vx-nav li.deeper:hover > a::before { transform: rotate(-135deg); margin-top: 3px; }

	/* dropdown sits right under its item; invisible bridge keeps hover alive */
	.vx-nav ul ul, .vx-nav .mod-menu__sub {
		top: 100%; left: 50%; margin-top: 10px; min-width: 220px; gap: 2px;
		transform: translate(-50%, 8px) scale(.98); transform-origin: 50% 0;
	}
	.vx-nav li:hover > ul, .vx-nav li:focus-within > ul { transform: translate(-50%, 0) scale(1); }
	.vx-nav ul ul::before, .vx-nav .mod-menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.vx-nav ul ul::after, .vx-nav .mod-menu__sub::after {
		content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg);
		background: rgba(10, 20, 16, .96); border-left: 1px solid var(--vx-border); border-top: 1px solid var(--vx-border);
	}
	.vx-nav ul ul ul { top: -8px; left: 100%; margin: 0 0 0 8px; transform: translateX(6px); }
	.vx-nav li li:hover > ul { transform: none; }
	.vx-nav ul ul ul::after { display: none; }

	.vx-nav ul ul li { display: block; }
	.vx-nav ul ul a, .vx-nav ul ul span {
		display: flex; align-items: center; height: auto; padding: .55rem .85rem; border-radius: 9px; font-size: .92rem; position: relative; transition: color .2s, background .2s, padding .25s var(--vx-ease);
	}
	.vx-nav ul ul a::before { content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--vx-primary); transform: translateY(-50%); transition: height .25s var(--vx-ease); }
	.vx-nav ul ul a:hover, .vx-nav ul ul li.active > a, .vx-nav ul ul li.current > a { background: rgba(64, 200, 150, .08); color: var(--vx-text); padding-left: 1.15rem; }
	.vx-nav ul ul a:hover::before, .vx-nav ul ul li.current > a::before { height: 16px; }
}

/* ============ Glass: translucent, blurred landing blocks ============ */
.vx-terminal, .vx-code {
	background: linear-gradient(160deg, rgba(20, 40, 32, .42), rgba(6, 14, 11, .38));
	backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
	border-color: rgba(120, 230, 190, .22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 60px -20px color-mix(in srgb, var(--vx-primary) 40%, transparent);
}
.vx-terminal::after, .vx-code::after, .vx-card::after, .vx-cta-card::after, .vx-post::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, transparent 38%);
}
.vx-term-bar { background: rgba(255, 255, 255, .035); }
.vx-card, .vx-post, .item-page, .blog-item, .card, .moduletable {
	background: linear-gradient(160deg, rgba(22, 42, 34, .40), rgba(8, 16, 13, .32));
	backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.vx-cta-card {
	background: linear-gradient(160deg, rgba(20, 46, 36, .45), rgba(6, 12, 9, .40));
	backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
}
.vx-cta-card > :not(.vx-cta-glow) { position: relative; z-index: 1; }
.vx-float-chip { background: rgba(12, 26, 20, .45); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); }
.vx-marquee { background: rgba(12, 24, 19, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vx-step-num { background: rgba(10, 22, 17, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vx-eyebrow { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vx-btn-ghost { background: rgba(64, 200, 150, .05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* soft colour blobs behind the hero visual and code block, so the glass has something to blur */
.vx-hero-visual::before, .vx-split > .vx-code { isolation: isolate; }
.vx-hero-visual::before {
	content: ""; position: absolute; z-index: -1; width: 70%; height: 70%; top: 15%; left: 15%; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--vx-primary), transparent 60%), radial-gradient(circle at 75% 70%, var(--vx-accent), transparent 55%);
	filter: blur(60px); opacity: .35; animation: vx-blob 14s ease-in-out infinite alternate;
}
@keyframes vx-blob { to { transform: translate(8%, -6%) scale(1.12) rotate(20deg); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.vx-terminal, .vx-code, .vx-card, .vx-post, .vx-cta-card { background: rgba(12, 24, 19, .9); }
}

/* Terminal & code: clearer glass (no preserve-3d, it disables backdrop-filter in Chromium) */
.vx-terminal, .vx-code {
	background: linear-gradient(160deg, rgba(30, 60, 48, .22), rgba(8, 18, 14, .18));
	backdrop-filter: blur(14px) saturate(1.6) brightness(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.6) brightness(1.1);
}
.vx-term-bar { background: rgba(255, 255, 255, .04); border-bottom-color: rgba(120, 230, 190, .14); }
.vx-hero-visual::before { opacity: .5; }
