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

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #0a0a0a;
	color: #e4e4e7;
	line-height: 1.6;
	overflow-x: hidden;
}

[lang="en"] .lang-it { display: none; }
[lang="it"] .lang-en { display: none; }

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

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

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fbbf24;
	text-decoration: none;
}

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

.nav-links a {
	color: #e4e4e7;
	text-decoration: none;
	transition: color 0.3s ease;
}

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

.lang-switcher {
	display: flex;
	gap: 0.5rem;
}

.lang-switcher button {
	background: transparent;
	border: 1px solid #3f3f46;
	color: #a1a1aa;
	padding: 0.4rem 0.8rem;
	border-radius: 0.375rem;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.3s ease;
	font-family: inherit;
}

.lang-switcher button:hover {
	border-color: #fbbf24;
	color: #fbbf24;
	background: rgba(251, 191, 36, 0.1);
}

.lang-switcher button.active {
	border-color: #fbbf24;
	color: #0a0a0a;
	background: #fbbf24;
}

/* Hero */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
	position: relative;
	overflow: hidden;
	padding-top: 80px;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}

.hero-content {
	max-width: 900px;
}

.paper-meta {
	font-size: 0.875rem;
	color: #a1a1aa;
	margin-bottom: 1.5rem;
}

.hero h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.5rem;
	color: #a1a1aa;
	margin-bottom: 1rem;
	font-weight: 300;
}

.authors {
	font-size: 1.125rem;
	color: #d4d4d8;
	margin-bottom: 0.5rem;
}

.authors strong {
	color: #fbbf24;
}

.affiliations {
	font-size: 0.9375rem;
	color: #a1a1aa;
	margin-bottom: 2.5rem;
}

.hero-cta-container {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}

.cta-button {
	display: inline-block;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #000;
	padding: 1rem 2rem;
	text-decoration: none;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
	border: none;
	cursor: pointer;
	font-size: 1rem;
	font-family: inherit;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.cta-button-secondary {
	display: inline-block;
	background: transparent;
	color: #fbbf24;
	padding: 1rem 2rem;
	text-decoration: none;
	border: 2px solid #fbbf24;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.cta-button-secondary:hover {
	background: #fbbf24;
	color: #000;
	transform: translateY(-2px);
}

.abstract-box {
	background: #18181b;
	border: 1px solid #27272a;
	border-left: 4px solid #fbbf24;
	border-radius: 0.75rem;
	padding: 2.5rem;
	margin-top: 2rem;
}

.abstract-box h3 {
	font-size: 1.5rem;
	color: #fbbf24;
	margin-bottom: 1.5rem;
}

.abstract-box p {
	color: #d4d4d8;
	line-height: 1.8;
	margin-bottom: 1rem;
}

/* Section */
.section {
	padding: 6rem 0;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #f4f4f5;
}

.section-subtitle {
	font-size: 1.2rem;
	color: #a1a1aa;
	margin-bottom: 3rem;
	max-width: 800px;
}

/* Stats */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.stat-card {
	text-align: center;
	padding: 2rem;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-3px);
	border-color: #fbbf24;
}

.stat-number {
	font-size: 3rem;
	font-weight: 800;
	color: #fbbf24;
	display: block;
}

.stat-label {
	color: #f4f4f5;
	font-size: 1.1rem;
	margin-top: 0.5rem;
	font-weight: 600;
}

.stat-description {
	color: #a1a1aa;
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

/* Framework Grid */
.framework-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.framework-card {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	padding: 2rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.framework-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.framework-card:hover {
	transform: translateY(-5px);
	border-color: #3f3f46;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.framework-card h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #f4f4f5;
}

.framework-card p {
	color: #d4d4d8;
	line-height: 1.7;
}

.highlight-box {
	background: #18181b;
	border: 1px solid #27272a;
	border-left: 4px solid #fbbf24;
	border-radius: 0.75rem;
	padding: 2.5rem;
	margin-bottom: 3rem;
}

.highlight-box h3 {
	font-size: 1.8rem;
	color: #fbbf24;
	margin-bottom: 1rem;
}

.highlight-box p {
	color: #d4d4d8;
	line-height: 1.8;
}

/* Citation */
.citation-box {
	background: #18181b;
	border: 1px solid #3f3f46;
	border-radius: 0.75rem;
	padding: 2rem;
	margin: 3rem 0;
}

.citation-box h4 {
	color: #fbbf24;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.citation-text {
	background: #0f0f10;
	border: 1px solid #27272a;
	padding: 1rem;
	border-radius: 0.375rem;
	font-family: 'Courier New', monospace;
	font-size: 0.875rem;
	color: #d4d4d8;
	margin-bottom: 1rem;
	word-wrap: break-word;
}

/* Footer */
.footer {
	background: #0a0a0a;
	border-top: 1px solid #27272a;
	padding: 3rem 0;
	text-align: center;
	color: #a1a1aa;
}

.footer a {
	color: #fbbf24;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer a:hover {
	color: #f59e0b;
}

/* Mobile */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.hero {
		padding-top: 100px;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.section {
		padding: 4rem 0;
	}

	.section-title {
		font-size: 2rem;
	}

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

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

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}