/* STOSPN footer (theme 2.0.10). Markup: template-parts/footer-stospn.php, texts: Customize > STOSPN Footer.
 * css/stospn-custom.css colours every <footer>, footer a and footer h2 with !important, hence footer.sxf + !important. */

footer.sxf {
	--sxf-cyan: #00f0ff;
	--sxf-blue: #3b82f6;
	--sxf-violet: #a855f7;
	--sxf-green: #00ff9c;
	--sxf-text: #f4f2ff;
	--sxf-muted: #a19cbc;
	position: relative;
	margin-top: 3rem;
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(10, 5, 18, 0.2), #06030a 38%) !important;
	border-top: 0 !important;
	color: var(--sxf-muted) !important;
	font-family: var(--stospn-body, 'Plus Jakarta Sans', sans-serif);
	text-align: start;
}
/* neon line along the top edge */
footer.sxf::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--sxf-cyan) 25%, var(--sxf-violet) 75%, transparent);
	box-shadow: 0 0 18px rgba(0, 240, 255, 0.55);
}
.sxf-glow {
	position: absolute;
	top: -220px;
	left: 50%;
	width: 900px;
	height: 420px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(0, 240, 255, 0.10), rgba(168, 85, 247, 0.06) 55%, transparent);
	pointer-events: none;
}

.sxf-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.9fr 1fr 1fr 1fr 1.25fr;
	gap: 2.4rem;
	max-width: 1520px;
	margin: 0 auto;
	padding: 2.6rem 2rem 2rem;
	box-sizing: border-box;
}

/* brand column */
footer.sxf .sxf-logo {
	display: inline-block;
	font-family: var(--stospn-display, 'Orbitron', sans-serif);
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 4px;
	line-height: 1;
	text-decoration: none !important;
	background: linear-gradient(90deg, var(--sxf-cyan), var(--sxf-blue) 55%, var(--sxf-violet));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent !important;
	filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}
footer.sxf .sxf-tagline {
	margin: 0.8rem 0 0;
	max-width: 30em;
	font-size: 0.78rem;
	line-height: 1.6;
	color: var(--sxf-muted) !important;
}
footer.sxf .sxf-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 1.1rem;
	border-radius: 10px;
	border: 1px solid rgba(0, 255, 156, 0.6);
	background: rgba(0, 255, 156, 0.08);
	color: var(--sxf-green) !important;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 1px;
	white-space: nowrap;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 0 18px rgba(0, 255, 156, 0.18);
	transition: background 0.2s, box-shadow 0.2s;
}
footer.sxf .sxf-cta:hover {
	background: rgba(0, 255, 156, 0.16);
	box-shadow: 0 0 26px rgba(0, 255, 156, 0.35);
	color: var(--sxf-green) !important;
}
footer.sxf .sxf-social-title {
	margin: 1.2rem 0 0.6rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sxf-text) !important;
}
footer.sxf .sxf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
footer.sxf .sxf-social li { margin: 0; padding: 0; list-style: none; }
footer.sxf .sxf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 10px;
	border: 1px solid rgba(0, 240, 255, 0.35);
	background: rgba(0, 240, 255, 0.06);
	color: var(--sxf-cyan) !important;
	font-size: 1rem;
	text-decoration: none !important;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
footer.sxf .sxf-social a:hover {
	transform: translateY(-3px);
	background: rgba(0, 240, 255, 0.14);
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
	color: #fff !important;
}

/* link columns */
footer.sxf .sxf-col-title {
	margin: 0.25rem 0 0.9rem !important;
	font-family: var(--stospn-display, 'Orbitron', sans-serif) !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 1px;
	line-height: 1.3 !important;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--sxf-text) !important;
}
footer.sxf .sxf-col ul { margin: 0; padding: 0; list-style: none; }
footer.sxf .sxf-col li { margin: 0 0 0.5rem; padding: 0; list-style: none; line-height: 1.35; }
footer.sxf .sxf-col a {
	position: relative;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--sxf-muted) !important;
	text-decoration: none !important;
	transition: color 0.2s, padding 0.2s;
}
footer.sxf .sxf-col a::before {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-start: -0.9rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--sxf-cyan);
	box-shadow: 0 0 8px var(--sxf-cyan);
	opacity: 0;
	transform: translateY(-50%) scale(0.4);
	transition: opacity 0.2s, transform 0.2s;
}
footer.sxf .sxf-col a:hover { color: var(--sxf-cyan) !important; }
footer.sxf .sxf-col a:hover::before { opacity: 1; transform: translateY(-50%) scale(1); }

