/* ═══════════════════════════════════════════════════════════════════════
   CantierePro Vetrina — design system
   Palette: navy profondo + arancio cantiere · griglia blueprint · glass
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Font locali (nessuna risorsa esterna) ─────────────────────────── */
@font-face {
	font-family: 'Manrope';
	src: url('../fonts/Manrope.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Code';
	src: url('../fonts/FiraCode.woff2') format('woff2');
	font-weight: 300 700;
	font-display: swap;
}

:root {
	--bg-0: #05080f;
	--bg-1: #0a101d;
	--bg-2: #0e1626;
	--ink: #eaf0fa;
	--muted: #94a3b8;
	--dim: #7c8ba1; /* ≥4.5:1 (AA) anche sui fondi glass più chiari */
	--orange-1: #ffb340;
	--orange-2: #ff7a00;
	--blue: #38bdf8;
	--line: rgba(148, 163, 184, .14);
	--glass: rgba(148, 163, 184, .06);
	--glass-strong: rgba(148, 163, 184, .1);
	--grad: linear-gradient(120deg, var(--orange-1), var(--orange-2));
	--font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono: 'Fira Code', ui-monospace, 'SF Mono', Menlo, monospace;
	--radius: 18px;
	--shadow: 0 20px 60px rgba(0, 0, 0, .45);
	--container: 76rem;
}

/* ── Reset essenziale ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
	background: var(--bg-0);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: rgba(255, 122, 0, .35); }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	padding: .8rem 1.2rem; background: var(--orange-2); color: #0b1120;
	font-weight: 700; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.container { width: min(var(--container), calc(100% - 3rem)); margin-inline: auto; }
.container--narrow { width: min(50rem, calc(100% - 3rem)); }

/* ── Scenografia di fondo: griglia blueprint + bagliori ────────────── */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-0); }
.bg-grid {
	position: absolute; inset: -2px;
	background-image:
		linear-gradient(rgba(56, 189, 248, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, .05) 1px, transparent 1px),
		linear-gradient(rgba(56, 189, 248, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, .03) 1px, transparent 1px);
	background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow--orange {
	width: 44rem; height: 44rem; top: -18rem; right: -12rem;
	background: radial-gradient(circle, rgba(255, 122, 0, .35), transparent 65%);
	animation: drift 26s ease-in-out infinite alternate;
}
.bg-glow--blue {
	width: 38rem; height: 38rem; top: 24rem; left: -16rem;
	background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 65%);
	animation: drift 32s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(4rem, 3rem, 0) scale(1.12); }
}

