/*
	Nebuluxe Marketing — Clean Slate Theme
	- Mobile-first, responsive, accessible (WCAG AA aims)
	- Simple slate palette, single accent
	- Clear type scale, consistent spacing, robust navigation
	- Works from any subfolder via PHP base path for assets
*/

:root {
	--bg: #0f1115;
	--surface: #161a22;
	--surface-2: #1b2030;
	--text: #e7eaf0;
	--muted: #9aa3b2;
	--accent: #3b82f6;
	/* primary accent */
	--ring: rgba(59, 130, 246, .45);
	--border: rgba(231, 234, 240, .12);
	--border-strong: rgba(231, 234, 240, .18);
}

/* === Galaxy Theme (deep purples with neon accents) === */
:root {
	--space-1: #0B0B1A;
	--space-2: #0E0A1F;
	--text-primary: #EAE9F5;
	--text-secondary: #A7A3C1;
	--purple: #7C3AED;
	--magenta: #D946EF;
	--neon: #22D3EE;
}

/* ==== Base ============================================================= */
* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	background: linear-gradient(180deg, var(--space-1), var(--space-2));
	color: var(--text-primary);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: url('img/stars.png') repeat;
	background-size: contain;
	z-index: -2;
	opacity: .5;
	animation: starScroll 60s linear infinite
}

@keyframes starScroll {
	from {
		background-position: 0 0
	}

	to {
		background-position: -10000px 5000px
	}
}

img {
	max-width: 100%;
	height: auto;
	display: block
}

a {
	color: inherit;
	text-decoration: none
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--ring);
	outline-offset: 2px
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0
}

/* ==== Layout =========================================================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 18px
}

.section {
	padding: 72px 0
}

@media(max-width:640px) {
	.section {
		padding: 56px 0
	}
}

/* Flexible row/col utility */
.row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px
}

.col {
	flex: 1 1 100%
}

@media(min-width:900px) {
	.col {
		flex: 1 1 calc(50% - 16px)
	}
}

/* Grid helpers */
.grid {
	display: grid;
	gap: 16px
}

.cols-1 {
	grid-template-columns: 1fr
}

.cols-2 {
	grid-template-columns: 1fr
}

.cols-3 {
	grid-template-columns: 1fr
}

.cols-4 {
	grid-template-columns: 1fr
}

@media(min-width:640px) {
	.cols-2 {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media(min-width:900px) {
	.cols-3 {
		grid-template-columns: repeat(3, 1fr)
	}

	.cols-4 {
		grid-template-columns: repeat(4, 1fr)
	}
}

/* ==== Typography ======================================================= */
.h1 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.15;
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.02em
}

.h2 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	line-height: 1.2;
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.01em
}

.h3 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1.25rem;
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.01em
}

.overline {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--muted);
	font-size: .875rem;
	margin: 0 0 8px;
	font-weight: 500
}

.subtitle {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--muted);
	max-width: 62ch;
	font-weight: 400;
	line-height: 1.7
}

/* ==== Header / Nav ===================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: linear-gradient(180deg, rgba(11, 11, 26, .55), rgba(14, 10, 31, .35));
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(124, 58, 237, .25)
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0
}

.nav ul,
.nav ul.nav-menu,
ul.nav-menu,
#navmenu,
ul#navmenu,
.nav ul#navmenu {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	padding-left: 0 !important;
	margin: 0 !important;
	margin-left: 0 !important
}

.nav li,
.nav-menu li,
.nav ul li,
#navmenu li,
ul.nav-menu li,
ul#navmenu li,
.nav ul#navmenu li,
li[role="none"] {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	padding-left: 0 !important;
	margin: 0 !important;
	margin-left: 0 !important
}

.nav li::marker,
.nav-menu li::marker,
.nav ul li::marker,
#navmenu li::marker,
ul.nav-menu li::marker,
ul#navmenu li::marker {
	content: "" !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important
}

.nav li::before,
.nav-menu li::before,
.nav ul li::before,
#navmenu li::before {
	content: none !important;
	display: none !important
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	letter-spacing: -0.01em
}

.logo {
	width: 36px;
	height: 36px
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text);
	font-size: 22px
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important
}

.nav-menu li {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important
}

/* Force remove any list markers */
header ul,
header ul li,
.site-header ul,
.site-header ul li,
.site-header .nav ul,
.site-header .nav ul li,
.site-header nav ul,
.site-header nav ul li,
.site-header nav .nav-menu,
.site-header nav .nav-menu li {
	list-style: none !important;
	list-style-type: none !important;
	padding-left: 0 !important;
	margin-left: 0 !important
}

