/* ==========================================================================
   NexGen Coaching Classes — Custom WordPress Theme Stylesheet
   Powered by Euridition ("Where Big Platforms Stop, We Start.")
   Mobile-First, Fast-Loading, Accessible, RTL-Friendly
   ========================================================================== */

:root {
	--nx-primary: #0F2C59;
	--nx-primary-dark: #091D3D;
	--nx-secondary: #0D9488;
	--nx-accent: #D97706;
	--nx-surface: #F8FAFC;
	--nx-white: #FFFFFF;
	--nx-text: #1E293B;
	--nx-muted: #64748B;
	--nx-border: #E2E8F0;
	--nx-wa: #16A34A;
	--nx-radius: 14px;
	--nx-radius-sm: 8px;
	--nx-shadow: 0 8px 24px rgba(15, 44, 89, 0.08);
	--nx-shadow-lg: 0 16px 40px rgba(15, 44, 89, 0.14);
	--nx-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--nx-font-body);
	color: var(--nx-text);
	background: var(--nx-white);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 64px; /* space for mobile sticky bar */
}
@media (min-width: 900px) {
	body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--nx-primary); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; font-weight: 700; }

.nx-skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--nx-primary); color: #fff; padding: 10px 16px; z-index: 9999;
}
.nx-skip-link:focus { left: 10px; top: 10px; }

.nx-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Top Utility Bar */
.nx-topbar {
	background: var(--nx-primary-dark);
	color: rgba(255,255,255,0.9);
	font-size: 0.84rem;
	padding: 0.45rem 0;
}
.nx-topbar-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem;
}
.nx-topbar-left, .nx-topbar-right { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.nx-powered-pill {
	background: rgba(255,255,255,0.12);
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
}
.nx-topbar-tagline { opacity: 0.85; font-style: italic; display: none; }
@media (min-width: 768px) { .nx-topbar-tagline { display: inline; } }
.nx-topbar a { color: #fff; font-weight: 600; }
.nx-wa-mini {
	background: var(--nx-wa);
	padding: 0.18rem 0.65rem;
	border-radius: 999px;
	font-size: 0.78rem;
}

/* Header & Navigation */
.nx-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--nx-border);
}
.nx-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 72px; gap: 1rem;
}
.nx-brand-text {
	display: flex; align-items: center; gap: 0.65rem; text-decoration: none !important;
}
.nx-brand-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 10px;
	background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
	color: #fff; font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.nx-brand-text strong { display: block; font-size: 1.02rem; color: var(--nx-primary); line-height: 1.15; }
.nx-brand-text small { display: block; font-size: 0.72rem; color: var(--nx-muted); }

.nx-menu-toggle {
	display: flex; flex-direction: column; gap: 5px;
	background: none; border: 1px solid var(--nx-border);
	border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.nx-menu-toggle span { width: 22px; height: 2px; background: var(--nx-primary); display: block; }

.nx-nav {
	display: none;
	position: absolute; top: 100%; left: 0; right: 0;
	background: var(--nx-white);
	border-bottom: 1px solid var(--nx-border);
	padding: 1rem 1.25rem 1.25rem;
	box-shadow: var(--nx-shadow);
}
.nx-nav.is-open { display: block; }
.nx-nav-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 0.35rem;
}
.nx-nav-list a {
	display: block; padding: 0.45rem 0.6rem; border-radius: 6px;
	font-weight: 600; font-size: 0.92rem; color: var(--nx-text);
}
.nx-nav-list a:hover, .nx-nav-list .current-menu-item > a {
	background: var(--nx-surface); color: var(--nx-primary); text-decoration: none;
}
.nx-nav-actions { display: flex; gap: 0.5rem; margin-top: 0.85rem; flex-wrap: wrap; }

@media (min-width: 1080px) {
	.nx-menu-toggle { display: none; }
	.nx-nav {
		display: flex !important; position: static; background: transparent;
		border: 0; padding: 0; box-shadow: none; align-items: center; gap: 1rem;
	}
	.nx-nav-list { flex-direction: row; align-items: center; gap: 0.15rem; }
	.nx-nav-list a { font-size: 0.88rem; padding: 0.4rem 0.55rem; }
	.nx-nav-actions { margin-top: 0; flex-wrap: nowrap; }
}

