/* Incharge landing page — faithful port of the Claude Design homepage.
   Palette: bg #0C0D10, cream #F4F2EC, blue #2B9AFF, purple #603DD1, indigo #4F5ADF. */

:root {
	--bg: #0c0d10;
	--cream: #f4f2ec;
	--blue: #2b9aff;
	--purple: #603dd1;
	--indigo: #4f5adf;
	--grad: linear-gradient(135deg, #603dd1, #4f5adf, #2b9aff);
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
}
body {
	color: var(--cream);
	font-family: 'Rubik', system-ui, sans-serif;
	overflow-x: hidden;
}
::selection {
	background: var(--blue);
	color: #fff;
}
a {
	color: inherit;
}

.page {
	min-height: 100vh;
	background: var(--bg);
	color: var(--cream);
}

/* ---------- NAV ---------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 0 40px;
	height: 68px;
	background: rgba(12, 13, 16, 0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(244, 242, 236, 0.09);
}
.nav__logo {
	height: 34px;
	width: auto;
	display: block;
	flex: none;
}
.nav__links {
	display: flex;
	gap: 26px;
	flex: 1;
	justify-content: center;
}
.nav__link {
	color: rgba(244, 242, 236, 0.72);
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 500;
	transition: color 0.15s;
}
.nav__link:hover {
	color: var(--blue);
}
.nav__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
}

.btn {
	cursor: pointer;
	font-family: 'Rubik', sans-serif;
	border-radius: 99px;
	border: none;
	transition: filter 0.15s, transform 0.15s, color 0.15s, border-color 0.15s;
}
.btn--ghost {
	background: none;
	border: 1px solid rgba(244, 242, 236, 0.25);
	color: var(--cream);
	padding: 7px 16px;
	font-size: 13.5px;
	font-weight: 600;
}
.btn--ghost:hover {
	border-color: var(--blue);
	color: var(--blue);
}
.btn--primary {
	background: var(--grad);
	color: #fff;
	padding: 9px 20px;
	font-size: 14px;
	font-weight: 700;
}
.btn--primary:hover {
	filter: brightness(1.15);
}
.btn--lg {
	padding: 15px 34px;
	font-size: 16px;
	font-weight: 700;
}
.btn--lg:hover {
	transform: translateY(-2px);
	filter: brightness(1.15);
}
.btn--dark {
	background: var(--bg);
	color: var(--cream);
	padding: 16px 40px;
	font-size: 17px;
	font-weight: 700;
}
.btn--dark:hover {
	transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
	position: relative;
	padding: 96px 40px 84px;
	text-align: center;
	background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(79, 90, 223, 0.22), transparent);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid rgba(43, 154, 255, 0.4);
	color: var(--blue);
	border-radius: 99px;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 99px;
	background: var(--blue);
	animation: pulse 2s infinite;
	display: inline-block;
	flex: none;
}
.hero__title {
	margin: 26px auto 0;
	max-width: 820px;
	font-size: clamp(44px, 6vw, 76px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.hero__sub {
	margin: 22px auto 0;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.55;
	color: rgba(244, 242, 236, 0.65);
	text-wrap: pretty;
}
.hero__actions {
	margin-top: 44px;
	display: flex;
	gap: 14px;
	justify-content: center;
}

/* ---------- LIVE COUNTER ---------- */
.counter {
	margin: 56px auto 0;
}
.counter__value {
	position: relative;
	z-index: 0;
	font-family: var(--mono);
	font-weight: 600;
	font-size: clamp(40px, 7vw, 84px);
	letter-spacing: 0.01em;
	color: var(--blue);
	font-variant-numeric: tabular-nums;
	line-height: 1;
	min-height: 1em;
	transition: opacity 0.2s;
}
/* Static glow layer: a transparent-filled copy of the whole number sitting
   behind the digits. It carries the blue halo (text-shadow) and is never
   clipped or animated, so the glow stays put while individual digits roll. */
.counter__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	pointer-events: none;
	color: transparent;
	text-shadow: 0 0 60px rgba(43, 154, 255, 0.55);
}
.counter__value.is-loading {
	opacity: 0.35;
}
/* Per-character cells so only changed digits animate. Static cells are NOT
   clipped, so the number's text-shadow glow stays continuous; only a cell
   that's actively rolling clips (that clipping is what hides the off-screen
   digit), and it's swapped back to a plain cell when the roll ends. */
