.mch-wrap {
	--mch-primary: #7c3aed;
	--mch-primary-dark: #6d28d9;
	--mch-primary-light: #a78bfa;
	--mch-gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
	--mch-bg: #ffffff;
	--mch-bg-soft: #f8f7fc;
	--mch-border: #e5e1f5;
	--mch-text: #1e1b2e;
	--mch-text-muted: #6b6580;
	--mch-radius: 16px;
	max-width: 1120px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--mch-text);
	line-height: 1.55;
	padding: 0 20px;
}

.mch-wrap * { box-sizing: border-box; }

/* ---------- HERO ---------- */
.mch-hero {
	background: var(--mch-gradient);
	border-radius: var(--mch-radius);
	margin: 24px 0 48px;
	padding: 64px 24px;
	text-align: center;
}
.mch-hero-inner { max-width: 640px; margin: 0 auto; }
.mch-hero-title {
	color: #fff;
	font-size: 2.4rem;
	font-weight: 800;
	margin: 0 0 14px;
	line-height: 1.2;
}
.mch-hero-sub {
	color: rgba(255,255,255,0.9);
	font-size: 1.05rem;
	margin: 0 0 28px;
}
.mch-hero-ctas {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.mch-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.mch-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.mch-btn-primary {
	background: #fff;
	color: var(--mch-primary-dark);
}
.mch-btn-secondary {
	background: rgba(255,255,255,0.14);
	color: #fff;
	border: 1.5px solid rgba(255,255,255,0.5);
}

/* ---------- SECTIONS ---------- */
.mch-section { padding: 48px 0; }
.mch-section-soft {
	background: var(--mch-bg-soft);
	border-radius: var(--mch-radius);
	padding: 48px 32px;
}
.mch-section-title {
	font-size: 1.7rem;
	font-weight: 800;
	margin: 0 0 8px;
	text-align: center;
}
.mch-section-sub {
	color: var(--mch-text-muted);
	text-align: center;
	margin: 0 0 32px;
	font-size: 1rem;
}

/* ---------- TOOL GRID ---------- */
.mch-tool-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 640px) {
	.mch-tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.mch-tool-grid { grid-template-columns: repeat(3, 1fr); }
}
.mch-tool-card {
	display: block;
	background: var(--mch-bg);
	border: 1px solid var(--mch-border);
	border-radius: var(--mch-radius);
	padding: 24px;
	text-decoration: none;
	color: var(--mch-text);
	position: relative;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mch-tool-card:hover {
	box-shadow: 0 8px 24px rgba(124,58,237,0.12);
	transform: translateY(-2px);
}
.mch-tool-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.mch-tool-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #ede9fe;
	color: var(--mch-primary-dark);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 9px;
	border-radius: 999px;
}
.mch-tool-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.mch-tool-card p { font-size: 0.9rem; color: var(--mch-text-muted); margin: 0 0 14px; }
.mch-tool-link { font-size: 0.88rem; font-weight: 700; color: var(--mch-primary); }

.mch-tool-card-placeholder {
	border-style: dashed;
	background: var(--mch-bg-soft);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ---------- CATEGORY GRID ---------- */
.mch-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}
@media (min-width: 640px) {
	.mch-category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.mch-category-grid { grid-template-columns: repeat(4, 1fr); }
}
.mch-category-card {
	background: var(--mch-bg);
	border: 1px solid var(--mch-border);
	border-radius: var(--mch-radius);
	padding: 22px;
}
.mch-category-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.mch-category-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.mch-category-card p { font-size: 0.85rem; color: var(--mch-text-muted); margin: 0 0 16px; min-height: 40px; }
.mch-category-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--mch-border);
	padding-top: 12px;
	font-size: 0.82rem;
}
.mch-category-count { color: var(--mch-text-muted); }
.mch-category-explore { color: var(--mch-primary); font-weight: 700; text-decoration: none; }

/* ---------- TRUST BADGES ---------- */
.mch-badge-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 32px;
}
@media (min-width: 640px) {
	.mch-badge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.mch-badge-grid { grid-template-columns: repeat(4, 1fr); }
}
.mch-badge {
	text-align: center;
	background: var(--mch-bg);
	border: 1px solid var(--mch-border);
	border-radius: var(--mch-radius);
	padding: 24px 16px;
}
.mch-badge-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.mch-badge h4 { font-size: 0.98rem; margin: 0 0 6px; }
.mch-badge p { font-size: 0.85rem; color: var(--mch-text-muted); margin: 0; }
.mch-badge-cta { display: block; width: fit-content; margin: 0 auto; }

