/**
 * SyntVision Editor landing page styles.
 * Visual language aligned with About / site brand.
 *
 * @package tijarah
 */

body.page-template-page-editor-php main#primary {
	padding-top: 0 !important;
}

.sv-editor-land {
	background: #fff;
	color: #1f2430;
}

.sv-editor-land h1,
.sv-editor-land h2,
.sv-editor-land h3 {
	color: var(--sv-brand-blue, #0a86bf) !important;
}

.sv-editor-land p,
.sv-editor-land li,
.sv-editor-land span {
	color: #5a6375;
	line-height: 1.7;
}

.sv-editor-land-hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0 36px !important;
	background: linear-gradient(180deg, rgba(10, 134, 191, 0.08) 0%, rgba(214, 31, 43, 0.04) 45%, #fff 100%);
}

.sv-editor-land-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	pointer-events: none;
	opacity: 0.45;
}

.sv-editor-land-hero__orb--1 {
	width: 280px;
	height: 280px;
	top: -60px;
	right: 8%;
	background: rgba(10, 134, 191, 0.35);
	animation: sv-editor-orb 12s ease-in-out infinite alternate;
}

.sv-editor-land-hero__orb--2 {
	width: 220px;
	height: 220px;
	bottom: -40px;
	left: 5%;
	background: rgba(214, 31, 43, 0.22);
	animation: sv-editor-orb 14s ease-in-out infinite alternate-reverse;
}

@keyframes sv-editor-orb {
	from { transform: translateY(0); }
	to { transform: translateY(18px); }
}

@keyframes sv-editor-hero-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes sv-editor-hero-float {
	from { transform: translateY(0); }
	to { transform: translateY(-8px); }
}

.sv-editor-land-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: center;
}

.sv-editor-land-hero__copy {
	max-width: 34rem;
	animation: sv-editor-hero-in 0.7s ease-out both;
}

.sv-editor-land-hero__brand {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--sv-brand-blue, #0a86bf) !important;
}

.sv-editor-land-hero__title {
	margin: 0 0 14px;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 600;
	line-height: 1.3;
	color: #1f2430 !important;
}

.sv-editor-land-hero__lead {
	margin: 0 0 22px;
	font-size: 1.05rem;
	max-width: 38rem;
}

.sv-editor-land-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sv-editor-land-hero__visual {
	margin: 0;
	animation: sv-editor-hero-in 0.85s ease-out 0.12s both;
}

.sv-editor-land-hero__visual-link {
	display: block;
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		0 18px 50px rgba(15, 40, 70, 0.14),
		0 2px 0 rgba(255, 255, 255, 0.65) inset;
	background: #fff;
	border: 1px solid rgba(15, 40, 70, 0.08);
	transform-origin: center;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	animation: sv-editor-hero-float 5.5s ease-in-out 1s infinite alternate;
}

.sv-editor-land-hero__visual-link:hover,
.sv-editor-land-hero__visual-link:focus-visible {
	transform: translateY(-4px) scale(1.015);
	box-shadow:
		0 24px 60px rgba(10, 134, 191, 0.22),
		0 2px 0 rgba(255, 255, 255, 0.7) inset;
	outline: none;
}

.sv-editor-land-hero__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.sv-editor-land-features,
.sv-editor-land-how,
.sv-editor-land-pro {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

.sv-editor-land-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.sv-editor-land-card {
	padding: 22px 24px;
	border: 1px solid #e8ecf1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-editor-land-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(10, 134, 191, 0.1);
}

.sv-editor-land-card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.sv-editor-land-card p {
	margin: 0;
	font-size: 0.95rem;
}

.sv-editor-land-steps {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: sv-ed-step;
	display: grid;
	gap: 16px;
}

.sv-editor-land-steps li {
	counter-increment: sv-ed-step;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 12px;
	background: #f7fafc;
	border: 1px solid #e8ecf1;
}

.sv-editor-land-steps li::before {
	content: counter(sv-ed-step);
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0a86bf, #0c6fa0);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
}

.sv-editor-land-steps .sv-editor-land-step-body {
	flex: 1 1 auto;
	min-width: 0;
}

.sv-editor-land-steps strong {
	display: block;
	color: #1f2430;
	font-size: 1.05rem;
	margin-bottom: 4px;
}

.sv-editor-land-steps span {
	display: block;
	font-size: 0.95rem;
	line-height: 1.65;
}

.sv-editor-land-pro-list {
	margin: 20px 0 28px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	max-width: 520px;
}

.sv-editor-land-pro-list li {
	position: relative;
	padding-left: 28px;
	font-size: 1rem;
	color: #1f2430;
}

.sv-editor-land-pro-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--sv-brand-blue, #0a86bf);
	box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--sv-brand-blue, #0a86bf);
}

