/* Motion and form fields on the existing landing. Does not restyle the CRM. */

.tinxy-contact-form input[type="text"],
.tinxy-contact-form input[type="email"],
.tinxy-contact-form textarea {
	border: 1px solid #cbd5e1;
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	background: #fff;
}

.tinxy-contact-form input:focus,
.tinxy-contact-form textarea:focus {
	outline: none;
	border-color: rgba(59, 130, 246, 0.4);
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.tinxy-contact-form button {
	border: 0;
}

@keyframes tinxy-glow {
	0%, 100% { opacity: .45; transform: translateX(-50%) scale(1); }
	50% { opacity: .75; transform: translateX(-50%) scale(1.06); }
}

@keyframes tinxy-rise {
	from { transform: translateY(14px); }
	to { transform: none; }
}

@keyframes tinxy-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.tinxy-glow {
	animation: tinxy-glow 7s ease-in-out infinite;
}

.tinxy-rise {
	animation: tinxy-rise .7s ease both;
}

.tinxy-rise-2 { animation-delay: .12s; }
.tinxy-rise-3 { animation-delay: .24s; }
.tinxy-rise-4 { animation-delay: .36s; }

.tinxy-float,
.tinxy-phone.is-floating {
	animation: tinxy-float 6s ease-in-out infinite;
}

@keyframes tinxy-wave {
	0%, 100% { transform: scaleY(.45); }
	50% { transform: scaleY(1); }
}

@keyframes tinxy-sheen {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

@keyframes tinxy-scan {
	0%, 100% { box-shadow: inset 0 0 0 0 rgba(59, 130, 246, 0); }
	45% { box-shadow: inset 0 0 0 2px rgba(59, 130, 246, .55); }
}

.tinxy-draw {
	stroke-dasharray: 10 8;
	animation: tinxy-draw 1.1s linear infinite;
}

@keyframes tinxy-draw {
	to { stroke-dashoffset: -36; }
}

.tinxy-bars span,
.tinxy-bars button,
#tinxy-days > button {
	transform-origin: bottom;
	animation: tinxy-wave 2.4s ease-in-out infinite;
}

.tinxy-bars > :nth-child(2),
#tinxy-days > :nth-child(2) { animation-delay: .15s; }
.tinxy-bars > :nth-child(3),
#tinxy-days > :nth-child(3) { animation-delay: .3s; }
.tinxy-bars > :nth-child(4),
#tinxy-days > :nth-child(4) { animation-delay: .45s; }
.tinxy-bars > :nth-child(5),
#tinxy-days > :nth-child(5) { animation-delay: .6s; }

#tinxy-board .tinxy-col {
	animation: tinxy-scan 3.6s ease-in-out infinite;
}

#tinxy-board .tinxy-col:nth-child(2) { animation-delay: 1.2s; }
#tinxy-board .tinxy-col:nth-child(3) { animation-delay: 2.4s; }

.tinxy-glide-host {
	position: relative;
}

.tinxy-glide {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	border-radius: 999px;
	background: #dbeafe;
	box-shadow: inset 0 0 0 1px #93c5fd;
	pointer-events: none;
	transition: transform .5s cubic-bezier(.22, .8, .3, 1), width .5s ease, height .5s ease;
}

.tinxy-glide-host > .tinxy-chip,
.tinxy-glide-host > .tinxy-app-tab,
.tinxy-glide-host > .tinxy-section-btn {
	position: relative;
	z-index: 1;
}

.tinxy-glide-host > .tinxy-app-tab {
	background: transparent;
}

.tinxy-glide-host > .is-on {
	background-color: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.tinxy-paused .tinxy-bars span,
.tinxy-paused .tinxy-bars button,
.tinxy-paused #tinxy-days > button,
.tinxy-paused #tinxy-board .tinxy-col,
.tinxy-paused .tinxy-draw,
.tinxy-paused .tinxy-lead.is-on,
.tinxy-paused .tinxy-note.is-on,
.tinxy-paused .tinxy-deal.is-on {
	animation-play-state: paused;
}

#funzioni,
#contatti,
#prezzi,
#settori,
#dashboard,
#moduli,
#unico,
#app-home,
#personale,
#tinxy-stage {
	scroll-margin-top: 12rem;
}

