/* ZeeDev Free SEO Audit, matched to zeedevinnovations.com
   Every selector is scoped to .zd-audit (often doubled) so theme/Elementor kit styles can't leak in. */
.zd-audit {
	--zd-bg: #060f1a;
	--zd-panel: #0a1828;
	--zd-panel-2: #0e2136;
	--zd-line: rgba(34, 170, 210, 0.16);
	--zd-line-strong: rgba(34, 170, 210, 0.38);
	--zd-text: #f2f2f2;
	--zd-muted: #b5b3b3;
	--zd-dim: #7f8a96;
	--zd-accent: #22aad2;
	--zd-accent-2: #0788ae;
	--zd-grad: linear-gradient(180deg, #0788ae 0%, #22aad2 100%);
	--zd-pass: #2bd47d;
	--zd-warn: #f5b341;
	--zd-fail: #ff5c6c;
	--zd-head: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--zd-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 56px);
	background: var(--zd-panel);
	border: 1px solid var(--zd-line);
	border-radius: 28px;
	color: var(--zd-text);
	font-family: var(--zd-body);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	scroll-margin-top: 100px;
}
.zd-audit *, .zd-audit *::before, .zd-audit *::after { box-sizing: border-box; }
.zd-audit [hidden] { display: none !important; }

/* Reset theme typography inside the widget (0,2,0 so it beats theme "kit h2"/"entry-content p" rules) */
.zd-audit.zd-audit :where(h2, h3, h4, p, ul, ol, li, figure) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
	letter-spacing: normal;
	list-style: none;
}
.zd-audit.zd-audit :where(h2, h3, h4) { font-family: var(--zd-head); color: var(--zd-text); font-weight: 600; line-height: 1.2; }
.zd-audit.zd-audit :where(p, li) { color: inherit; font-family: var(--zd-body); line-height: 1.6; }
.zd-audit a { color: var(--zd-accent); }
.zd-audit .zd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zd-audit .zd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.zd-audit .zd-audit__glow {
	position: absolute;
	inset: -40% -10% auto;
	height: 520px;
	background: radial-gradient(closest-side, rgba(34, 170, 210, 0.22), transparent 70%);
	z-index: -1;
	pointer-events: none;
}