/* Remove any pseudo-elements that might create visual bullets */
.site-header li::before,
.site-header li::after,
.site-header .nav-menu li::before,
.site-header .nav-menu li::after {
	content: "" !important;
	display: none !important
}

.link {
	padding: 8px 10px;
	border-radius: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 500;
	letter-spacing: -0.01em;
	border: none;
	outline: none;
	background: transparent
}

.link.active {
	background: transparent;
	border: none;
	outline: none
}

/* Neon underline animation for links */
.nav .link {
	position: relative;
	border: none !important;
	outline: none !important
}

.nav .link:after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 2px;
	height: 2px;
	background: linear-gradient(90deg, var(--purple), var(--magenta));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease
}

.nav .link:hover:after,
.nav .link.active:after {
	transform: scaleX(1)
}

.nav .link.active {
	border-radius: 0;
	border: none !important;
	outline: none !important;
	background: transparent !important
}

@media (max-width:900px) {
	.nav {
		position: relative
	}

	.nav-toggle {
		display: block
	}

	.nav-menu {
		position: absolute;
		top: 56px;
		right: 16px;
		left: 16px;
		display: none;
		flex-direction: column;
		gap: 8px;
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: 12px;
		padding: 10px;
		list-style: none !important
	}

	.nav-menu.open {
		display: flex
	}
}

/* ==== Buttons ========================================================== */
.btn {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text);
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 500;
	letter-spacing: -0.01em
}

.btn:hover {
	background: rgba(231, 234, 240, .06);
	border-color: var(--border-strong)
}

.btn.primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #0a0c10
}

.btn.primary:hover {
	filter: brightness(1.06)
}

.btn.ghost {
	border-color: var(--border)
}

.btn.link {
	padding: 0;
	border: none;
	color: var(--accent);
	text-decoration: underline;
	border-radius: 0;
	background: none
}

/* ==== Hero ============================================================= */
.hero {
	position: relative;
	overflow: hidden
}

.hero:after {
	content: "";
	position: absolute;
	inset: -20%;
	background: radial-gradient(600px 400px at 80% 0%, rgba(124, 58, 237, .25), transparent 60%), radial-gradient(600px 400px at 20% 0%, rgba(217, 70, 239, .18), transparent 60%);
	filter: blur(40px);
	z-index: 0
}

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

.hero .right {
	display: grid;
	place-items: center
}

.logo-xl {
	width: min(440px, 85vw);
	height: auto
}

.spin {
	animation: spin 22s linear infinite
}

@keyframes spin {
	to {
		transform: rotate(360deg)
	}
}

/* Optional subtle star pattern */
.starfield {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: url('img/stars.png');
	background-size: 240px 240px;
	opacity: .15
}

/* ==== Cards ============================================================ */
.card {
	background: rgba(21, 17, 42, .4);
	border: 1px solid rgba(124, 58, 237, .3);
	border-radius: 14px;
	box-shadow: none;
	transition: transform .3s ease, box-shadow .3s ease
}

.card:hover {
	border-color: var(--border-strong)
}

.card img {
	width: 100%;
	height: auto;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px
}

.card>.content {
	padding: 16px
}

/* Glassmorphism cards */
.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 15px rgba(124, 58, 237, .5)
}

/* Tilt-ready visuals */
[data-tilt] {
	transform-style: preserve-3d;
	perspective: 800px
}

[data-tilt] .tilt-inner {
	transform: translateZ(24px)
}

/* ==== Filters ========================================================== */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px
}

.filters .btn {
	border-color: var(--border)
}

.filters .btn.active {
	background: rgba(231, 234, 240, .08);
	border-color: var(--border-strong)
}

/* ==== Forms ============================================================ */
label {
	display: block;
	margin: 6px 0;
	color: var(--muted)
}

