* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: linear-gradient(135deg, #0f172a 0%, #0f1419 50%, #0a0e27 100%);
	color: #ffffff;
	overflow-x: hidden;
	line-height: 1.6;
}

/* Animated background circles */
.animated-bg {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.bg-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	mix-blend-mode: screen;
}

.orb-1 {
	width: 400px;
	height: 400px;
	background: rgba(168, 85, 247, 0.2);
	top: 0;
	left: 25%;
	animation: float 20s ease-in-out infinite;
}

.orb-2 {
	width: 400px;
	height: 400px;
	background: rgba(34, 211, 238, 0.2);
	bottom: 0;
	right: 25%;
	animation: float 25s ease-in-out infinite reverse;
	animation-delay: 2s;
}

.orb-3 {
	width: 400px;
	height: 400px;
	background: rgba(59, 130, 246, 0.2);
	top: 50%;
	right: 0;
	animation: float 22s ease-in-out infinite;
	animation-delay: 4s;
}

@keyframes float {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(30px, 30px);
	}
}

/* Header */
header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid rgba(71, 85, 105, 0.3);
	backdrop-filter: blur(20px);
	background: rgba(15, 23, 42, 0.8);
	padding: 20px 0;
}

nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

header .logo {
	text-decoration: none;
	color: inherit;
}

header .logo:link,
header .logo:visited,
header .logo:hover,
header .logo:active {
	text-decoration: none;
	color: inherit;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #a855f7, #06b6d4);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 20px;
}

