@media (max-width: 600px) {
	.csi-user-avatar {
		display: none !important;
	}
}
/*
 * CSI Custom Navigation & Footer
 * Replaces Elementor-built header/footer with pure PHP/CSS.
 */

/* =====================================================================
   CSS TOKENS
   ===================================================================== */
:root {
	--csi-black:       #000000;
	--csi-white:       #ffffff;
	--csi-green:       #22C55E;
	--csi-blue:        #0066FF;
	--csi-cyan:        #00F0FF;
	--csi-nav-height:  68px;
	--csi-nav-border:  rgba(255, 255, 255, 0.07);
	--csi-muted:       rgba(255, 255, 255, 0.55);
	--text-base:       1rem;
	--font-mono:       "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

/* =====================================================================
   SITE HEADER
   ===================================================================== */
.csi-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: var(--csi-black);
	border-bottom: 1px solid var(--csi-nav-border);
}

.csi-header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 28px;
	height: var(--csi-nav-height);
}

/* ---- Logo ---- */
.csi-header-logo {
	flex-shrink: 0;
	line-height: 0;
}

.csi-header-logo a,
.csi-header-logo .custom-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.csi-header-logo img,
.csi-header-logo .custom-logo {
	height: 36px;
	width: auto;
	display: block;
}

/* ---- Primary nav ---- */
.csi-header-nav {
	flex: 1;
}

/* Paid-subscriber (gated) header has no primary nav — that nav normally is
   the flex:1 spacer that pushes the actions to the right. Without it, push
   the logo's right margin so Dashboard/Logout/account sit at the far edge. */
.csi-funnel-header--minimal .csi-header-logo {
	margin-right: auto;
}

/* Paid-subscriber header: Dashboard link in white (not the green default). */
.csi-funnel-header--minimal .csi-btn-dashboard {
	color: var(--csi-white) !important;
}
.csi-funnel-header--minimal .csi-btn-dashboard:hover {
	color: var(--csi-green) !important;
	opacity: 1;
}

.csi-nav-list,
.csi-header-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}

.csi-nav-list li a,
.csi-header-nav ul li a {
	font-family: var(--font-mono);
	font-size: var(--text-base);
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 2.24px;
	text-transform: uppercase;
	color: oklab(0.707 -0.00331825 -0.0217483 / 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.csi-nav-list li a:hover,
.csi-nav-list li a:focus,
.csi-header-nav ul li a:hover,
.csi-header-nav ul li a:focus,
.csi-nav-list li.current-menu-item > a,
.csi-header-nav ul li.current-menu-item > a {
	color: var(--csi-green);
}

/* Sub-menus hidden by default */
.csi-nav-list .sub-menu,
.csi-header-nav ul .sub-menu {
	display: none;
}

/* ---- Right-side actions ---- */
.csi-header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.csi-btn-dashboard {
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--csi-green) !important;
	text-decoration: none;
	transition: opacity 0.2s;
}

.csi-btn-dashboard:hover {
	opacity: 0.8;
}

.csi-btn-logout,
.csi-btn-login {
	font-size: 14px;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	line-height: 20px;
	color: var(--csi-white) !important;
	text-decoration: none;
	transition: color 0.2s;
}

.csi-btn-logout:hover,
.csi-btn-login:hover {
	color: var(--csi-green) !important;
}

.csi-btn-cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.79) 43%, rgba(0, 251, 228, 0.56));
	color: #fff !important;
	font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s;
	white-space: nowrap;
}

.csi-btn-cta:hover {
	opacity: 0.9;
}

.csi-user-avatar {
	display: flex;
	align-items: center;
	line-height: 0;
}

/* ---- Mobile toggle button ---- */

.csi-theme-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--csi-white);
	font-size: 1.3rem;
	margin-right: 6px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: background 0.2s;
}
.csi-theme-toggle:focus,
.csi-theme-toggle:hover {
	background: rgba(255,255,255,0.08);
}

.csi-theme-toggle__icon {
	pointer-events: none;
}

.csi-mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	margin-left: 0;
	padding: 4px 8px;
	background: none;
	border: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	border-radius: 4px;
}

.csi-mobile-toggle:focus,
.csi-mobile-toggle:hover {
	background: rgba(255,255,255,0.08);
}

.csi-hamburger {
	display: flex;
	flex-direction: column;
	gap: 3px;
	pointer-events: none;
}

.csi-hamburger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--csi-white);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animated state */
.csi-mobile-toggle[aria-expanded="true"] .csi-hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.csi-mobile-toggle[aria-expanded="true"] .csi-hamburger span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.csi-mobile-toggle[aria-expanded="true"] .csi-hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile nav drawer ---- */
.csi-mobile-nav {
	background: #0a0a0a;
	border-top: 1px solid var(--csi-nav-border);
	padding: 0 24px 24px;
	overflow: hidden;
}

