/* Pagina App mobile FR Italy */

.apps-page .pages-header.web-hero-clean {
	height: auto;
	min-height: 200px;
	margin-bottom: 0;
	background: linear-gradient(145deg, #1a0a2e 0%, #16213e 45%, #0f3460 100%);
}

.apps-page .pages-header .nav-menu > li > a {
	color: #fff !important;
}

.apps-page .pages-header .nav-menu > li > a:hover {
	color: #ff404c !important;
}

.apps-page .main.apps-page-body {
	margin: 0;
	padding: 0;
	background: #eef1f6;
}

.apps-page .apps-page-inner {
	max-width: 1100px;
	padding: 0 20px 48px;
}

/* Hero che “sale” sull’header con curva morbida */
.apps-hero-panel {
	position: relative;
	margin: -32px auto 32px;
	max-width: 920px;
	padding: 36px 28px 32px;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 16px 48px rgba(15, 30, 60, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.apps-hero-title {
	margin: 0 0 14px;
	font-family: 'Outfit', 'Montserrat', sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #1a1a2e;
	letter-spacing: -0.02em;
}

.apps-intro-lead {
	color: #5a6270;
	font-size: 1.08rem;
	line-height: 1.75;
	margin: 0 auto 24px;
	max-width: 640px;
}

.apps-intro-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: stretch;
	text-align: left;
}

@media (min-width: 768px) {
	.apps-intro-cards {
		grid-template-columns: 1fr 1fr;
	}
}

.apps-intro-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	height: 100%;
	padding: 22px 24px;
	border-radius: 16px;
	border: 1px solid #e4e9f0;
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
	box-shadow: 0 2px 12px rgba(26, 40, 70, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.apps-intro-card:hover {
	box-shadow: 0 8px 28px rgba(26, 40, 70, 0.1);
	transform: translateY(-2px);
}

.apps-intro-card--apk {
	border-top: 3px solid #3ddc84;
}

.apps-intro-card--stores {
	border-top: 3px solid #5b7ee8;
}

.apps-intro-card-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.apps-intro-card--apk .apps-intro-card-icon {
	color: #1e8a4c;
	background: rgba(61, 220, 132, 0.12);
}

.apps-intro-card--stores .apps-intro-card-icon {
	gap: 6px;
	color: #4a6fd4;
	background: rgba(91, 126, 232, 0.1);
}

.apps-intro-card--stores .apps-intro-card-icon .fa-apple {
	color: #222;
}

.apps-intro-card-body strong {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #1a1a2e;
	margin-bottom: 8px;
}

.apps-intro-card-body p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #5a6270;
}

/* Nav rapida tra le app */
.apps-toc {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 36px;
}

.apps-toc-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #3d4a5c;
	background: #fff;
	border: 1px solid #dde3ec;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.apps-toc-link:hover {
	color: #fff;
	background: #AF2121;
	border-color: #AF2121;
	box-shadow: 0 4px 14px rgba(175, 33, 33, 0.35);
	text-decoration: none;
}

.apps-toc-link i {
	font-size: 0.95rem;
	opacity: 0.85;
}

/* Card per ogni app */
.apps-section-card {
	margin-bottom: 32px;
	padding: 32px 28px 28px;
	background: #fff;
	border-radius: 20px;
	border: 1px solid #e8ecf2;
	box-shadow: 0 8px 32px rgba(20, 35, 60, 0.06);
	scroll-margin-top: 100px;
}

.apps-section--egypt {
	border-top: 4px solid #c9a227;
}

.apps-section--lens {
	border-top: 4px solid #8b1538;
}

.apps-section--gps {
	border-top: 4px solid #8b3030;
}

.apps-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eef1f5;
}