/* node locations line (3.0.3): a link to every node product page */
footer.sxf .sxf-locs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.2rem;
	max-width: 1520px;
	margin: 0 auto;
	padding: 0.9rem 2rem;
	box-sizing: border-box;
	border-top: 1px solid rgba(0, 240, 255, 0.10);
}
footer.sxf .sxf-locs-title {
	font-family: var(--stospn-display, 'Orbitron', sans-serif);
	font-size: 0.7rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sxf-muted);
}
footer.sxf .sxf-locs-title i { margin-inline-end: 0.45rem; color: var(--sxf-cyan); }
footer.sxf .sxf-locs ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 !important; padding: 0 !important; list-style: none !important; }
footer.sxf .sxf-locs li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
footer.sxf .sxf-locs a { font-size: 0.78rem !important; color: var(--sxf-muted) !important; text-decoration: none; transition: color .2s ease; }
footer.sxf .sxf-locs a:hover, footer.sxf .sxf-locs a:focus { color: var(--sxf-cyan) !important; }

/* bottom bar */
footer.sxf .sxf-bottom {
	position: relative;
	border-top: 1px solid rgba(168, 85, 247, 0.18);
	background: rgba(0, 0, 0, 0.25);
}
footer.sxf .sxf-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 2rem;
	max-width: 1520px;
	margin: 0 auto;
	padding: 0.9rem 2rem;
	box-sizing: border-box;
}
footer.sxf .sxf-copy,
footer.sxf .sxf-note {
	margin: 0 !important;
	font-size: 0.72rem !important;
	line-height: 1.5;
	color: var(--sxf-muted) !important;
}
footer.sxf .sxf-note i { margin-inline-end: 0.45rem; color: var(--sxf-cyan); }
/* 3.2.3: "STOSPN is a product of Ironloom Technologies L.L.C." */
footer.sxf .sxf-owner { margin: 0 !important; font-size: 0.72rem !important; line-height: 1.5; color: var(--sxf-muted) !important; }
footer.sxf .sxf-owner a { color: var(--sxf-muted) !important; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
footer.sxf .sxf-owner a:hover, footer.sxf .sxf-owner a:focus { color: var(--sxf-cyan) !important; }
/* 3.0.2: "Cookie settings" link (plugin STOSPN Consent) */
footer.sxf .sxf-cookies { margin: 0 !important; font-size: 0.72rem !important; line-height: 1.5; }
footer.sxf .sxf-cookies a { color: var(--sxf-muted) !important; text-decoration: none; transition: color .2s ease; }
footer.sxf .sxf-cookies a:hover, footer.sxf .sxf-cookies a:focus { color: var(--sxf-cyan) !important; }
footer.sxf .sxf-cookies i { margin-inline-end: 0.45rem; color: var(--sxf-cyan); }

/* right column: button on top, social icons under it */
.sxf-side { display: flex; flex-direction: column; align-items: flex-start; }

/* tablets: brand on top, 3 columns, button and icons in one row */
@media (max-width: 1024px) {
	.sxf-inner { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
	.sxf-brand, .sxf-side { grid-column: 1 / -1; }
	.sxf-side { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
	footer.sxf .sxf-social-title { margin: 0; }
}
/* phones */
@media (max-width: 600px) {
	footer.sxf { margin-top: 2rem; }
	.sxf-inner { grid-template-columns: 1fr 1fr; padding: 2.2rem 1.25rem 1.6rem; gap: 1.8rem 1.25rem; }
	.sxf-brand { text-align: center; }
	.sxf-side { flex-direction: column; align-items: center; text-align: center; }
	footer.sxf .sxf-tagline { font-size: 0.9rem; }
	footer.sxf .sxf-col a { font-size: 0.95rem; }
	footer.sxf .sxf-col-title { font-size: 0.8rem !important; }
	footer.sxf .sxf-tagline { margin-left: auto; margin-right: auto; }
	footer.sxf .sxf-social { justify-content: center; }
	nav.sxf-col:last-of-type { grid-column: 1 / -1; }
	footer.sxf .sxf-bottom-inner { flex-direction: column; text-align: center; padding: 1.2rem 1.25rem 1.6rem; }
	footer.sxf .sxf-locs { justify-content: center; text-align: center; padding: 0.9rem 1.25rem; }
	footer.sxf .sxf-locs ul { justify-content: center; }
}

/* Arabic: no letter-spacing on Arabic text */
[dir="rtl"] footer.sxf .sxf-col-title,
[dir="rtl"] footer.sxf .sxf-social-title,
[dir="rtl"] footer.sxf .sxf-cta { letter-spacing: 0; }


/* Inside the DPN app web view: the simple one-line copyright bar (template-parts/footer-stospn.php), same look as before 2.0.10 */
.stospn-copyright {
	text-align: center;
	color: #ffffff;
	font-size: 14px;
	padding: 15px 0;
	margin-top: 100px;
	width: 100%;
	background: transparent !important;
	text-shadow: 0 0 8px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.4);
	border-top: 1px solid #ffffff;
	box-shadow: 0 -4px 15px rgba(255, 255, 255, 0.4), 0 -1px 6px rgba(255, 255, 255, 0.8);
}