/* ---------- HOW IT WORKS ---------- */
.mch-how-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 24px;
}
@media (min-width: 760px) {
	.mch-how-grid { grid-template-columns: repeat(2, 1fr); }
}
.mch-how-item {
	background: var(--mch-bg-soft);
	border-radius: 12px;
	padding: 20px;
}
.mch-how-item h4 { margin: 0 0 8px; font-size: 1rem; }
.mch-how-item p { margin: 0; font-size: 0.9rem; color: var(--mch-text-muted); }

.mch-important-note {
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 0.88rem;
	color: #78350f;
}

/* ---------- FAQ ---------- */
.mch-faq-list { max-width: 760px; margin: 0 auto; }
.mch-faq-item {
	border-bottom: 1px solid var(--mch-border);
}
.mch-faq-question {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	font-size: 1rem;
	font-weight: 700;
	padding: 18px 4px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--mch-text);
	font-family: inherit;
}
.mch-faq-caret {
	color: var(--mch-primary);
	font-size: 1.3rem;
	font-weight: 400;
	transition: transform 0.2s ease;
	flex-shrink: 0;
	margin-left: 12px;
}
.mch-faq-item.mch-faq-open .mch-faq-caret { transform: rotate(45deg); }
.mch-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}
.mch-faq-item.mch-faq-open .mch-faq-answer { max-height: 260px; }
.mch-faq-answer p {
	margin: 0 4px 18px;
	font-size: 0.92rem;
	color: var(--mch-text-muted);
}

/* ---------- FINAL CTA ---------- */
.mch-final-cta {
	text-align: center;
	background: var(--mch-bg-soft);
	border-radius: var(--mch-radius);
	padding: 48px 24px;
}
.mch-final-cta h2 { font-size: 1.6rem; margin: 0 0 10px; }
.mch-final-cta p { color: var(--mch-text-muted); margin: 0 0 24px; }

/* ---------- FOOTER CONTENT BLOCK ---------- */
.mch-footer-block {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding: 40px 0 24px;
	border-top: 1px solid var(--mch-border);
	margin-top: 24px;
}
@media (min-width: 640px) {
	.mch-footer-block { grid-template-columns: repeat(2, 1fr); }
}
.mch-footer-col h4 { font-size: 0.95rem; margin: 0 0 12px; }
.mch-footer-col ul { list-style: none; margin: 0; padding: 0; }
.mch-footer-col li { margin-bottom: 8px; }
.mch-footer-col a {
	color: var(--mch-text-muted);
	text-decoration: none;
	font-size: 0.88rem;
}
.mch-footer-col a:hover { color: var(--mch-primary); }

/* ---------- CATEGORY PAGE ---------- */
.mch-breadcrumb {
	font-size: 0.85rem;
	color: var(--mch-text-muted);
	margin: 20px 0 8px;
}
.mch-breadcrumb a { color: var(--mch-text-muted); text-decoration: none; }
.mch-breadcrumb a:hover { color: var(--mch-primary); }
.mch-breadcrumb span { margin: 0 6px; }
.mch-breadcrumb span:last-child { color: var(--mch-text); font-weight: 600; }

.mch-category-header {
	text-align: center;
	padding: 32px 0 40px;
}
.mch-category-header-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.mch-category-header h1 { font-size: 1.9rem; font-weight: 800; margin: 0 0 10px; }
.mch-category-header p { color: var(--mch-text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

.mch-category-tool-grid { margin-bottom: 48px; }

.mch-category-empty {
	text-align: center;
	background: var(--mch-bg-soft);
	border: 1px dashed var(--mch-border);
	border-radius: var(--mch-radius);
	padding: 48px 24px;
	margin-bottom: 48px;
}
.mch-category-empty-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.mch-category-empty h3 { margin: 0 0 8px; font-size: 1.15rem; }
.mch-category-empty p { color: var(--mch-text-muted); margin: 0; max-width: 420px; margin: 0 auto; }

.mch-other-categories { padding-top: 0; }

/* ---------- DARK MODE ---------- */
@media (prefers-color-scheme: dark) {
	.mch-wrap:not([data-theme="light"]) {
		--mch-bg: #17141f;
		--mch-bg-soft: #0f0d16;
		--mch-border: #2e2840;
		--mch-text: #f3f1fa;
		--mch-text-muted: #a79fc2;
	}
	.mch-wrap:not([data-theme="light"]) .mch-tool-badge { background: #2e2840; }
}
.mch-wrap[data-theme="dark"] {
	--mch-bg: #17141f;
	--mch-bg-soft: #0f0d16;
	--mch-border: #2e2840;
	--mch-text: #f3f1fa;
	--mch-text-muted: #a79fc2;
}