/* Soft bands so each homepage block reads as its own section. */
#unico,
#contatti {
	background: #e9f1fb;
}

#app-home {
	background: #ffffff;
}

#personale {
	background: #e8f6f5;
}

#funzioni {
	background: #f3f5f8;
}

.tinxy-chip,
.tinxy-app-tab {
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
}

.tinxy-chip {
	border-color: #e2e8f0;
	background: #fff;
	color: #64748b;
}

.tinxy-chip.is-on {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.tinxy-phone {
	background: #f4f4f5;
	border: 8px solid #14122b;
	border-radius: 36px;
	overflow: hidden;
	box-shadow: 0 32px 64px -24px rgba(15, 23, 42, 0.35);
}

.tinxy-phone-top {
	background: #1b1448;
	color: #fff;
}

.tinxy-phone-body {
	background: #f4f4f5;
}

.tinxy-app-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 12px 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #1b1448;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.tinxy-app-hint[hidden] {
	display: none;
}

.tinxy-app-hint-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #22d3ee;
	box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
	animation: tinxy-hint-pulse 1.4s ease infinite;
}

.tinxy-app-nudge {
	position: relative;
}

.tinxy-app-nudge::before {
	content: "";
	position: absolute;
	top: 6px;
	right: 8px;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #3b82f6;
	box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
	animation: tinxy-hint-pulse 1.4s ease infinite;
}

@keyframes tinxy-hint-pulse {
	0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
	70% { box-shadow: 0 0 0 7px rgba(59, 130, 246, 0); }
	100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.tinxy-phone .tinxy-app-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	flex: 1;
	padding: 8px 2px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.1;
	color: #94a3b8;
	background: #f3f4f6;
}

.tinxy-phone .tinxy-app-tab.is-on {
	color: #312e81;
}

.tinxy-phone [data-app-tabs][hidden] {
	display: none !important;
}

.tinxy-app-tabs {
	scrollbar-width: none;
}

.tinxy-app-tabs::-webkit-scrollbar {
	display: none;
}

.tinxy-section-btn,
.tinxy-lead,
.tinxy-note {
	border: 0;
	cursor: pointer;
	background: transparent;
}

.tinxy-section-btn {
	border: 1px solid transparent;
}

.tinxy-section-btn.is-on {
	background: #fff;
	border-color: #e2e8f0;
	box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.45);
}

.tinxy-steps {
	list-style: none;
	counter-reset: tinxy-step;
}

.tinxy-steps li {
	counter-increment: tinxy-step;
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.tinxy-steps li::before {
	content: counter(tinxy-step);
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

#tinxy-dash-nav button.is-on {
	background: #fff;
}

.tinxy-lead.is-on,
.tinxy-note.is-on,
.tinxy-deal.is-on {
	border-radius: 12px;
	background-image: linear-gradient(90deg, #eff6ff, #bfdbfe, #eff6ff);
	background-size: 200% 100%;
	animation: tinxy-sheen 2.2s linear infinite;
}

.tinxy-col.is-over {
	background: rgba(59, 130, 246, 0.08);
}

.tinxy-stage-section {
	background: #f2f9ff;
}

.tinxy-stage {
	background: #fff;
	border: 1px solid #c5d2e4;
	box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.55);
}

.tinxy-stage [hidden] {
	display: none !important;
}

.tinxy-stage-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 20px;
	padding: 7px 14px;
	border-radius: 999px;
	background: #1b1448;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.tinxy-stage-hint[hidden] {
	display: none !important;
}

.tinxy-cap-section {
	background: #f2f9ff;
}

.tinxy-cap-section + .tinxy-cap-section {
	padding-top: 0;
}

.tinxy-cap {
	display: block;
	min-width: 0;
	text-align: left;
	cursor: pointer;
	white-space: normal;
	overflow-wrap: break-word;
	background: #fff;
	border: 1px solid #c5d2e4;
	box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.55);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tinxy-cap:hover,
.tinxy-cap.is-on {
	background: #fff;
	border-color: #93c5fd;
	box-shadow: 0 22px 44px -18px rgba(37, 99, 235, 0.45);
}

.tinxy-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	padding: 2rem;
	text-align: left;
	white-space: normal;
	overflow-wrap: break-word;
	color: inherit;
	background: #fff;
	border: 1px solid #c5d2e4;
	border-radius: 28px;
	box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.55);
}