input,
select,
textarea {
	width: 100%;
	padding: 10px 12px;
	color: var(--text);
	background: #10131a;
	border: 1px solid var(--border);
	border-radius: 10px
}

textarea {
	resize: vertical
}

fieldset {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px;
	margin: 16px 0;
	background: rgba(16, 19, 26, .3)
}

legend {
	padding: 0 8px;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 500
}

fieldset label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0
}

fieldset input[type="checkbox"] {
	width: auto;
	margin: 0
}

.mini-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap
}

/* ==== Footer =========================================================== */
.site-footer {
	border-top: 1px solid rgba(124, 58, 237, .25);
	background: linear-gradient(180deg, rgba(11, 11, 26, .85), rgba(14, 10, 31, .75));
	backdrop-filter: blur(10px);
	padding: 32px 0
}

.site-footer .grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px
}

.site-footer .list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px
}

.site-footer .legal {
	text-align: center;
	margin-top: 16px;
	color: var(--muted)
}

.site-footer a {
	color: var(--text-primary);
	transition: color .2s ease
}

.site-footer a:hover {
	color: var(--magenta);
	text-shadow: 0 0 8px rgba(217, 70, 239, .4)
}

.site-footer input,
.site-footer .btn {
	border-color: rgba(124, 58, 237, .35)
}

.site-footer input:focus,
.site-footer .btn:hover {
	border-color: rgba(124, 58, 237, .55);
	box-shadow: 0 0 8px rgba(124, 58, 237, .2)
}

.footer-cta {
	border-top: 1px solid rgba(124, 58, 237, .25);
	background: linear-gradient(180deg, rgba(11, 11, 26, .85), rgba(14, 10, 31, .75));
	backdrop-filter: blur(10px)
}

.footer-cta .cta {
	display: grid;
	place-items: center;
	text-align: center;
	gap: 10px;
	padding: 40px 0
}

/* ==== Utilities ======================================================== */
.m-0 {
	margin: 0
}

.mb-1 {
	margin-bottom: 6px
}

.mb-2 {
	margin-bottom: 10px
}

.mb-3 {
	margin-bottom: 16px
}

.mb-4 {
	margin-bottom: 24px
}

.mt-2 {
	margin-top: 10px
}

.py-2 {
	padding-block: 10px
}

.py-3 {
	padding-block: 16px
}

.px-3 {
	padding-inline: 16px
}

.center {
	text-align: center
}

/* ==== Reduced Motion =================================================== */
@media (prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto
	}

	* {
		animation: none !important;
		transition: none !important
	}

	.starfield {
		opacity: .1
	}
}

/* ==== Galaxy Theme Specific Styles ==================================== */
.logo-rotate {
	animation: spin 20s linear infinite
}

@keyframes spin {
	from {
		transform: rotate(0deg)
	}

	to {
		transform: rotate(360deg)
	}
}

.logo-xl {
	filter: drop-shadow(0 0 16px rgba(124, 58, 237, .45))
}

/* Heading gradient + glow */
.text-gradient {
	background: linear-gradient(90deg, var(--text-primary), var(--magenta));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent
}

.glow-text {
	color: var(--text-primary);
	animation: glowPulse 3s ease-in-out infinite
}

@keyframes glowPulse {

	0%,
	100% {
		text-shadow: 0 0 10px var(--purple), 0 0 20px var(--magenta)
	}

	50% {
		text-shadow: 0 0 20px var(--purple), 0 0 40px var(--magenta)
	}
}

/* Reusable animations */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px)
	}

	100% {
		opacity: 1;
		transform: translateY(0)
	}
}

.fade-in-up {
	opacity: 0
}

.fade-in-up.visible {
	animation: fadeInUp .8s ease-out forwards
}

.fade-in {
	opacity: 0;
	transition: opacity .6s ease
}

.fade-in.visible {
	opacity: 1
}

.float {
	animation: float 4s ease-in-out infinite
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-10px)
	}
}

.parallax-stars {
	background-attachment: fixed
}