/* Buttons */
.nx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	padding: 0.78rem 1.35rem; border-radius: 10px;
	font-weight: 700; font-size: 0.94rem; line-height: 1.2;
	border: 2px solid transparent; cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	text-decoration: none !important;
}
.nx-btn:hover { transform: translateY(-1px); }
.nx-btn-sm { padding: 0.5rem 0.95rem; font-size: 0.84rem; border-radius: 8px; }
.nx-btn-primary { background: var(--nx-primary); color: #fff; }
.nx-btn-primary:hover { background: var(--nx-primary-dark); color: #fff; }
.nx-btn-secondary { background: var(--nx-secondary); color: #fff; }
.nx-btn-accent { background: var(--nx-accent); color: #fff; }
.nx-btn-accent:hover { background: #B45309; color: #fff; }
.nx-btn-whatsapp { background: var(--nx-wa); color: #fff; }
.nx-btn-whatsapp:hover { background: #15803D; color: #fff; }
.nx-btn-outline { background: transparent; border-color: var(--nx-primary); color: var(--nx-primary); }
.nx-btn-outline:hover { background: var(--nx-primary); color: #fff; }

/* Sections & Helpers */
.nx-section { padding: 3.75rem 0; }
.nx-bg-surface { background: var(--nx-surface); }
.nx-text-center { text-align: center; }
.nx-muted { color: var(--nx-muted); }
.nx-eyebrow {
	display: inline-block; font-size: 0.78rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--nx-secondary); margin-bottom: 0.45rem;
}
.nx-eyebrow-light { color: #FDE68A; }
.nx-badge-pill {
	display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px;
	background: rgba(13, 148, 136, 0.12); color: var(--nx-secondary);
	font-weight: 700; font-size: 0.82rem; margin-bottom: 1rem;
}
.nx-badge-soft {
	display: inline-block; padding: 0.22rem 0.65rem; border-radius: 999px;
	background: #EFF6FF; color: var(--nx-primary); font-weight: 700; font-size: 0.75rem; margin-bottom: 0.65rem;
}
.nx-section-head { margin-bottom: 2rem; max-width: 720px; }
.nx-section-head p { color: var(--nx-muted); margin-bottom: 0; }
.nx-section-head-row {
	max-width: 100%; display: flex; flex-wrap: wrap;
	justify-content: space-between; align-items: flex-end; gap: 1rem;
}

/* Grids */
.nx-grid-2, .nx-grid-3, .nx-grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 700px) {
	.nx-grid-2 { grid-template-columns: repeat(2, 1fr); }
	.nx-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.nx-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.nx-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.nx-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.nx-align-center { align-items: center; }

/* Cards */
.nx-card {
	background: var(--nx-white);
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	padding: 1.5rem;
	box-shadow: var(--nx-shadow);
}
.nx-card-bordered { border-top: 4px solid var(--nx-secondary); }
.nx-card-icon { font-size: 1.75rem; display: inline-block; margin-bottom: 0.6rem; }
.nx-card-thumb { margin: -1.5rem -1.5rem 1rem; overflow: hidden; border-radius: var(--nx-radius) var(--nx-radius) 0 0; }
.nx-card-thumb img { width: 100%; height: 200px; object-fit: cover; }

/* Hero */
.nx-hero {
	background: linear-gradient(160deg, #F0F9FF 0%, #FFFFFF 55%, #FFFBEB 100%);
	padding: 3.5rem 0 4rem;
	border-bottom: 1px solid var(--nx-border);
}
.nx-hero-grid { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 960px) {
	.nx-hero-grid { grid-template-columns: 1.2fr 0.85fr; }
}
.nx-hero-lead { font-size: 1.08rem; color: var(--nx-muted); margin-bottom: 1.5rem; }
.nx-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.nx-stats-strip {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
	padding-top: 1.25rem; border-top: 1px solid var(--nx-border);
}
@media (min-width: 600px) { .nx-stats-strip { grid-template-columns: repeat(4, 1fr); } }
.nx-stat strong { display: block; font-size: 1.35rem; color: var(--nx-primary); font-weight: 800; }
.nx-stat span { font-size: 0.8rem; color: var(--nx-muted); }

.nx-hero-card {
	background: var(--nx-primary); color: #fff;
	border-radius: 18px; padding: 1.75rem; box-shadow: var(--nx-shadow-lg);
}
.nx-hero-card-header {
	display: flex; justify-content: space-between; align-items: center;
	padding-bottom: 1rem; margin-bottom: 1rem;
	border-bottom: 1px solid rgba(255,255,255,0.16);
	font-weight: 700; font-size: 0.9rem;
}
.nx-dot-live {
	background: rgba(13,148,136,0.3); color: #99F6E4;
	padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.78rem;
}
.nx-pillar-item {
	background: rgba(255,255,255,0.08); border-radius: 12px;
	padding: 0.9rem 1rem; margin-bottom: 0.75rem;
}
.nx-pillar-item:last-child { margin-bottom: 0; }
.nx-pillar-item strong { display: block; color: #FDE68A; margin-bottom: 0.2rem; }
.nx-pillar-item p { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.9); }
.nx-hero-img { border-radius: 18px; box-shadow: var(--nx-shadow-lg); width: 100%; }

/* Page Hero */
.nx-page-hero {
	background: linear-gradient(135deg, var(--nx-primary), #1B4965);
	color: #fff; padding: 3rem 0;
}
.nx-hero-euridition {
	background: linear-gradient(135deg, #0F2C59, #0D9488);
}
.nx-page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.nx-page-hero p { color: rgba(255,255,255,0.88); max-width: 720px; margin: 0; font-size: 1.05rem; }

/* Spin & Play Promo */
.nx-spin-promo {
	background: linear-gradient(135deg, #0F2C59 0%, #1E3A8A 55%, #0D9488 100%);
	color: #fff;
}
.nx-spin-promo h2 { color: #fff; }
.nx-spin-promo p { color: rgba(255,255,255,0.9); }
.nx-spin-promo-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .nx-spin-promo-grid { grid-template-columns: 1.15fr 0.85fr; } }
.nx-spin-promo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.nx-mini-game-card {
	background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
	border-radius: 14px; padding: 1.25rem; text-align: center;
}
.nx-mini-game-card span { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.nx-mini-game-card strong { display: block; color: #fff; }
.nx-mini-game-card small { color: #CBD5E1; font-size: 0.8rem; }

.nx-check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.nx-check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.45rem; }
.nx-check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--nx-secondary); font-weight: 900; }
.nx-check-list-light li::before { color: #FDE68A; }

/* Founder, Honesty Box, Steps, Contact */
.nx-founder-img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 10px; margin-bottom: 1rem; }
.nx-avatar-placeholder {
	height: 180px; border-radius: 10px; background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
	display: flex; align-items: center; justify-content: center;
	color: var(--nx-muted); font-weight: 700; margin-bottom: 1rem;
}
.nx-founder-card blockquote {
	margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid var(--nx-accent);
	font-style: italic; color: var(--nx-text);
}
.nx-honesty-box {
	margin-top: 2.5rem; padding: 2rem; border-radius: var(--nx-radius);
	background: #FFFBEB; border: 1px solid #FDE68A;
}
.nx-step-num {
	display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
	background: var(--nx-primary); color: #fff; font-weight: 800;
	align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.nx-contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .nx-contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.nx-contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.nx-contact-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--nx-border); }
.nx-contact-list li strong { display: block; font-size: 0.8rem; text-transform: uppercase; color: var(--nx-muted); }
.nx-map-box { margin-top: 1.5rem; border-radius: var(--nx-radius); overflow: hidden; border: 1px solid var(--nx-border); }
.nx-map-placeholder { padding: 2.5rem 1.5rem; background: var(--nx-surface); text-align: center; color: var(--nx-muted); }

/* CTA Band */
.nx-cta-band { background: var(--nx-primary); color: #fff; }
.nx-cta-band h2 { color: #fff; margin-bottom: 0.35rem; }
.nx-cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.nx-cta-band-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.nx-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Filter Pills & Accordions (used by plugin shortcodes too) */
.nx-filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.nx-filter-btn {
	background: var(--nx-surface); border: 1px solid var(--nx-border);
	color: var(--nx-text); padding: 0.45rem 0.95rem; border-radius: 999px;
	font-weight: 600; font-size: 0.86rem; cursor: pointer;
}
.nx-filter-btn.is-active, .nx-filter-btn:hover {
	background: var(--nx-primary); color: #fff; border-color: var(--nx-primary);
}
.nx-faq-item {
	border: 1px solid var(--nx-border); border-radius: 10px;
	margin-bottom: 0.75rem; background: #fff; overflow: hidden;
}
.nx-faq-trigger {
	width: 100%; text-align: left; background: none; border: 0;
	padding: 1rem 1.25rem; font-weight: 700; font-size: 1rem; color: var(--nx-primary);
	display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.nx-faq-panel { padding: 0 1.25rem 1rem; color: var(--nx-muted); display: none; }
.nx-faq-item.is-open .nx-faq-panel { display: block; }

/* Timeline */
.nx-timeline { position: relative; padding-left: 2rem; border-left: 3px solid var(--nx-secondary); }
.nx-timeline-item { position: relative; margin-bottom: 1.75rem; }
.nx-timeline-dot {
	position: absolute; left: -2.65rem; top: 0.25rem;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--nx-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--nx-secondary);
}
.nx-timeline-year {
	display: inline-block; background: var(--nx-primary); color: #fff;
	font-size: 0.76rem; font-weight: 800; padding: 0.15rem 0.65rem; border-radius: 999px; margin-bottom: 0.4rem;
}

/* Spin & Play Landing Wrapper */
.nx-spin-landing {
	padding: 2rem 0 3.5rem;
	background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
	min-height: 75vh;
}

/* Footer */
.nx-footer { background: var(--nx-primary-dark); color: rgba(255,255,255,0.85); padding-top: 3.5rem; }
.nx-footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .nx-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nx-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.nx-footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.nx-footer-brand strong { display: block; color: #fff; }
.nx-footer-brand small { color: #94A3B8; }
.nx-footer-tagline { color: #FDE68A; font-style: italic; font-weight: 600; margin: 0.4rem 0; }
.nx-footer h4 { color: #fff; margin-bottom: 0.9rem; font-size: 1rem; }
.nx-footer ul { list-style: none; padding: 0; margin: 0; }
.nx-footer ul li { margin-bottom: 0.45rem; font-size: 0.9rem; }
.nx-footer a { color: rgba(255,255,255,0.85); }
.nx-footer a:hover { color: #FDE68A; }
.nx-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.25rem 0; font-size: 0.84rem; }
.nx-footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.nx-footer-bottom p { margin: 0; }

/* Floating WhatsApp & Sticky Mobile Bar */
.nx-floating-wa {
	display: none; position: fixed; right: 20px; bottom: 24px; z-index: 90;
}
.nx-floating-wa a {
	display: inline-flex; align-items: center; gap: 0.45rem;
	background: var(--nx-wa); color: #fff; font-weight: 700;
	padding: 0.7rem 1.1rem; border-radius: 999px; box-shadow: var(--nx-shadow-lg);
	text-decoration: none;
}
@media (min-width: 900px) { .nx-floating-wa { display: block; } }

.nx-mobile-sticky-bar {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
	display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr;
	background: #fff; border-top: 1px solid var(--nx-border);
	box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.nx-sticky-btn {
	text-align: center; padding: 0.85rem 0.4rem; font-size: 0.82rem; font-weight: 700;
	text-decoration: none !important; color: #fff;
}
.nx-sticky-apply { background: var(--nx-primary); }
.nx-sticky-wa { background: var(--nx-wa); }
.nx-sticky-play { background: var(--nx-accent); }
@media (min-width: 900px) { .nx-mobile-sticky-bar { display: none; } }

.nx-notice {
	padding: 1rem 1.25rem; border-radius: 10px;
	background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A;
}
.nx-prose { max-width: 820px; }
.nx-link-arrow { font-weight: 700; color: var(--nx-secondary); }