.digit {
	display: inline-block;
	vertical-align: top;
	line-height: 1;
}
.digit--roll {
	height: 1em;
	overflow: hidden;
}
.digit__roller {
	display: flex;
	flex-direction: column;
	will-change: transform;
}
.digit__cell {
	display: block;
	height: 1em;
	line-height: 1;
}
.digit--enter {
	animation: digit-enter 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
@keyframes digit-enter {
	from {
		opacity: 0;
		transform: translateY(0.45em);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@media (prefers-reduced-motion: reduce) {
	/* The JS already skips building rollers here (updates are instant); this
	   just neutralises the enter animation as a belt-and-braces measure. */
	.digit--enter {
		animation: none;
	}
}
.counter__label {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(244, 242, 236, 0.5);
}
.greeting-wrap {
	margin: 40px auto 0;
	height: 44px;
	display: grid;
	place-items: center;
}

/* ---------- MARQUEE ---------- */
.customers {
	border-top: 1px solid rgba(244, 242, 236, 0.09);
	border-bottom: 1px solid rgba(244, 242, 236, 0.09);
	padding: 26px 0;
	overflow: hidden;
}
.customers__label {
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 242, 236, 0.45);
	font-weight: 600;
	margin-bottom: 20px;
}
.marquee {
	overflow: hidden;
	width: 100%;
	display: flex;
	justify-content: flex-start;
}
.marquee__strip {
	display: flex;
	width: max-content;
	animation: marquee 45s linear infinite;
}
.marquee__group {
	display: flex;
	gap: 56px;
	padding-right: 56px;
	align-items: center;
	flex: none;
}
.marquee__item {
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.01em;
	color: rgba(244, 242, 236, 0.55);
	white-space: nowrap;
}

/* ---------- SECTIONS ---------- */
.section {
	padding: 110px 40px;
	max-width: 1200px;
	margin: 0 auto;
}
.kicker {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--blue);
	font-weight: 700;
}
.kicker--indigo {
	color: var(--indigo);
}
.section__title {
	margin: 14px 0 0;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 800;
	letter-spacing: -0.025em;
	max-width: 640px;
	line-height: 1.08;
	text-wrap: balance;
}

/* Hub featured card */
.hub-card {
	margin-top: 52px;
	background: linear-gradient(135deg, rgba(96, 61, 209, 0.28), rgba(43, 154, 255, 0.08));
	border: 1px solid rgba(79, 90, 223, 0.55);
	border-radius: 20px;
	padding: 40px 44px;
	display: flex;
	gap: 40px;
	align-items: center;
	flex-wrap: wrap;
}
.hub-card__body {
	flex: 1;
	min-width: 280px;
}
.tag {
	display: inline-block;
	background: var(--grad);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 6px;
}
.hub-card__title {
	margin: 16px 0 0;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.hub-card__desc {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(244, 242, 236, 0.7);
	max-width: 520px;
	text-wrap: pretty;
}
.hub-card__chips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	min-width: 260px;
}
.chip {
	border: 1px solid rgba(244, 242, 236, 0.15);
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(244, 242, 236, 0.8);
	background: rgba(12, 13, 16, 0.5);
}

/* product grid */
.products {
	margin-top: 22px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 22px;
}
.product {
	border: 1px solid rgba(244, 242, 236, 0.12);
	border-radius: 16px;
	padding: 28px;
	background: rgba(244, 242, 236, 0.025);
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s;
}
.product:hover {
	border-color: rgba(43, 154, 255, 0.55);
}
.product__icon {
	font-size: 26px;
	line-height: 1;
}
.product__title {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.product__desc {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(244, 242, 236, 0.6);
	flex: 1;
	text-wrap: pretty;
}
.product__badge {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	border: 1px solid rgba(43, 154, 255, 0.35);
	border-radius: 99px;
	padding: 5px 12px;
}

/* ---------- AI SECTION (light) ---------- */
.ai {
	background: var(--cream);
	color: var(--bg);
	padding: 110px 40px;
}
.ai__inner {
	max-width: 1200px;
	margin: 0 auto;
}
.ai__head {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
}
.ai__title {
	margin: 14px 0 0;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 800;
	letter-spacing: -0.025em;
	max-width: 560px;
	line-height: 1.08;
	text-wrap: balance;
}
.ai__sub {
	margin: 0;
	max-width: 400px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(12, 13, 16, 0.65);
	text-wrap: pretty;
}
.ai__grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1px;
	background: rgba(12, 13, 16, 0.15);
	border: 1px solid rgba(12, 13, 16, 0.15);
	border-radius: 16px;
	overflow: hidden;
}
.ai-cell {
	background: var(--cream);
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: background 0.15s;
}
.ai-cell:hover {
	background: #edeae1;
}
.ai-cell__num {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--indigo);
}
.ai-cell__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ai-cell__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(12, 13, 16, 0.6);
	text-wrap: pretty;
}

