/* Smart Categories — Upgrade landing page. Self-contained, no external assets. */
.scwc-lp { max-width: 1000px; }
.scwc-lp * { box-sizing: border-box; }
.scwc-lp h1, .scwc-lp h2 { color: inherit; }

/* Belt-and-braces: PHP already unhooks admin_notices on this screen; anything a
   plugin echoes outside those hooks (WP relocates it after our first heading)
   is hidden here so nothing ever leaks into the hero. */
.scwc-lp .notice, .scwc-lp .updated, .scwc-lp .update-nag, .scwc-lp .error,
.scwc-lp .notice-success, .scwc-lp .notice-error, .scwc-lp .notice-warning, .scwc-lp .notice-info { display: none !important; }

.scwc-lp-cta {
	display: inline-block;
	background: #7f54b3;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	padding: 11px 26px;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba( 127, 84, 179, 0.35 );
	transition: transform 0.12s ease, background 0.12s ease;
}
.scwc-lp-cta:hover { transform: translateY( -1px ); background: #6b4499; color: #fff; }
.scwc-lp-cta.is-block { display: block; text-align: center; padding: 10px; }
.scwc-lp-cta.is-light { background: #fff; color: #5b2d8f; box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.18 ); }
.scwc-lp-cta.is-light:hover { color: #4a2378; }

.scwc-lp-h2 { font-size: 20px; margin: 0 0 18px; text-align: center; }

/* ---- Hero ---- */
.scwc-lp-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	justify-content: space-between;
	margin: 16px 0 8px;
	padding: 36px 34px;
	border-radius: 16px;
	color: #fff;
	background:
		radial-gradient( 120% 150% at 100% 0%, rgba( 255, 255, 255, 0.18 ), rgba( 255, 255, 255, 0 ) 55% ),
		linear-gradient( 135deg, #7f54b3, #5b2d8f );
	box-shadow: 0 18px 44px rgba( 91, 45, 143, 0.34 );
}
.scwc-lp-hero-copy { flex: 1 1 440px; }
.scwc-lp-pill {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
	text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
	background: rgba( 255, 255, 255, 0.2 ); margin-bottom: 14px;
}
.scwc-lp-hero h1 { color: #fff; font-size: 30px; line-height: 1.18; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
.scwc-lp-lede { color: rgba( 255, 255, 255, 0.94 ); font-size: 15px; line-height: 1.55; max-width: 540px; margin: 0 0 20px; }
.scwc-lp-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.scwc-lp-cta-note { font-size: 12px; color: rgba( 255, 255, 255, 0.85 ); }

.scwc-lp-hero-visual {
	flex: 0 0 288px; background: rgba( 255, 255, 255, 0.12 );
	border: 1px solid rgba( 255, 255, 255, 0.22 ); border-radius: 14px; padding: 18px;
}
.scwc-lp-node {
	display: block; font-size: 12.5px; background: rgba( 255, 255, 255, 0.14 );
	border-radius: 7px; padding: 7px 11px; margin-bottom: 8px;
}
.scwc-lp-node b { float: right; opacity: 0.8; }
.scwc-lp-parent { font-weight: 700; font-size: 14px; background: rgba( 255, 255, 255, 0.22 ); }
.scwc-lp-fan { padding-left: 14px; position: relative; }
.scwc-lp-fan::before {
	content: ""; position: absolute; left: 4px; top: -4px; bottom: 26px; width: 2px;
	background: rgba( 255, 255, 255, 0.3 );
}
.scwc-lp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.scwc-lp-dot.is-r { background: #ff6b6b; }
.scwc-lp-dot.is-b { background: #2f2f37; }
.scwc-lp-dot.is-k { background: #d9c9a3; }
.scwc-lp-fan .is-ghost { opacity: 0.72; font-style: italic; border: 1px dashed rgba( 255, 255, 255, 0.4 ); background: transparent; margin-bottom: 0; }

/* ---- SEO engine ---- */
.scwc-lp-seo {
	display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
	margin: 34px 0; padding: 30px 32px; border-radius: 14px;
	background: #faf7ff; border: 1px solid #ece5f8;
}
.scwc-lp-seo-copy { flex: 1 1 460px; }
.scwc-lp-kicker {
	display: inline-flex; align-items: center; gap: 7px; color: #7f54b3;
	font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.scwc-lp-kicker svg { width: 15px; height: 15px; }
.scwc-lp-seo h2 { font-size: 23px; line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.scwc-lp-seo p { font-size: 14px; line-height: 1.6; color: #4a4458; margin: 0 0 12px; max-width: 560px; }
.scwc-lp-ticks { list-style: none; margin: 16px 0 0; padding: 0; }
.scwc-lp-ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: #3c3450; margin-bottom: 9px; }
.scwc-lp-ticks svg { width: 18px; height: 18px; color: #1a7f37; flex: 0 0 auto; margin-top: 1px; }

.scwc-lp-seo-visual { flex: 0 0 300px; text-align: center; }
.scwc-lp-rulebar {
	display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px; color: #5b2d8f; background: #fff; border: 1px solid #e0d6f2;
	padding: 8px 14px; border-radius: 8px;
}
.scwc-lp-arrow { color: #7f54b3; font-size: 20px; margin: 4px 0; }
.scwc-lp-pagegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scwc-lp-pagegrid span {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px;
	color: #4a4458; background: #fff; border: 1px solid #eee6fb; border-radius: 6px; padding: 6px 8px;
}
.scwc-lp-pagegrid-note { font-size: 11.5px; color: #8a83a0; margin-top: 8px; }

/* ---- Real math band ---- */
.scwc-lp-math {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px;
	margin: 30px 0; padding: 22px 24px; border-radius: 14px;
	background: #1d1526; color: #fff;
}
.scwc-lp-math-item { text-align: center; min-width: 130px; }
.scwc-lp-math-item b { display: block; font-size: 30px; font-weight: 800; color: #cdb4f2; line-height: 1.1; }
.scwc-lp-math-item span { display: block; font-size: 11.5px; color: rgba( 255, 255, 255, 0.75 ); max-width: 170px; margin: 4px auto 0; line-height: 1.4; }
.scwc-lp-math-sep { font-size: 22px; color: #7f54b3; font-weight: 700; }

/* ---- Template composer mockup ---- */
.scwc-lp-composer {
	display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
	margin: 36px 0; padding: 30px 32px; border-radius: 14px;
	background: #faf7ff; border: 1px solid #ece5f8;
}
.scwc-lp-composer-copy { flex: 1 1 380px; }
.scwc-lp-composer-copy h2 { font-size: 21px; margin: 0 0 10px; font-weight: 800; }
.scwc-lp-composer-copy p { font-size: 14px; line-height: 1.6; color: #4a4458; margin: 0 0 14px; }
.scwc-lp-composer .scwc-lp-ticks svg { color: #7f54b3; }

.scwc-lp-mock {
	flex: 1 1 360px; max-width: 430px; background: #fff; border: 1px solid #e0d6f2;
	border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgba( 91, 45, 143, 0.12 );
}
.scwc-lp-mock-bar {
	display: flex; align-items: center; gap: 6px; padding: 9px 12px;
	background: #f4f0fb; border-bottom: 1px solid #e6ddf5;
}
.scwc-lp-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9cff0; }
.scwc-lp-mock-bar span { margin-left: 8px; font-size: 11.5px; font-weight: 700; color: #5b2d8f; }
.scwc-lp-mock-body { padding: 16px; }
.scwc-lp-mock-row { display: flex; gap: 10px; margin-bottom: 10px; }
.scwc-lp-mock-field {
	flex: 1; border: 1px solid #e4dcf3; border-radius: 8px; padding: 7px 10px;
	font-size: 12.5px; color: #3c3450; background: #fdfcff;
}
.scwc-lp-mock-field em { display: block; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: #8a83a0; margin-bottom: 2px; }
.scwc-lp-mock-field code { background: rgba( 127, 84, 179, 0.08 ); border-radius: 4px; padding: 1px 6px; font-size: 12px; color: #5b2d8f; }
.scwc-lp-mock-example { font-size: 12px; color: #50575e; margin: 4px 0 14px; }
.scwc-lp-mock-example b { color: #5b2d8f; }
.scwc-lp-mock-btn {
	display: inline-block; background: #7f54b3; color: #fff; font-size: 12.5px; font-weight: 700;
	padding: 8px 20px; border-radius: 7px;
}

/* ---- Use cases ---- */
.scwc-lp-uses { margin: 38px 0; }
.scwc-lp-userow { display: grid; grid-template-columns: repeat( 4, 1fr ); gap: 14px; }
.scwc-lp-use { background: #fff; border: 1px solid #e9e9ee; border-radius: 12px; padding: 18px; text-align: center; }
.scwc-lp-use .scwc-lp-fico { margin: 0 auto 10px; }
.scwc-lp-use strong { display: block; font-size: 13.5px; margin-bottom: 4px; color: #1d2327; }
.scwc-lp-use p { margin: 0; font-size: 12px; color: #50575e; line-height: 1.5; }

/* ---- Steps ---- */
.scwc-lp-steps { margin: 36px 0; }
.scwc-lp-steprow { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 16px; }
.scwc-lp-step {
	background: #fff; border: 1px solid #e9e9ee; border-radius: 12px; padding: 20px;
}
.scwc-lp-num {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
	border-radius: 50%; background: rgba( 127, 84, 179, 0.12 ); color: #5b2d8f; font-weight: 800; margin-bottom: 10px;
}
.scwc-lp-step strong { display: block; font-size: 14px; margin-bottom: 4px; }
.scwc-lp-step p { margin: 0; font-size: 13px; color: #50575e; line-height: 1.5; }

/* ---- Feature cards ---- */
.scwc-lp-features { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 14px; margin: 36px 0; }
.scwc-lp-fcard { background: #fff; border: 1px solid #e9e9ee; border-radius: 12px; padding: 18px; }
.scwc-lp-fico {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 10px; color: #7f54b3; background: rgba( 127, 84, 179, 0.1 ); margin-bottom: 12px;
}
.scwc-lp-fcard strong { display: block; font-size: 14px; margin-bottom: 5px; color: #1d2327; }
.scwc-lp-fcard p { margin: 0; font-size: 13px; color: #50575e; line-height: 1.5; }

/* ---- Comparison ---- */
.scwc-lp-compare { margin: 40px 0; }
.scwc-lp-table {
	width: 100%; border-collapse: collapse; background: #fff;
	border: 1px solid #e6e3ef; border-radius: 10px; overflow: hidden;
}
.scwc-lp-table th, .scwc-lp-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #f0eef6; font-size: 13px; }
.scwc-lp-table thead th { background: #faf7ff; color: #3c3450; font-weight: 700; }
.scwc-lp-table th:nth-child(2), .scwc-lp-table th:nth-child(3),
.scwc-lp-table td:nth-child(2), .scwc-lp-table td:nth-child(3) { text-align: center; width: 90px; }
.scwc-lp-table td.is-on { color: #1a7f37; font-weight: 700; }
.scwc-lp-table td.is-off { color: #c3c4c7; }
.scwc-lp-table tbody tr:last-child td { border-bottom: 0; }
.scwc-lp-tgroup th {
	background: #f4f0fb; color: #5b2d8f; font-size: 11.5px; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 14px;
	border-bottom: 1px solid #e6ddf5; text-align: left;
}

/* ---- Pricing ---- */
.scwc-lp-pricing { margin: 44px 0; }
.scwc-lp-tiers { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 16px; align-items: stretch; }
.scwc-lp-tier {
	position: relative; background: #fff; border: 1px solid #e6e3ef; border-radius: 14px;
	padding: 24px 20px; text-align: center;
}
.scwc-lp-tier.is-popular { border-color: #7f54b3; box-shadow: 0 10px 26px rgba( 127, 84, 179, 0.18 ); transform: translateY( -4px ); }
.scwc-lp-badge {
	position: absolute; top: -11px; left: 50%; transform: translateX( -50% );
	background: linear-gradient( 135deg, #7f54b3, #5b2d8f ); color: #fff; font-size: 10.5px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.scwc-lp-tier-name { font-weight: 700; font-size: 14px; color: #5b2d8f; }
.scwc-lp-price { font-size: 34px; font-weight: 800; color: #1d2327; margin: 8px 0 2px; }
.scwc-lp-price span { font-size: 13px; font-weight: 500; color: #8a83a0; }
.scwc-lp-tier-sites { font-size: 13px; color: #50575e; margin-bottom: 12px; }
.scwc-lp-tier-list { list-style: none; margin: 0 0 16px; padding: 10px 0 0; border-top: 1px dashed #e6ddf5; }
.scwc-lp-tier-list li { font-size: 12px; color: #50575e; padding: 3px 0; }
.scwc-lp-tier-list li::before { content: "✓"; color: #1a7f37; font-weight: 700; margin-right: 7px; }
.scwc-lp-guarantee { text-align: center; font-size: 12.5px; color: #757575; margin-top: 18px; }

/* ---- FAQ ---- */
.scwc-lp-faq { margin: 40px 0; }
.scwc-lp-q { max-width: 720px; margin: 0 auto 16px; }
.scwc-lp-q strong { display: block; font-size: 14px; color: #1d2327; margin-bottom: 4px; }
.scwc-lp-q p { margin: 0; font-size: 13px; color: #50575e; line-height: 1.55; }

/* ---- Closing band ---- */
.scwc-lp-band {
	text-align: center; margin: 40px 0 12px; padding: 36px 24px; border-radius: 16px; color: #fff;
	background: linear-gradient( 135deg, #7f54b3, #5b2d8f );
}
.scwc-lp-band h2 { color: #fff; font-size: 22px; margin: 0 0 18px; font-weight: 800; }

/* ---- Menu highlight ---- */
.scwc-upgrade-menu { color: #f0c33c; font-weight: 600; }

/* ---- Responsive ---- */
@media ( max-width: 900px ) {
	.scwc-lp-steprow, .scwc-lp-features, .scwc-lp-tiers { grid-template-columns: 1fr 1fr; }
	.scwc-lp-userow { grid-template-columns: 1fr 1fr; }
	.scwc-lp-tier.is-popular { transform: none; }
}
@media ( max-width: 600px ) {
	.scwc-lp-steprow, .scwc-lp-features, .scwc-lp-tiers, .scwc-lp-pagegrid, .scwc-lp-userow { grid-template-columns: 1fr; }
	.scwc-lp-hero { padding: 26px 22px; }
	.scwc-lp-hero h1 { font-size: 24px; }
	.scwc-lp-math-sep { display: none; }
}

/* ---- Motion ---- */
@media ( prefers-reduced-motion: reduce ) {
	.scwc-lp-cta, .scwc-lp-tier.is-popular { transition: none; transform: none; }
}

/* ---- Dark theme ---- */
@media ( prefers-color-scheme: dark ) {
	.scwc-lp-seo, .scwc-lp-composer { background: #211c2b; border-color: #352c46; }
	.scwc-lp-seo p, .scwc-lp-composer-copy p { color: #cfc9dd; }
	.scwc-lp-ticks li, .scwc-lp-q p, .scwc-lp-step p, .scwc-lp-fcard p, .scwc-lp-tier-sites, .scwc-lp-use p, .scwc-lp-tier-list li, .scwc-lp-mock-example { color: #b9b3c8; }
	.scwc-lp-rulebar, .scwc-lp-pagegrid span { background: #1a1622; border-color: #3a3150; color: #d8cff0; }
	.scwc-lp-step, .scwc-lp-fcard, .scwc-lp-tier, .scwc-lp-table, .scwc-lp-use { background: #1e1e28; border-color: #34343f; }
	.scwc-lp-table thead th { background: #26212f; color: #d8d2e6; }
	.scwc-lp-table th, .scwc-lp-table td { border-color: #2e2e38; }
	.scwc-lp-tgroup th { background: #2a2338; color: #cdb4f2; border-color: #3a3150; }
	.scwc-lp-fcard strong, .scwc-lp-q strong, .scwc-lp-price, .scwc-lp-use strong { color: #ece9f5; }
	.scwc-lp-mock { background: #1e1e28; border-color: #3a3150; }
	.scwc-lp-mock-bar { background: #26212f; border-color: #3a3150; }
	.scwc-lp-mock-field { background: #1a1622; border-color: #3a3150; color: #cfc9dd; }
	.scwc-lp-tier-list { border-color: #3a3150; }
}