/* Buttons */
.btn-primary {
	background: linear-gradient(90deg, var(--purple), var(--magenta));
	padding: .8rem 1.6rem;
	border: none;
	color: #fff;
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	transition: transform .3s ease, box-shadow .3s ease;
	box-shadow: 0 0 15px rgba(124, 58, 237, .6)
}

.btn-primary:hover {
	transform: scale(1.05);
	box-shadow: 0 0 25px rgba(124, 58, 237, .9)
}

.btn-ghost {
	border: 1px solid rgba(124, 58, 237, .4);
	color: var(--text-primary);
	background: transparent;
	border-radius: 50px;
	padding: .7rem 1.4rem
}

.btn-ghost:hover {
	box-shadow: 0 0 12px rgba(124, 58, 237, .4)
}

.btn-link {
	position: relative;
	color: var(--neon)
}

.btn-link:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: linear-gradient(90deg, var(--purple), var(--magenta));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease
}

.btn-link:hover:after {
	transform: scaleX(1)
}

/* Utilities */
.section {
	padding: 72px 0
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 18px
}

.center {
	text-align: center
}

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

.grid-3 {
	grid-template-columns: 1fr
}

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

@media(min-width:768px) {
	.grid-2 {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media(min-width:1024px) {
	.grid-3 {
		grid-template-columns: repeat(3, 1fr)
	}
}

/* === Layered Galaxy Visuals (global, no HTML rewrite needed) === */
/* Wrapper you can add to any section: .galaxy-bg */
.galaxy-bg {
	position: relative;
	isolation: isolate
}

.galaxy-bg>* {
	position: relative;
	z-index: 1
}

/* Starfield layers (attach inside .galaxy-bg using pseudo-elements) */
.galaxy-bg:before,
.galaxy-bg:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none
}

.galaxy-bg:before {
	background-image: radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, .6) 99%, transparent 100%), radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, .6) 99%, transparent 100%), radial-gradient(1.5px 1.5px at 70% 30%, rgba(255, 255, 255, .7) 99%, transparent 100%), radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, .4) 99%, transparent 100%);
	opacity: .6;
	background-repeat: repeat;
	background-size: 800px 800px;
	animation: parallaxA 140s linear infinite
}

.galaxy-bg:after {
	background-image: radial-gradient(1.5px 1.5px at 20% 50%, rgba(255, 255, 255, .5) 99%, transparent 100%), radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, .7) 99%, transparent 100%), radial-gradient(1px 1px at 80% 80%, rgba(255, 255, 255, .5) 99%, transparent 100%);
	opacity: .45;
	background-repeat: repeat;
	background-size: 1000px 1000px;
	animation: parallaxB 200s linear infinite
}

@keyframes parallaxA {
	from {
		background-position: 0 0
	}

	to {
		background-position: -1200px 600px
	}
}

@keyframes parallaxB {
	from {
		background-position: 0 0
	}

	to {
		background-position: -800px 1200px
	}
}

/* Optional third star layer (element you can add) */
.stars-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(1px 1px at 15% 35%, rgba(255, 255, 255, .5) 99%, transparent 100%), radial-gradient(1px 1px at 45% 75%, rgba(255, 255, 255, .5) 99%, transparent 100%), radial-gradient(1px 1px at 75% 45%, rgba(255, 255, 255, .5) 99%, transparent 100%);
	background-size: 1200px 1200px;
	opacity: .35;
	animation: parallaxC 260s linear infinite
}

@keyframes parallaxC {
	from {
		background-position: 0 0
	}

	to {
		background-position: -1500px 900px
	}
}

/* Nebula overlays that slowly morph colors */
.nebula-overlay {
	position: absolute;
	inset: -15%;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(600px 400px at 80% 10%, rgba(124, 58, 237, .22), transparent 60%), radial-gradient(500px 360px at 20% 0%, rgba(217, 70, 239, .18), transparent 60%), radial-gradient(500px 360px at 60% 100%, rgba(34, 211, 238, .16), transparent 60%);
	filter: blur(44px);
	animation: nebulaMorph 30s ease-in-out infinite alternate
}

@keyframes nebulaMorph {
	0% {
		transform: translate3d(0, 0, 0) scale(1)
	}

	50% {
		transform: translate3d(0, -2%, 0) scale(1.05)
	}

	100% {
		transform: translate3d(0, 1%, 0) scale(1.02)
	}
}

