/* Convera marketing landing. Tokens mirror the Convera design system (light). */
@font-face {
	font-family: "Plus Jakarta Sans Variable";
	src: url("/landing/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: light;
	--background: #f6f7f9;
	--foreground: #14120f;
	--card: #ffffff;
	--primary: #07089b;
	--primary-foreground: #ffffff;
	--primary-soft: #eeeeff;
	--primary-border: #c7c7f5;
	--muted-foreground: #706b63;
	--destructive: oklch(0.58 0.22 27);
	--destructive-soft: #fef2f2;
	--destructive-border: #fecaca;
	--success: #15803d;
	--success-soft: #f0fdf4;
	--success-border: #bbf7d0;
	--border: #e9e6e1;
	--input: #e3dfd9;
	--ring: var(--primary);
	--on-solid: #ffffff;
	--sidebar: #14141e;
	--sidebar-foreground: #a1a1b5;
	--sidebar-primary: #a5b4fc;
	--sidebar-accent: #24243a;
	--sidebar-accent-foreground: #eeeeff;
	--sidebar-border: #303044;
	--status-lead: #6366f1;
	--status-click-wa: #06b6d4;
	--status-response: #4ba3e3;
	--status-qualified: #7c3aed;
	--status-hot: #ea7a2e;
	--status-proposal: #eda33f;
	--status-negotiation: #e2b93b;
	--status-closing: #7cc142;
	--font-sans:
		"Plus Jakarta Sans Variable", "Plus Jakarta Sans", ui-sans-serif, system-ui,
		sans-serif;
	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--card);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 24px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--primary);
}

:focus-visible {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.icon {
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	border-radius: 9999px;
	background: var(--c);
}

.dot-lg {
	width: 12px;
	height: 12px;
}

.dot-sm {
	width: 6px;
	height: 6px;
}

.section {
	padding: 112px 0;
}

.section-muted {
	background: var(--background);
}

.section-inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 760px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
}

.lb-h2 {
	margin: 0;
	font-size: 36px;
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.section-lead {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: var(--muted-foreground);
}

.lb-2col,
.lb-3col,
.lb-4col,
.lb-herotop,
.lb-foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.lb-2col {
	gap: 16px;
}

.head-split {
	gap: 24px;
	align-items: end;
}

/* Buttons */
.btn {
	height: 52px;
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgb(0 0 0 / 0.18);
}

.btn .icon {
	transition: transform 0.2s ease;
}

.btn:hover .icon {
	transform: translateX(4px);
}

.btn-light {
	background: var(--card);
	color: var(--primary);
}

.btn-ghost {
	background: transparent;
	color: var(--sidebar-accent-foreground);
	box-shadow: inset 0 0 0 1px var(--sidebar-border);
}

.btn-ghost:hover {
	box-shadow:
		inset 0 0 0 1px var(--sidebar-border),
		0 10px 24px rgb(0 0 0 / 0.18);
}

.btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}

.btn-outline {
	background: var(--card);
	color: var(--foreground);
	box-shadow: inset 0 0 0 1px var(--input);
}

