:root {
	--bg: #0a0a0f;
	--surface: #12121a;
	--card: #1a1a26;
	--border: rgba(255, 255, 255, 0.08);
	--accent: #7c6aff;
	--accent2: #e96cff;
	--text: #f0f0ff;
	--muted: #8888aa;
	--radius: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		"Inter",
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

/* ───────────── Nav ───────────── */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 2.5rem;
	background: rgba(10, 10, 15, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
}

.nav-logo {
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: var(--text);
}

/* ───────────── Hero ───────────── */

.hero {
	position: relative;
	text-align: center;
	padding: 14rem 2rem 10rem;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 106, 255, 0.2) 0%, transparent 70%),
		radial-gradient(ellipse 40% 30% at 80% 60%, rgba(233, 108, 255, 0.1) 0%, transparent 60%);
	pointer-events: none;
}

.hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(124, 106, 255, 0.12);
	border: 1px solid rgba(124, 106, 255, 0.3);
	color: #b8aaff;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	margin-bottom: 2rem;
}

h1 {
	font-size: clamp(3.5rem, 10vw, 6rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	background: linear-gradient(135deg, #ffffff 0%, #c4b8ff 50%, #f0a8ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1.2rem;
}

.hero-sub {
	font-size: 1.1rem;
	color: var(--muted);
	letter-spacing: 0.02em;
	margin-bottom: 2.5rem;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary {
	display: inline-block;
	padding: 0.75rem 1.8rem;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-radius: 999px;
	transition: opacity 0.2s, transform 0.2s;
	box-shadow: 0 0 24px rgba(124, 106, 255, 0.35);
}

.btn-primary:hover {
	opacity: 0.88;
	transform: translateY(-2px);
}

.btn-ghost {
	display: inline-block;
	padding: 0.75rem 1.8rem;
	background: transparent;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.9rem;
	text-decoration: none;
	border-radius: 999px;
	border: 1px solid var(--border);
	transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
	color: var(--text);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

/* ───────────── Sections ───────────── */

section {
	padding: 6rem 2rem;
	max-width: 960px;
	margin: 0 auto;
}

.section-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.6rem;
}

h2 {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 2.5rem;
}

/* ───────────── About ───────────── */

.about-text {
	font-size: 1.1rem;
	color: var(--muted);
	line-height: 2;
	max-width: 560px;
}

/* ───────────── Skills ───────────── */

.skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.skill {
	background: var(--card);
	border: 1px solid var(--border);
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	font-size: 0.83rem;
	font-weight: 500;
	color: var(--muted);
	transition: all 0.2s ease;
	cursor: default;
}

.skill:hover {
	border-color: rgba(124, 106, 255, 0.5);
	color: #c4b8ff;
	background: rgba(124, 106, 255, 0.08);
}

/* ───────────── Products ───────────── */

.product-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.card {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	background: var(--card);
	border-radius: var(--radius);
	padding: 1.5rem 1.8rem;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--border);
	transition: all 0.25s ease;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(124, 106, 255, 0.05), transparent);
	opacity: 0;
	transition: opacity 0.25s;
}

.card:hover {
	border-color: rgba(124, 106, 255, 0.4);
	transform: translateX(6px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
	opacity: 1;
}

.card-body {
	flex: 1;
}

.card h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: var(--text);
}

.card p {
	font-size: 0.85rem;
	color: var(--muted);
}

.card-arrow {
	color: var(--muted);
	font-size: 1.1rem;
	transition: color 0.2s, transform 0.2s;
}

.card:hover .card-arrow {
	color: var(--accent);
	transform: translateX(4px);
}

.icon-wrapper {
	width: 56px;
	height: 56px;
	background: rgba(124, 106, 255, 0.1);
	border-radius: 14px;
	border: 1px solid rgba(124, 106, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.icon-wrapper img {
	width: 32px;
	height: 32px;
}

/* ───────────── Links ───────────── */

.link-grid {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.link-card {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 1.4rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s;
}

.link-card:hover {
	color: var(--text);
	border-color: rgba(124, 106, 255, 0.4);
	background: rgba(124, 106, 255, 0.08);
	transform: translateY(-2px);
}

.link-icon {
	width: 18px;
	height: 18px;
}

.link-external {
	width: 14px;
	height: 14px;
	margin-left: 0.1rem;
	opacity: 0.5;
}

/* ───────────── Footer ───────────── */

footer {
	text-align: center;
	padding: 3rem 1rem;
	font-size: 0.82rem;
	color: var(--muted);
	border-top: 1px solid var(--border);
}

/* ───────────── Responsive ───────────── */

@media (max-width: 640px) {
	.nav {
		padding: 1rem 1.5rem;
	}

	.nav-links {
		gap: 1.2rem;
	}

	.hero {
		padding: 11rem 1.5rem 8rem;
	}

	section {
		padding: 4rem 1.5rem;
	}

	.link-grid {
		flex-direction: column;
	}

	.link-card {
		justify-content: center;
	}
}