/* Floating orbs / planets */
.orb {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(1px);
	opacity: .6;
	animation: float 12s ease-in-out infinite
}

.orb.purple {
	background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, .9), rgba(124, 58, 237, .2) 60%, transparent 70%)
}

.orb.magenta {
	background: radial-gradient(circle at 40% 40%, rgba(217, 70, 239, .9), rgba(217, 70, 239, .2) 60%, transparent 70%)
}

.orb.blue {
	background: radial-gradient(circle at 40% 40%, rgba(34, 211, 238, .9), rgba(34, 211, 238, .2) 60%, transparent 70%)
}

/* Position helpers you can apply */
.orb.tl {
	top: -40px;
	left: -40px;
	width: 160px;
	height: 160px
}

.orb.tr {
	top: -30px;
	right: -40px;
	width: 140px;
	height: 140px
}

.orb.bl {
	bottom: -40px;
	left: -50px;
	width: 180px;
	height: 180px
}

.orb.br {
	bottom: -30px;
	right: -40px;
	width: 160px;
	height: 160px
}

/* Shooting stars (generated in JS; style + animation here) */
.shooting-star {
	position: fixed;
	width: 2px;
	height: 2px;
	background: #fff;
	box-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 12px rgba(124, 58, 237, .9);
	opacity: .9;
	transform: translate3d(0, 0, 0);
	z-index: 2;
	border-radius: 50%;
}

.shooting-star:after {
	content: "";
	position: absolute;
	right: 100%;
	top: 50%;
	height: 2px;
	width: 120px;
	background: linear-gradient(90deg, rgba(255, 255, 255, .9), transparent);
	transform: translateY(-50%)
}

@keyframes shoot {
	0% {
		transform: translate3d(0, 0, 0)
	}

	100% {
		transform: translate3d(-120vw, 60vh, 0);
		opacity: 0
	}
}

/* Particles that pop near section boundaries */
.particle {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff, rgba(124, 58, 237, .2));
	opacity: 0;
	animation: particlePop .9s ease forwards
}

@keyframes particlePop {
	0% {
		transform: scale(.5);
		opacity: 0
	}

	50% {
		opacity: 1
	}

	100% {
		transform: scale(1.2);
		opacity: 0
	}
}

/* Parallax utility for star layers */
.parallax {
	will-change: transform
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce) {

	.galaxy-bg:before,
	.galaxy-bg:after,
	.stars-layer,
	.nebula-overlay,
	.orb,
	.shooting-star,
	.particle {
		animation: none !important
	}
}

/* === Neon Finance Landing Sections === */
/* Glass card modifier */
.glass {
	background: rgba(21, 17, 42, .4) !important;
	border: 1px solid rgba(124, 58, 237, .3) !important;
	backdrop-filter: blur(10px)
}

/* Pill buttons */
.pill {
	border-radius: 999px;
	padding: .8rem 1.4rem
}

.primary-pill {
	background: linear-gradient(90deg, var(--purple), var(--magenta));
	border: none;
	color: #fff;
	box-shadow: 0 0 18px rgba(124, 58, 237, .45)
}

.primary-pill:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 26px rgba(124, 58, 237, .6)
}

.ghost-pill {
	border: 1px solid rgba(124, 58, 237, .45)
}

/* Hero platform + UI card */
.hero-orb-platform {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -40px;
	width: min(880px, 90vw);
	height: 220px;
	border-radius: 220px;
	background: radial-gradient(circle at 50% 10%, rgba(124, 58, 237, .55), rgba(124, 58, 237, .08) 60%, transparent 70%);
	filter: blur(14px);
	box-shadow: 0 -6px 80px rgba(124, 58, 237, .28) inset
}

.hero-card-wrap {
	display: grid;
	place-items: center;
	margin-top: -40px
}

.hero-card {
	width: min(820px, 92vw);
	border-radius: 20px
}

.hero-card-ui {
	aspect-ratio: 16/9;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(10, 10, 18, .85), rgba(12, 10, 22, .92)), url('../img/hero.jpeg') center/cover no-repeat;
	border: 1px solid rgba(255, 255, 255, .05);
	box-shadow: 0 20px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(124, 58, 237, .2);
	overflow: hidden
}

