:root {
	--bg: #0b1020;
	--bg-soft: #121933;
	--card: rgba(255, 255, 255, 0.06);
	--card-strong: rgba(255, 255, 255, 0.1);
	--text: #f4f7ff;
	--muted: #a8b3cf;
	--accent: #7c9cff;
	--accent-soft: rgba(124, 156, 255, 0.18);
	--border: rgba(255, 255, 255, 0.12);
	--shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
	--radius: 18px;
	--max-width: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: Inter, Arial, sans-serif;
	background:
		radial-gradient(circle at top left, rgba(124, 156, 255, 0.12), transparent 30%),
		radial-gradient(circle at top right, rgba(85, 220, 180, 0.1), transparent 25%),
		var(--bg);
	color: var(--text);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(100% - 2rem, var(--max-width));
	margin: 0 auto;
}

.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(11, 16, 32, 0.72);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
}

.logo {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

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

.nav-links a {
	color: var(--muted);
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

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

.hero {
	padding: 5rem 0 3rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
}

.eyebrow {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	border: 1px solid var(--border);
	background: var(--card);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.85rem;
	margin-bottom: 1rem;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 1.05;
	margin-bottom: 1rem;
}

.hero p {
	max-width: 58ch;
	color: var(--muted);
	font-size: 1.05rem;
	margin-bottom: 1.5rem;
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.2rem;
	border-radius: 12px;
	font-weight: 600;
	border: 1px solid var(--border);
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
	background: var(--accent);
	color: #09101f;
	border-color: transparent;
}

.button.secondary {
	background: var(--card);
	color: var(--text);
}

.button:hover {
	transform: translateY(-2px);
}

.hero-panel {
	background: linear-gradient(180deg, var(--card-strong), var(--card));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.4rem;
	box-shadow: var(--shadow);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.stat-box {
	padding: 1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box .number {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.stat-box .label {
	color: var(--muted);
	font-size: 0.92rem;
}

.section {
	padding: 2.5rem 0;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.section-heading h2 {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading p {
	color: var(--muted);
	max-width: 52ch;
}

.subheading {
	margin-bottom: 0.8rem;
}

.panel {
	background: linear-gradient(180deg, var(--card-strong), var(--card));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.4rem;
	box-shadow: var(--shadow);
}

.stack-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.2rem;
}

.stack-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.stack-item {
	display: grid;
	grid-template-columns: 110px 1fr 60px;
	gap: 0.8rem;
	align-items: center;
}

.stack-item .name {
	font-weight: 600;
}

.stack-item .percent {
	color: var(--muted);
	text-align: right;
	font-size: 0.95rem;
}

.bar {
	height: 12px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent), #87f0cf);
	transition: width 1s ease;
}

.meta-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.chip {
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	background: var(--accent-soft);
	border: 1px solid rgba(124, 156, 255, 0.22);
	font-size: 0.92rem;
	color: var(--text);
}

.small-note {
	color: var(--muted);
	font-size: 0.92rem;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.project-card {
	position: relative;
	min-height: 300px;
	padding: 1.4rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)),
		#0f1730;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
	transform: translateY(-6px);
	border-color: rgba(124, 156, 255, 0.45);
}

.project-top {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.project-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.project-subtitle {
	color: var(--muted);
	font-size: 0.95rem;
}

.project-overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.2rem;
	background: linear-gradient(180deg, rgba(8, 13, 27, 0), rgba(8, 13, 27, 0.94) 38%);
	transform: translateY(26%);
	transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
	transform: translateY(0);
}

.project-description {
	color: #e4ebff;
	margin-bottom: 0.9rem;
	font-size: 0.96rem;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.tech-tag {
	font-size: 0.82rem;
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #dbe4ff;
}

.project-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.text-link {
	font-weight: 600;
	color: #bdd2ff;
}

.contact-box {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.contact-link {
	padding: 0.95rem 1.1rem;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--card);
	min-width: 180px;
}

.contact-link span {
	display: block;
	color: var(--muted);
	font-size: 0.9rem;
	margin-bottom: 0.2rem;
}

footer {
	padding: 2rem 0 3rem;
	color: var(--muted);
	font-size: 0.94rem;
}

@media (max-width: 900px) {
	.hero-grid,
	.stack-layout,
	.project-grid {
		grid-template-columns: 1fr;
	}

	.section-heading {
		flex-direction: column;
		align-items: start;
	}
}

@media (max-width: 640px) {
	.nav-inner {
		flex-direction: column;
		align-items: start;
		gap: 0.8rem;
	}

	.stack-item {
		grid-template-columns: 1fr;
	}

	.stack-item .percent {
		text-align: left;
	}

	.hero {
		padding-top: 3.5rem;
	}
}