/**
 * Landing intro — step ladder + articles marquee (scoped to .sn-landing-intro only).
 */

.sn-landing-intro {
	font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif;
}

/* ==========================================================================
   Landing Aurora Hero — same visual language as homepage sn-wp-hero--aurora
   ========================================================================== */

.sn-landing-aurora-hero .sn-wp-hero__grid,
.sn-landing-aurora-hero .sn-wp-hero__grid.is-layout-flow {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 2.25rem;
	align-items: center;
}

@media (min-width: 900px) {
	.sn-landing-aurora-hero .sn-wp-hero__grid,
	.sn-landing-aurora-hero .sn-wp-hero__grid.is-layout-flow {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 2.75rem;
	}
}

.sn-landing-aurora-hero .sn-wp-hero__copy {
	min-width: 0;
}

.sn-landing-aurora-hero .wp-block-post-title {
	margin: 0 0 1rem !important;
	font-size: clamp(2rem, 4.5vw, 3rem) !important;
	font-weight: 900 !important;
	line-height: 1.28 !important;
	letter-spacing: -0.03em;
	max-width: 22ch;
	color: #fff !important;
	text-align: right;
}

.sn-landing-aurora-hero .sn-wp-kicker {
	display: inline-block;
	margin-bottom: 0.85rem !important;
}

.sn-landing-aurora-hero .sn-hero__lead,
.sn-landing-aurora-hero .sn-hero__lead.wp-block-paragraph {
	margin: 0 0 1.15rem !important;
	max-width: 48ch;
	font-size: 1.06rem !important;
	line-height: 1.8 !important;
	color: rgba(255, 255, 255, 0.82) !important;
}

.sn-landing-aurora-hero .sn-hero__lead strong {
	color: #fff;
}

.sn-landing-aurora-hero .sn-hero__points {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem !important;
}

.sn-landing-aurora-hero .sn-hero__points li {
	position: relative;
	padding-right: 1.45rem;
	margin-bottom: 0.6rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.65;
}

.sn-landing-aurora-hero .sn-hero__points li::before {
	content: "";
	position: absolute;
	right: 0;
	top: 0.58rem;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, #e9d5ff, #f59e42);
	box-shadow: 0 0 8px rgba(245, 158, 66, 0.45);
}

.sn-landing-aurora-hero .sn-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 0.75rem;
}

.sn-landing-aurora-hero .sn-btns a.sn-btn--primary,
.sn-landing-aurora-hero .sn-btns .sn-btn--primary .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.45rem !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	font-size: 0.92rem !important;
	background: #fff !important;
	color: #0a4a46 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
	border: none !important;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sn-landing-aurora-hero .sn-btns a.sn-btn--cta,
.sn-landing-aurora-hero .sn-btns .sn-btn--cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.45rem !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	font-size: 0.92rem !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	box-shadow: none !important;
	text-decoration: none;
}

.sn-landing-aurora-hero .sn-btns a.sn-btn:hover,
.sn-landing-aurora-hero .sn-btns .wp-block-button__link:hover {
	transform: translateY(-2px);
	color: inherit !important;
}

.sn-landing-aurora-hero .sn-wp-hero__visual {
	position: relative;
	min-width: 0;
}

.sn-landing-aurora-hero .sn-wp-hero__frame {
	overflow: hidden;
}

.sn-landing-aurora-hero .wp-block-post-featured-image {
	margin: 0 !important;
}

