.fade-up {
	transform: translateY(10px);
	opacity: 0;
	transition: all 0.5s ease;
}
.fade-up.in {
	transform: translateY(0);
	opacity: 1;
}

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1 {
	transition-delay: 120ms;
}
.reveal-delay-2 {
	transition-delay: 220ms;
}
.reveal-delay-3 {
	transition-delay: 320ms;
}

.float-soft {
	animation: float-soft 6s ease-in-out infinite;
}
@keyframes float-soft {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.cta-glow {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-glow:hover {
	transform: translateY(-2px) scale(1.01);
	box-shadow: 0 20px 40px rgba(139, 92, 246, 0.28);
}

.grad-spark {
	background: linear-gradient(135deg, #0f766e, #e07a2a);
}

.aspect-4-3 {
	position: relative;
	padding-top: 75%;
	overflow: hidden;
}
.aspect-4-3 > * {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

@keyframes scroll-back-forth {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.animate-scroll {
	display: flex;
	gap: 1.5rem;
	animation: scroll-back-forth 20s linear infinite alternate;
}

.cta-bounce {
	display: inline-flex;
	animation: bounce 1s infinite;
}
@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

.video-embed {
	min-height: 220px;
}
@media (min-width: 640px) {
	.video-embed {
		min-height: 300px;
	}
}

:root {
	--bg: #0b1220;
	--panel: #101a2c;
	--panel-2: #162239;
	--text: #f5f7fb;
	--muted: #c2ccda;
	--border: #24344c;
	--accent: #2bb3b1;
	--accent-2: #f2b441;
	--shadow: 0 18px 40px rgba(3, 6, 12, 0.45);
}

body {
	font-family: "Manrope", system-ui, -apple-system, sans-serif;
	background: radial-gradient(120% 120% at 15% 0%, #172238 0%, #0b1220 55%, #0a0f1b 100%);
	color: var(--text);
}

h1,
h2,
h3,
h4 {
	font-family: "Fraunces", serif;
	letter-spacing: 0.01em;
}

.bg-neutral-950 {
	background-color: var(--bg) !important;
}
.bg-neutral-950\/75 {
	background-color: rgba(11, 18, 32, 0.75) !important;
}
.bg-neutral-900 {
	background-color: var(--panel-2) !important;
}
.bg-neutral-900\/50 {
	background-color: rgba(16, 26, 44, 0.7) !important;
}
.bg-neutral-900\/30 {
	background-color: rgba(16, 26, 44, 0.55) !important;
}
.bg-neutral-900\/80 {
	background-color: rgba(16, 26, 44, 0.85) !important;
}
.bg-neutral-800 {
	background-color: var(--panel) !important;
}

.text-neutral-100 {
	color: var(--text) !important;
}
.text-neutral-300,
.text-neutral-400,
.text-gray-400 {
	color: var(--muted) !important;
}

.border-neutral-800,
.border-gray-700 {
	border-color: var(--border) !important;
}

.shadow-lg {
	box-shadow: var(--shadow) !important;
}

.from-emerald-900,
.from-emerald-700 {
	--tw-gradient-from: var(--accent) !important;
	--tw-gradient-to: rgba(15, 118, 110, 0) !important;
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-purple-700,
.from-purple-500 {
	--tw-gradient-from: #8b5cf6 !important;
	--tw-gradient-to: rgba(139, 92, 246, 0) !important;
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.via-slate-900 {
	--tw-gradient-stops: var(--tw-gradient-from), #1c2b3b, var(--tw-gradient-to) !important;
}
.via-indigo-900 {
	--tw-gradient-stops: var(--tw-gradient-from), #e7c39a, var(--tw-gradient-to) !important;
}
.to-indigo-600 {
	--tw-gradient-to: var(--accent-2) !important;
}
.to-neutral-950 {
	--tw-gradient-to: var(--bg) !important;
}

.bg-blue-600 {
	background-color: var(--accent) !important;
}
.hover\:bg-green-500:hover {
	background-color: var(--accent-2) !important;
}
.hover\:bg-neutral-900:hover {
	background-color: #1b2840 !important;
}

.bg-neutral-900\/80,
.bg-neutral-900\/80 * {
	color: var(--text) !important;
}

header .text-white,
footer .text-white {
	color: var(--text) !important;
}

body.error-page {
	margin: 0;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: radial-gradient(120% 120% at 15% 0%, #172238 0%, #0b1220 55%, #0a0f1b 100%);
	color: #f5f7fb;
	font-family: "Manrope", sans-serif;
	overflow: hidden;
}

body.error-page .container {
	text-align: center;
	position: relative;
}

body.error-page .heading {
	font-size: 8rem;
	font-family: "Fraunces", serif;
	text-shadow: 0 0 20px rgba(43, 179, 177, 0.35), 0 0 40px rgba(242, 180, 65, 0.35);
	animation: glow 2s infinite alternate;
}

body.error-page .subheading {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

body.error-page .btn {
	padding: 10px 24px;
	border: 2px solid #2bb3b1;
	background: transparent;
	color: #f5f7fb;
	border-radius: 30px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s;
}
body.error-page .btn:hover {
	background: #2bb3b1;
	color: #0b1220;
	box-shadow: 0 0 15px rgba(43, 179, 177, 0.35);
}

body.error-page .hat {
	position: relative;
	margin: 3rem auto 0 auto;
	width: 160px;
	height: 150px;
	background: #0b1220;
	border-radius: 15px 15px 0 0;
	z-index: 2;
}

body.error-page .hat::before {
	content: "";
	position: absolute;
	bottom: 125px;
	left: -40px;
	width: 240px;
	height: 40px;
	background: #0b1220;
	border-radius: 50%;
}

body.error-page .hat-band {
	position: absolute;
	bottom: 85px;
	left: 0;
	width: 100%;
	height: 20px;
	background: #2bb3b1;
	border-radius: 5px;
}

body.error-page .card {
	position: absolute;
	bottom: 120px;
	font-size: 3rem;
	opacity: 0;
	animation: floatUp 5s linear infinite;
}

body.error-page .card1 {
	left: 40%;
	animation-delay: 0s;
}
body.error-page .card2 {
	left: 50%;
	animation-delay: 1s;
}
body.error-page .card3 {
	left: 60%;
	animation-delay: 2s;
}

body.error-page .card:nth-child(1) {
	animation-delay: 0s;
	transform: translateX(-20px);
}
body.error-page .card:nth-child(2) {
	animation-delay: 1s;
	transform: translateX(20px);
}
body.error-page .card:nth-child(3) {
	animation-delay: 2s;
	transform: translateX(-40px);
}
body.error-page .card:nth-child(4) {
	animation-delay: 3s;
	transform: translateX(40px);
}
body.error-page .card:nth-child(5) {
	animation-delay: 4s;
	transform: translateX(0px);
}

@keyframes floatUp {
	0% {
		transform: translateY(0) scale(0.5) rotate(0deg);
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	100% {
		transform: translateY(-300px) scale(1) rotate(360deg);
		opacity: 0;
	}
}

@keyframes glow {
	from {
		text-shadow: 0 0 10px rgba(43, 179, 177, 0.45), 0 0 20px rgba(242, 180, 65, 0.35);
	}
	to {
		text-shadow: 0 0 30px rgba(43, 179, 177, 0.55), 0 0 50px rgba(242, 180, 65, 0.45);
	}
}
