@keyframes revealUp {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; }
.reveal.is-visible { animation: revealUp 0.8s ease-out forwards; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.brand-section-light { background: var(--brand-surface); }
.brand-section-muted { background: var(--brand-surface-2); }
.brand-border { border-color: var(--brand-border); }

.hero-overlay {
	background:
		linear-gradient(90deg, rgba(11,15,25,0.88) 0%, rgba(11,15,25,0.72) 42%, rgba(11,15,25,0.30) 72%, rgba(11,15,25,0.08) 100%),
		linear-gradient(180deg, rgba(11,15,25,0.24) 0%, rgba(11,15,25,0.12) 100%);
}

.hero-title {
	color: var(--brand-white);
	text-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-text {
	color: rgba(255,255,255,0.84);
}

.contact-panel {
	background: linear-gradient(135deg, #12306B 0%, #1F4FBF 50%, #0C2148 100%);
}

/* Problem section icon accents */
.icon-delay {
	background: #F3DFDC;
	color: #C65D52;
}

.icon-mismatch {
	background: #F3E7D6;
	color: #C98A3D;
}

.icon-partner {
	background: #E6EBF0;
	color: #5F6B7A;
}

.icon-decision {
	background: #F1DEE2;
	color: #A35C68;
}

/* Hero CTA button */
.cta-swap-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 290px;
	min-height: 60px;
	padding: 0.45rem 4.1rem 0.45rem 1.35rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #214FC6 0%, #1F4FBF 100%);
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
	overflow: hidden;
	transition:
		background 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease,
		padding 0.34s ease;
}

.cta-swap-btn:hover {
	background: linear-gradient(135deg, #1F4FBF 0%, #183A87 100%);
	box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
	transform: translateY(-1px);
	padding-left: 4.1rem;
	padding-right: 1.35rem;
}

.cta-swap-btn__label {
	position: absolute;
	left: 45%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: inline-block;
	white-space: nowrap;
	transition: transform 0.34s ease;
}

.cta-swap-btn:hover .cta-swap-btn__label {
	transform: translate(calc(-50% + 2rem), -50%);
}

.cta-swap-btn__icon-wrap {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.cta-swap-btn__icon {
	position: absolute;
	top: 50%;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	transition:
		transform 0.34s ease,
		opacity 0.34s ease,
		background 0.28s ease;
}

.cta-swap-btn__icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	transition: transform 0.34s ease;
}

.cta-swap-btn__icon--right {
	right: 7px;
	transform: translateY(-50%) translateX(0);
	opacity: 1;
}

.cta-swap-btn__icon--left {
	left: 7px;
	transform: translateY(-50%) translateX(-16px);
	opacity: 0;
}

.cta-swap-btn:hover .cta-swap-btn__icon--right {
	transform: translateY(-50%) translateX(18px);
	opacity: 0;
}

.cta-swap-btn:hover .cta-swap-btn__icon--left {
	transform: translateY(-50%) translateX(0);
	opacity: 1;
}

.cta-swap-btn:hover .cta-swap-btn__icon {
	background: rgba(255, 255, 255, 0.22);
}

.cta-swap-btn:hover .cta-swap-btn__icon--left svg {
	transform: rotate(45deg);
}

.cta-swap-btn:focus-visible {
	outline: 2px solid rgba(255,255,255,0.72);
	outline-offset: 4px;
}

/* Problem section */
.problem-section {
	background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
	position: relative;
}

.problem-section::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 18%, rgba(198, 93, 82, 0.05), transparent 22%),
		radial-gradient(circle at 88% 22%, rgba(201, 138, 61, 0.05), transparent 20%);
}

.problem-card {
	position: relative;
	border: 1px solid rgba(15, 23, 42, 0.06);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(4px);
	transition:
		transform 0.26s ease,
		box-shadow 0.26s ease,
		border-color 0.26s ease,
		background 0.26s ease;
}

.problem-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
	border-color: rgba(15, 23, 42, 0.10);
	background: rgba(255, 255, 255, 0.9);
}

.problem-card-head {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	margin-bottom: 1.1rem;
	min-height: 4.5rem;
}

.problem-card-head h3 {
	margin: 0;
	line-height: 1.15;
}

.problem-card .icon-chip {
	transition:
		transform 0.26s ease,
		box-shadow 0.26s ease,
		background 0.26s ease;
}

.problem-card:hover .icon-chip {
	transform: translateY(-1px) scale(1.03);
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

/* Solution section */
.solution-section .solution-service-card {
	position: relative;
	overflow: hidden;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease,
		background 0.3s ease;
}

.solution-section .solution-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(255,255,255,0.04) 0%,
		rgba(255,255,255,0.015) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.solution-section .solution-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
	border-color: rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.065);
}

.solution-section .solution-service-card:hover::before {
	opacity: 1;
}

.solution-section .solution-service-card__head {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 1rem;
	min-height: 7.6rem;
	margin-bottom: 1rem;
}

.solution-section .solution-service-card__head > div:first-child {
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		background 0.28s ease;
}

