:root {
	--brand-primary: #06618C;
	--brand-secondary: #7D0D0D;

	/* --brand-primary: #102041;
	--brand-secondary: #7D0D0D; */


	--slate-50: #f8fafc;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;

	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-800: #1f2937;
	--white: #ffffff;
	--black: #222222;
	--font-sans: 'Lato', sans-serif;
}

/* deepseek */
/* :root {

	--brand-primary: #119AC8;
	--brand-secondary: #0F7BA3;
	--brand-accent: #14B8E6;


	--slate-50: #f8fbfc;
	--slate-100: #f0f7fa;
	--slate-200: #e1f0f7;
	--slate-300: #c8e1ed;
	--slate-400: #93b9d0;
	--slate-500: #648ea3;
	--slate-600: #456a7a;
	--slate-700: #2d4a58;


	--gray-200: #e9edf0;
	--gray-300: #d6dfe4;
	--gray-800: #1a252b;
	--white: #ffffff;
	--black: #1a1a1a;


	--success: #27ae60;
	--warning: #f39c12;
	--error: #e74c3c;
	--info: #3498db;
	--font-sans: 'Inter', sans-serif;
} */

/* /Gemini */
/* :root {

	--brand-primary: #0D5A7A;
	--brand-secondary: #119AC8;

	--slate-50: #f8fafc;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;

	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-800: #1f2937;

	--white: #ffffff;

	--black: #222222;
	--font-sans: 'Inter', sans-serif;
} */

/* claude */
/* 
:root {

	--brand-primary: #119AC8;
	--brand-secondary: #0D7BA6;
	--brand-accent: #14B8EB;

	--slate-50: #f8fafc;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-800: #1f2937;

	--white: #ffffff;
	--black: #1a1a1a;

	--font-sans: 'Inter', sans-serif;
} */


/* @font-face {
	font-family: 'Inter';
	src: url('./assets/font/Inter-VariableFont_opsz,wght.ttfAA') format('ttf');
} */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Inter'),
		/* url('../font/Inter2.ttf') format('trueType'); */
		url('../font/Inter2.woff2') format('woff2');
	/* url('../font/test.woff') format('woff'); */


	/* url('../font/Inter.woff2') format('woff2'); */
	/* url('../font/Inter.woff') format('woff'); */
}

/* Base Styles */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: var(--font-sans);
	color: var(--slate-700);
	background-color: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
	color: var(--brand-primary);
	font-weight: 800;
	margin: 0 0 1rem 0;
}

h1 {
	font-size: 2.5rem;
	/* 40px */
	line-height: 1.2;
}

h2 {
	font-size: 2.25rem;
	/* 36px */
}

h3 {
	font-size: 1.5rem;
	/* 24px */
}

p {
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.text-highlight {
	color: var(--brand-secondary);
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

#screenshots .section-title {
	margin-bottom: 2rem;

}

.section-title h2 {
	font-size: 2.5rem;
}

.section-title p {
	font-size: 1.125rem;
	color: var(--slate-500);
	margin-top: 1rem;
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}

.site-header.scrolled {
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(4px);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brand-primary);
}

.main-nav {
	display: none;
	align-items: center;
	gap: 2rem;
}

.nav-link {
	color: var(--slate-600);
}

.nav-link:hover {
	color: var(--brand-secondary);
}

/* .header-cta {
	display: none;
} */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	border-radius: 30px;
	transition: all 0.3s ease;
	transform-origin: center;
	border: none;
	cursor: pointer;
}

.btn:hover {
	transform: scale(1.05);
}

.btn-primary {
	background-color: var(--brand-secondary);
	color: var(--white);
}

.btn-primary:hover {
	background-color: #600a0a;
}

.btn-secondary {
	background-color: var(--gray-200);
	color: var(--brand-primary);
}

.btn-secondary:hover {
	background-color: var(--gray-300);
}

.header-cta {
	padding: 0.5rem 1.25rem;
}

