:root {
	--green: #4CAF50;
	--green-bright: #66FF73;
	--blue: #00BCD4;
	--blue-dark: #0097A7;
	--yellow: #FFC107;
	--yellow-bright: #FFD54F;
	--dark: #0a1628;
	--dark-alt: #132540;
	--light: #f0f4f8;
}

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

body {
	font-family: 'DM Sans', sans-serif;
	color: var(--light);
	background: var(--dark);
	overflow-x: hidden;
	line-height: 1.6;
}

/* Animated background */
.bg-animated {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
background-color: var(--dark);
}

.bg-animated::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: repeating-linear-gradient(90deg, rgba(76, 175, 80, 0.03) 0px, transparent 1px, transparent 40px, rgba(76, 175, 80, 0.03) 41px), repeating-linear-gradient(0deg, rgba(0, 188, 212, 0.03) 0px, transparent 1px, transparent 40px, rgba(0, 188, 212, 0.03) 41px);
	animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(40px, 40px); }
}

/* Orbital decoration */
.orbital-decoration {
	position: absolute;
	width: 600px;
	height: 600px;
	border: 2px solid rgba(76, 175, 80, 0.1);
	border-radius: 50%;
	top: -200px;
	right: -200px;
	animation: rotate 30s linear infinite;
}

.orbital-decoration::after {
	content: '';
	position: absolute;
	width: 800px;
	height: 800px;
	border: 2px solid rgba(0, 188, 212, 0.08);
	border-radius: 50%;
	top: -100px;
	left: -100px;
}

@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Content wrapper */
.content {
	position: relative;
	z-index: 1;
}

/* Header */
header {
	padding: 2rem 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
	transform: translateY(0);
	}
}

.logo-header {
	width: 180px;
	height: auto;
	filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
	transition: transform 0.3s ease;
}

.logo-header:hover {
	transform: scale(1.05);
}

nav a {
	color: var(--light);
	text-decoration: none;
	margin-left: 2rem;
	font-weight: 500;
	position: relative;
	transition: color 0.3s ease;
}

nav a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--green), var(--blue));
	transition: width 0.3s ease;
}

nav a:hover {
	color: var(--green-bright);
}

nav a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	padding: 1rem 5% 6rem;
	text-align: center;
	position: relative;
}

.hero-logo {
	width: 200px;
	height: auto;
	margin-bottom: 3rem;
	filter: drop-shadow(0 10px 40px rgba(76, 175, 80, 0.4));
	animation: fadeInScale 1s ease-out 0.2s both;
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

h1 {
	font-family: 'Orbitron', sans-serif;
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 900;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, var(--green-bright), var(--blue), var(--yellow-bright));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fadeInUp 1s ease-out 0.4s both;
}

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

.tagline {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: rgba(240, 244, 248, 0.8);
	max-width: 700px;
	margin: 0 auto 3rem;
	animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
	display: inline-block;
	padding: 1.2rem 3rem;
	background: linear-gradient(135deg, var(--green), var(--blue));
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.cta-button:hover::before {
	left: 100%;
}

/* Services Section */
.services {
	padding: 6rem 5%;
	position: relative;
}

.section-title {
	font-family: 'Orbitron', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	text-align: center;
	margin-bottom: 4rem;
	color: var(--light);
}

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

.service-card {
	background: rgba(19, 37, 64, 0.6);
	border: 1px solid rgba(76, 175, 80, 0.2);
	border-radius: 20px;
	padding: 3rem 2rem;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--green), var(--blue), var(--yellow));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	border-color: rgba(76, 175, 80, 0.5);
	box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	display: inline-block;
	transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
	transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
	font-family: 'Orbitron', sans-serif;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--green-bright);
}

.service-card p {
	color: rgba(240, 244, 248, 0.8);
	line-height: 1.8;
}

/* About Section */
.about {
	padding: 6rem 5%;
	background: rgba(19, 37, 64, 0.4);
	backdrop-filter: blur(10px);
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.about-content p {
	font-size: 1.2rem;
	line-height: 1.9;
	color: rgba(240, 244, 248, 0.9);
	margin-bottom: 1.5rem;
}

/* Tech Stack */
.tech-stack {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 3rem;
}

.tech-badge {
	padding: 0.8rem 1.5rem;
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(0, 188, 212, 0.2));
	border: 1px solid rgba(76, 175, 80, 0.3);
	border-radius: 25px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.tech-badge a {
	color: #ffffff;
	text-decoration: none;
}
.tech-badge a:hover {
	text-decoration: underline;
}

.tech-badge:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(0, 188, 212, 0.3));
	border-color: var(--green);
}

/* Footer */
footer {
	padding: 3rem 5%;
	text-align: center;
	border-top: 1px solid rgba(76, 175, 80, 0.2);
}

footer p {
	color: rgba(240, 244, 248, 0.6);
	margin-bottom: 1rem;
}

.social-links a {
	color: var(--light);
	text-decoration: none;
	margin: 0 1rem;
	font-size: 1.5rem;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: var(--green-bright);
}

/* Pixel decoration */
.pixels {
	position: fixed;
	top: 20%;
	left: 5%;
	display: grid;
	grid-template-columns: repeat(3, 15px);
	gap: 5px;
	opacity: 0.3;
	animation: pixelFloat 4s ease-in-out infinite;
}

@keyframes pixelFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}

.pixel {
	width: 15px;
	height: 15px;
	background: var(--green);
}

.pixel:nth-child(2) { background: var(--blue); }
.pixel:nth-child(3) { background: var(--yellow); }
.pixel:nth-child(5) { background: var(--blue); }
.pixel:nth-child(6) { background: var(--green); }

a.link {
	color: var(--light);
	text-decoration: none;
	margin-left: 2rem;
	font-weight: 500;
	position: relative;
	transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
	header {
		flex-direction: column;
		gap: 1rem;
	}

	nav a {
		margin: 0 1rem;
	}

	.hero {
		padding: 1rem 5% 4rem;
	}

	.services, .about {
		padding: 4rem 5%;
	}

	.pixels {
		display: none;
	}
}