/* Header */
.zd-audit .zd-audit__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.zd-audit .zd-audit__eyebrow, .zd-audit .zd-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid var(--zd-line-strong);
	border-radius: 999px;
	background: rgba(34, 170, 210, 0.08);
	color: var(--zd-accent);
	font-family: var(--zd-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
}
.zd-audit .zd-audit__title { margin: 16px 0 12px; font-size: clamp(28px, 4.2vw, 44px); }
.zd-audit h1.zd-audit__title { font-size: clamp(34px, 5vw, 58px); }
.zd-audit .zd-gate__metric { margin: 0 0 10px; color: var(--zd-text, #f2f2f2); font-weight: 600; }
.zd-audit .zd-audit__sub { color: var(--zd-muted); font-size: clamp(15px, 1.6vw, 17px); }

/* Buttons */
.zd-audit.zd-audit .zd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	margin: 0;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 35px;
	font-family: var(--zd-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s;
}
.zd-audit.zd-audit .zd-btn--primary { background: var(--zd-grad); color: #f2f2f2; }
.zd-audit.zd-audit .zd-btn--primary:hover, .zd-audit.zd-audit .zd-btn--primary:focus-visible { color: #fff; background: var(--zd-grad); box-shadow: 0 10px 30px -8px rgba(34, 170, 210, 0.65); transform: translateY(-1px); }
.zd-audit.zd-audit .zd-btn--ghost { background: transparent; color: var(--zd-text); border-color: var(--zd-line-strong); }
.zd-audit.zd-audit .zd-btn--ghost:hover, .zd-audit.zd-audit .zd-btn--ghost:focus-visible { background: rgba(34, 170, 210, 0.1); color: var(--zd-text); border-color: var(--zd-accent); }
.zd-audit.zd-audit .zd-btn:focus-visible { outline: 2px solid var(--zd-accent); outline-offset: 3px; }
.zd-audit.zd-audit .zd-btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.zd-audit .zd-spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: zd-spin 0.8s linear infinite; }
@keyframes zd-spin { to { transform: rotate(360deg); } }

/* URL form */
.zd-audit .zd-audit__form { max-width: 760px; margin: 0 auto; }
.zd-audit .zd-audit__field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 20px;
	background: var(--zd-bg);
	border: 1px solid var(--zd-line-strong);
	border-radius: 40px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.zd-audit .zd-audit__field:focus-within { border-color: var(--zd-accent); box-shadow: 0 0 0 4px rgba(34, 170, 210, 0.15); }
.zd-audit .zd-audit__field-icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--zd-accent); stroke-width: 1.6; }
.zd-audit.zd-audit.zd-audit input.zd-audit__input, .zd-audit.zd-audit.zd-audit input.zd-input {
	flex: 1;
	min-width: 0;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 6px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	color: var(--zd-text);
	font-family: var(--zd-body);
	font-size: 17px;
	line-height: normal;
}
.zd-audit input::placeholder { color: var(--zd-dim); opacity: 1; }
.zd-audit.zd-audit .zd-audit__error {
	margin-top: 14px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 92, 108, 0.4);
	border-radius: 14px;
	background: rgba(255, 92, 108, 0.08);
	color: #ffc2c8;
	font-size: 15px;
}
.zd-audit.zd-audit .zd-audit__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; color: var(--zd-muted); font-size: 14px; }
.zd-audit.zd-audit .zd-audit__trust li { display: inline-flex; align-items: center; gap: 8px; }
.zd-audit .zd-audit__trust li::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(43, 212, 125, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232bd47d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Panels */
.zd-audit .zd-panel {
	background: var(--zd-bg);
	border: 1px solid var(--zd-line);
	border-radius: 22px;
	padding: clamp(20px, 3.4vw, 36px);
	animation: zd-in 0.45s ease both;
}
@keyframes zd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Status colours */
.zd-audit .is-pass { --zd-c: var(--zd-pass); }
.zd-audit .is-warn { --zd-c: var(--zd-warn); }
.zd-audit .is-fail { --zd-c: var(--zd-fail); }
.zd-audit .is-na { --zd-c: var(--zd-dim); }

/* Score ring */
.zd-audit .zd-ring { position: relative; flex: none; display: inline-grid; place-items: center; }
.zd-audit .zd-ring svg { display: block; transform: rotate(-90deg); }
.zd-audit .zd-ring circle { fill: none; }
.zd-audit .zd-ring__track { stroke: rgba(255, 255, 255, 0.08); }
.zd-audit .zd-ring__bar { stroke: var(--zd-c, var(--zd-accent)); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.zd-audit .zd-ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--zd-head); font-weight: 700; color: var(--zd-text); line-height: 1; }