.btn-img {
	/* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); */
	/* -webkit-box-shadow: -1px 9px 11px -2px rgba(0, 0, 0, 0.39); */
	/* box-shadow: -1px 9px 11px -2px rgba(0, 0, 0, 0.39); */
	min-width: 130px;
}

.btn-lg {
	padding: 1rem 1rem;
	font-size: 1.25rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn-xl {
	padding: 1rem 2.5rem;
	font-size: 1.25rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn .icon {
	width: 1.5rem;
	height: 1.5rem;
	margin-right: 0.5rem;
}

/* Hero Section */
.hero-section {
	position: relative;

	padding-top: 6rem;
	padding-bottom: 5rem;
	overflow: hidden;
	z-index: 1;
	/* opacity: 0 */
}

.hero-container {
	position: relative;
	display: grid;
	gap: 3rem;
	align-items: center;
}

.hero-content {
	text-align: center;
}

.hero-content h1 {
	margin-bottom: 1rem;
}

.hero-content p {
	font-size: 1.125rem;
	color: var(--slate-600);
	margin-bottom: 2rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.hero-buttons {
	display: flex;
	/* justify-content: center;
	gap: 1rem; */

	flex-direction: column;
	align-items: center;
	gap: 15px;


}

.hero-buttons .btn-secondary {
	width: 100%;
	max-width: 230px;
}

.hero-image-wrapper {
	position: relative;
}

.hero-image {
	margin-left: auto;
	margin-right: auto;
	border-radius: 40px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border: 6px solid var(--gray-800);
}

.blob {
	position: absolute;
	border-radius: 9999px;
	filter: blur(80px);
}

.blob-1 {
	background-color: rgba(5, 97, 147, 0.15);
	/* --brand-secondary: #7D0D0D; */


	width: 50%;
	height: 50%;
	top: 25%;
	left: 25%;
	transform: translateX(-50%) translateY(-50%);
}

.blob-2 {
	background-color: rgba(5, 97, 147, 0.15);
	width: 50%;
	height: 25%;
	top: 25%;
	right: 25%;
	transform: translateX(50%) translateY(50%);
}

/* Features Section */
.features-section {
	padding: 5rem 0;
	background-color: var(--slate-50);
}

.features-grid {
	display: grid;
	gap: 2rem;
}

.feature-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.feature-card:hover {
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	transform: translateY(-0.5rem);
}

.feature-icon {
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	background-color: var(--brand-secondary);
	/* // rgba(136, 144, 160, 1); */
	/* color: var(--brand-secondary); */
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.feature-icon svg {
	width: 2rem;
	height: 2rem;
}

.feature-card p {
	color: var(--slate-600);
	line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
	padding: 5rem 0;
	background-color: var(--white);
}

.screenshots-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(2, 1fr);
}

.screenshot-card {
	background-color: var(--gray-800);
	padding: 0.25rem;
	border-radius: 24px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	width: 100%;
}

.screenshot-card:hover {
	transform: scale(1.05);
}

.screenshot-card img {
	border-radius: 20px;
	width: 100%;
}

/* Video Section */
.video-section {
	padding: 5rem 0;
	background-color: var(--brand-primary);
	color: var(--white);
}

.video-section .section-title h2 {
	color: var(--white);
}

.video-section .section-title p {
	color: var(--slate-300);
}

.video-wrapper {
	position: relative;
	width: 80vw;
	height: 45vw;
	max-width: 1120px;
	max-height: 630px;
	margin: 0 auto;
	border-radius: 33px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	text-align: center;
}

.video-thumbnail {
	width: 100%;

}

.video-overlay {
	position: absolute;
	inset: 0;
	/* background-color: rgba(0, 0, 0, 0.4); */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.video-wrapper:hover .video-overlay {
	background-color: rgba(0, 0, 0, 0.2);
}

.play-button {
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	background-color: var(--brand-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.video-wrapper:hover .play-button {
	transform: scale(1.1);
}

.play-icon {
	width: 3rem;
	height: 3rem;
	color: var(--white);
	/* margin-left: 0.5rem; */
}

/* Testimonials Section */
.testimonials-section {
	padding: 5rem 0;
	background-color: var(--slate-50);
}

.testimonials-grid {
	display: grid;
	gap: 2rem;
}

.testimonial-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	transform: scale(1.05);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quote {
	font-style: italic;
	color: var(--slate-600);
	margin-bottom: 1.5rem;
}

.author {
	display: flex;
	align-items: center;
}

.author-avatar {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	margin-right: 1rem;
}

.author-name {
	font-weight: 700;
	color: var(--brand-primary);
}

.author-title {
	font-size: 0.875rem;
	color: var(--slate-500);
}

/* CTA Section */
.cta-section {
	/* background-color: var(--white); */
	background-color: var(--slate-50);
	padding: 2rem 0;
}

.cta-box {
	position: relative;
	/* background-color: var(--brand-primary); */
	color: var(--black);
	text-align: center;
	border-radius: 1.5rem;
	padding: 4rem 2rem;
	overflow: hidden;
}

.cta-content {
	position: relative;
	z-index: 10;
}

/* .cta-box .blob-3 {
	width: 8rem;
	height: 8rem;
	top: -2.5rem;
	left: -2.5rem;
	background-color: rgba(125, 13, 13, 0.2);
} */

/* .cta-box .blob-4 {
	width: 12rem;
	height: 12rem;
	bottom: -4rem;
	right: -1.25rem;
	background-color: rgba(125, 13, 13, 0.2);
} */



.cta-box .blob-4 {
	width: 67rem;
	height: 6rem;
	bottom: 8rem;
	right: 16.75rem;
	background-color: rgba(13, 28, 125, 0.2);
}

.cta-box h2 {
	/* color: var(--black); */
	color: var(--brand-primary);
	margin-bottom: 1rem;
}

.cta-box p {
	/* color: var(--black); */
	color: var(--brand-primary);
	max-width: 42rem;
	margin: 0 auto 2rem auto;
	font-size: 1.125rem;
}

/* Footer */
.site-footer {
	background-color: var(--brand-primary);
	color: var(--slate-300);
}

.footer-container {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
}

.footer-col-about h3 {
	font-size: 1.5rem;
	color: var(--white);
	margin-bottom: 0.5rem;
}

.footer-col-about p {
	color: var(--slate-400);
}

.footer-col-links h4,
.footer-col-social h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 1rem;
}

.footer-col-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-col-links a:hover {
	/* color: var(--brand-secondary); */
	text-decoration: underline;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background-color: var(--slate-700);
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.social-icons a:hover {
	background-color: var(--brand-secondary);
}

.social-icons svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: var(--white);
}

.footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--slate-700);
	text-align: center;
	color: var(--slate-400);
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes subtleFloat {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-20px);
	}
}

/* Animation Classes */
.animate-fade-in-up {
	animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
	animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in {
	animation: fadeIn 1s ease-in-out forwards;
}

.animate-subtle-float {
	animation: subtleFloat 6s ease-in-out infinite;
}

[data-animation] {
	opacity: 0;
}


.iconsvg {
	fill: var(--white);
}

.video-container {
	position: relative;
	width: 55%;
	height: auto;
	background-color: var(--gray-800);
}

video {
	width: 100%;
	height: auto;
	border-radius: 33px;
}

#intro-video {

	border-radius: 15px;
}

/* .lottie-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.15;
	pointer-events: none;
} */
/* .lottie-background {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100vw;
	width: 100%;

	z-index: -1;
	opacity: 0.15;
	pointer-events: none;
} */

/* .lottie-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	opacity: 0.15;
	pointer-events: none;
} */
/* filter: blur(30px); */
/* .lottie-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
	z-index: -1;
	opacity: 1;


	pointer-events: none;
} */

/* 
.lottie-background svg,
.lottie-background canvas {
	min-width: 100vw;
	/* min-height: 100vh; */
/* width: "100%"; */
/* height: auto; */
/* } */


/* .lottie-background {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.2);
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.15;
	pointer-events: none;
	background-color: "pink";
} */

.select-container {
	display: inline-block;
	/* O 'block' se vuoi larghezza piena */
	position: relative;
	min-width: 150px;
	/* Imposta una larghezza minima */
}

#language-selector {
	/* --- 1. Reset dell'aspetto nativo --- */
	/* Rimuove lo stile di default del browser */
	appearance: none;
	-webkit-appearance: none;
	/* Per Safari */
	-moz-appearance: none;
	/* Per Firefox */

	/* --- 2. Stile del Box --- */
	width: 100%;
	padding: 12px 45px 12px 18px;
	/* Spazio: 18px sinistra, 45px destra (per la freccia) */
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	/* Bordi arrotondati */
	background-color: #ffffff;

	/* --- 3. Stile del Testo --- */
	font-size: 1rem;
	/* 16px */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #333;
	cursor: pointer;

	/* --- 4. Icona Freccia Personalizzata (SVG) --- */
	/* Usiamo un SVG "inline" per la freccia.
	  Questo è un trucco per non dover gestire file esterni.
	*/
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	/* Posiziona la freccia */
	background-size: 14px 14px;
	/* Dimensione della freccia */

	/* --- 5. Transizioni e Stati --- */
	outline: none;
	/* Rimuove l'outline blu su Chrome/Safari al focus */
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Stato Hover: cambia il colore del bordo */
#language-selector:hover {
	border-color: #007AFF;
	/* Un blu "tech" */
}

/* Stato Focus (quando cliccato o selezionato con Tab) */
#language-selector:focus {
	border-color: #007AFF;
	/* Aggiunge un "glow" per l'accessibilità */
	box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

/* Stilizzare le singole <option> è molto limitato, 
	ma possiamo impostare colori di base.
  */
#language-selector option {
	padding: 10px;
	background: #ffffff;
	color: #333;
}

