/* ai-readability-checker.css
   Styling for the AI Readability Checker tool. Mirrors keyword-research
   patterns (hero, methodology card, form, upsell) + adds per-check card
   layout borrowed from the SEO audit. All shapes square, dark theme. */

.arc-hero { padding-bottom: 50px !important; border-bottom: 0 !important; }
.arc-tool-section { padding-top: 50px !important; border-bottom: 0 !important; }
.arc-intro-section { border-bottom: 0 !important; }
@media (max-width: 991px) {
	.arc-hero { padding-bottom: 30px !important; }
	.arc-tool-section { padding-top: 30px !important; }
}

/* ---------- Explainer + methodology section ---------- */
.arc-intro-section { padding-top: 50px !important; padding-bottom: 50px !important; }
.arc-intro-prose {
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 300;
	margin: 0 0 16px;
}
.arc-intro-prose:last-child { margin-bottom: 0; }

@media (min-width: 992px) {
	.arc-intro-section .col-md-7 {
		position: sticky;
		top: 140px;
		align-self: start;
	}
}

.arc-intro-methodology {
	padding: 28px 28px 24px;
	background: linear-gradient(160deg, #101319 0%, #06070a 100%);
	border: 1px solid rgba(0, 180, 255, 0.2);
	border-top: 3px solid #00B4FF;
	margin-top: 20px;
}
.arc-intro-method-head {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.arc-intro-method-sub {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
}
.arc-intro-method-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.arc-intro-method-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.4;
}
.arc-intro-method-list em {
	color: #00B4FF;
	font-style: normal;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	font-family: Menlo, Consolas, monospace;
	text-transform: uppercase;
}
@media (max-width: 991px) {
	.arc-intro-methodology { margin-top: 32px; }
}

/* ---------- Form ---------- */
.arc-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	background: linear-gradient(160deg, #101319 0%, #06070a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 36px 32px 32px;
	margin-top: 40px;
}
.arc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 32px;
}
.arc-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.arc-col .arc-submit-row { margin-top: auto; }
.arc-field-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.arc-field-row label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}
.arc-form input[type="text"],
.arc-form input[type="email"],
.arc-form input[type="url"] {
	appearance: none;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	padding: 0 16px;
	height: 52px;
	width: 100%;
	box-sizing: border-box;
}
.arc-form input:focus { outline: none; border-color: #00B4FF; }

.arc-hidden { display: none !important; }

.arc-submit-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 4px;
	justify-content: flex-end;
}
#arc-submit { height: 52px; white-space: nowrap; }
.arc-usage {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 700;
}
.arc-error {
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 1px solid rgba(239, 68, 68, 0.5);
	background: rgba(239, 68, 68, 0.08);
	color: #ff8787;
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Results ---------- */
.arc-results { display: block; margin-top: 40px; }

.arc-card {
	position: relative;
	background: linear-gradient(160deg, #141821 0%, #06070a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 3px solid #00B4FF;
	padding: 28px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Head: URL + score dial */
.arc-head {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.arc-head-info { min-width: 0; }
.arc-head-url {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 8px;
}
.arc-head-url a {
	color: #00B4FF;
	text-decoration: none;
	word-break: break-all;
	letter-spacing: 0;
	text-transform: none;
	font-size: 13px;
	font-weight: 400;
	font-family: Menlo, Consolas, monospace;
	display: block;
	margin-top: 4px;
}
.arc-head-url a:hover { color: #ffffff; }
.arc-head-verdict {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	letter-spacing: -0.01em;
}
.arc-score-dial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.arc-score-num {
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	letter-spacing: -0.04em;
	text-shadow: 0 0 32px rgba(0, 180, 255, 0.3);
}
.arc-score-num.is-excellent { color: #4ade80; text-shadow: 0 0 32px rgba(74, 222, 128, 0.3); }
.arc-score-num.is-strong    { color: #00B4FF; text-shadow: 0 0 32px rgba(0, 180, 255, 0.3); }
.arc-score-num.is-moderate  { color: #f4b942; text-shadow: 0 0 32px rgba(244, 185, 66, 0.3); }
.arc-score-num.is-weak      { color: #fb923c; text-shadow: 0 0 32px rgba(251, 146, 60, 0.3); }
.arc-score-num.is-poor      { color: #ff6b6b; text-shadow: 0 0 32px rgba(255, 107, 107, 0.3); }
.arc-score-label {
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
}

/* Summary + primary fix */
.arc-summary {
	border-left: 3px solid #00B4FF;
	padding: 16px 20px;
	background: rgba(0, 180, 255, 0.06);
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.65;
	font-weight: 300;
}
.arc-summary-head {
	color: #00B4FF;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 10px;
}
.arc-primary-fix {
	border-left: 3px solid #4ade80;
	padding: 16px 20px;
	background: rgba(74, 222, 128, 0.06);
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.65;
	font-weight: 300;
}
.arc-primary-fix-head {
	color: #4ade80;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 10px;
}

/* Check rows */
.arc-checks { display: flex; flex-direction: column; gap: 10px; }
.arc-check {
	padding: 18px 20px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left-width: 3px;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr;
	gap: 14px 24px;
	align-items: start;
}
.arc-check.is-pass { border-left-color: #4ade80; }
.arc-check.is-warn { border-left-color: #f4b942; }
.arc-check.is-fail { border-left-color: #ff6b6b; }

.arc-check-head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	grid-column: 1 / 2;
	padding-right: 28px;
}
.arc-check-name {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}
.arc-check-chip {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 11px 14px;
	display: inline-flex;
	align-items: center;
	line-height: 1;
	white-space: nowrap;
}
.arc-check-chip.is-pass { color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.06); }
.arc-check-chip.is-warn { color: #f4b942; border: 1px solid rgba(244, 185, 66, 0.4); background: rgba(244, 185, 66, 0.06); }
.arc-check-chip.is-fail { color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.06); }

.arc-check-chip-cell {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	justify-self: end;
	align-self: center;
}
.arc-check-chip-cell .arc-check-chip {
	display: inline-flex;
	justify-content: center;
	width: 110px;
	box-sizing: border-box;
}
.arc-check-score-cell {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	justify-self: end;
	align-self: center;
	text-align: right;
}
.arc-check-score-num {
	display: inline-block;
	color: rgba(255, 255, 255, 0.45);
	font-size: 24px;
	font-weight: 700;
	font-family: Menlo, Consolas, monospace;
	letter-spacing: -0.02em;
	line-height: 1;
}
.arc-check-score-num strong { color: #ffffff; font-weight: 700; }
.arc-check-score-num {
	color: rgba(255, 255, 255, 0.45);
	font-size: 24px;
	font-weight: 700;
	font-family: Menlo, Consolas, monospace;
	letter-spacing: -0.02em;
	line-height: 1;
}
.arc-check-score-num strong {
	color: #ffffff;
	font-weight: 700;
}

.arc-check-body { grid-column: 1 / 2; padding-right: 28px; }
.arc-check-finding {
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 22px;
	font-weight: 300;
}
.arc-check-fix {
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
	font-weight: 400;
}
.arc-check-fix strong {
	color: #00B4FF;
	font-weight: 700;
	letter-spacing: 0.08em;
	font-size: 11px;
	text-transform: uppercase;
	margin-right: 6px;
}

/* ---------- Email gate (shown when score < 90) ---------- */
.arc-gate {
	margin-top: 10px;
	padding: 28px 26px 26px;
	background: linear-gradient(160deg, #0a1a24 0%, #06070a 100%);
	border: 1px dashed rgba(0, 180, 255, 0.35);
}
.arc-gate-head {
	color: #00B4FF;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 6px;
}
.arc-gate-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
}
.arc-gate-sub {
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 18px;
	font-weight: 300;
}
.arc-gate-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: stretch;
}
.arc-gate-form input[type="email"] {
	appearance: none;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	padding: 0 16px;
	height: 52px;
	box-sizing: border-box;
}
.arc-gate-form input[type="email"]:focus { outline: none; border-color: #00B4FF; }
.arc-gate-form button { height: 52px; white-space: nowrap; }
.arc-gate-locked-list {
	margin: 20px 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.arc-gate-locked-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.015);
	color: rgba(255, 255, 255, 0.4);
	font-size: 14px;
}
.arc-gate-locked-row .arc-check-chip {
	filter: grayscale(60%) blur(0.3px);
	opacity: 0.6;
}
.arc-gate-locked-name {
	flex: 1;
	filter: blur(4px);
	user-select: none;
	letter-spacing: 0.02em;
}

/* ---------- Actions ---------- */
.arc-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
	justify-content: flex-end;
}
.arc-action-btn {
	appearance: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.75);
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0 20px;
	height: 48px;
	min-width: 180px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
	white-space: nowrap;
	text-align: center;
}
.arc-action-btn:hover,
.arc-action-btn:focus {
	background: #00B4FF;
	color: #ffffff;
	border-color: #00B4FF;
	outline: none;
}

/* ---------- Upsell ---------- */
.arc-upsell {
	margin-top: 50px;
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 3fr;
	gap: 48px;
	align-items: center;
	padding: 60px 56px;
	background: linear-gradient(135deg, #0a1a24 0%, #060a0f 60%, #0a0a0a 100%);
	border: 1px solid rgba(0, 180, 255, 0.25);
	border-top: 3px solid #00B4FF;
	box-shadow: 0 24px 48px -20px rgba(0, 180, 255, 0.15), 0 20px 40px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.arc-upsell-score { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.arc-upsell-score-number { display: flex; align-items: baseline; justify-content: center; line-height: 1; }
.arc-upsell-score-num {
	color: #fff;
	font-size: 128px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-shadow: 0 0 32px rgba(0, 180, 255, 0.4);
}
.arc-upsell-score-label { color: rgba(255, 255, 255, 0.55); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.arc-upsell-body { display: flex; flex-direction: column; gap: 14px; }
.arc-upsell-headline { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.arc-upsell-copy { color: rgba(255, 255, 255, 0.78); font-size: 20px; line-height: 1.55; font-weight: 300; margin: 0; }
.arc-upsell-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; justify-content: flex-end; }
.arc-upsell-ctas .btn-mm,
.arc-upsell-ctas .btn-mm-ghost { height: 52px; display: inline-flex; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.arc-grid { grid-template-columns: 1fr; gap: 16px; }
	.arc-head { grid-template-columns: 1fr; gap: 18px; }
	.arc-score-dial { align-items: flex-start; }
	.arc-check-head,
	.arc-check-body { padding-right: 0; }
	.arc-check-score-num { font-size: 20px; }
	.arc-check {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto;
	}
	.arc-check-head { grid-column: 1 / 3; grid-row: 1 / 2; }
	.arc-check-chip-cell { grid-column: 1 / 2; grid-row: 2 / 3; justify-self: start; align-self: center; }
	.arc-check-score-cell { grid-column: 2 / 3; grid-row: 2 / 3; justify-self: end; align-self: center; text-align: right; }
	.arc-check-body { grid-column: 1 / 3; grid-row: 3 / 4; }
	.arc-upsell { grid-template-columns: 1fr; gap: 24px; padding: 40px 28px; }
	.arc-upsell-score-num { font-size: 96px; }
	.arc-upsell-ctas { justify-content: stretch; }
	.arc-upsell-ctas .btn-mm,
	.arc-upsell-ctas .btn-mm-ghost { flex: 1; }
}
@media (max-width: 575px) {
	.arc-form { padding: 28px 22px 24px; }
	.arc-gate-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.arc-upsell-ctas,
	.arc-submit-row,
	.arc-actions {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
		width: 100% !important;
		justify-content: flex-start !important;
	}
	.arc-upsell-ctas .btn-mm,
	.arc-upsell-ctas .btn-mm-ghost,
	.arc-upsell-ctas .btn-mm-large,
	.arc-actions .arc-action-btn,
	#arc-submit {
		width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 auto !important;
		white-space: nowrap !important;
		text-align: center !important;
		justify-content: center !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		font-size: 12.5px !important;
		letter-spacing: 0.08em !important;
	}
	.arc-usage { text-align: center; }
}
