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

body {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
	color: #eee;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	min-height: 100vh;
	line-height: 1.6;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(17, 17, 17, 0.95);
	backdrop-filter: blur(10px);
	padding: 1rem 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

nav .logo {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 2px;
	color: #fff;
	text-decoration: none;
}

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

nav .nav-links a {
	color: #aaa;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.3s;
}

nav .nav-links a:hover {
	color: #fff;
}

/* Hero Section */
.hero {
	padding: 120px 2rem 80px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	letter-spacing: 2px;
	color: #fff;
}

.hero .tagline {
	color: #aaa;
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.hero .cta {
	display: inline-block;
	padding: 12px 30px;
	background: #fff;
	color: #111;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;
}

.hero .cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Projects Section */
.projects-section {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 2rem;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #fff;
}

.section-header p {
	color: #aaa;
	font-size: 1.1rem;
}

/* Project Cards */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 80px;
}

.project-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.project-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #fff;
	transform: scaleX(0);
	transition: transform 0.3s;
}

.project-card:hover {
	transform: translateY(-8px);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.project-card .icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.project-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: #fff;
}

.project-card .description {
	color: #aaa;
	margin-bottom: 1.5rem;
	min-height: 60px;
}

.project-card .tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.project-card .tech-tag {
	background: rgba(255, 255, 255, 0.1);
	color: #ccc;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.85rem;
}

.project-card .project-links {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.project-card .project-link {
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s;
}

.project-card .project-link:hover {
	color: #ccc;
}

/* Reveal Animation */
.project-card {
	opacity: 0;
	transform: translateY(30px);
	animation: revealCard 0.6s forwards;
}

.project-card:nth-child(1) {
	animation-delay: 0.1s;
}
.project-card:nth-child(2) {
	animation-delay: 0.2s;
}
.project-card:nth-child(3) {
	animation-delay: 0.3s;
}
.project-card:nth-child(4) {
	animation-delay: 0.4s;
}
.project-card:nth-child(5) {
	animation-delay: 0.5s;
}
.project-card:nth-child(6) {
	animation-delay: 0.6s;
}

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

/* Footer */
footer {
	background: rgba(17, 17, 17, 0.95);
	padding: 2rem;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1rem;
}

footer a {
	color: #aaa;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s;
}

footer a:hover {
	color: #fff;
}

footer .copyright {
	color: #666;
	font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	nav .nav-links {
		gap: 1rem;
	}

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