.apps-section-icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.apps-section-icon.egypt {
	background: linear-gradient(135deg, #e8c547 0%, #9a7b1a 100%);
}

.apps-section-icon.lens {
	background: linear-gradient(135deg, #b8325a 0%, #6e1f38 100%);
}

.apps-section-icon.gps {
	background: linear-gradient(135deg, #a83232 0%, #5c1818 100%);
}

.apps-section-titles {
	flex: 1;
	min-width: 220px;
}

.apps-section-titles h3 {
	margin: 0 0 8px;
	font-family: 'Outfit', 'Montserrat', sans-serif;
	font-size: 1.55rem;
	color: #1a1a2e;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.apps-badge-apk {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: linear-gradient(135deg, #e8faf0 0%, #d4f0e0 100%);
	color: #1a6b3f;
	margin-bottom: 10px;
	border: 1px solid rgba(61, 220, 132, 0.35);
}

.apps-section-lead {
	color: #5a6270;
	font-size: 1.02rem;
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
}

.apps-features-grid {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 600px) {
	.apps-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.apps-features-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.apps-features-grid li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	margin: 0;
	color: #3d4a5c;
	font-size: 0.9rem;
	line-height: 1.5;
	background: #f6f8fb;
	border-radius: 10px;
	border: 1px solid #eef1f5;
}

.apps-features-grid li::before {
	content: '\f00c';
	font-family: FontAwesome;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	font-size: 11px;
	color: #fff;
	background: #AF2121;
	border-radius: 50%;
	position: static;
}

.apps-gallery-wrap {
	margin-top: 8px;
	padding: 22px 20px 20px;
	background: linear-gradient(180deg, #f4f6fa 0%, #f0f3f8 100%);
	border-radius: 16px;
	border: 1px solid #e8ecf2;
}

.apps-gallery-title {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #7a8494;
	margin: 0 0 16px;
}

/* Galleria screenshot (9:19) — override globale .magnific-img { height:250px !important } da styles.css */
.apps-page .apps-gallery {
	display: grid;
	gap: 16px;
	align-items: start;
}

.apps-page .apps-gallery .magnific-img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.apps-page .apps-gallery .magnific-img a,
.apps-page .apps-gallery .apps-shot-link {
	display: block;
	line-height: 0;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	aspect-ratio: 9 / 19.5;
	max-height: 400px;
}

.apps-page .apps-gallery .magnific-img a:hover,
.apps-page .apps-gallery .apps-shot-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.apps-page .apps-gallery .magnific-img img,
.apps-page .apps-gallery .apps-shot-link img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	display: block;
	object-fit: contain;
	object-position: center top;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0;
}

.apps-page .apps-gallery.img-gallery-magnific {
	letter-spacing: normal;
}

.apps-gallery {
	display: grid;
	gap: 16px;
	align-items: start;
}

.apps-gallery--many {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apps-gallery--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 520px;
}

.apps-gallery--single {
	grid-template-columns: minmax(0, 200px);
	max-width: 220px;
}

.apps-shot {
	margin: 0;
	padding: 0;
	border: none;
	display: block;
	width: auto;
	height: auto;
}

.apps-shot-link {
	display: block;
	line-height: 0;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	aspect-ratio: 9 / 19.5;
	max-height: 400px;
}

.apps-shot-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.apps-shot-link img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center top;
	margin: 0;
	padding: 0;
	border-radius: 0;
	max-height: none;
}

@media (min-width: 576px) {
	.apps-gallery--many {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.apps-gallery--pair {
		max-width: 640px;
	}

	.apps-gallery--single {
		max-width: 240px;
	}

	.apps-shot-link {
		max-height: 440px;
	}
}

@media (min-width: 992px) {
	.apps-gallery--many {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.apps-gallery--pair {
		max-width: 720px;
	}

	.apps-shot-link {
		max-height: 460px;
	}
}

.apps-cta-box {
	margin-top: 16px;
	padding: 40px 32px;
	text-align: center;
	background: linear-gradient(135deg, #1a2744 0%, #0f3460 55%, #16213e 100%);
	border-radius: 20px;
	border: none;
	box-shadow: 0 12px 40px rgba(15, 40, 80, 0.2);
}

.apps-cta-box h3 {
	margin: 0 0 12px;
	color: #fff;
	font-family: 'Outfit', 'Montserrat', sans-serif;
	font-weight: 600;
}

.apps-cta-box p {
	color: rgba(220, 230, 245, 0.9);
	margin-bottom: 22px;
	font-size: 1.05rem;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.apps-cta-box .btn-offer {
	background: #FF404C;
	border: none;
	padding: 14px 32px;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(255, 64, 76, 0.4);
	transition: transform 0.2s, box-shadow 0.2s;
}

.apps-cta-box .btn-offer:hover {
	background: #e63642;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(255, 64, 76, 0.45);
	color: #fff;
}

/* Homepage teaser */
.home-apps-section {
	background: linear-gradient(180deg, #0f1628 0%, #1a2744 100%);
	padding: 56px 0 64px;
	color: #e8eef8;
}

.home-apps-section .section-title h2 {
	color: #fff !important;
}

.home-apps-section .section-title p {
	color: rgba(200, 215, 240, 0.88);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.home-apps-section hr.center {
	border-color: rgba(120, 160, 255, 0.4);
}

.home-app-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(120, 160, 255, 0.2);
	border-radius: 14px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
	text-decoration: none;
	color: inherit;
}

.home-app-card:hover {
	transform: translateY(-4px);
	border-color: rgba(150, 190, 255, 0.45);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	color: inherit;
	text-decoration: none;
}

.home-app-card-img {
	background: #0a0f18;
	overflow: hidden;
	max-height: 220px;
}

.home-app-card-img img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	object-position: top center;
}

.home-app-card-body {
	padding: 18px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.home-app-card-body h4 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1.15rem;
}

.home-app-card-body p {
	margin: 0 0 14px;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(190, 205, 230, 0.9);
	flex: 1;
}

.home-app-card-more {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #7eb8ff;
}

.home-app-card:hover .home-app-card-more {
	color: #a8d4ff;
}

.home-apps-cta {
	margin-top: 32px;
	text-align: center;
}

.home-apps-cta .btn-offer {
	background: linear-gradient(135deg, #3d7ee8 0%, #5b4fd4 100%);
	border: none;
	padding: 12px 28px;
}
