:root {
	--color-bg: #0a0a0f;
	--color-bg-alt: #12121a;
	--color-surface: #1a1a27;
	--color-text: #e4e4e7;
	--color-text-muted: #a1a1aa;
	--color-primary: #10b981;
	--color-primary-hover: #059669;
	--color-accent: #34d399;
	--color-border: #27272a;
	--gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
	--max-width: 1200px;
	--spacing: 1rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background-color: var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(10, 10, 15, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	z-index: 1000;
}

.nav-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

.nav-links a:hover {
	color: var(--color-text);
}

/* Container */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 2rem;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 80px;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 800px;
	height: 600px;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.particle-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

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

.hero-title {
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.gradient-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: clamp(1.5rem, 4vw, 2rem);
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

.hero-description {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 600px;
	margin-bottom: 2.5rem;
	line-height: 1.8;
}

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

/* Buttons */
.btn {
	padding: 0.875rem 2rem;
	border-radius: 0.5rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	display: inline-block;
}

.btn-primary {
	background: var(--gradient);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
	border-color: var(--color-border);
	color: var(--color-text);
}

.btn-secondary:hover {
	border-color: var(--color-primary);
	background-color: rgba(16, 185, 129, 0.1);
}

/* Sections */
.section {
	padding: 6rem 0;
}

.section-alt {
	background-color: var(--color-bg-alt);
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
	text-align: center;
}

/* About Section */
.about-content {
	max-width: 800px;
	margin: 0 auto;
}

.about-text {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

/* Skills Section */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.skill-category {
	background-color: var(--color-surface);
	padding: 2rem;
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-category:hover {
	transform: translateY(-5px);
	border-color: var(--color-primary);
}

.skill-category-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--color-text);
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.skill-tag {
	background-color: rgba(16, 185, 129, 0.1);
	color: var(--color-primary);
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid rgba(16, 185, 129, 0.2);
	transition: all 0.3s ease;
}

.skill-tag:hover {
	background-color: rgba(16, 185, 129, 0.2);
	border-color: var(--color-primary);
	transform: translateY(-2px);
}

/* Contact Section */
.contact-description {
	text-align: center;
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 600px;
	margin: 0 auto 3rem;
}

.contact-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	max-width: 800px;
	margin: 0 auto;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	text-decoration: none;
	color: var(--color-text);
	transition: all 0.3s ease;
	min-width: 0;
}

.contact-link:hover {
	border-color: var(--color-primary);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.contact-link svg {
	flex-shrink: 0;
	color: var(--color-primary);
}

.contact-link span {
	font-weight: 500;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Footer */
.footer {
	background-color: var(--color-bg-alt);
	border-top: 1px solid var(--color-border);
	padding: 2rem 0;
	text-align: center;
	color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
	.nav-content {
		padding: 1rem;
	}

	.nav-links {
		gap: 1rem;
	}

	.hero {
		min-height: auto;
		padding: 8rem 0 4rem;
	}

	.section {
		padding: 4rem 0;
	}

	.skills-grid {
		grid-template-columns: 1fr;
	}

	.contact-links {
		grid-template-columns: 1fr;
	}
}
