* {
	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;
}

/* 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;
	display: flex;
    align-items: center;
}

.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;
}

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

.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: 800px;
}

.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: 2rem;
	font-weight: 300;
}

.hero-description {
	font-size: 1.1rem;
	color: #d4d4d8;
	margin-bottom: 3rem;
	line-height: 1.7;
}

/* Hero CTA Container */
.hero-cta-container {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center; /* AGGIUNGI QUESTA RIGA */
	align-items: center; /* AGGIUNGI QUESTA RIGA */
	margin-top: 2rem; /* AGGIUNGI QUESTA RIGA SE NON C'È */
}

.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);
	margin-top: auto;
 	align-self: flex-start;
}

.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);
}

/* Sections */
.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: 3rem;
	text-align: center;
	color: #f4f4f5;
}

.section-subtitle {
	font-size: 1.2rem;
	color: #a1a1aa;
	text-align: center;
	max-width: 600px;
	margin: 0 auto 4rem;
}

/* Framework Content */
.framework-content {
	margin-bottom: 4rem;
}

.framework-description {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	padding: 2.5rem;
	margin-bottom: 3rem;
}

.framework-description h3 {
	font-size: 1.8rem;
	color: #f4f4f5;
	margin-bottom: 1.5rem;
}

.framework-description p {
	margin-bottom: 1.5rem;
	color: #d4d4d8;
	line-height: 1.7;
}

.framework-benefits {
	list-style: none;
	padding: 0;
}

.framework-benefits li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
	color: #e4e4e7;
}

.framework-benefits li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #fbbf24;
	font-weight: bold;
}

/* Framework Overview */
.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;
	display: flex;
  	flex-direction: column;
  	justify-content: flex-start;
  	min-height: 250px;
}

/* Classe specifica per le card con bottoni che devono essere allineati */
.framework-card.tools-card {
	justify-content: space-between;
	min-height: 350px;
}

.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;
}

/* Categories Grid */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}

.categories-content {
	margin-bottom: 3rem;
}

.categories-content h3 {
	font-size: 1.8rem;
	color: #f4f4f5;
	margin-bottom: 1.5rem;
	text-align: center;
}

.categories-content p {
	color: #d4d4d8;
	text-align: center;
	max-width: 800px;
	margin: 0 auto 2rem;
	line-height: 1.7;
}

.category-preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.category-preview {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	padding: 1.5rem;
	text-align: left;
}

.category-preview h4 {
	color: #fbbf24;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
}

.category-preview p {
	color: #d4d4d8;
	font-size: 0.95rem;
	text-align: left;
	margin: 0;
}

.category-card {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	padding: 1.5rem;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
}

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

.category-card.active {
	border-color: #fbbf24;
	background: #1f1f23;
}

.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.category-expand {
	color: #fbbf24;
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}

.category-card.active .category-expand {
	transform: rotate(180deg);
}

.category-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	margin-top: 0;
}

.category-card.active .category-content {
	max-height: none;
	margin-top: 1.5rem;
}

.category-description {
	color: #d4d4d8;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

.subcategories {
	display: grid;
	gap: 0.75rem;
}

.subcategory-item {
	background: #0f0f10;
	border: 1px solid #27272a;
	border-radius: 0.375rem;
	padding: 1rem;
	font-size: 0.9rem;
	display: flex;
	flex-direction: column;
	min-height: 80px;
}

.subcategory-code {
	font-family: 'Courier New', monospace;
	color: #fbbf24;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.subcategory-title {
	color: #e4e4e7;
	font-weight: 500;
	display: block;
	width: 100%;
	overflow: visible;
	word-wrap: break-word;
}

.category-code {
	font-family: 'Courier New', monospace;
	color: #fbbf24;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.category-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #f4f4f5;
}

.category-reference {
	font-size: 0.9rem;
	color: #a1a1aa;
}

/* Stats Section */
.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;
}

/* Research Content */
.research-content {
	margin-bottom: 3rem;
}

.research-content h3 {
	font-size: 1.8rem;
	color: #f4f4f5;
	margin-bottom: 1.5rem;
	text-align: center;
}

.research-content p {
	color: #d4d4d8;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.7;
}

.research-applications {
	margin-top: 4rem;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	padding: 2.5rem;
}

.research-applications h3 {
	font-size: 1.8rem;
	color: #f4f4f5;
	margin-bottom: 2rem;
	text-align: center;
}

.application-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.application-item {
	background: #0f0f10;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	padding: 1.5rem;
}

.application-item h4 {
	color: #fbbf24;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
}

.application-item p {
	color: #d4d4d8;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
	text-align: left;
}

/* Contact Section */
.contact-info {
	text-align: center;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	padding: 3rem;
	margin-top: 3rem;
}

.contact-info h3 {
	font-size: 1.5rem;
	color: #f4f4f5;
	margin-bottom: 1rem;
}

.collaboration-focus {
	background: #0f0f10;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	padding: 2rem;
	margin: 2rem 0;
	text-align: left;
}

.collaboration-focus h4 {
	color: #fbbf24;
	margin-bottom: 1rem;
	text-align: center;
}

.research-focus-list {
	list-style: none;
	padding: 0;
}

.research-focus-list li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
	color: #e4e4e7;
}

.research-focus-list li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: #fbbf24;
	font-weight: bold;
}

.contact-link {
	color: #fbbf24;
	text-decoration: none;
	transition: color 0.3s ease;
	margin-right: 8px;
}

.contact-link:hover {
	color: #f59e0b;
}

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

.footer-keywords {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #27272a;
}

.footer-keywords p {
	font-size: 0.9rem;
	color: #a1a1aa;
	line-height: 1.6;
	max-width: 800px;
	margin: 0 auto;
}

/* Mobile Menu */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 0.5rem;
}

.hamburger {
	width: 25px;
	height: 3px;
	background: #fbbf24;
	margin: 3px 0;
	transition: 0.3s;
}

.menu-toggle.active .hamburger:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .hamburger:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	background: rgba(10, 10, 10, 0.98);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #27272a;
	z-index: 999;
}

.mobile-menu.active {
	display: block;
}

.mobile-nav-links {
	list-style: none;
	padding: 2rem;
}

.mobile-nav-links li {
	margin: 1rem 0;
}

.mobile-nav-links a {
	color: #e4e4e7;
	text-decoration: none;
	font-size: 1.1rem;
	display: block;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}

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

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

	.menu-toggle {
		display: flex;
	}
	
	.hero h1 {
		font-size: 2.5rem;
	}
	
	.section {
		padding: 4rem 0;
	}
	
	.section-title {
		font-size: 2rem;
	}

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

	.hero-cta-container {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.category-preview-grid {
		grid-template-columns: 1fr;
	}

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

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

	.cta-button,
	.cta-button-secondary {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}	
}

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

/* Utility Classes */
.margin-top-1rem {
	margin-top: 1rem;
}

.margin-top-1-5rem {
	margin-top: 1.5rem;
}

.margin-top-15px {
	margin-top: 15px;
}

.margin-top-auto {
	margin-top: auto;
}

.framework-card.tools-card p {
    margin-bottom: 2rem;
}