/* robots-sitemap-analyzer.css
   Styling for the Robots.txt + Sitemap Analyzer. Mirrors the ARC pattern
   (hero + methodology card + form + per-check cards). Dark theme, square. */

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

.rsa-intro-prose {
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 300;
	margin: 0 0 16px;
}
.rsa-intro-prose:last-child { margin-bottom: 0; }

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

.rsa-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;
}
.rsa-intro-method-head { margin: 0 0 6px; color: #ffffff; font-size: 18px; font-weight: 700; line-height: 1.3; }
.rsa-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;
}
.rsa-intro-method-list { list-style: none; margin: 0; padding: 0; }
.rsa-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;
}
.rsa-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) { .rsa-intro-methodology { margin-top: 32px; } }

/* ---------- Form ---------- */
.rsa-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;
}
.rsa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.rsa-col { display: flex; flex-direction: column; gap: 16px; }
.rsa-col .rsa-submit-row { margin-top: auto; }
.rsa-field-row { display: flex; flex-direction: column; gap: 6px; }
.rsa-field-row label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}
.rsa-form input[type="text"],
.rsa-form input[type="email"],
.rsa-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;
}
.rsa-form input:focus { outline: none; border-color: #00B4FF; }
.rsa-hidden { display: none !important; }
.rsa-submit-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 4px;
	justify-content: flex-end;
}
#rsa-submit { height: 52px; white-space: nowrap; }
.rsa-usage {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 700;
}
.rsa-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 ---------- */
.rsa-results { display: block; margin-top: 40px; }
.rsa-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);
}

.rsa-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);
}
.rsa-head-info { min-width: 0; }
.rsa-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;
}
.rsa-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;
}
.rsa-head-url a:hover { color: #ffffff; }
.rsa-head-verdict { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }

.rsa-score-dial { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rsa-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); }
.rsa-score-num.is-excellent { color: #4ade80; text-shadow: 0 0 32px rgba(74, 222, 128, 0.3); }
.rsa-score-num.is-strong    { color: #00B4FF; text-shadow: 0 0 32px rgba(0, 180, 255, 0.3); }
.rsa-score-num.is-moderate  { color: #f4b942; text-shadow: 0 0 32px rgba(244, 185, 66, 0.3); }
.rsa-score-num.is-weak      { color: #fb923c; text-shadow: 0 0 32px rgba(251, 146, 60, 0.3); }
.rsa-score-num.is-poor      { color: #ff6b6b; text-shadow: 0 0 32px rgba(255, 107, 107, 0.3); }
.rsa-score-label { color: rgba(255, 255, 255, 0.55); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }

.rsa-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;
}
.rsa-summary-head { color: #00B4FF; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; margin: 0 0 10px; }

.rsa-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;
}
.rsa-primary-fix-head { color: #4ade80; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; margin: 0 0 10px; }

.rsa-checks { display: flex; flex-direction: column; gap: 10px; }
.rsa-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;
}
.rsa-check.is-pass { border-left-color: #4ade80; }
.rsa-check.is-warn { border-left-color: #f4b942; }
.rsa-check.is-fail { border-left-color: #ff6b6b; }

.rsa-check-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; grid-column: 1 / 2; padding-right: 28px; }
.rsa-check-name { color: #fff; font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }

.rsa-check-chip-cell { grid-column: 2 / 3; grid-row: 1 / 2; justify-self: end; align-self: center; }
.rsa-check-chip-cell .rsa-check-chip {
	display: inline-flex;
	justify-content: center;
	width: 110px;
	box-sizing: border-box;
}
.rsa-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;
}
.rsa-check-chip.is-pass { color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.06); }
.rsa-check-chip.is-warn { color: #f4b942; border: 1px solid rgba(244, 185, 66, 0.4); background: rgba(244, 185, 66, 0.06); }
.rsa-check-chip.is-fail { color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.06); }

.rsa-check-score-cell { grid-column: 2 / 3; grid-row: 2 / 3; justify-self: end; align-self: center; text-align: right; }
.rsa-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;
}
.rsa-check-score-num strong { color: #ffffff; font-weight: 700; }

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

.rsa-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
	justify-content: flex-end;
}
.rsa-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;
}
.rsa-action-btn:hover,
.rsa-action-btn:focus {
	background: #00B4FF;
	color: #ffffff;
	border-color: #00B4FF;
	outline: none;
}

/* Upsell card (reusing ARC pattern) */
.rsa-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);
}
.rsa-upsell-score { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rsa-upsell-score-number { display: flex; align-items: baseline; justify-content: center; line-height: 1; }
.rsa-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);
}
.rsa-upsell-score-label { color: rgba(255, 255, 255, 0.55); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.rsa-upsell-body { display: flex; flex-direction: column; gap: 14px; }
.rsa-upsell-headline { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.rsa-upsell-copy { color: rgba(255, 255, 255, 0.78); font-size: 20px; line-height: 1.55; font-weight: 300; margin: 0; }
.rsa-upsell-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; justify-content: flex-end; }
.rsa-upsell-ctas .btn-mm,
.rsa-upsell-ctas .btn-mm-ghost { height: 52px; display: inline-flex; align-items: center; }

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