/* ---------- MULTILINGUAL ---------- */
.lang-section {
	padding: 120px 40px;
	text-align: center;
	background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(79, 90, 223, 0.14), transparent);
}
.big-greeting-wrap {
	height: 110px;
	display: grid;
	place-items: center;
}
.lang-section__title {
	margin: 34px auto 0;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	letter-spacing: -0.025em;
	max-width: 620px;
	line-height: 1.1;
	text-wrap: balance;
}
.lang-section__sub {
	margin: 18px auto 0;
	max-width: 520px;
	font-size: 16.5px;
	line-height: 1.6;
	color: rgba(244, 242, 236, 0.65);
	text-wrap: pretty;
}

/* ---------- PAYMENTS + STATS ---------- */
.integrations {
	border-top: 1px solid rgba(244, 242, 236, 0.09);
	padding: 90px 40px;
	max-width: 1200px;
	margin: 0 auto;
}
.integrations__title {
	margin: 0;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: center;
	text-wrap: balance;
}
.pay-list {
	margin: 36px auto 0;
	max-width: 900px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.pay {
	border: 1px solid rgba(244, 242, 236, 0.18);
	border-radius: 99px;
	padding: 9px 20px;
	font-size: 14.5px;
	font-weight: 600;
	color: rgba(244, 242, 236, 0.85);
	transition: border-color 0.15s, color 0.15s;
}
.pay:hover {
	border-color: var(--blue);
	color: var(--blue);
}
.stats {
	margin-top: 84px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px;
}
.stat {
	text-align: center;
	padding: 30px 18px;
	border: 1px solid rgba(244, 242, 236, 0.12);
	border-radius: 16px;
}
.stat__value {
	font-family: var(--mono);
	font-size: 34px;
	font-weight: 600;
	color: var(--blue);
	font-variant-numeric: tabular-nums;
}
.stat__label {
	margin-top: 8px;
	font-size: 14px;
	color: rgba(244, 242, 236, 0.6);
	font-weight: 500;
}

/* ---------- SOLUTIONS ---------- */
.solutions {
	padding: 40px 40px 110px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}
.sol-list {
	margin: 28px auto 0;
	max-width: 860px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.sol {
	background: rgba(244, 242, 236, 0.06);
	border-radius: 99px;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.sol:hover {
	background: var(--indigo);
	color: #fff;
}

/* ---------- FINAL CTA ---------- */
.final {
	margin: 0 40px 90px;
}
.final__card {
	max-width: 1120px;
	margin: 0 auto;
	background: var(--grad);
	color: #fff;
	border-radius: 24px;
	padding: 70px 48px;
	text-align: center;
}
.final__title {
	margin: 0;
	font-size: clamp(32px, 4.4vw, 54px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-wrap: balance;
}
.final__sub {
	margin: 16px auto 0;
	max-width: 460px;
	font-size: 17px;
	line-height: 1.55;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	text-wrap: pretty;
}
.final__card .btn--dark {
	margin-top: 32px;
}

/* ---------- FOOTER ---------- */
.footer {
	border-top: 1px solid rgba(244, 242, 236, 0.09);
	padding: 44px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.footer__logo {
	height: 24px;
	width: auto;
	display: block;
	flex: none;
}
.footer__links {
	display: flex;
	gap: 22px;
}
.footer__link {
	color: rgba(244, 242, 236, 0.5);
	text-decoration: none;
	font-size: 13.5px;
	transition: color 0.15s;
}
.footer__link:hover {
	color: var(--blue);
}
.footer__note {
	font-size: 13px;
	color: rgba(244, 242, 236, 0.4);
}

/* ---------- CONTACT MODAL ---------- */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(12, 13, 16, 0.72);
	backdrop-filter: blur(6px);
	display: grid;
	place-items: center;
	padding: 20px;
	animation: fadeIn 0.2s ease;
}
.modal {
	background: #17181c;
	border: 1px solid rgba(244, 242, 236, 0.14);
	border-radius: 20px;
	padding: 34px 36px;
	width: min(480px, 100%);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	animation: riseIn 0.28s ease both;
}
.modal__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}
.modal__title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.modal__close {
	background: none;
	border: none;
	color: rgba(244, 242, 236, 0.55);
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
	transition: color 0.15s;
}
.modal__close:hover {
	color: var(--cream);
}
.modal__sub {
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(244, 242, 236, 0.6);
}
.form {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}
.form__row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.field {
	background: rgba(244, 242, 236, 0.05);
	border: 1px solid rgba(244, 242, 236, 0.18);
	border-radius: 10px;
	padding: 12px 14px;
	color: var(--cream);
	font-family: 'Rubik', sans-serif;
	font-size: 14.5px;
	outline: none;
	width: 100%;
	transition: border-color 0.15s;
}
.field::placeholder {
	color: rgba(244, 242, 236, 0.4);
}
.field:focus {
	border-color: var(--blue);
}
.field:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
textarea.field {
	resize: vertical;
}
.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.form__note {
	font-size: 12.5px;
	color: rgba(244, 242, 236, 0.45);
	text-align: center;
}
.form__status {
	font-size: 13.5px;
	text-align: center;
	min-height: 1.2em;
	font-weight: 600;
}
.form__status--ok {
	color: #34d399;
}
.form__status--err {
	color: #f87171;
}
/* Success view */
.modal__result {
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(244, 242, 236, 0.85);
}
.modal__result-close {
	margin-top: 22px;
	width: 100%;
}

/* ---------- ANIMATIONS ---------- */
@keyframes greetIn {
	0% {
		opacity: 0;
		transform: translateY(14px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.35;
	}
}
@keyframes riseIn {
	0% {
		opacity: 0;
		transform: translateY(22px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.greeting {
	font-weight: 700;
	letter-spacing: -0.01em;
	animation: greetIn 0.5s ease both;
	display: inline-block;
}
.greeting--small {
	font-size: 26px;
	color: rgba(244, 242, 236, 0.75);
}
.greeting--big {
	font-size: clamp(48px, 7vw, 88px);
	color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
	.marquee__strip,
	.pulse-dot,
	.greeting,
	.modal,
	.modal-overlay {
		animation: none !important;
	}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
	.nav__links {
		display: none;
	}
	.nav {
		padding: 0 16px;
		gap: 12px;
	}
	.hero {
		padding: 72px 22px 64px;
	}
	.section,
	.ai,
	.integrations,
	.solutions {
		padding-left: 22px;
		padding-right: 22px;
	}
	.hub-card {
		padding: 28px 24px;
	}
	.final {
		margin: 0 20px 70px;
	}
	.final__card {
		padding: 54px 28px;
	}
	.footer {
		padding: 40px 22px;
	}
}