.csi-mobile-nav[hidden] {
	display: none;
}

.csi-mobile-nav-list,
.csi-mobile-nav ul {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}

.csi-mobile-nav-list li,
.csi-mobile-nav ul li {
	border-bottom: 1px solid var(--csi-nav-border);
}

.csi-mobile-nav-list li a,
.csi-mobile-nav ul li a {
	display: block;
	padding: 14px 0;
	color: var(--csi-white);
	font-size: 0.88rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.csi-mobile-nav-list li a:hover,
.csi-mobile-nav ul li a:hover {
	color: var(--csi-green);
}

.csi-mobile-auth {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
}

.csi-mobile-auth .csi-btn-dashboard,
.csi-mobile-auth .csi-btn-logout,
.csi-mobile-auth .csi-btn-login {
	font-size: 0.88rem;
	padding: 10px 0;
}

.csi-mobile-auth .csi-btn-cta {
	justify-content: center;
	padding: 12px 18px;
}

/* =====================================================================
   RESPONSIVE BREAKPOINTS
   ===================================================================== */
@media (max-width: 900px) {
	.csi-header-nav,
	.csi-header-actions {
		display: none;
	}

	.csi-mobile-toggle {
		display: flex;
	}
}

@media (max-width: 480px) {
	.csi-header-inner {
		padding: 0 16px;
	}

	.csi-header-logo img,
	.csi-header-logo .custom-logo {
		height: 28px;
	}
}

@media (max-width: 576px) {
	.csi-mobile-toggle {
		padding: 1px;
	}
}

/* =====================================================================
   SITE FOOTER
   ===================================================================== */
.csi-site-footer {
	background: #000000;
	background-image: none;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	padding: 56px 24px 32px;
	color: rgba(156, 163, 175, 0.95);
}

.csi-footer-inner {
	max-width: 1320px;
	margin: 0 auto;
}

.csi-funnel-footer-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 26px;
}

/* Footer logo / brand */
.csi-footer-brand {
	line-height: 0;
	flex-shrink: 0;
}

.csi-footer-brand a,
.csi-footer-brand .custom-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.csi-funnel-footer-brand img,
.csi-funnel-footer-brand .custom-logo {
	height: 40px;
	width: auto;
	max-width: min(220px, 70vw);
	display: block;
}

.csi-funnel-footer-nav {
	min-width: 0;
}

.csi-funnel-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	justify-content: center;
	align-items: center;
}

.csi-funnel-footer-links a {
	color: rgba(209, 213, 219, 0.96) !important;
	text-decoration: none;
	font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.csi-funnel-footer-links a:hover,
.csi-funnel-footer-links a:focus {
	color: #ffffff !important;
}

.csi-funnel-join-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 10px 20px;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.95) 0%, rgba(0, 251, 228, 0.75) 100%);
	color: #ffffff !important;
	text-decoration: none;
	text-transform: uppercase;
	font-family: "Space Mono", "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	border-radius: 4px;
	min-width: max-content;
	white-space: nowrap;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.csi-funnel-join-btn:hover,
.csi-funnel-join-btn:focus {
	box-shadow: 0 0 25px rgba(0, 171, 58, 0.4), 0 0 40px rgba(0, 251, 228, 0.22);
	transform: translateY(-1px);
}

/* Elementor Main Footer (1516) Join Now button – keep text on one line */
.elementor-element-05f77a7 .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: max-content;
	max-width: 100%;
	white-space: nowrap;
}

.elementor-element-05f77a7 .elementor-button-text {
	display: block;
	white-space: nowrap;
}

/* Footer JOIN NOW normalization across all footer render paths */
.csi-site-footer .csi-funnel-join-btn,
#csi-chrome-footer a[data-csi-label="join_now"][data-csi-location="footer"],
.elementor-location-footer .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: max-content !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}

.elementor-location-footer .elementor-button-text,
.csi-site-footer .csi-funnel-join-btn,
#csi-chrome-footer a[data-csi-label="join_now"][data-csi-location="footer"] {
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}

.elementor-location-footer .elementor-button-text br,
.csi-site-footer .csi-funnel-join-btn br,
#csi-chrome-footer a[data-csi-label="join_now"][data-csi-location="footer"] br {
	display: none !important;
}

.csi-funnel-footer-divider {
	max-width: 1320px;
	margin: 28px auto 20px;
	height: 1px;
	background: rgba(255, 255, 255, 0.10);
}

.csi-funnel-footer-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	font-size: 12px;
}

/* Paid-subscriber footer: socials sit in the top row, so the meta row holds
   only the copyright — center it. Extra bottom clearance so the copyright is
   never hidden behind the fixed "Back To Top" bar. */
.csi-funnel-footer-meta--center {
	justify-content: center;
	text-align: center;
	padding-bottom: 64px;
}

.csi-funnel-copyright {
	color: rgba(209, 213, 219, 0.92);
}

