*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	overflow-x: hidden;
}

.font-display {
	font-family: "Space Grotesk", sans-serif;
}
.font-sans {
	font-family: "Inter", sans-serif;
}

/* Gradient border for service cards */
.service-card {
	position: relative;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 24px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, transparent 60%);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Swiper overrides */
.swiper-button-next,
.swiper-button-prev {
	color: #7c3aed !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 18px !important;
}
.swiper-pagination-bullet {
	background: rgba(124, 58, 237, 0.4) !important;
	opacity: 1 !important;
}
.swiper-pagination-bullet-active {
	background: #7c3aed !important;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: #0f0f1a;
}
::-webkit-scrollbar-thumb {
	background: rgba(124, 58, 237, 0.5);
	border-radius: 3px;
}

/* Animation delays */
.delay-150 {
	animation-delay: 0.15s;
}
.delay-300 {
	animation-delay: 0.3s;
}
.delay-450 {
	animation-delay: 0.45s;
}
.animation-delay-2000 {
	animation-delay: 2s;
}
.animation-delay-4000 {
	animation-delay: 4s;
}

/* Selection */
::selection {
	background: rgba(124, 58, 237, 0.4);
	color: #fff;
}

/* Autofill override */
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #0f0f1a inset !important;
	-webkit-text-fill-color: #fff !important;
}

/* Blob */
@keyframes blob {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -20px) scale(1.1);
	}
	66% {
		transform: translate(-20px, 20px) scale(0.9);
	}
}
.animate-blob {
	animation: blob 12s ease-in-out infinite;
	will-change: transform;
}

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

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes slideLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes slideRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
.anim-fade-up {
	animation: fadeUp 0.6s ease-out both;
}
.anim-slide-l {
	animation: slideLeft 0.6s ease-out both;
}
.anim-slide-r {
	animation: slideRight 0.6s ease-out both;
}

/* Process mobile vertical line */
@media (max-width: 767px) {
	.process-mobile-wrap {
		position: relative;
		padding-left: 2.5rem;
	}
	.process-mobile-wrap::before {
		content: "";
		position: absolute;
		left: 0.75rem;
		top: 2rem;
		bottom: 2rem;
		width: 1px;
		background: linear-gradient(to bottom, #7c3aed, #06b6d4);
		opacity: 0.3;
	}
}

/* Nav scrolled state */
#navbar.scrolled {
	background: rgba(15, 15, 26, 0.92);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(124, 58, 237, 0.12);
	box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
}

/* Canvas */
#particles-canvas {
	pointer-events: none;
}

/* Cases swiper overflow */
.cases-swiper {
	overflow: visible !important;
}
.cases-outer {
	overflow: hidden;
}

/* Gradient text */
.grad-text {
	background: linear-gradient(135deg, #a78bfa, #06b6d4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.grad-text-yellow {
	background: linear-gradient(135deg, #ffe600, #fbbf24);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Stat gradient text */
.stat-grad {
	background: linear-gradient(135deg, #a78bfa, #22d3ee);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings:
		"lnum" 1,
		"tnum" 1;
}

/* Step number */
.step-num-grad {
	background: linear-gradient(to bottom, rgba(124, 58, 237, 0.7), transparent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings:
		"lnum" 1,
		"tnum" 1;
}

/* Hamburger lines */
.ham-line {
	display: block;
	width: 22px;
	height: 2px;
	background: #a78bfa;
	border-radius: 2px;
	transition:
		transform 0.3s,
		opacity 0.3s;
}
#hamburger.open .ham-line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
#hamburger.open .ham-line:nth-child(2) {
	opacity: 0;
}
#hamburger.open .ham-line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Trust badge hover */
.partner-badge:hover {
	border-color: rgba(124, 58, 237, 0.4);
	background: rgba(124, 58, 237, 0.06);
}
