/**
 * Landify Shared Decorative Elements & Design Motifs
 * Reusable decorations inspired by modern Persian landing pages (dots, rings, blobs, waves, watermarks, checklists)
 */

.lndf-decor-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

/* Dots Grid */
.lndf-decor--dots {
	position: absolute;
	width: 140px;
	height: 140px;
	background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.5px);
	background-size: 14px 14px;
	opacity: 0.18;
}

.lndf-decor--dots-top-start {
	top: 20px;
	inset-inline-start: 20px;
}

.lndf-decor--dots-bottom-end {
	bottom: 20px;
	inset-inline-end: 20px;
}

/* Geometric Rings */
.lndf-decor--ring {
	position: absolute;
	border-radius: 50%;
	border: 2px solid currentColor;
	opacity: 0.12;
}

.lndf-decor--ring-sm {
	width: 80px;
	height: 80px;
}

.lndf-decor--ring-md {
	width: 160px;
	height: 160px;
}

.lndf-decor--ring-lg {
	width: 280px;
	height: 280px;
}

/* Soft Filled Circles */
.lndf-decor--circle {
	position: absolute;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.08;
}

.lndf-decor--circle-sm {
	width: 60px;
	height: 60px;
}

.lndf-decor--circle-md {
	width: 140px;
	height: 140px;
}

.lndf-decor--circle-lg {
	width: 320px;
	height: 320px;
	filter: blur(40px);
}

/* Organic Blobs */
.lndf-decor--blob {
	position: absolute;
	border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
	background: var(--lndf-color-primary);
	opacity: 0.12;
	transition: all 0.6s ease;
	filter: blur(10px);
}

/* Decorative Waves */
.lndf-decor--wave {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: 48px;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
}

.lndf-decor--wave svg {
	width: 100%;
	height: 100%;
	display: block;
}

.lndf-decor--wave-top {
	top: -1px;
}

.lndf-decor--wave-bottom {
	bottom: -1px;
	transform: rotate(180deg);
}

/* Accent Bars */
.lndf-accent-bar {
	display: inline-block;
	width: 44px;
	height: 4px;
	border-radius: 2px;
	background: var(--lndf-color-primary);
	margin-block: 6px 14px;
}

.lndf-accent-bar--center {
	display: block;
	margin-inline: auto;
}

/* Eyebrow / Badges — shrink to text, never stretch full column width */
.lndf-eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: max-content;
	max-width: 100%;
	gap: 6px;
	padding: 4px 14px;
	border-radius: var(--lndf-radius-pill, 999px);
	font-size: 0.84rem;
	font-weight: 600;
	background: rgba(var(--lndf-color-primary-rgb, 59, 130, 246), 0.12);
	color: var(--lndf-color-primary);
	margin-bottom: 12px;
	box-sizing: border-box;
}

.lndf.lndf-text_media .lndf-eyebrow,
.lndf.lndf-lead_form .lndf-eyebrow,
.lndf-text-media__content > .lndf-eyebrow,
.lndf-lead-form__content > .lndf-eyebrow,
.lndf-lead-form--split-card .lndf-eyebrow {
	align-self: flex-start;
	width: max-content;
	max-width: 100%;
}

/* Watermark Headline Effect */
.lndf-watermark-wrap {
	position: relative;
	overflow: hidden;
}

.lndf-watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: clamp(3.2rem, 9vw, 7.5rem);
	font-weight: 900;
	font-family: var(--lndf-font-heading), Tahoma, sans-serif;
	color: currentColor;
	opacity: 0.04;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	z-index: 0;
	line-height: 1;
}

/* Checkmark Lists */
.lndf-check-list {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lndf-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--lndf-color-text);
}

.lndf-check-list .lndf-check-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(var(--lndf-color-primary-rgb, 34, 197, 94), 0.14);
	color: var(--lndf-color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.lndf-check-list .lndf-check-icon svg {
	width: 13px;
	height: 13px;
	stroke-width: 2.5;
}

/* Card Asymmetric Corners (seen on Barcode & Digikala pricing/features) */
.lndf-corner--asymmetric {
	border-radius: 28px 4px 28px 4px !important;
}

.lndf-corner--asymmetric-rev {
	border-radius: 4px 28px 4px 28px !important;
}