.evidenzia {
	font-weight: bold;
	/* text-decoration: underline; */
	/* border-bottom: 1px solid #000;  */
	display: inline-block;
	border-bottom: 2px solid;
	padding-bottom: 3px;
}


.apple-btn {
	margin-left: 0;
}

/* Responsive Media Queries */
@media (min-width: 640px) {
	.screenshots-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.video-container {
		width: 320px;
	}

	.apple-btn {
		margin-left: 20px;
	}

}

@media (min-width: 768px) {
	h1 {
		font-size: 3.75rem;
	}

	/* 60px */
	h2 {
		font-size: 3rem;
	}

	/* 48px */
	.section-title h2 {
		font-size: 3rem;
	}

	.main-nav,
	.header-cta {
		display: flex;
	}

	.hero-section {
		padding-top: 8rem;
	}

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

	.hero-content {
		text-align: left;
	}

	.hero-content p {
		margin-left: 0;
		margin-right: 0;
	}

	.hero-image {

		border: 8px solid var(--gray-800);
	}

	.hero-buttons {

		display: flex;
		flex-direction: row;
		gap: 20px;

	}



	.features-grid {
		grid-template-columns: repeat(3, 1fr);
	}

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

	.screenshot-card {
		width: 100%;
	}

	.testimonials-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.video-container {
		width: 320px;
	}

	/* video {

		border-radius: 30px;
	} */

	.btn-lg {
		padding: 1rem 2rem;
		font-size: 1.125rem;
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	}

	.btn {
		border-radius: 9999px;
	}
}


@media (min-width: 1280px) {
	.container {
		max-width: 1280px
	}

	.video-container {
		width: 320px;
	}

}

@media (min-width: 1536px) {
	.container {
		max-width: 1536px
	}

	.video-container {
		width: 320px;
	}

}

@media (min-width: 1024px) {
	.screenshots-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.video-container {
		width: 320px;
	}

}