.csi-funnel-copy-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
}

.csi-funnel-copy-links a {
	color: rgba(209, 213, 219, 0.92) !important;
	text-decoration: none;
}

.csi-funnel-copy-links a:hover,
.csi-funnel-copy-links a:focus {
	color: #ffffff !important;
}

.csi-funnel-social {
	display: flex;
	align-items: center;
	gap: 8px;
}

.csi-funnel-social a {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(209, 213, 219, 1) !important;
	text-decoration: none;
	line-height: 0;
	transition: all 0.2s ease;
}

.csi-funnel-social a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.csi-funnel-social a:hover,
.csi-funnel-social a:focus {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.20);
	color: rgba(229, 231, 235, 1) !important;
	transition: all 0.2s ease;
}

/* =====================================================================
   ELEMENTOR FOOTER SOCIAL ICONS
   ===================================================================== */
/* Ghost button styling for Elementor social icon widgets in footer 1516 */
.elementor-location-footer .elementor-social-icon {
	width: 32px !important;
	height: 32px !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	color: rgba(209, 213, 219, 1) !important;
	transition: all 0.2s ease !important;
	padding: 0 !important;
	margin: 0 !important;
}

.elementor-location-footer .elementor-social-icon svg {
	width: 16px !important;
	height: 16px !important;
	fill: currentColor !important;
}

.elementor-location-footer .elementor-social-icon:hover,
.elementor-location-footer .elementor-social-icon:focus {
	background: rgba(255, 255, 255, 0.10) !important;
	border-color: rgba(255, 255, 255, 0.20) !important;
	color: rgba(229, 231, 235, 1) !important;
}

.elementor-location-footer .elementor-widget-social-icons .elementor-social-icons-wrapper {
	display: inline-flex !important;
	width: fit-content !important;
	max-width: none !important;
	gap: 6px !important;
	column-gap: 6px !important;
	row-gap: 0 !important;
	justify-content: flex-start !important;
}

.elementor-location-footer .elementor-widget-social-icons .elementor-grid-item {
	margin: 0 !important;
}

/* =====================================================================
   SPA FOOTER SOCIAL ICON NORMALIZATION
   ===================================================================== */
/* Utility-class social buttons in SPA footers can drift in size when
   bundled style order changes. Keep them locked to the footer icon spec. */
footer a[aria-label][class*="w-8"][class*="h-8"][class*="rounded-full"] {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	max-width: 32px !important;
	max-height: 32px !important;
	box-sizing: border-box !important;
	flex: 0 0 32px !important;
	line-height: 0 !important;
	overflow: hidden;
}

footer a[aria-label][class*="w-8"][class*="h-8"][class*="rounded-full"] svg,
footer a[aria-label][class*="w-8"][class*="h-8"][class*="rounded-full"] i {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
	flex: 0 0 16px !important;
	display: block;
}

/* =====================================================================
   GLOBAL ICON BUTTON COMPONENT
   ===================================================================== */
/* Reusable ghost button icon component for all sitewide icon systems
   Premium glassmorphism design: 32×32 container, 16×16 icon, gray-300 color */
.csi-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: rgba(209, 213, 219, 1);
	cursor: pointer;
	text-decoration: none;
	line-height: 0;
	transition: all 0.2s ease;
}

.csi-icon-button:hover,
.csi-icon-button:focus {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.20);
	color: rgba(229, 231, 235, 1);
}

.csi-icon-button svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 0;
}

/* Icon button variations */
.csi-icon-button--sm {
	width: 28px;
	height: 28px;
}

.csi-icon-button--sm svg {
	width: 14px;
	height: 14px;
}

.csi-icon-button--lg {
	width: 40px;
	height: 40px;
}

.csi-icon-button--lg svg {
	width: 20px;
	height: 20px;
}

/* State variations */
.csi-icon-button--active {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.30);
}

.csi-icon-button--disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.csi-icon-button--disabled:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.10);
}

/* Icon group spacing (horizontal layout) */
.csi-icon-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.csi-icon-group--vertical {
	flex-direction: column;
	gap: 8px;
}

@media (max-width: 900px) {
	.csi-funnel-footer-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 18px;
	}

	.csi-funnel-footer-links {
		gap: 12px 18px;
	}

	.csi-funnel-footer-meta {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.csi-funnel-copy-links {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.csi-site-footer {
		padding: 34px 16px 22px;
	}

	.csi-funnel-footer-brand img,
	.csi-funnel-footer-brand .custom-logo {
		height: 34px;
	}
}

/* =====================================================================
   MAIN CONTENT WRAPPER
   ===================================================================== */
#csi-main-content {
	min-height: 60vh;
}

/* Remove top margin from first Elementor section on pages that now have
   our sticky header (avoids double-spacing) */
.elementor-section:first-child,
.e-con:first-child {
	margin-top: 0 !important;
}