/* ── Tipografia ────────────────────────────────────────────────────── */
.overline {
	font-family: var(--font-mono);
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--orange-1);
	margin-bottom: 1.1rem;
}
.grad {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.section__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.12;
	letter-spacing: -.02em;
	margin-bottom: 1.1rem;
}
.section__sub { color: var(--muted); max-width: 44rem; margin-bottom: 3rem; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

/* ── Bottoni ───────────────────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-display); font-weight: 700; font-size: .98rem;
	padding: .85rem 1.6rem; border-radius: 999px;
	border: 1px solid transparent;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s, background .25s;
	cursor: pointer; white-space: nowrap;
}
.btn--primary {
	background: var(--grad); color: #131313;
	box-shadow: 0 8px 28px rgba(255, 122, 0, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 122, 0, .5); }
.btn--ghost {
	border-color: var(--line); color: var(--ink);
	background: var(--glass);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255, 179, 64, .5); transform: translateY(-2px); }
.btn--big { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--small { padding: .55rem 1.15rem; font-size: .9rem; }

/* ── Navigazione ───────────────────────────────────────────────────── */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .35s, border-color .35s, backdrop-filter .35s;
	border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
	background: rgba(5, 8, 15, .78);
	border-bottom-color: var(--line);
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
}
/* Utenti loggati: l'admin bar di WP non sposta gli elementi fixed da sola */
.admin-bar .nav { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar [id] { scroll-margin-top: calc(5.5rem + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 782px) {
	.admin-bar .nav { top: var(--wp-admin--admin-bar--height, 46px); }
	.admin-bar [id] { scroll-margin-top: calc(5.5rem + var(--wp-admin--admin-bar--height, 46px)); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4.6rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .7rem; }
.nav__logo svg { border-radius: 9px; box-shadow: 0 4px 14px rgba(255, 122, 0, .3); }
.nav__name {
	font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em;
}
.nav__name em { font-style: normal; color: var(--orange-1); }
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links > a:not(.btn) {
	font-size: .95rem; font-weight: 500; color: var(--muted);
	transition: color .2s;
}
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { padding: 9.5rem 0 4rem; position: relative; }
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 3rem; align-items: center;
}
.hero__title {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	line-height: 1.04; letter-spacing: -.03em;
	margin-bottom: 1.4rem;
}
.hero__sub { color: var(--muted); font-size: 1.14rem; max-width: 34rem; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero__note {
	display: flex; align-items: center; gap: .6rem;
	font-family: var(--font-mono); font-size: .82rem; color: var(--dim);
}
.pulse-dot {
	width: 9px; height: 9px; border-radius: 50%; background: var(--orange-1);
	box-shadow: 0 0 0 0 rgba(255, 179, 64, .55);
	animation: pulse 2.2s infinite;
	flex: none;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 179, 64, .55); }
	70% { box-shadow: 0 0 0 12px rgba(255, 179, 64, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 179, 64, 0); }
}
.hero__audience {
	margin-top: 3.2rem; text-align: center;
	font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
	color: var(--dim); text-transform: uppercase;
}

/* ── Mockup iPhone ─────────────────────────────────────────────────── */
.hero__visual { display: flex; justify-content: center; }
.phone-wrap { position: relative; will-change: transform; }
.phone {
	width: min(310px, 78vw);
	aspect-ratio: 402 / 874; /* proporzioni reali iPhone 17 */
	border-radius: 46px;
	background: linear-gradient(160deg, #2a3550, #10192e 60%);
	padding: 10px;
	box-shadow:
		inset 0 0 0 1.5px rgba(148, 163, 184, .35),
		var(--shadow),
		0 0 90px rgba(255, 122, 0, .12);
	position: relative; z-index: 2;
}
.phone::before {
	/* dynamic island */
	content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
	width: 88px; height: 24px; border-radius: 14px; background: #04060b; z-index: 3;
}
.phone__screen {
	width: 100%; height: 100%; border-radius: 37px; overflow: hidden;
	background: linear-gradient(180deg, #0b1322, #080d18);
	border: 1px solid rgba(148, 163, 184, .12);
}
.phone__shot {
	width: 100%; height: 100%;
	object-fit: cover; object-position: top center;
	display: block;
}
.phone-wrap--center { margin-inline: auto; width: fit-content; }
.float-chip {
	position: absolute; z-index: 3;
	font-family: var(--font-mono); font-size: .72rem; color: var(--ink);
	background: rgba(10, 16, 29, .82);
	border: 1px solid var(--line); border-radius: 12px;
	padding: .55rem .85rem;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
	animation: floaty 6s ease-in-out infinite;
	white-space: nowrap;
}
.float-chip b { color: var(--orange-1); font-weight: 600; margin-right: .3rem; }
.float-chip--1 { top: 21%; left: -30%; animation-delay: 0s; }
.float-chip--2 { top: 45%; right: -26%; animation-delay: -2s; }
.float-chip--3 { bottom: 7%; left: -30%; animation-delay: -4s; }
.float-chip--4 { top: 46%; right: -16%; animation-delay: -3s; }
@keyframes floaty {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-11px); }
}

/* ── Statistiche ───────────────────────────────────────────────────── */
.stats {
	margin-top: 4.5rem;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden;
}
.stat {
	background: rgba(10, 16, 29, .66); padding: 1.6rem 1.4rem;
	display: flex; flex-direction: column; gap: .2rem;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat__num {
	font-family: var(--font-mono); font-weight: 700;
	font-size: 2.1rem; color: var(--orange-1); line-height: 1.1;
}
.stat__label { font-size: .84rem; color: var(--muted); }

/* ── Card funzioni ─────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
	position: relative;
	background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.8rem 1.6rem;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, background .35s;
	overflow: hidden;
}
.card::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(24rem 12rem at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 26, .1), transparent 60%);
	opacity: 0; transition: opacity .35s;
	pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 179, 64, .35); }
.card:hover::before { opacity: 1; }
.card__icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center; margin-bottom: 1.15rem;
	color: var(--orange-1);
	background: linear-gradient(140deg, rgba(255, 179, 64, .16), rgba(255, 122, 0, .06));
	border: 1px solid rgba(255, 179, 64, .25);
}
.card h3 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; margin-bottom: .55rem; }
.card p { font-size: .95rem; color: var(--muted); }

/* ── Sezioni split ─────────────────────────────────────────────────── */
.split {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }
.split__copy > p { color: var(--muted); margin-bottom: 1.6rem; }
.ticks { display: flex; flex-direction: column; gap: .75rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--ink); font-size: .98rem; }
.ticks li::before {
	content: ''; position: absolute; left: 0; top: .18rem;
	width: 20px; height: 20px; border-radius: 7px;
	background: linear-gradient(140deg, rgba(255, 179, 64, .2), rgba(255, 122, 0, .08));
	border: 1px solid rgba(255, 179, 64, .4);
}
.ticks li::after {
	content: ''; position: absolute; left: 5px; top: .48rem;
	width: 9px; height: 5px;
	border-left: 2px solid var(--orange-1); border-bottom: 2px solid var(--orange-1);
	transform: rotate(-45deg);
}

/* Prova fotografica */
.proof {
	position: relative; border-radius: 22px; overflow: hidden;
	border: 1px solid var(--line); box-shadow: var(--shadow);
	transform: rotate(-1.2deg);
}
.proof__photo { width: 100%; height: auto; }

/* Mock PDF */
.pdfmock { position: relative; display: flex; justify-content: center; padding: 1rem 0 1.5rem; }
.pdfmock__page {
	width: min(330px, 82vw); aspect-ratio: 1 / 1.32;
	background: #f4f6fa; border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 7% 7.5%;
	display: flex; flex-direction: column; gap: 4.5%;
	transform: rotate(1.6deg);
	position: relative; z-index: 2;
}
.pdfmock__page--back {
	position: absolute; inset: auto; z-index: 1;
	transform: rotate(-4deg) translate(-7%, 3%);
	background: #dde3ee;
	padding: 0;
}
.pdfmock__head { display: flex; align-items: center; gap: 5%; }
.pdfmock__logo {
	width: 15%; aspect-ratio: 1; border-radius: 22%;
	background: var(--grad); flex: none;
	position: relative;
}
.pdfmock__logo::after {
	content: ''; position: absolute; inset: 30% 26% 34%;
	border-left: 3px solid #10192e; border-bottom: 3px solid #10192e;
	transform: rotate(-45deg);
}
.pdfmock__firm { flex: 1; display: flex; flex-direction: column; gap: 9%; justify-content: center; }
.pdfmock__firm i { display: block; height: 9px; border-radius: 4px; background: #c3cbdb; width: 84%; }
.pdfmock__title { height: 13px; border-radius: 5px; background: #8f9cb5; width: 62%; }
.pdfmock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; flex: 1; }
.pdfmock__ph {
	border-radius: 8px; position: relative; overflow: hidden;
	background: linear-gradient(150deg, #33415e, #17233c 60%, #a25a25);
}
.pdfmock__ph--b { background: linear-gradient(200deg, #3d4a6b, #1c2f52 55%, #c46a2a); }
.pdfmock__ph--c { background: linear-gradient(160deg, #2b3a5c, #101b31 65%, #8a4d20); }
.pdfmock__ph--d { background: linear-gradient(140deg, #37456a, #16233f 60%, #b96428); }
.pdfmock__ph::after {
	content: attr(data-n);
	position: absolute; left: 6px; bottom: 5px;
	font-family: var(--font-mono); font-size: .58rem; color: #ffd9a8;
	background: rgba(4, 7, 13, .7); border-radius: 4px; padding: 1px 5px;
}
.pdfmock__lines { display: flex; flex-direction: column; gap: 7px; }
.pdfmock__lines i { display: block; height: 7px; border-radius: 4px; background: #d5dbe7; }
.pdfmock__sign { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pdfmock__sign i { display: block; height: 2px; width: 42%; background: #8f9cb5; }
.pdfmock__badge {
	position: absolute; top: 4%; right: 6%; z-index: 3;
	font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
	color: #131313; background: var(--grad);
	border-radius: 9px; padding: .45rem .7rem;
	box-shadow: 0 8px 24px rgba(255, 122, 0, .45);
	transform: rotate(6deg);
}

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
	counter-reset: step;
	margin-top: 2.6rem;
}
.step {
	position: relative;
	background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 2.1rem 1.7rem 1.9rem;
	overflow: hidden;
}
.step__num {
	font-family: var(--font-mono); font-weight: 700; font-size: 3.6rem; line-height: 1;
	background: linear-gradient(180deg, rgba(255, 179, 64, .8), rgba(255, 122, 0, .1));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	display: block; margin-bottom: 1rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ── Privacy ───────────────────────────────────────────────────────── */
.section--privacy { padding-block: clamp(3rem, 6vw, 5rem); }
.privacy {
	text-align: center;
	background:
		radial-gradient(60% 120% at 50% 0%, rgba(255, 122, 0, .1), transparent 60%),
		var(--glass);
	border: 1px solid var(--line); border-radius: 28px;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
}
.privacy__icon {
	width: 72px; height: 72px; margin: 0 auto 1.4rem; border-radius: 22px;
	display: grid; place-items: center; color: var(--orange-1);
	background: linear-gradient(140deg, rgba(255, 179, 64, .18), rgba(255, 122, 0, .05));
	border: 1px solid rgba(255, 179, 64, .3);
}
.privacy__lead { color: var(--muted); max-width: 42rem; margin: 0 auto 2.4rem; font-size: 1.08rem; }
.privacy__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; text-align: left; }
.privacy__card {
	background: rgba(5, 8, 15, .5); border: 1px solid var(--line); border-radius: 16px;
	padding: 1.3rem 1.25rem; display: flex; flex-direction: column; gap: .4rem;
}
.privacy__card b { font-family: var(--font-display); font-size: 1rem; }
.privacy__card span { font-size: .88rem; color: var(--muted); }

/* ── Prezzi ────────────────────────────────────────────────────────── */
.pricing {
	display: grid; grid-template-columns: repeat(2, minmax(0, 26rem)); gap: 1.4rem;
	justify-content: center; margin-top: 2.6rem; align-items: stretch;
}
.price {
	background: var(--glass); border: 1px solid var(--line); border-radius: 24px;
	padding: 2.2rem 2rem; display: flex; flex-direction: column;
	position: relative;
}
.price--pro {
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(255, 122, 0, .16), transparent 70%),
		var(--glass-strong);
	border-color: rgba(255, 179, 64, .45);
	box-shadow: 0 24px 70px rgba(255, 122, 0, .13);
}
.price__flag {
	position: absolute; top: -0.95rem; left: 50%; transform: translateX(-50%);
	font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; white-space: nowrap;
	background: var(--grad); color: #131313; font-weight: 700;
	border-radius: 999px; padding: .42rem .95rem;
	box-shadow: 0 8px 22px rgba(255, 122, 0, .4);
}
.price__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.price__name em { font-style: normal; color: var(--orange-1); }
.price__amount {
	font-family: var(--font-display); font-weight: 800; font-size: 2.9rem; letter-spacing: -.03em;
	line-height: 1; margin-bottom: .4rem;
}
.price__amount span { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .5rem; letter-spacing: 0; }
.price__alt { font-size: .85rem; color: var(--orange-1); font-family: var(--font-mono); margin-bottom: .6rem; }
.price__list { margin: 1.2rem 0 1.8rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.price__list li { position: relative; padding-left: 1.7rem; font-size: .95rem; color: var(--ink); }
.price__list li::before {
	content: ''; position: absolute; left: 2px; top: .42rem;
	width: 9px; height: 5px;
	border-left: 2px solid var(--orange-1); border-bottom: 2px solid var(--orange-1);
	transform: rotate(-45deg);
}
.price .btn { justify-content: center; }
.price__note { margin-top: 1rem; font-size: .8rem; color: var(--dim); text-align: center; }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.4rem; }
.faq details {
	background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
	transition: border-color .3s, background .3s;
}
.faq details[open] { border-color: rgba(255, 179, 64, .4); background: var(--glass-strong); }
.faq summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
	padding: 1.15rem 1.4rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 16px; height: 16px; flex: none; }
.faq__x::before, .faq__x::after {
	content: ''; position: absolute; background: var(--orange-1); border-radius: 2px;
	transition: transform .3s;
}
.faq__x::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq__x::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq details[open] .faq__x::after { transform: rotate(90deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .96rem; }

/* ── Download ──────────────────────────────────────────────────────── */
.section--download { padding-bottom: clamp(5rem, 10vw, 8rem); }
.download {
	text-align: center;
	background:
		radial-gradient(70% 100% at 50% 0%, rgba(255, 122, 0, .18), transparent 65%),
		radial-gradient(50% 80% at 80% 100%, rgba(56, 189, 248, .1), transparent 60%),
		var(--glass);
	border: 1px solid rgba(255, 179, 64, .3); border-radius: 32px;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem);
	position: relative; overflow: hidden;
}
.download::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(56, 189, 248, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, .06) 1px, transparent 1px);
	background-size: 30px 30px;
	mask-image: radial-gradient(70% 80% at 50% 20%, #000, transparent 80%);
	-webkit-mask-image: radial-gradient(70% 80% at 50% 20%, #000, transparent 80%);
}
.download__title {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.025em; line-height: 1.08;
	margin-bottom: 1rem; position: relative;
}
.download__sub { color: var(--muted); max-width: 36rem; margin: 0 auto 2.4rem; position: relative; }
.download__badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.store-badge {
	display: inline-flex; align-items: center; gap: .8rem;
	background: #04060b; border: 1px solid rgba(148, 163, 184, .3);
	border-radius: 14px; padding: .8rem 1.4rem;
	transition: transform .25s, border-color .25s;
}
.store-badge:hover { transform: translateY(-3px); border-color: rgba(255, 179, 64, .5); }
.store-badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.store-badge i { font-style: normal; font-size: .68rem; color: var(--muted); }
.store-badge b { font-family: var(--font-display); font-size: 1.05rem; }
.download__status {
	margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-mono); font-size: .78rem; color: var(--dim); position: relative;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; background: rgba(4, 6, 11, .6); }
.footer__top {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
	padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.footer__tagline { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 22rem; }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col h3 {
	font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--dim); margin-bottom: .4rem;
}
.footer__col a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer__col a:hover { color: var(--orange-1); }
.footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding-top: 2.2rem; flex-wrap: wrap;
}
.footer__hylogix { height: 26px; width: auto; opacity: .8; }
.footer__bottom p { font-size: .82rem; color: var(--dim); }

/* ── Animazioni reveal ─────────────────────────────────────────────── */
[data-reveal] {
	opacity: 0; transform: translateY(26px);
	transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
	transition-delay: var(--d, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ── Riduzione movimento ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1120px) {
	.float-chip--1 { left: -6%; }
	.float-chip--2 { right: -8%; }
	.float-chip--3 { left: -2%; }
}

@media (max-width: 960px) {
	.hero { padding-top: 8rem; }
	.hero__grid { grid-template-columns: 1fr; gap: 4rem; }
	.hero__sub { max-width: none; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__copy { order: 1; }
	.split--reverse .split__visual { order: 2; }
	.steps { grid-template-columns: 1fr; }
	.privacy__cards { grid-template-columns: 1fr; }
	.pricing { grid-template-columns: minmax(0, 30rem); }
	.footer__top { grid-template-columns: 1fr; gap: 2rem; }

	/* Menu mobile */
	.nav__toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; align-items: center;
		background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
		cursor: pointer;
	}
	.nav__toggle span {
		display: block; width: 20px; height: 2px; border-radius: 2px;
		background: var(--ink); transition: transform .3s, opacity .3s;
	}
	.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.nav__links {
		position: fixed; inset: 4.6rem 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 0;
		background: rgba(5, 8, 15, .96);
		backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
		border-bottom: 1px solid var(--line);
		padding: .8rem 1.5rem 1.5rem;
		max-height: calc(100vh - 4.6rem);
		max-height: calc(100dvh - 4.6rem);
		overflow-y: auto;
		transform: translateY(-130%);
		transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility .4s;
		visibility: hidden;
	}
	.admin-bar .nav__links { inset: calc(4.6rem + var(--wp-admin--admin-bar--height, 46px)) 0 auto 0; }
	.nav__links.is-open { transform: translateY(0); visibility: visible; }
	.nav__links > a:not(.btn) { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.nav__links .btn { margin-top: 1.2rem; justify-content: center; }
}

@media (max-width: 560px) {
	body { font-size: 1rem; }
	.cards { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 1.2rem 1rem; }
	.stat__num { font-size: 1.7rem; }
	.hero__cta .btn { width: 100%; justify-content: center; }
	.float-chip--1 { top: 6%; left: 0; }
	.float-chip--2 { top: 42%; right: 0; }
	.float-chip--3 { bottom: 4%; left: 4%; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
}