.logo-text {
	font-size: 24px;
	font-weight: bold;
	background: linear-gradient(90deg, #c084fc, #06b6d4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}



.nav-links {
	display: flex;
	align-items: center;
	gap: 16px;
}

.nav-links a {
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	color: #ffffff;
	transition: all 0.3s ease;
	cursor: pointer;
}

.nav-links a:first-child {
	background: rgba(30, 41, 59, 0.5);
}

.nav-links a:first-child:hover {
	background: rgba(51, 65, 85, 0.7);
}

.nav-links a:last-child {
	background: linear-gradient(90deg, #a855f7, #06b6d4);
	font-weight: 600;
}

.nav-links a:last-child:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Main content */
main {
	position: relative;
	z-index: 10;
}

/* Hero section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
}

.hero-content {
	max-width: 1280px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.hero-text {
	animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-title {
	font-size: 64px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 20px;
}

.hero-title .gradient {
	background: linear-gradient(90deg, #c084fc, #ec4899, #06b6d4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	font-size: 18px;
	color: #cbd5e1;
	margin-bottom: 30px;
	max-width: 500px;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	margin-bottom: 50px;
}

.btn {
	padding: 16px 32px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary {
	background: linear-gradient(90deg, #a855f7, #06b6d4);
	color: white;
}

.btn-primary:hover {
	transform: scale(1.05);
	box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
	border: 2px solid rgba(34, 211, 238, 0.5);
	color: #06b6d4;
	background: transparent;
}

.btn-secondary:hover {
	border-color: #06b6d4;
	background: rgba(6, 182, 212, 0.1);
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding-top: 30px;
	border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.stat {
	text-align: left;
}

.stat-number {
	font-size: 32px;
	font-weight: bold;
	background: linear-gradient(90deg, #c084fc, #06b6d4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-label {
	color: #94a3b8;
	font-size: 14px;
	margin-top: 5px;
}

/* Code showcase */
.code-showcase {
	position: relative;
}

.code-card {
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(71, 85, 105, 0.3);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
	animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.code-header {
	background: rgba(2, 6, 23, 0.5);
	border-bottom: 1px solid rgba(71, 85, 105, 0.3);
	padding: 16px 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.code-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.code-dot-red {
	background: #ef4444;
}

.code-dot-yellow {
	background: #eab308;
}

.code-dot-green {
	background: #22c55e;
}

.code-filename {
	margin-left: auto;
	font-size: 14px;
	color: #94a3b8;
}

.code-body {
	padding: 24px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: #cbd5e1;
	overflow-x: auto;
	height: 360px;
	overflow-y: hidden;
	line-height: 1.8;
}

.code-line {
	min-height: 1.8em;
	overflow: hidden;
}

.code-keyword {
	color: #06b6d4;
}

.code-variable {
	color: #c084fc;
}

.code-string {
	color: #22c55e;
}

.code-property {
	color: #ec4899;
}

/* Features section */
.features {
	padding: 80px 24px;
	border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.section-title {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 16px;
}

.section-description {
	color: #94a3b8;
	font-size: 16px;
}

.features-grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.feature-card {
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(71, 85, 105, 0.3);
	border-radius: 12px;
	padding: 32px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.feature-card:hover {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(168, 85, 247, 0.5);
	transform: translateY(-5px);
}

.feature-icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #a855f7, #ec4899);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 24px;
}

.feature-card:nth-child(2) .feature-icon {
	background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.feature-card:nth-child(3) .feature-icon {
	background: linear-gradient(135deg, #ec4899, #c084fc);
}

.feature-card:nth-child(4) .feature-icon {
	background: linear-gradient(135deg, #c084fc, #6366f1);
}

.feature-card:nth-child(5) .feature-icon {
	background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

.feature-card:nth-child(6) .feature-icon {
	background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.feature-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 12px;
}

.feature-description {
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.6;
}

/* CTA section */
.cta {
	padding: 80px 24px;
	border-top: 1px solid rgba(71, 85, 105, 0.3);
	text-align: center;
}

.cta-content {
	max-width: 800px;
	margin: 0 auto;
}

.cta-title {
	font-size: 40px;
	font-weight: bold;
	margin-bottom: 20px;
}

.cta-description {
	color: #94a3b8;
	font-size: 16px;
	margin-bottom: 30px;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Posts section */
.posts {
	padding: 80px 24px;
	border-top: 1px solid rgba(71, 85, 105, 0.3);
	background: rgba(15, 23, 42, 0.35);
}

.posts-grid {
	width: min(1200px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.post-card {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.45));
	border: 1px solid rgba(71, 85, 105, 0.3);
	border-radius: 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
	transition: all 0.3s ease;
}

.post-media {
	position: relative;
	width: 100%;
	background: rgba(2, 6, 23, 0.4);
}

.post-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	display: block;
}

.post-body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.post-card:hover {
	border-color: rgba(6, 182, 212, 0.6);
	transform: translateY(-4px);
}

.post-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
}

.post-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.16);
	color: #7dd3fc;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.publication-header {
	max-width: 860px;
}

.post-card-featured {
	width: min(1200px, 100%);
	margin: 0 auto 28px;
	display: grid;
	grid-template-columns: minmax(360px, 44%) 1fr;
	border-color: rgba(56, 189, 248, 0.45);
}

.post-card-featured .post-media {
	height: 100%;
}

.post-card-featured .post-image {
	height: 100%;
	aspect-ratio: auto;
}

.post-card-featured .post-body {
	padding: 28px;
	gap: 14px;
}

.post-list {
	margin: 6px 0 4px;
	padding-left: 18px;
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.65;
}

.post-list li {
	margin-bottom: 6px;
}

.post-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.publication-grid {
	margin-top: 10px;
}

.post-title {
	font-size: 20px;
	font-weight: 700;
	color: #f8fafc;
}

.post-excerpt {
	font-size: 14px;
	color: #cbd5e1;
}

.post-link {
	margin-top: auto;
	color: #38bdf8;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
}

.post-link:hover {
	color: #7dd3fc;
}

@media (max-width: 1100px) {
	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-card-featured {
		grid-template-columns: 1fr;
	}

	.post-card-featured .post-image {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 720px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

/* Footer */
footer {
	border-top: 1px solid rgba(71, 85, 105, 0.3);
	background: rgba(2, 6, 23, 0.5);
	backdrop-filter: blur(20px);
	padding: 60px 24px 20px;
	position: relative;
	z-index: 10;
}

.footer-content {
	max-width: 1280px;
	margin: 0 auto 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
}

.footer-section h4 {
	font-weight: 600;
	margin-bottom: 16px;
}

.footer-section ul {
	list-style: none;
}

.footer-section a {
	color: #94a3b8;
	text-decoration: none;
	display: block;
	padding: 8px 0;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: #ffffff;
}

.footer-bottom {
	border-top: 1px solid rgba(71, 85, 105, 0.3);
	padding-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #94a3b8;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-links {
	display: flex;
	gap: 14px;
	align-items: center;
}

.footer-social {
	--social-accent: 148, 163, 184;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 11px;
	padding: 7px 14px 7px 7px;
	min-width: 116px;
	border-radius: 14px;
	border: 1px solid rgba(var(--social-accent), 0.3);
	background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.74));
	color: #e2e8f0;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
}

.footer-social::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
	opacity: 0.38;
	pointer-events: none;
}

.footer-social::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 2px;
	height: 100%;
	background: rgba(var(--social-accent), 0.85);
	opacity: 0.65;
}

.footer-social:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--social-accent), 0.75);
	color: #f8fafc;
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
}

.footer-social:focus-visible {
	outline: none;
	border-color: rgba(var(--social-accent), 0.95);
	box-shadow: 0 0 0 3px rgba(var(--social-accent), 0.22);
}

.footer-social-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid rgba(var(--social-accent), 0.45);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	color: rgba(var(--social-accent), 0.95);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.footer-social-text {
	position: relative;
	z-index: 1;
}

.footer-social-x {
	--social-accent: 125, 211, 252;
}

.footer-social-github {
	--social-accent: 196, 181, 253;
}

.footer-social-discord {
	--social-accent: 129, 140, 248;
}

/* Responsive */
@media (max-width: 1024px) {
	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.hero-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hero-title {
		font-size: 40px;
	}

	.code-showcase {
		display: none;
	}

	.stats {
		grid-template-columns: 1fr;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		text-align: center;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.footer-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}
}

/* Languages Section */
.languages-section {
	padding: 80px 24px;
	border-top: 1px solid rgba(71, 85, 105, 0.3);
	background: rgba(15, 23, 42, 0.4);
	overflow: hidden;
}

.languages-section .section-title {
	text-align: center;
	margin-bottom: 60px;
	font-size: 36px;
}

.languages-container {
	max-width: 1280px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.languages-track {
	display: flex;
	gap: 40px;
	animation: scrollLanguages 30s linear infinite;
	width: max-content;
}

@keyframes scrollLanguages {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.language-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px;
	min-width: 120px;
	text-align: center;
	transition: all 0.3s ease;
}

.language-item:hover {
	transform: translateY(-10px);
}

.lang-icon {
	font-size: 48px;
	display: block;
}

.lang-name {
	font-size: 14px;
	color: #cbd5e1;
	font-weight: 500;
}

.language-item:hover .lang-icon {
	font-size: 56px;
	filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
}

@media (max-width: 768px) {
	.languages-section {
		padding: 60px 24px;
	}

	.languages-section .section-title {
		font-size: 28px;
		margin-bottom: 40px;
	}

	.languages-track {
		gap: 30px;
	}

	.language-item {
		min-width: 100px;
		padding: 15px;
	}

	.lang-icon {
		font-size: 40px;
	}

	.language-item:hover .lang-icon {
		font-size: 48px;
	}
}