/* Faint gridlines */
.faint-grid {
	position: relative
}

.faint-grid:before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 80px 80px;
	opacity: .15;
	z-index: 0
}

.faint-grid>.container {
	position: relative;
	z-index: 1
}

/* Benefits tree */
.benefit-tree {
	position: relative;
	display: grid;
	place-items: center;
	gap: 18px;
	margin-top: 12px
}

.benefit-tree .node {
	display: inline-block;
	padding: .8rem 1.2rem;
	border-radius: 16px;
	background: rgba(21, 17, 42, .45);
	border: 1px solid rgba(124, 58, 237, .35)
}

.benefit-tree .top {
	grid-area: 1/1
}

.benefit-tree .left {
	grid-area: 2/1;
	justify-self: start
}

.benefit-tree .right {
	grid-area: 2/1;
	justify-self: end
}

.benefit-tree .bottom {
	grid-area: 3/1
}

.benefit-tree .links {
	position: absolute;
	inset: 0;
	background: radial-gradient(closest-side at 50% 60%, rgba(124, 58, 237, .25), transparent 70%);
	pointer-events: none
}

/* Features grid spacing */
.features-grid .card {
	display: flex;
	flex-direction: column;
	height: 100%
}

.features-grid .card .content {
	padding: 18px;
	flex: 1;
	display: flex;
	flex-direction: column
}

/* Founders section */
.founders-grid {
	max-width: 800px;
	margin: 0 auto
}

.founder-role {
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500
}

.founder-bio {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-secondary)
}

/* Clients section */
.clients-grid {
	gap: 20px
}

.client-card {
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden
}

.client-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(124, 58, 237, .3)
}

.client-logo-wrapper {
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(21, 17, 42, .2);
	min-height: 180px;
	border-bottom: 1px solid rgba(124, 58, 237, .2)
}

.client-logo-wrapper img {
	max-width: 100%;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: brightness(1.1)
}

.client-category {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em
}

/* Concentric orb section */
.orb-section {
	position: relative;
	overflow: hidden
}

.concentric-orbs {
	position: relative;
	width: min(560px, 80vw);
	height: min(560px, 80vw);
	margin: 0 auto 24px
}

.concentric-orbs .ring {
	position: absolute;
	border-radius: 50%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(124, 58, 237, .35);
	box-shadow: 0 0 80px rgba(124, 58, 237, .25) inset
}

.concentric-orbs .r1 {
	width: 100%;
	height: 100%
}

.concentric-orbs .r2 {
	width: 72%;
	height: 72%
}

.concentric-orbs .r3 {
	width: 46%;
	height: 46%
}

.concentric-orbs .core {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 18%;
	height: 18%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124, 58, 237, .9), rgba(124, 58, 237, .2) 70%, transparent 80%);
	box-shadow: 0 0 60px rgba(124, 58, 237, .5)
}

/* Concentric orbs rotation */
@keyframes orbspin {
	to {
		transform: translate(-50%, -50%) rotate(360deg)
	}
}

.concentric-orbs .r1 {
	animation: orbspin 60s linear infinite
}

.concentric-orbs .r2 {
	animation: orbspin 45s linear infinite reverse
}

.concentric-orbs .r3 {
	animation: orbspin 30s linear infinite
}

@media (prefers-reduced-motion:reduce) {

	.concentric-orbs .r1,
	.concentric-orbs .r2,
	.concentric-orbs .r3 {
		animation: none !important
	}
}

/* Social pill strip */
.social-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 12px
}

.social {
	display: inline-block;
	padding: .6rem 1rem;
	border: 1px solid rgba(124, 58, 237, .35);
	border-radius: 999px
}

/* Footer glow */
.footer-glow {
	position: relative
}

.footer-glow:after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -40px;
	width: min(880px, 90vw);
	height: 220px;
	border-radius: 220px;
	background: radial-gradient(circle at 50% 10%, rgba(124, 58, 237, .45), rgba(124, 58, 237, .06) 60%, transparent 70%);
	filter: blur(18px);
	opacity: .9
}