.sv-editor-land-cta {
	position: relative;
	overflow: hidden;
	padding: 64px 0 !important;
	background: linear-gradient(165deg, #0b1628 0%, #0f2138 45%, #0d1b2d 100%);
	border-top: 1px solid rgba(10, 134, 191, 0.25);
}

.sv-editor-land-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 90% 55% at 50% -30%, rgba(10, 134, 191, 0.45), transparent 55%),
		radial-gradient(ellipse 50% 40% at 100% 100%, rgba(214, 31, 43, 0.22), transparent 50%);
	pointer-events: none;
}

.sv-editor-land-cta::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.35;
	pointer-events: none;
}

.sv-editor-land-cta .container {
	position: relative;
	z-index: 1;
}

.sv-editor-land-cta .sv-split {
	display: block;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.sv-editor-land-cta h2 {
	color: #fff !important;
	margin: 0 0 12px !important;
	font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sv-editor-land-cta p {
	color: rgba(255, 255, 255, 0.9) !important;
	margin: 0 0 28px;
	font-size: 1.1rem;
	line-height: 1.55;
}

.sv-editor-land-cta .sv-editor-land-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.sv-editor-land-cta .sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 36px;
	font-size: 1.05rem;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sv-editor-land-cta .sv-btn-primary {
	color: var(--sv-brand-blue, #0a86bf) !important;
	background: #fff !important;
	border: 2px solid #fff !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sv-editor-land-cta .sv-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
	background: #f0f9ff !important;
}

.sv-editor-land-cta .sv-btn-outline {
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.9) !important;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(6px);
}

.sv-editor-land-cta .sv-btn-outline:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	transform: translateY(-2px);
}

/* Ensure hero/pro buttons look like buttons even if global .sv-btn is weak */
.sv-editor-land .sv-editor-land-hero__actions .sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 650;
	border-radius: 999px;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sv-editor-land .sv-editor-land-hero__actions .sv-btn-primary {
	color: #fff !important;
	background: var(--sv-brand-blue, #0a86bf) !important;
	border: 2px solid var(--sv-brand-blue, #0a86bf) !important;
	box-shadow: 0 4px 14px rgba(10, 134, 191, 0.35);
}

.sv-editor-land .sv-editor-land-hero__actions .sv-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(10, 134, 191, 0.4);
}

.sv-editor-land .sv-editor-land-hero__actions .sv-btn-outline {
	color: var(--sv-brand-blue, #0a86bf) !important;
	background: transparent !important;
	border: 2px solid var(--sv-brand-blue, #0a86bf) !important;
}

.sv-editor-land .sv-editor-land-hero__actions .sv-btn-outline:hover {
	background: rgba(10, 134, 191, 0.08) !important;
	transform: translateY(-2px);
}

@media (max-width: 991px) {
	.sv-editor-land-hero__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.sv-editor-land-hero__copy {
		max-width: 40rem;
	}

	.sv-editor-land-hero__visual-link {
		animation: none;
	}
}

@media (max-width: 767px) {
	.sv-editor-land-grid {
		grid-template-columns: 1fr;
	}
	.sv-editor-land-hero {
		padding: 36px 0 24px !important;
	}
	.sv-editor-land-hero__brand {
		font-size: 1.85rem;
	}
	.sv-editor-land-hero__visual-link {
		border-radius: 14px;
	}
	.sv-editor-land-cta {
		padding: 48px 0 !important;
	}
	.sv-editor-land-cta .sv-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-editor-land-hero__orb,
	.sv-editor-land-hero__copy,
	.sv-editor-land-hero__visual,
	.sv-editor-land-hero__visual-link {
		animation: none !important;
	}
}