.tinxy-plan.is-on {
	border-color: #3b82f6;
	box-shadow: 0 22px 44px -18px rgba(37, 99, 235, 0.45);
}

.tinxy-plan-due {
	margin: 1.25rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 16px;
	background: #f2f9ff;
	color: #1e3a8a;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.tinxy-plan-due span {
	display: block;
	margin-top: 0.25rem;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
}

.tinxy-plan-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.tinxy-plan-buy:hover {
	background: #1e293b;
	color: #fff;
}

.tinxy-plan ul {
	margin-bottom: 1.5rem;
}

.tinxy-say {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding: 0.65rem 0.8rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	animation: tinxy-say 0.35s ease;
}

.tinxy-who {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tinxy-who-marco { color: #475569; }
.tinxy-who-sara { color: #2563eb; }
.tinxy-who-luca { color: #0891b2; }
.tinxy-who-giulia { color: #7c3aed; }

.tinxy-sunto-row {
	padding-top: 0.65rem;
	border-top: 1px solid #e2e8f0;
}

.tinxy-sunto-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.tinxy-sunto-text {
	margin: 0.2rem 0 0;
	font-size: 0.875rem;
	color: #334155;
}

@keyframes tinxy-say {
	from { transform: translateY(8px); }
	to { transform: none; }
}

.tinxy-bando-spin {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 700;
}

.tinxy-bando-spin span {
	width: 1.15rem;
	height: 1.15rem;
	flex: none;
	border-radius: 999px;
	border: 2px solid #dbeafe;
	border-top-color: #2563eb;
	animation: tinxy-bando-spin 0.7s linear infinite;
}

@keyframes tinxy-bando-spin {
	to { transform: rotate(360deg); }
}

.tinxy-bando-row,
.tinxy-bando-out {
	padding: 0.8rem 0.9rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.tinxy-bando-out {
	background: #f8fafc;
}

.tinxy-mic {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.tinxy-mic-stage {
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	flex: none;
}

.tinxy-mic-btn {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	background: #1b1448;
	color: #fff;
}

.tinxy-mic-btn svg {
	width: 1.15rem;
	height: 1.15rem;
}

.tinxy-mic-ring {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	border: 2px solid #06b6d4;
	opacity: 0;
}

.tinxy-mic.is-recording .tinxy-mic-ring {
	animation: tinxy-mic-pulse 1.5s ease-out infinite;
}

.tinxy-mic.is-recording .tinxy-mic-ring-2 {
	animation-delay: 0.55s;
}

.tinxy-mic-bars {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 1.15rem;
}

.tinxy-mic-bars i {
	display: block;
	width: 3px;
	height: 35%;
	border-radius: 999px;
	background: #06b6d4;
}

.tinxy-mic.is-recording .tinxy-mic-bars i {
	animation: tinxy-mic-level 0.7s ease-in-out infinite;
	transform-origin: bottom;
}

.tinxy-mic.is-recording .tinxy-mic-bars i:nth-child(2) { animation-delay: 0.12s; }
.tinxy-mic.is-recording .tinxy-mic-bars i:nth-child(3) { animation-delay: 0.24s; }
.tinxy-mic.is-recording .tinxy-mic-bars i:nth-child(4) { animation-delay: 0.08s; }

.tinxy-mic-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.tinxy-mic.is-recording .tinxy-mic-label {
	color: #0891b2;
}

@keyframes tinxy-mic-pulse {
	0% { transform: scale(1); opacity: 0.7; }
	100% { transform: scale(1.7); opacity: 0; }
}

@keyframes tinxy-mic-level {
	0%, 100% { transform: scaleY(0.35); }
	50% { transform: scaleY(1); }
}

.tinxy-plan-badge {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tinxy-deal {
	cursor: grab;
}

.tinxy-deal.is-on {
	outline: 2px solid #bfdbfe;
}

.tinxy-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

#tinxy-results .tinxy-lead + .tinxy-lead {
	border-top: 1px solid #f1f5f9;
}

#tinxy-days button {
	border: 0;
	padding: 0;
	cursor: pointer;
}

#tinxy-days button.is-on {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3b82f6;
}

.tinxy-site-bar {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 5rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.tinxy-site-logo {
	flex: 1 1 0;
	min-width: 0;
}

.tinxy-top-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}

.tinxy-header-menu,
.tinxy-top-nav .tinxy-header-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: max-content;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.tinxy-header-cta {
	flex: 1 1 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.tinxy-header-cta a {
	flex: none;
}

@media (max-width: 900px) {
	.tinxy-site-bar {
		flex-wrap: wrap;
	}

	.tinxy-site-logo,
	.tinxy-header-cta {
		flex: 0 0 auto;
	}

	.tinxy-header-cta {
		margin-left: auto;
	}

	.tinxy-top-nav {
		flex: 1 0 100%;
		justify-content: flex-start;
	}
}

.tinxy-header-menu li {
	display: block;
	margin: 0;
	flex: 0 0 auto;
}

.tinxy-header-menu a {
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.tinxy-header-menu .current-menu-item > a,
.tinxy-header-menu .current_page_item > a {
	color: #2563eb;
}

.tinxy-top-nav::-webkit-scrollbar {
	display: none;
}

@keyframes tinxy-spin {
	to { transform: rotate(360deg); }
}

@keyframes tinxy-blink {
	50% { opacity: 0; }
}

@keyframes tinxy-swap {
	0% { opacity: 0; transform: translateY(8px); }
	4% { opacity: 1; transform: none; }
	24% { opacity: 1; transform: none; }
	28% { opacity: 0; transform: translateY(-8px); }
	100% { opacity: 0; }
}

.tinxy-spin {
	animation: tinxy-spin 8s linear infinite;
}

.tinxy-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tinxy-orbit {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: none;
}

.tinxy-orbit span,
.tinxy-orbit-lg span {
	position: absolute;
	inset: 0;
	border: 1.5px solid #3b82f6;
	border-right-color: transparent;
	border-radius: 999px;
	animation: tinxy-spin 2.8s linear infinite;
}

.tinxy-orbit span:last-child,
.tinxy-orbit-lg span:last-child {
	inset: 3px;
	border-color: #06b6d4;
	border-left-color: transparent;
	animation-duration: 1.6s;
	animation-direction: reverse;
}

.tinxy-orbit-lg {
	position: absolute;
	width: 160px;
	height: 160px;
	right: 8%;
	top: 18%;
	pointer-events: none;
}

.tinxy-orbit-lg span:last-child {
	inset: 22px;
}

.tinxy-type {
	min-height: 1.6em;
	font-family: "Cabinet Grotesk", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #2563eb;
}

.tinxy-caret {
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 3px;
	background: #3b82f6;
	vertical-align: -2px;
	animation: tinxy-blink 1s steps(1) infinite;
}

.tinxy-swap {
	position: relative;
	display: inline-block;
	height: 1.6em;
	min-width: 8rem;
	vertical-align: bottom;
}

.tinxy-swap span {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: #0e7490;
	opacity: 0;
	animation: tinxy-swap 12s infinite;
}

.tinxy-swap span:nth-child(2) { animation-delay: 3s; }
.tinxy-swap span:nth-child(3) { animation-delay: 6s; }
.tinxy-swap span:nth-child(4) { animation-delay: 9s; }

@media (max-width: 768px) {
	.tinxy-orbit-lg {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tinxy-glow,
	.tinxy-rise,
	.tinxy-float,
	.tinxy-phone.is-floating,
	.tinxy-draw,
	.tinxy-bars span,
	.tinxy-bars button,
	#tinxy-days > button,
	#tinxy-board .tinxy-col,
	.tinxy-lead.is-on,
	.tinxy-note.is-on,
	.tinxy-deal.is-on,
	.tinxy-say,
	.tinxy-mic.is-recording .tinxy-mic-ring,
	.tinxy-mic.is-recording .tinxy-mic-bars i,
	.tinxy-bando-spin span,
	.tinxy-app-hint-dot,
	.tinxy-app-nudge::before,
	.tinxy-spin,
	.tinxy-orbit span,
	.tinxy-orbit-lg span,
	.tinxy-caret,
	.tinxy-swap span {
		animation: none;
	}

	.tinxy-glide {
		transition: none;
	}

	.tinxy-swap span {
		position: static;
		opacity: 1;
	}

	.tinxy-swap span:not(:first-child) {
		display: none;
	}
}
