:root {
	--primary: #8A2BE2;
	--primary-light: #9D4EDD;
	--primary-dark: #6A0DAD;
	--accent: #00FFD1;
	--background: #0A0A0A;
	--text: #FFFFFF;
}

html {
	scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
	width: 10px;
	background: var(--background);
}

::-webkit-scrollbar-track {
	background: rgba(138, 43, 226, 0.1);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(var(--primary), var(--primary-light));
	border-radius: 5px;
	border: 2px solid var(--background);
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(var(--primary-light), var(--accent));
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--primary) var(--background);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", sans-serif;
	background-color: var(--background);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Hero Section */
.hero {
	height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#heroCanvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 140%;
	z-index: 1;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
}

.glitch {
	font-size: 8rem;
	font-weight: bold;
	text-transform: uppercase;
	position: relative;
	text-shadow: 0.05em 0 0 var(--accent),
		-0.025em -0.05em 0 var(--primary-light),
		0.025em 0.05em 0 var(--primary-dark);
	animation: glitch 500ms infinite;
}

.subtitle {
	font-size: 1.8rem;
	margin: 1rem 0 1rem;
	color: var(--accent);
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-desc {
	font-size: 1.3rem;
	margin: 0 auto 2rem;
	max-width: 600px;
	color: var(--text);
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s ease forwards 0.7s;
	text-shadow: 0 0 10px var(--primary);
	line-height: 1.6;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-button {
	display: inline-block;
	padding: 1rem 2rem;
	background: linear-gradient(45deg, var(--primary), var(--primary-light));
	color: var(--text);
	text-decoration: none;
	border-radius: 30px;
	font-weight: bold;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid var(--accent);
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 20px var(--primary-light);
}

.cta-button-outline {
	background: transparent;
	border: 2px solid var(--primary);
	position: relative;
	overflow: hidden;
}

.cta-button-outline:hover {
	border-color: var(--accent);
	color: var(--accent);
	box-shadow: 0 0 20px var(--primary-dark);
}

/* Services Section */
.services {
	padding: 100px 5%;
	background: linear-gradient(to bottom, var(--background), #130013);
}

.services h2 {
	text-align: center;
	font-size: 3rem;
	margin-bottom: 3rem;
	color: var(--primary-light);
}

.service-spotlight {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	background: rgba(138, 43, 226, 0.1);
	border-radius: 20px;
	border: 2px solid var(--primary);
	box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}

.service-main {
	text-align: center;
}

.service-main h3 {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--accent);
	text-shadow: 0 0 10px var(--primary);
}

.service-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.feature {
	padding: 2rem;
	background: rgba(138, 43, 226, 0.05);
	border-radius: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--primary);
}

.feature:hover {
	transform: translateY(-10px);
	box-shadow: 0 0 20px var(--primary);
}

.feature .icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.feature h4 {
	color: var(--primary-light);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.feature p {
	color: var(--text);
	opacity: 0.9;
}

.service-why {
	margin-top: 4rem;
	text-align: center;
	padding: 2rem;
	background: rgba(138, 43, 226, 0.05);
	border-radius: 15px;
	border: 1px solid var(--primary);
}

.service-why h4 {
	color: var(--accent);
	font-size: 1.8rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.service-why p {
	color: var(--text);
	font-size: 1.2rem;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

/* Projects Section */
.projects {
	padding: 100px 5%;
	background: var(--background);
}

.projects h2 {
	text-align: center;
	font-size: 3rem;
	margin-bottom: 3rem;
	color: var(--primary-light);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.project-card {
	background: rgba(138, 43, 226, 0.1);
	border-radius: 15px;
	padding: 1.5rem;
	transition: box-shadow 0.3s ease;
	border: 1px solid var(--primary);
	cursor: pointer;
	text-decoration: none;
	color: var(--text);
}

.project-card:hover {
	box-shadow: 0 0 30px var(--primary-dark);
}

.project-image {
	height: 200px;
	background: var(--primary);
	border-radius: 10px;
	margin-bottom: 1rem;
	position: relative;
	overflow: hidden;
}

.project-image {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
}

.project-stats {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.market-cap-ath {
	display: inline-block;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	border: 1px solid var(--primary);
	background: rgba(138, 43, 226, 0.1);
	color: var(--accent);
	-webkit-text-fill-color: var(--accent);
}


/* Footer */
.footer {
	padding: 3rem 5%;
	background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.1));
	border-top: 1px solid var(--primary);
	margin-top: 4rem;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.footer-brand {
	flex: 1;
}

.footer-tagline {
	color: var(--primary-light);
	font-size: 1.1rem;
	font-weight: 500;
}

.footer-links {
	display: flex;
	gap: 1.5rem;
}

.social-link {
	color: var(--primary);
	transition: color 0.3s ease, transform 0.3s ease;
	display: flex;
	align-items: center;
}

.social-link:hover {
	color: var(--accent);
	transform: translateY(-3px);
}

.footer-copyright {
	color: var(--primary);
	font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
	.service-features {
		grid-template-columns: repeat(2, 1fr);
	}

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
		padding: 0 2rem;
	}
}

@media (max-width: 768px) {

	/* Hero Section */
	.hero-content {
		padding: 0 2rem;
	}

	.glitch {
		font-size: 5rem;
	}

	.subtitle {
		font-size: 1.5rem;
	}

	.hero-desc {
		font-size: 1.1rem;
	}

	.hero-cta {
		flex-direction: column;
		gap: 1rem;
	}

	.cta-button {
		width: 100%;
		text-align: center;
	}

	/* Services Section */
	.services h2,
	.projects h2 {
		font-size: 2.5rem;
	}

	.service-main h3 {
		font-size: 2rem;
	}

	.service-features {
		grid-template-columns: 1fr;
	}

	.service-why {
		margin-top: 3rem;
	}

	.service-why h4 {
		font-size: 1.5rem;
	}

	/* Projects Section */
	.projects-grid {
		grid-template-columns: 1fr;
		padding: 0 1rem;
	}

	/* Footer */
	.footer-content {
		flex-direction: column;
		text-align: center;
		padding: 0 1rem;
	}

	.footer-links {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.glitch {
		font-size: 3.5rem;
	}

	.subtitle {
		font-size: 1.2rem;
	}

	.hero-desc {
		font-size: 1rem;
	}

	.services h2,
	.projects h2 {
		font-size: 2rem;
	}

	.service-main h3 {
		font-size: 1.8rem;
	}

	.feature {
		padding: 1.5rem;
	}

	.feature h4 {
		font-size: 1.2rem;
	}
}

/* Animations */
@keyframes glitch {
	0% {
		text-shadow: 0.05em 0 0 var(--accent),
			-0.025em -0.05em 0 var(--primary-light),
			0.025em 0.05em 0 var(--primary-dark);
	}

	14% {
		text-shadow: 0.05em 0 0 var(--accent),
			-0.025em -0.05em 0 var(--primary-light),
			0.025em 0.05em 0 var(--primary-dark);
	}

	15% {
		text-shadow: -0.05em -0.025em 0 var(--accent),
			0.025em 0.025em 0 var(--primary-light),
			-0.05em -0.05em 0 var(--primary-dark);
	}

	49% {
		text-shadow: -0.05em -0.025em 0 var(--accent),
			0.025em 0.025em 0 var(--primary-light),
			-0.05em -0.05em 0 var(--primary-dark);
	}

	50% {
		text-shadow: 0.025em 0.05em 0 var(--accent),
			0.05em 0 0 var(--primary-light),
			0 -0.05em 0 var(--primary-dark);
	}

	99% {
		text-shadow: 0.025em 0.05em 0 var(--accent),
			0.05em 0 0 var(--primary-light),
			0 -0.05em 0 var(--primary-dark);
	}

	100% {
		text-shadow: -0.025em 0 0 var(--accent),
			-0.025em -0.025em 0 var(--primary-light),
			-0.025em -0.05em 0 var(--primary-dark);
	}
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}