.sn-landing-aurora-hero .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 15px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Stats strip — glass bar like homepage domain strip */
.sn-landing-aurora-hero .sn-landing-aurora-stats {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sn-landing-aurora-hero .sn-landing-aurora-stats > .sn-wrap,
.sn-landing-aurora-hero .sn-landing-aurora-stats > .wp-block-group.sn-wrap {
	max-width: none;
	padding: 0;
	margin: 0;
}

.sn-landing-aurora-hero .sn-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	align-items: start;
	margin: 0;
	padding: 1.15rem 1.25rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

@media (min-width: 600px) {
	.sn-landing-aurora-hero .sn-stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Gutenberg adds margin-top to every block except the first — breaks the row */
.sn-landing-aurora-hero .sn-stats > .sn-stat,
.sn-landing-aurora-hero .sn-stats > .wp-block-group {
	margin: 0 !important;
}

.sn-landing-aurora-hero .sn-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: 0.5rem;
	min-height: 100%;
}

.sn-landing-aurora-hero .sn-stat p {
	margin: 0 !important;
}

.sn-landing-aurora-hero .sn-stat__num {
	display: block;
	font-size: 1.35rem;
	font-weight: 900;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.sn-landing-aurora-hero .sn-stat__label {
	display: block;
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 600;
	line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
	.sn-landing-aurora-hero .sn-btns a.sn-btn:hover {
		transform: none;
	}
}

.sn-landing-intro__ribbon {
	background: linear-gradient(90deg, rgba(8, 127, 120, 0.08), rgba(245, 158, 66, 0.06));
	border-bottom: 1px solid #e8eaf2;
	padding: 0.65rem 1rem !important;
}

.sn-landing-intro__ribbon p {
	margin: 0;
	font-size: 0.88rem;
	color: #4a4e5e;
}

.sn-landing-intro__problem,
.sn-landing-intro__ladder {
	padding: clamp(1.75rem, 4vw, 2.75rem) 1rem !important;
}

.sn-landing-intro__problem.alignfull,
.sn-landing-intro__ladder.alignfull,
.sn-landing-intro__articles.alignfull,
.sn-landing-intro__ribbon.alignfull {
	width: 100%;
}

.sn-landing-intro__problem > .wp-block-heading,
.sn-landing-intro__ladder > .wp-block-heading,
.sn-landing-intro__problem > .wp-block-paragraph,
.sn-landing-intro__ladder > .wp-block-paragraph,
.sn-landing-intro__problem > .wp-block-buttons,
.sn-landing-intro__ladder > .wp-block-buttons {
	max-width: min(100%, 720px);
	margin-inline: auto !important;
	width: 100%;
}

.sn-landing-intro__pain-grid.wp-block-columns,
.sn-landing-intro__step-ladder.wp-block-columns {
	max-width: min(100% - 2rem, 1080px);
	margin-inline: auto !important;
}

.sn-landing-intro__pain-grid > .wp-block-column,
.sn-landing-intro__step-ladder > .wp-block-column {
	margin-top: 0 !important;
}

.sn-landing-intro__problem {
	background: #fafbff;
	border-bottom: 1px solid #e8eaf2;
}

.sn-landing-intro__ladder {
	background: #fff;
	border-bottom: 1px solid #e8eaf2;
}

.sn-landing-intro__lead {
	color: #64687a !important;
	max-width: 36rem;
	width: 100%;
	margin-inline: auto !important;
	text-align: center !important;
}

.sn-landing-intro__bridge {
	margin-top: 1rem !important;
}

.sn-landing-intro__bridge a {
	font-weight: 800;
	color: #087f78;
	text-decoration: none;
}

.sn-landing-intro__pain-grid,
.sn-landing-intro__step-ladder {
	gap: 1rem;
	align-items: stretch;
}

.sn-landing-intro__pain {
	border-radius: 16px;
	padding: 1.35rem 1.15rem !important;
	background: #fff;
	border: 1px solid #e8eaf2;
	box-shadow: 0 10px 32px rgba(23, 32, 51, 0.05);
	height: 100%;
	text-align: center;
}

.sn-landing-intro__pain p:last-child {
	margin-bottom: 0;
	color: #555;
	font-size: 0.92rem;
}

.sn-landing-intro__step {
	border-radius: 18px;
	padding: 1.65rem 1.25rem !important;
	background: #fff;
	border: 1px solid #e8eaf2;
	box-shadow: 0 14px 40px rgba(23, 32, 51, 0.07);
	height: 100%;
	text-align: center;
}

.sn-landing-intro__step--featured {
	background: linear-gradient(155deg, #087f78 0%, #05645f 45%, #0a4a46 100%) !important;
	border: none !important;
	box-shadow: 0 20px 52px rgba(8, 127, 120, 0.32);
	transform: scale(1.03);
}

.sn-landing-intro__step--featured .wp-block-heading,
.sn-landing-intro__step--featured p {
	color: #fff !important;
}

.sn-landing-intro__num {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	margin: 0 auto 0.65rem !important;
	border-radius: 50%;
	background: #f3f0ff;
	color: #087f78;
	font-weight: 900 !important;
	font-size: 1rem !important;
}

.sn-landing-intro__step--featured .sn-landing-intro__num {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.sn-landing-intro__cta .wp-block-button__link {
	background: linear-gradient(135deg, #087f78, #05645f) !important;
	color: #fff !important;
	padding: 0.85rem 1.75rem !important;
	border-radius: 12px !important;
	font-weight: 800;
	box-shadow: 0 10px 28px rgba(8, 127, 120, 0.3);
}

.sn-landing-intro__cta-row {
	margin-top: 1.25rem;
}

/* Articles marquee */
.sn-landing-intro__articles {
	padding: 1.25rem 0 1.75rem !important;
	background: linear-gradient(180deg, #f8f6ff 0%, #fff 100%);
	border-bottom: 1px solid rgba(8, 127, 120, 0.12);
}

.sn-landing-intro__articles .wp-block-heading {
	font-size: clamp(1.05rem, 2.5vw, 1.35rem) !important;
	margin-bottom: 0.75rem !important;
	color: #0a4a46;
}

.sn-landing-intro__marquee-wrap {
	overflow: hidden;
	padding: 0.25rem 0;
}

.sn-landing-intro__marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sn-landing-intro__marquee-track {
	display: flex;
	gap: 1rem;
	width: max-content;
	animation: sn-landing-marquee 45s linear infinite;
}

.sn-landing-intro__marquee-wrap:hover .sn-landing-intro__marquee-track {
	animation-play-state: paused;
}

[dir="rtl"] .sn-landing-intro__marquee-track {
	animation-direction: reverse;
}

@keyframes sn-landing-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.sn-landing-intro__article-card {
	flex: 0 0 min(300px, 78vw);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.15rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e8eaf2;
	box-shadow: 0 8px 28px rgba(23, 32, 51, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.sn-landing-intro__article-card:hover {
	transform: translateY(-2px);
	border-color: rgba(8, 127, 120, 0.35);
	box-shadow: 0 14px 36px rgba(8, 127, 120, 0.12);
}

.sn-landing-intro__article-meta {
	font-size: 0.72rem;
	font-weight: 700;
	color: #087f78;
	text-transform: none;
}

.sn-landing-intro__article-card strong {
	font-size: 0.92rem;
	line-height: 1.55;
	color: #1a1a2e;
	font-weight: 800;
}

.sn-landing-intro__article-arrow {
	font-size: 0.85rem;
	color: #f59e42;
	font-weight: 800;
}

@media (max-width: 781px) {
	.sn-landing-intro__step--featured {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sn-landing-intro__marquee-track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
	}
}

/* Social bar — same as article template */
main.sn-seo-page .sn-article-social,
main.sn-hosting-page .sn-article-social {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
	background: linear-gradient(160deg, #fafbff, #f3f0ff);
	border-block: 1px solid rgba(8, 127, 120, 0.12);
}

main.sn-seo-page .sn-article-social .sn-wrap,
main.sn-hosting-page .sn-article-social .sn-wrap {
	max-width: 1140px;
	margin: 0 auto;
}

main.sn-seo-page .sn-article-social .sn-heading,
main.sn-hosting-page .sn-article-social .sn-heading {
	text-align: center;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	margin-bottom: 0.35rem;
}

main.sn-seo-page .sn-article-social .sn-subheading,
main.sn-hosting-page .sn-article-social .sn-subheading {
	text-align: center;
	font-size: 0.88rem;
	margin-bottom: 1rem;
}

/* Social — follow bar (landing + articles) */
.sn-article-social__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
	margin-top: 0.35rem;
}

@media (min-width: 900px) {
	.sn-article-social__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.sn-article-social__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	padding: 0.8rem 0.85rem 0.75rem;
	border-radius: 13px;
	text-decoration: none !important;
	color: #fff !important;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
	min-height: 0;
}

.sn-article-social__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, transparent 52%);
	pointer-events: none;
}

.sn-article-social__card:hover,
.sn-article-social__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
	color: #fff !important;
}

.sn-article-social__card--ig {
	background: linear-gradient(145deg, #f77737, #c13584 52%, #833ab4);
}

.sn-article-social__card--tg {
	background: linear-gradient(145deg, #2aabee, #1a8bc7);
}

.sn-article-social__card--bale {
	background: linear-gradient(145deg, #00c853, #008f3e);
}

.sn-article-social__card--rubika {
	background: linear-gradient(145deg, #8b5cf6, #5b21b6);
}

.sn-article-social__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.15rem;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.28);
	flex-shrink: 0;
}

.sn-article-social__icon svg {
	width: 1.05rem;
	height: 1.05rem;
	fill: #fff;
	display: block;
}

.sn-article-social__name {
	position: relative;
	z-index: 1;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.35;
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.sn-article-social__desc {
	position: relative;
	z-index: 1;
	font-size: 0.72rem;
	line-height: 1.5;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92) !important;
	margin-bottom: 0.35rem;
}

.sn-article-social__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	color: #fff !important;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.38);
	letter-spacing: 0.01em;
}

.sn-article-social__cta::after {
	content: " ←";
}