.solution-section .solution-service-card:hover .solution-service-card__head > div:first-child {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.solution-section .solution-service-card__title {
	margin: 0;
	font-size: clamp(1.7rem, 2vw, 2.15rem);
	font-weight: 700;
	line-height: 1.02;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}

.solution-section .solution-service-card__title-link {
	color: #ffffff;
	text-decoration: none;
	position: relative;
	display: inline-block;
	transition:
		color 0.24s ease,
		text-shadow 0.24s ease,
		transform 0.24s ease;
}

.solution-section .solution-service-card__title-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.16em;
	width: 100%;
	height: 2px;
	background: rgba(191, 219, 254, 0.95);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.26s ease;
}

.solution-section .solution-service-card__title-link:hover {
	color: #dbeafe;
	text-shadow: 0 0 18px rgba(59, 130, 246, 0.14);
	transform: translateY(-1px);
}

.solution-section .solution-service-card__title-link:hover::after {
	transform: scaleX(1);
}

.solution-section .solution-service-card__title-link:focus-visible {
	outline: 2px solid rgba(255,255,255,0.72);
	outline-offset: 4px;
	border-radius: 0.35rem;
}

/* Benefit section */
.benefit-card {
	position: relative;
	border: 1px solid rgba(15, 23, 42, 0.06);
	transition:
		transform 0.26s ease,
		box-shadow 0.26s ease,
		border-color 0.26s ease,
		background 0.26s ease;
}

.benefit-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
	border-color: rgba(37, 99, 235, 0.12);
	background: #ffffff;
}

.benefit-card-head {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	margin-bottom: 1rem;
	min-height: 4.4rem;
}

.benefit-card-head h3 {
	margin: 0;
	line-height: 1.15;
}

.benefit-card .icon-chip {
	transition:
		transform 0.26s ease,
		box-shadow 0.26s ease,
		background 0.26s ease;
}

.benefit-card:hover .icon-chip {
	transform: translateY(-1px) scale(1.03);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.10);
}

.benefit-card--featured {
	border-color: rgba(37, 99, 235, 0.14);
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.06);
}

.benefit-card--featured .icon-chip {
	background: rgba(219, 234, 254, 0.96);
}

/* Logo carousel */
@keyframes logoMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.client-logos-section {
	position: relative;
	background: #ffffff;
}

.client-logos-marquee {
	position: relative;
	overflow: hidden;
	padding: 8px 6px 0;
}

.client-logos-marquee::before,
.client-logos-marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 64px;
	z-index: 2;
	pointer-events: none;
}

.client-logos-marquee::before {
	left: 0;
	background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.client-logos-marquee::after {
	right: 0;
	background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.client-logos-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: logoMarquee 20s linear infinite;
	will-change: transform;
}

.client-logos-marquee:hover .client-logos-track {
	animation-play-state: paused;
}

.client-logo-item {
	position: relative;
	flex: 0 0 auto;
	width: 230px;
	height: 118px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1.1rem;
	padding: 0.75rem 1rem;
	border-radius: 1.25rem;
	border: 1px solid rgba(15, 23, 42, 0.07);
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		background 0.24s ease,
		opacity 0.24s ease;
}

.client-logo-item::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow:
		inset 0 1px 0 rgba(15, 23, 42, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.42);
	transition:
		box-shadow 0.24s ease,
		opacity 0.24s ease;
}

.client-logo-item::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
	transition: box-shadow 0.24s ease;
}

.client-logo-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
	background: #ffffff;
}

.client-logo-item:hover::before {
	box-shadow:
		inset 0 1px 0 rgba(15, 23, 42, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.client-logo-item:hover::after {
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.10);
}

.client-logo-item img {
	max-width: 100%;
	max-height: 92px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(85%);
	opacity: 0.82;
	transition:
		filter 0.24s ease,
		opacity 0.24s ease,
		transform 0.24s ease;
}

.client-logo-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.015);
}

@media (max-width: 1024px) {
	.client-logos-track {
		animation-duration: 18s;
	}

	.client-logo-item {
		width: 200px;
		height: 100px;
		padding: 0.7rem 0.9rem;
		margin-right: 0.95rem;
	}

	.client-logo-item img {
		max-height: 80px;
	}
}

@media (max-width: 768px) {
	.client-logos-section {
		padding-top: 2.75rem;
		padding-bottom: 2.75rem;
	}

	.client-logos-marquee {
		padding: 6px 2px 0;
	}

	.client-logos-marquee::before,
	.client-logos-marquee::after {
		width: 28px;
	}

	.client-logos-track {
		animation-duration: 16s;
	}

	.client-logo-item {
		width: 165px;
		height: 86px;
		padding: 0.6rem 0.75rem;
		margin-right: 0.75rem;
		border-radius: 1rem;
	}

	.client-logo-item img {
		max-height: 68px;
		opacity: 0.82;
	}
}

@media (max-width: 480px) {
	.client-logo-item {
		width: 138px;
		height: 74px;
		padding: 0.7rem 0.8rem;
		margin-right: 0.65rem;
	}

	.client-logo-item img {
		max-height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.client-logos-track {
		animation: none;
	}
}