/* Modules explorer — TrackAxo site combo (charcoal + sky + mid blue), not one color */
.modules-explorer-section {
	--mx-ink: #353f4f;          /* logo dark / Get started */
	--mx-sky: #3eb1ff;          /* Book a Demo / btn--theme */
	--mx-mid: #1680fb;          /* links / hover--theme */
	--mx-deep: #185abd;         /* blue-500 text on soft fills */
	--mx-soft: #ddedff;         /* blue-200 */
	--mx-shell: #f4f9fc;        /* blue-100 */
	--mx-shell-edge: #e7e7e7;
	--mx-soft-2: #f7f8f9;
	--mx-muted: #6c757d;
	--mx-text: #3d3d3d;
	--mx-title: #353f4f;
}

/* Tighter gap before Mobile App section on industry landers */
.modules-explorer-section.pb-100 {
	padding-bottom: 2.5rem !important;
}

.modules-explorer-section + #lnk-1.pt-100 {
	margin-top: 0 !important;
	padding-top: 3.5rem !important;
}

.modules-explorer-section .section-title {
	text-align: center;
	margin-bottom: 22px;
}

.modules-explorer-section .section-title .section-id {
	display: block;
	margin: 0 0 8px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mx-muted);
}

.modules-explorer-section .section-title h2 {
	margin: 0 0 10px;
	font-size: 1.75rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.02em;
	color: #000 !important;
}

.modules-explorer-section .modules-explorer-intro {
	margin: 0 auto;
	max-width: 36rem;
	font-size: 0.95rem !important;
	line-height: 1.6 !important;
	color: var(--mx-muted) !important;
	font-weight: 400 !important;
}

.modules-explorer-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 26px;
	max-width: 980px;
}

.modules-explorer-tab {
	appearance: none;
	border: none;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 11px 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--mx-ink);
	box-shadow: inset 0 0 0 1px var(--mx-shell-edge);
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.modules-explorer-tab:hover {
	background: var(--mx-shell);
}

.modules-explorer-tab.is-active {
	background: var(--mx-sky);
	color: #fff;
	box-shadow: 0 8px 18px rgba(62, 177, 255, 0.35);
}

.modules-explorer-tab:focus-visible {
	outline: 2px solid var(--mx-mid);
	outline-offset: 2px;
}

/* Soft shell — nav sits on tint; white detail card floats */
.modules-explorer-shell {
	display: grid;
	grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	background: var(--mx-shell);
	border: 1px solid var(--mx-shell-edge);
	border-radius: 22px;
	overflow: hidden;
	min-height: 0;
	box-shadow: 0 16px 40px rgba(53, 63, 79, 0.06);
}

.modules-explorer-nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 12px 22px 16px;
	background: transparent;
}

/* Side nav — square corners; charcoal active (logo dark) */
.modules-explorer-nav-btn {
	appearance: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	padding: 12px 14px;
	border-radius: 6px;
	background: transparent;
	color: var(--mx-ink);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: none;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.modules-explorer-nav-btn[hidden] {
	display: none !important;
}

.modules-explorer-nav-btn:hover {
	background: rgba(255, 255, 255, 0.75);
}

.modules-explorer-nav-btn.is-active {
	background: var(--mx-ink);
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 16px rgba(53, 63, 79, 0.28);
}

.modules-explorer-nav-num {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	opacity: 0.42;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: inherit;
}

.modules-explorer-nav-btn.is-active .modules-explorer-nav-num {
	opacity: 0.75;
}

.modules-explorer-nav-label {
	flex: 1 1 auto;
	min-width: 0;
}

.modules-explorer-nav-chevron {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.28;
}

.modules-explorer-nav-btn.is-active .modules-explorer-nav-chevron {
	opacity: 0.95;
}

.modules-explorer-panel {
	background: #fff;
	border-radius: 16px;
	margin: 14px 14px 14px 6px;
	padding: 24px 26px 18px;
	border: 1px solid rgba(53, 63, 79, 0.06);
	box-shadow:
		0 1px 2px rgba(53, 63, 79, 0.03),
		0 12px 32px rgba(53, 63, 79, 0.06);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.modules-explorer-eyebrow {
	margin: 0 0 6px;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mx-mid) !important;
}

.modules-explorer-title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--mx-title) !important;
	letter-spacing: -0.015em;
}

.modules-explorer-desc {
	margin: 0 0 16px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--mx-muted) !important;
	max-width: 40rem;
}

.modules-explorer-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

/* Cool slate fills like Triaxo — not saturated sky candy */
.modules-explorer-stat {
	background: var(--mx-soft);
	border-radius: 12px;
	padding: 12px 14px 11px;
	text-align: left;
	border: none;
}

.modules-explorer-stat-value {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--mx-title) !important;
	line-height: 1.2;
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}

.modules-explorer-stat-label {
	display: block;
	font-size: 0.72rem;
	line-height: 1.35;
	color: var(--mx-muted) !important;
	font-weight: 500;
}

.modules-explorer-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
	margin-bottom: 14px;
}

.modules-explorer-block-label {
	margin: 0 0 8px;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8 !important;
}

.modules-explorer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.modules-explorer-tag {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	background: var(--mx-soft);
	color: var(--mx-deep) !important;
	border: none;
}

.modules-explorer-tag--muted {
	background: #fff;
	color: #475569 !important;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.modules-explorer-benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.modules-explorer-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--mx-text) !important;
	font-weight: 500;
}

.modules-explorer-benefits li::before {
	content: '';
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--mx-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.modules-explorer-ideal {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.modules-explorer-ideal li {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--mx-soft);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--mx-ink) !important;
	font-weight: 500;
	border: none;
	min-height: 0;
}

.modules-explorer-ideal li::before {
	content: '';
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mx-mid);
	box-shadow: 0 0 0 3px rgba(22, 128, 251, 0.18);
}

.modules-explorer-ideal-text {
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
}

.modules-explorer-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: auto;
	padding: 12px 14px;
	background: var(--mx-soft-2);
	border-radius: 12px;
	border: none;
}

.modules-explorer-meta-label {
	display: block;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8 !important;
	margin-bottom: 3px;
}

.modules-explorer-meta-value {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--mx-ink) !important;
	line-height: 1.3;
}

.modules-explorer-cta {
	margin-top: 12px;
}

.modules-explorer-cta a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--mx-mid) !important;
	text-decoration: none;
}

.modules-explorer-cta a:hover {
	color: var(--mx-deep) !important;
	text-decoration: underline;
}

.modules-explorer-span-2 {
	grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
	.modules-explorer-shell {
		grid-template-columns: 1fr;
	}

	.modules-explorer-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px;
		padding: 14px;
	}

	.modules-explorer-panel {
		margin: 0 14px 14px;
		padding: 24px 18px 18px;
	}

	.modules-explorer-stats,
	.modules-explorer-meta {
		grid-template-columns: 1fr;
	}

	.modules-explorer-body {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 575.98px) {
	.modules-explorer-nav {
		grid-template-columns: 1fr;
	}

	.modules-explorer-tab {
		font-size: 0.8125rem;
		padding: 10px 14px;
	}
}
