:root {
	--bg: #060914;
	--bg-soft: #0f1730;
	--text: #ecf1ff;
	--muted: #b7c0d8;
	--primary: #7b9bff;
	--primary-strong: #4e73ff;
	--card: rgba(11, 18, 36, 0.72);
	--border: rgba(255, 255, 255, 0.14);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	background: radial-gradient(circle at 15% 25%, #1c2d58 0%, transparent 45%),
		radial-gradient(circle at 80% 20%, #173b65 0%, transparent 40%),
		linear-gradient(135deg, var(--bg) 0%, #080d1f 45%, var(--bg-soft) 100%);
}

body {
	position: relative;
	overflow-x: hidden;
}

.background-glow {
	position: fixed;
	border-radius: 50%;
	filter: blur(60px);
	z-index: 0;
	opacity: 0.4;
	animation: float 12s ease-in-out infinite;
	pointer-events: none;
}

.background-glow--one {
	width: 320px;
	height: 320px;
	background: #5078ff;
	top: 6%;
	left: -80px;
}

.background-glow--two {
	width: 300px;
	height: 300px;
	background: #1ce3d8;
	right: -60px;
	bottom: 6%;
	animation-delay: -5s;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lang-switcher {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10;
}

.lang-switcher select {
	appearance: none;
	-webkit-appearance: none;
	background-color: rgba(11, 18, 36, 0.72);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 10px 36px 10px 16px;
	font-size: 0.92rem;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23ecf1ff' d='M6 8.5 1.5 4h9z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 6px 22px rgba(78, 115, 255, 0.35);
}

.lang-switcher select option {
	background: var(--bg-soft);
	color: var(--text);
}

.hero {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px 20px;
}

.card {
	width: min(780px, 100%);
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 28px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	padding: 44px 36px;
	text-align: center;
	animation: reveal 800ms ease both;
}

.profile-media {
	margin: 0 0 18px;
}

.profile-photo {
	width: 168px;
	height: 168px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
	animation: pulse 4s ease-in-out infinite;
}

.badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 0.84rem;
	letter-spacing: 0.04em;
	color: #d4defa;
	background: rgba(255, 255, 255, 0.06);
}

.name {
	margin: 10px 0 6px;
	font-size: clamp(2rem, 4vw, 2.9rem);
	letter-spacing: -0.02em;
}

.title {
	margin: 0 auto;
	max-width: 640px;
	color: #c3d1ff;
	font-size: clamp(1.05rem, 2.2vw, 1.32rem);
	font-weight: 500;
	line-height: 1.5;
}

.summary {
	margin: 22px auto 0;
	max-width: 640px;
	line-height: 1.75;
	color: var(--muted);
}

.summary + .summary {
	margin-top: 14px;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	padding: 14px 32px;
	background: linear-gradient(135deg, var(--primary-strong), var(--primary));
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 28px rgba(78, 115, 255, 0.4);
	transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(78, 115, 255, 0.55);
	filter: brightness(1.08);
}

.cta-button:active {
	transform: translateY(0);
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.04); }
}

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

@keyframes float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50%      { transform: translate3d(0, 22px, 0); }
}

@media (max-width: 640px) {
	.hero {
		padding: 20px 14px;
	}
	.card {
		border-radius: 22px;
		padding: 32px 22px;
	}
	.profile-photo {
		width: 138px;
		height: 138px;
	}
	.cta-button {
		padding: 13px 26px;
		font-size: 0.95rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.profile-photo,
	.background-glow,
	.card {
		animation: none;
	}
	.cta-button {
		transition: none;
	}
}