.btn-outline:hover {
	box-shadow:
		inset 0 0 0 1px var(--input),
		0 10px 24px rgb(0 0 0 / 0.18);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Header */
.site-header {
	background: var(--sidebar);
	color: var(--sidebar-accent-foreground);
}

.nav {
	height: 72px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--card);
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-mark img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.brand-name {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nav-links {
	display: none;
	gap: 4px;
}

.nav-link,
.nav-login {
	height: 44px;
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-link {
	padding: 0 12px;
	color: var(--sidebar-foreground);
	font-weight: 500;
}

.nav-link:hover {
	color: var(--sidebar-accent-foreground);
}

.nav-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-login {
	padding: 0 14px;
	color: var(--sidebar-accent-foreground);
	font-weight: 600;
}

.nav-cta {
	height: 40px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	border-radius: 9999px;
	background: var(--card);
	color: var(--primary);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* Hero */
.hero {
	position: relative;
	padding: 72px 0 96px;
	background: var(--sidebar);
	color: var(--sidebar-accent-foreground);
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.lb-dotgrid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		rgb(255 255 255 / 0.09) 1px,
		transparent 1.6px
	);
	background-size: 28px 28px;
	animation: lb-pan 40s linear infinite;
	-webkit-mask-image: radial-gradient(
		ellipse 80% 70% at 50% 40%,
		#000 30%,
		transparent 100%
	);
	mask-image: radial-gradient(
		ellipse 80% 70% at 50% 40%,
		#000 30%,
		transparent 100%
	);
}

.lb-fbub {
	position: absolute;
	bottom: -80px;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-radius: 12px 12px 12px 3px;
	border: 1.5px solid var(--c);
	background: rgb(255 255 255 / 0.02);
	opacity: 0;
	animation: lb-rise var(--t, 20s) linear infinite;
	animation-delay: calc(var(--d, 0s) * -1);
}

.lb-fbub i {
	display: block;
	height: 3px;
	width: 80%;
	border-radius: 9999px;
	background: var(--c);
	opacity: 0.6;
}

.lb-fbub i + i {
	width: 50%;
	opacity: 0.35;
}

.lb-streak {
	position: absolute;
	left: 0;
	width: 180px;
	height: 2px;
	border-radius: 9999px;
	background: linear-gradient(90deg, transparent, var(--c));
	opacity: 0;
	animation: lb-travel var(--t, 8s) cubic-bezier(0.5, 0, 0.5, 1) infinite;
	animation-delay: var(--d, 0s);
}

.lb-streak::after {
	content: "";
	position: absolute;
	right: -3px;
	top: -3px;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--c);
	box-shadow: 0 0 12px var(--c);
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.lb-herotop {
	gap: 32px;
	align-items: end;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hero-eyebrow {
	color: var(--sidebar-primary);
}

.lb-h1 {
	margin: 0;
	font-size: 48px;
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.lb-closing {
	position: relative;
	white-space: nowrap;
	color: var(--status-closing);
}

.lb-underline {
	position: absolute;
	left: 0;
	right: 0.3em;
	bottom: -0.04em;
	height: 0.08em;
	border-radius: 9999px;
	background: var(--status-closing);
	transform-origin: left;
	animation: lb-grow-x 0.9s var(--ease-out) 1s both;
}

.hero-lead {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
	color: var(--sidebar-foreground);
}

.hero-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 14px;
	color: var(--sidebar-foreground);
}

.hero-checks span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero-checks .icon {
	color: var(--status-closing);
}

.lb-rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(132px, 1fr));
	gap: 10px;
	padding: 14px;
	border-radius: 24px;
	background: var(--sidebar-accent);
	border: 1px solid var(--sidebar-border);
	overflow-x: auto;
}

.rail-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	border-radius: 14px;
	background: rgb(255 255 255 / 0.03);
}

.rail-head {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 24px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sidebar-foreground);
}

.rail-slot {
	height: 64px;
}

.rail-card {
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--card);
	color: var(--foreground);
	box-shadow:
		0 12px 28px rgb(0 0 0 / 0.35),
		0 0 0 2px var(--c);
	animation: lb-pop 0.5s var(--ease-out) both;
}

.rail-card[hidden] {
	display: none;
}

.rail-card b {
	display: block;
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
}

.rail-card > span {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	line-height: 14px;
	color: var(--muted-foreground);
}

.rail-lead {
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--sidebar);
	border: 1px solid var(--sidebar-border);
	font-size: 11px;
	line-height: 14px;
	color: var(--sidebar-foreground);
}

.rail-lead b {
	display: block;
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	color: var(--sidebar-accent-foreground);
}

.lb-pulse {
	position: relative;
	display: flex;
}

.lb-pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 9999px;
	border: 2px solid var(--status-closing);
	animation: lb-ring 1.8s ease-out infinite;
}

.lb-typing {
	display: inline-flex;
	gap: 3px;
	vertical-align: middle;
}

.lb-typing i {
	width: 4px;
	height: 4px;
	border-radius: 9999px;
	background: currentColor;
	opacity: 0.4;
	animation: lb-dot 1.2s infinite;
}

.lb-typing i:nth-child(2) {
	animation-delay: 0.15s;
}

.lb-typing i:nth-child(3) {
	animation-delay: 0.3s;
}

.lb-typing-dark i {
	width: 6px;
	height: 6px;
	background: var(--muted-foreground);
}

.lb-in {
	animation: lb-up 0.8s var(--ease-out) both;
	animation-delay: var(--d, 0s);
}

/* Feature marquee */
.feature-band {
	position: relative;
	background: var(--primary);
	overflow: hidden;
	padding: 20px 0;
}

.lb-marquee {
	display: flex;
	width: max-content;
	animation: lb-scroll 40s linear infinite;
}

.lb-marquee:hover {
	animation-play-state: paused;
}

.mq-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-right: 40px;
	white-space: nowrap;
	color: var(--primary-foreground);
}

.mq-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgb(255 255 255 / 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mq-text {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 18px;
}

.mq-text b {
	font-size: 17px;
	line-height: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.mq-text span {
	opacity: 0.8;
}

.mq-item .dot {
	margin-left: 28px;
}