/* Scanning */
.zd-audit .zd-scan { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); max-width: 820px; margin: 0 auto; }
.zd-audit .zd-scan .zd-ring__bar { stroke: var(--zd-accent); transition: stroke-dashoffset 0.6s linear; }
.zd-audit .zd-scan__body { flex: 1; min-width: 0; }
.zd-audit .zd-scan__label { font-family: var(--zd-head); font-size: 20px; font-weight: 600; margin-bottom: 14px; overflow-wrap: anywhere; }
.zd-audit .zd-scan__label strong { color: var(--zd-accent); }
.zd-audit.zd-audit .zd-scan__steps li { position: relative; padding: 5px 0 5px 30px; color: var(--zd-dim); font-size: 15px; transition: color 0.3s; }
.zd-audit .zd-scan__steps li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); }
.zd-audit.zd-audit .zd-scan__steps li.is-active { color: var(--zd-text); }
.zd-audit .zd-scan__steps li.is-active::before { border-color: var(--zd-accent); border-right-color: transparent; animation: zd-spin 0.9s linear infinite; }
.zd-audit.zd-audit .zd-scan__steps li.is-done { color: var(--zd-muted); }
.zd-audit .zd-scan__steps li.is-done::before { border: 0; background: rgba(43, 212, 125, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232bd47d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.zd-audit .zd-scan__hint { margin-top: 14px; color: var(--zd-dim); font-size: 14px; }

/* Gate */
.zd-audit .zd-gate { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 900px; margin: 0 auto; }
.zd-audit .zd-gate__summary { display: flex; align-items: center; gap: 16px; margin: 14px 0 10px; }
.zd-audit .zd-gate__title { font-size: clamp(22px, 3vw, 28px); }
.zd-audit .zd-gate__title strong { color: var(--zd-c, var(--zd-accent)); }
.zd-audit .zd-gate__text { color: var(--zd-muted); margin: 6px 0 20px; }
.zd-audit .zd-gate__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zd-audit .zd-gate__form .zd-field--full, .zd-audit .zd-gate__form .zd-btn, .zd-audit .zd-gate__form .zd-audit__error { grid-column: 1 / -1; }
.zd-audit .zd-field { display: block; margin: 0; }
.zd-audit .zd-field span { display: block; margin-bottom: 6px; color: var(--zd-muted); font-size: 13px; font-weight: 500; }
.zd-audit.zd-audit.zd-audit input.zd-input { height: 50px; padding: 0 18px; background: var(--zd-panel); border: 1px solid var(--zd-line-strong); border-radius: 14px; font-size: 16px; }
.zd-audit.zd-audit.zd-audit input.zd-input:focus { border-color: var(--zd-accent); box-shadow: 0 0 0 4px rgba(34, 170, 210, 0.15); }
.zd-audit.zd-audit .zd-gate__form .zd-audit__error { margin-top: 0; }
.zd-audit .zd-fine { color: var(--zd-dim); font-size: 13px; margin-top: 12px; }

/* Phone mockup */
.zd-audit .zd-phone {
	width: 190px;
	padding: 10px;
	border-radius: 30px;
	background: linear-gradient(160deg, #1b2d42, #0b1726);
	border: 1px solid var(--zd-line-strong);
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 50px -20px rgba(34, 170, 210, 0.5);
}
.zd-audit .zd-phone img { display: block; width: 100%; height: auto; max-height: 360px; margin: 0; object-fit: cover; object-position: top; border-radius: 21px; background: #fff; }
.zd-audit .zd-phone--blank { height: 340px; display: grid; place-items: center; color: var(--zd-dim); font-size: 13px; text-align: center; }

/* Report */
.zd-audit .zd-rep { display: grid; gap: 22px; }
.zd-audit .zd-rep__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.zd-audit .zd-rep__host { font-size: clamp(26px, 3.6vw, 36px); margin: 12px 0 4px; overflow-wrap: anywhere; }
.zd-audit .zd-rep__meta { color: var(--zd-dim); font-size: 14px; }
.zd-audit .zd-rep__summary { display: flex; align-items: center; gap: 20px; margin: 20px 0 22px; }
.zd-audit .zd-rep__grade { font-family: var(--zd-head); font-size: 22px; font-weight: 700; color: var(--zd-c); }
.zd-audit .zd-rep__verdict { color: var(--zd-muted); margin-top: 4px; }
.zd-audit .zd-rep__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.zd-audit .zd-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.zd-audit .zd-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; background: var(--zd-bg); border: 1px solid var(--zd-line); border-radius: 18px; text-align: center; }
.zd-audit .zd-tile__label { font-family: var(--zd-head); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--zd-muted); }

.zd-audit .zd-vitals { padding: 22px; background: var(--zd-bg); border: 1px solid var(--zd-line); border-radius: 18px; }
.zd-audit .zd-vitals h4 { font-size: 18px; margin-bottom: 14px; }
.zd-audit .zd-vitals__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 20px; }
.zd-audit .zd-vital { padding-left: 14px; border-left: 3px solid var(--zd-c); }
.zd-audit .zd-vital__label { color: var(--zd-muted); font-size: 13px; }
.zd-audit .zd-vital__value { font-family: var(--zd-head); font-size: 24px; font-weight: 700; color: var(--zd-c); line-height: 1.3; }

.zd-audit .zd-note { padding: 12px 16px; border: 1px solid rgba(245, 179, 65, 0.35); border-radius: 14px; background: rgba(245, 179, 65, 0.07); color: #f8dca8; font-size: 14px; }

/* Sections */
.zd-audit .zd-sec { margin: 0; background: var(--zd-bg); border: 1px solid var(--zd-line); border-radius: 18px; overflow: hidden; }
.zd-audit .zd-sec > summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; }
.zd-audit .zd-sec > summary::-webkit-details-marker { display: none; }
.zd-audit .zd-sec > summary:hover { background: rgba(34, 170, 210, 0.05); }
.zd-audit .zd-sec > summary:focus-visible { outline: 2px solid var(--zd-accent); outline-offset: -2px; }
.zd-audit .zd-sec__title { flex: 1; font-family: var(--zd-head); font-size: 19px; font-weight: 600; color: var(--zd-text); }
.zd-audit .zd-sec__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.zd-audit .zd-pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, 0.06); background: color-mix(in srgb, var(--zd-c) 14%, transparent); color: var(--zd-c); }
.zd-audit .zd-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--zd-muted); stroke-width: 2; transition: transform 0.25s; }
.zd-audit .zd-sec[open] > summary .zd-chev { transform: rotate(180deg); }
.zd-audit .zd-sec__body { padding: 0 22px 20px; }
.zd-audit .zd-sec__intro { color: var(--zd-dim); font-size: 14px; margin-bottom: 8px; }