/* Hero image block (full card replacement) */
.hero-image {
	width: min(820px, 92vw);
	aspect-ratio: 16/9;
	border-radius: 20px;
	margin: 0 auto 12px;
	background: url('../img/hero.jpeg') center/cover no-repeat;
	box-shadow: 0 20px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(124, 58, 237, .2);
	border: 1px solid rgba(124, 58, 237, .25)
}

/* <img> based hero image styling */
.hero-image-el {
	display: block;
	width: min(820px, 92vw);
	height: auto;
	border-radius: 20px;
	margin: 0 auto 12px;
	box-shadow: 0 20px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(124, 58, 237, .2);
	border: 1px solid rgba(124, 58, 237, .25)
}

/* === Blue Space Theme Update === */
:root {
	--space-1: #07111f;
	--space-2: #081427;
	--text-primary: #EAF2FF;
	--text-secondary: #A9B8D9;
	--accent1: #0EA5E9;
	/* sky blue */
	--accent2: #22D3EE;
	/* electric blue */
	--ring: rgba(34, 211, 238, .45);
}

body {
	background: linear-gradient(180deg, var(--space-1), var(--space-2));
	color: var(--text-primary)
}

/* Replace previous purple/magenta gradients with blue accents */
.text-gradient {
	background: linear-gradient(90deg, var(--text-primary), var(--accent2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent
}

.nav .link:after {
	background: linear-gradient(90deg, var(--accent1), var(--accent2))
}


.primary-pill {
	background: linear-gradient(90deg, var(--accent1), var(--accent2));
	box-shadow: 0 0 18px rgba(34, 211, 238, .35)
}

.primary-pill:hover {
	box-shadow: 0 0 26px rgba(34, 211, 238, .55)
}

.social {
	border-color: rgba(34, 211, 238, .35)
}

.footer-glow:after {
	background: radial-gradient(circle at 50% 10%, rgba(124, 58, 237, .45), rgba(217, 70, 239, .15) 60%, transparent 70%)
}

/* Glass cards keep but tint border to blue */
.glass {
	border: 1px solid rgba(34, 211, 238, .28) !important
}

.card:hover {
	box-shadow: 0 0 20px rgba(34, 211, 238, .26)
}

/* Hero: use hero.jpg */
.hero-image {
	background: url('../img/hero.jpg') center/cover no-repeat
}

.hero-image-el {
	box-shadow: 0 20px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(34, 211, 238, .25);
	border: 1px solid rgba(34, 211, 238, .25)
}

/* New hero banner with overlayed content */
.hero-banner {
	position: relative;
	width: min(1100px, 95vw);
	height: 60vh;
	min-height: 380px;
	margin: 0 auto;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 30px 120px rgba(0, 0, 0, .55), 0 0 60px rgba(34, 211, 238, .18);
	background: url('../img/hero.jpg') center/cover no-repeat;
	border: 1px solid rgba(34, 211, 238, .22)
}

.hero-banner .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 10, 20, .55), rgba(8, 20, 39, .75));
	display: grid;
	place-items: center;
	text-align: center;
	padding: 24px
}

.hero-banner .cta-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 12px
}

/* Update hero platform tint */
.hero-orb-platform {
	background: radial-gradient(circle at 50% 10%, rgba(34, 211, 238, .45), rgba(34, 211, 238, .08) 60%, transparent 70%)
}

/* Full-bleed hero background with overlayed text */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url('../img/hero.jpg') center/cover no-repeat
}

.hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 17, 31, .55), rgba(8, 20, 39, .65));
	z-index: 0
}

.hero .container {
	position: relative;
	z-index: 1
}

/* Hide standalone hero image element when using section background */
.hero-image-el {
	display: none
}

/* Hero background layer for dynamic image via inline style */
.hero{position:relative;min-height:100vh;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;z-index:-1}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,17,31,.55),rgba(8,20,39,.65));z-index:0}
.hero .container{position:relative;z-index:1}

/* Ensure hero background is unobstructed */
.hero-bg{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;z-index:-1}
.hero:before{display:none!important}
.hero.galaxy-bg:before,.hero.galaxy-bg:after{display:none!important}