:root {
	--udb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.udb-shape {
	display: block;
	pointer-events: none;
	isolation: isolate;
}

.udb-shape-bg-section {
	position: relative;
	isolation: isolate;
}

.udb-shape-bg-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.udb-shape-bg-layer .udb-shape {
	mix-blend-mode: var(--udb-shape-bg-blend, normal);
}

.udb-shape-bg-item {
	pointer-events: none;
}

.udb-shape-bg-overlay {
	position: absolute;
	inset: 0;
	display: block;
}

.udb-shape-bg-content {
	position: relative;
	z-index: 1;
}

.udb-shape__inner {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--udb-shape-gradient-start), var(--udb-shape-gradient-end));
}

.udb-shape--circle .udb-shape__inner {
	border-radius: 50%;
}

.udb-shape--blob .udb-shape__inner {
	border-radius: 57% 43% 41% 59% / 43% 55% 45% 57%;
}

.udb-shape--wave .udb-shape__inner {
	border-radius: 0 0 50% 50%;
}

.udb-shape--curved-divider .udb-shape__inner {
	border-radius: 0 0 55% 55% / 0 0 100% 100%;
}

.udb-shape--abstract .udb-shape__inner {
	clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.udb-shape--diagonal-divider .udb-shape__inner {
	clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}

.udb-shape--gradient-bg .udb-shape__inner {
	border-radius: 32px;
}

.udb-shape--floating .udb-shape__inner {
	border-radius: 30%;
	box-shadow: 0 24px 40px rgba(37, 99, 235, 0.2);
}

.udb-shape--geometric .udb-shape__inner {
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.udb-shape--layered {
	overflow: visible;
}

.udb-shape--layered .udb-shape__inner {
	position: relative;
	border-radius: 28px;
}

.udb-shape--layered .udb-shape__inner::before,
.udb-shape--layered .udb-shape__inner::after {
	content: "";
	position: absolute;
	inset: 12%;
	background: linear-gradient(160deg, var(--udb-shape-color), var(--udb-shape-gradient-end));
	opacity: 0.5;
	border-radius: 24px;
}

.udb-shape--layered .udb-shape__inner::after {
	inset: 24%;
	opacity: 0.35;
}

.udb-position--absolute {
	position: absolute;
}

.udb-position--relative {
	position: relative;
}

.udb-position--fixed {
	position: fixed;
}

.udb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--udb-card-bg);
	color: var(--udb-card-text);
	border-radius: var(--udb-card-radius);
	padding: var(--udb-card-padding);
	transition: transform 0.35s var(--udb-ease), box-shadow 0.35s var(--udb-ease), border-color 0.35s var(--udb-ease);
	will-change: transform;
	overflow: hidden;
}

.udb-card--gradient {
	background: linear-gradient(135deg, var(--udb-card-gradient-start), var(--udb-card-gradient-end));
	color: #fff;
}

.udb-card--glass {
	background: rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.udb-card--minimal {
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.udb-card--statistic .udb-card__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
}

.udb-card__media {
	margin: calc(var(--udb-card-padding) * -1);
	margin-bottom: 1rem;
}

.udb-card__media img {
	width: 100%;
	height: auto;
	display: block;
}

.udb-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.75rem;
	background: rgba(14, 165, 233, 0.14);
}

.udb-card__title {
	margin: 0 0 0.55rem;
	line-height: 1.2;
	font-size: 1.25rem;
}

.udb-card__description {
	margin: 0;
	opacity: 0.86;
	line-height: 1.6;
}

.udb-card__button {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.62rem 1rem;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.udb-card-shadow--none {
	box-shadow: none;
}

.udb-card-shadow--soft {
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.udb-card-shadow--medium {
	box-shadow: 0 16px 34px rgba(2, 6, 23, 0.14);
}

.udb-card-shadow--strong {
	box-shadow: 0 24px 48px rgba(2, 6, 23, 0.22);
}

.udb-hover--lift:hover {
	transform: translateY(-6px);
}

.udb-hover--zoom:hover {
	transform: scale(1.02);
}

.udb-hover--tilt {
	transform-style: preserve-3d;
}

.udb-card--flip {
	perspective: 1000px;
}

.udb-card--flip:hover {
	transform: rotateY(8deg);
}

.udb-card--hover-reveal .udb-card__description {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s var(--udb-ease);
}

.udb-card--hover-reveal:hover .udb-card__description {
	max-height: 160px;
}

.udb-animate-on-scroll {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s var(--udb-ease), transform 0.6s var(--udb-ease);
}

.udb-animate-on-scroll.is-visible {
	opacity: 1;
	transform: none;
}

.udb-animate--none {
	opacity: 1;
	transform: none;
}

.udb-animate--float .udb-shape__inner,
.udb-animate--float.udb-shape .udb-shape__inner {
	animation: udbFloat 6s ease-in-out infinite;
}

.udb-animate--pulse .udb-shape__inner {
	animation: udbPulse 4s ease-in-out infinite;
}

@keyframes udbFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-12px);
	}
}

@keyframes udbPulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.udb-shape,
	.udb-shape-bg-item,
	.udb-card,
	.udb-animate-on-scroll,
	.udb-shape__inner {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