.zd-audit.zd-audit .zd-check { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.zd-audit.zd-audit .zd-check:first-child { border-top: 0; }
.zd-audit .zd-check__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); background: color-mix(in srgb, var(--zd-c) 15%, transparent); }
.zd-audit .zd-check__icon svg { width: 14px; height: 14px; fill: none; stroke: var(--zd-c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zd-audit .zd-check__main { flex: 1; min-width: 0; }
.zd-audit .zd-check__title { color: var(--zd-text); font-weight: 600; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.zd-audit .zd-check__value { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--zd-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.zd-audit .zd-check__detail { color: var(--zd-muted); font-size: 14px; margin-top: 3px; overflow-wrap: anywhere; }
.zd-audit .zd-check.is-pass .zd-check__title { font-weight: 500; color: var(--zd-muted); }
.zd-audit .zd-check.is-pass .zd-check__detail { color: var(--zd-dim); }

.zd-audit .zd-passed { margin-top: 6px; }
.zd-audit .zd-passed > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--zd-accent); font-size: 14px; font-weight: 600; list-style: none; padding: 6px 0; }
.zd-audit .zd-passed > summary::-webkit-details-marker { display: none; }
.zd-audit .zd-passed[open] > summary .zd-chev { transform: rotate(180deg); }
.zd-audit .zd-passed .zd-chev { width: 16px; height: 16px; stroke: var(--zd-accent); }
.zd-audit .zd-allgood { color: var(--zd-pass); font-size: 15px; padding: 8px 0; }

/* CTA band */
.zd-audit .zd-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: clamp(22px, 3.4vw, 36px);
	border-radius: 22px;
	background: radial-gradient(120% 140% at 0% 0%, rgba(34, 170, 210, 0.28), transparent 60%), var(--zd-panel-2);
	border: 1px solid var(--zd-line-strong);
}
.zd-audit .zd-cta h3 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 6px; }
.zd-audit .zd-cta p { color: var(--zd-muted); }
.zd-audit .zd-rep__foot { color: var(--zd-dim); font-size: 13px; text-align: center; }

/* Responsive */
@media (max-width: 767px) {
	.zd-audit { border-radius: 20px; }
	.zd-audit .zd-audit__field { flex-wrap: wrap; padding: 8px; border-radius: 22px; }
	.zd-audit .zd-audit__field-icon { margin-left: 10px; }
	.zd-audit.zd-audit .zd-audit__field .zd-btn { width: 100%; }
	.zd-audit .zd-scan { flex-direction: column; text-align: left; }
	.zd-audit .zd-gate, .zd-audit .zd-rep__top { grid-template-columns: 1fr; }
	.zd-audit .zd-gate .zd-phone, .zd-audit .zd-rep__top .zd-phone { display: none; }
	.zd-audit .zd-gate__form { grid-template-columns: 1fr; }
	.zd-audit .zd-rep__summary { gap: 16px; }
	.zd-audit.zd-audit .zd-rep__actions .zd-btn { flex: 1 1 100%; }
	.zd-audit .zd-tiles { grid-template-columns: 1fr 1fr; }
	.zd-audit .zd-tile__label { font-size: 14px; }
	.zd-audit .zd-sec > summary { flex-wrap: wrap; padding: 16px; }
	.zd-audit .zd-sec__title { flex-basis: calc(100% - 40px); font-size: 17px; }
	.zd-audit .zd-sec__meta { order: 3; justify-content: flex-start; }
	.zd-audit .zd-sec__body { padding: 0 16px 16px; }
	.zd-audit .zd-cta { flex-direction: column; align-items: stretch; text-align: center; }
	.zd-audit.zd-audit .zd-btn { white-space: normal; text-align: center; }
}

@media (max-width: 520px) {
	.zd-audit .zd-rep__summary, .zd-audit .zd-gate__summary { flex-direction: column; align-items: flex-start; }
	.zd-audit .zd-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	.zd-audit *, .zd-audit *::before { animation: none !important; transition: none !important; }
}
