/* Agency Growth & AI SEO Tools Suite. All rules are scoped to .agt so they never affect the rest of the site. */
.agt {
	--agt-accent: #25D366;
	--agt-ink: #13251a;
	--agt-muted: #55645a;
	--agt-line: #dfe7e2;
	--agt-soft: #f4f6f5;
	--agt-card: #ffffff;
	--agt-good: #16a34a;
	--agt-ok: #d97706;
	--agt-bad: #dc2626;
	--agt-radius: 18px;
	color: var(--agt-ink);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
	max-width: 1080px;
	margin: 0 auto;
}
.agt *, .agt *::before, .agt *::after { box-sizing: border-box; }
body .agt h2, body .agt h3 { color: inherit; margin: 0; line-height: 1.15; }
body .agt .agt-hero__title, body .agt .agt-lead__title { color: #fff; }
.agt p { margin: 0; }
.agt .agt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agt [hidden] { display: none !important; }

/* Buttons and inputs */
.agt .agt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 26px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, opacity .18s ease; }
.agt .agt-btn:hover { transform: translateY(-2px); }
.agt .agt-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.agt .agt-btn--primary { background: var(--agt-accent); color: #04280f; box-shadow: 0 10px 24px color-mix(in srgb, var(--agt-accent) 35%, transparent); }
.agt .agt-btn--ghost { background: transparent; color: var(--agt-ink); border: 2px solid var(--agt-ink); }
.agt .agt-btn--ghost:hover { background: var(--agt-ink); color: #fff; }
.agt .agt-input, .agt .agt-field input { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid #c9d5cd; border-radius: 12px; background: #fff; color: var(--agt-ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.agt .agt-input:focus, .agt .agt-field input:focus { border-color: var(--agt-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--agt-accent) 22%, transparent); }
.agt .agt-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.agt .agt-opt { font-weight: 400; color: var(--agt-muted); }
.agt .agt-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: color-mix(in srgb, var(--agt-accent) 70%, #05411e); }

/* Hero / scan form */
.agt .agt-hero { background: linear-gradient(135deg, #05411e, #0b5a2c); color: #fff; border-radius: 24px; padding: 44px 36px; text-align: center; position: relative; overflow: hidden; }
.agt .agt-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--agt-accent) 35%, transparent), transparent 70%); pointer-events: none; }
.agt .agt-hero .agt-eyebrow { color: #8ee6a8; }
.agt .agt-hero__title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 10px auto 12px; max-width: 760px; color: #fff; }
.agt .agt-hero__sub { color: #d7eadc; max-width: 640px; margin: 0 auto 26px; font-size: 17px; }
.agt .agt-scan { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.agt .agt-scan .agt-input { flex: 1; border-color: transparent; }
.agt .agt-scan--two { max-width: 900px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; text-align: left; }
.agt .agt-scan--two .agt-field label { color: #d7eadc; }
.agt .agt-scan--two .agt-btn { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
.agt .agt-vs { font-weight: 800; color: #8ee6a8; padding: 0 4px 14px; }

/* Loading and errors */
.agt .agt-results { margin-top: 28px; }
.agt .agt-loading { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 34px; background: var(--agt-soft); border-radius: var(--agt-radius); font-weight: 600; }
.agt .agt-spinner { width: 26px; height: 26px; border: 3px solid var(--agt-line); border-top-color: var(--agt-accent); border-radius: 50%; animation: agt-spin .8s linear infinite; }
@keyframes agt-spin { to { transform: rotate(360deg); } }
.agt .agt-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 16px 18px; border-radius: 12px; font-weight: 600; }

/* Report */
.agt .agt-report { background: var(--agt-card); border: 1px solid var(--agt-line); border-radius: 24px; padding: 32px; box-shadow: 0 20px 50px rgba(5, 65, 30, .08); animation: agt-up .5s ease both; scroll-margin-top: 90px; }
@keyframes agt-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.agt .agt-report__head { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.agt .agt-report__meta { flex: 1 1 280px; }
.agt .agt-report__domain { font-size: 28px; font-weight: 800; margin: 4px 0 10px; word-break: break-word; }
.agt .agt-report__meta p { color: var(--agt-muted); }

/* Gauge */
.agt .agt-gauge { position: relative; width: var(--agt-gauge-size, 220px); max-width: 100%; text-align: center; }
.agt .agt-gauge svg { width: 100%; height: auto; display: block; }
.agt .agt-gauge__track { fill: none; stroke: #e7eeea; stroke-width: 12; stroke-linecap: round; }
.agt .agt-gauge__bar { fill: none; stroke: var(--agt-bad); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1), stroke .3s; }
.agt .agt-gauge.is-ok .agt-gauge__bar { stroke: var(--agt-ok); }
.agt .agt-gauge.is-good .agt-gauge__bar { stroke: var(--agt-good); }
.agt .agt-gauge__value { position: absolute; left: 0; right: 0; bottom: 18%; font-weight: 800; }
.agt .agt-gauge__num { font-size: calc(var(--agt-gauge-size, 220px) * .24); line-height: 1; }
.agt .agt-gauge__max { font-size: 14px; color: var(--agt-muted); margin-left: 2px; }
.agt .agt-gauge__band { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #fee2e2; color: #991b1b; }
.agt .agt-gauge.is-ok .agt-gauge__band { background: #fef3c7; color: #92400e; }
.agt .agt-gauge.is-good .agt-gauge__band { background: #dcfce7; color: #166534; }

/* Checks */
.agt .agt-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.agt .agt-pill { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.agt .agt-pill--fail { background: #fee2e2; color: #991b1b; }
.agt .agt-pill--warn { background: #fef3c7; color: #92400e; }
.agt .agt-pill--pass { background: #dcfce7; color: #166534; }
.agt .agt-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.agt .agt-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--agt-line); background: #fff; animation: agt-up .45s ease both; animation-delay: calc(var(--agt-i, 0) * 45ms); }
.agt .agt-check__icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.agt .agt-check--pass .agt-check__icon { background: var(--agt-good); }
.agt .agt-check--warn .agt-check__icon { background: var(--agt-ok); }
.agt .agt-check--fail .agt-check__icon { background: var(--agt-bad); }
.agt .agt-check--fail { border-color: #fecaca; background: #fff7f7; }
.agt .agt-check--warn { border-color: #fde68a; background: #fffcf2; }
.agt .agt-check__label { display: block; font-size: 15px; }
.agt .agt-check__detail { display: block; font-size: 14px; color: var(--agt-muted); }

/* Comparer */
.agt .agt-cmp__gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.agt .agt-cmp__side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; background: var(--agt-soft); border-radius: 18px; }
.agt .agt-cmp__side h3 { font-size: 18px; font-weight: 800; word-break: break-word; }
.agt .agt-cmp__verdict { text-align: center; font-size: 18px; margin: 22px 0 14px; }
.agt .agt-red { color: var(--agt-bad); }
.agt .agt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.agt .agt-cmp { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 560px; }
.agt .agt-cmp thead th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--agt-muted); padding: 0 14px; word-break: break-word; }
.agt .agt-cmp tbody th, .agt .agt-cmp tbody td { background: var(--agt-soft); padding: 12px 14px; text-align: left; vertical-align: middle; }
.agt .agt-cmp tbody th { border-radius: 12px 0 0 12px; font-size: 15px; width: 34%; }
.agt .agt-cmp tbody td:last-child { border-radius: 0 12px 12px 0; }
.agt .agt-cmp__row { animation: agt-up .45s ease both; animation-delay: calc(var(--agt-i, 0) * 60ms); }
.agt .agt-cmp__row.is-behind th, .agt .agt-cmp__row.is-behind td { background: #fff1f1; }
.agt .agt-cmp__val { font-weight: 700; font-size: 14px; margin-bottom: 6px; word-break: break-word; }
.agt .agt-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.agt .agt-tag--bad { background: var(--agt-bad); color: #fff; }
.agt .agt-tag--good { background: #dcfce7; color: #166534; }
.agt .agt-bar { height: 8px; border-radius: 999px; background: #e3ebe6; overflow: hidden; }
.agt .agt-bar span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--agt-accent); animation: agt-grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.agt .agt-bar--comp span { background: #64748b; }
.agt .agt-bar--comp.is-ahead span { background: var(--agt-bad); }
.agt .agt-bar--you.is-behind span { background: #f59e0b; }
@keyframes agt-grow { from { width: 0; } }
.agt .agt-details { margin-top: 20px; }
.agt .agt-details summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }

/* Lead card */
.agt .agt-lead { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 32px; border-radius: 24px; background: #05411e; color: #fff; animation: agt-up .5s .15s ease both; }
.agt .agt-lead .agt-eyebrow { color: #8ee6a8; }
.agt .agt-lead__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 8px 0 12px; color: #fff; }
.agt .agt-hl { color: var(--agt-accent); }
.agt .agt-lead__sub { color: #d7eadc; }
.agt .agt-lead__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--agt-ink); padding: 24px; border-radius: 18px; }
.agt .agt-field--full, .agt .agt-lead__actions, .agt .agt-lead__msg, .agt .agt-lead__privacy, .agt .agt-success { grid-column: 1 / -1; }
.agt .agt-lead__actions { display: flex; flex-direction: column; gap: 10px; }
.agt .agt-lead__actions .agt-btn { width: 100%; }
.agt .agt-lead__msg:empty { display: none; }
.agt .agt-lead__msg.is-error { color: var(--agt-bad); font-weight: 600; font-size: 14px; }
.agt .agt-lead__privacy { font-size: 12px; color: var(--agt-muted); text-align: center; }
.agt .agt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agt .agt-success { display: flex; gap: 14px; align-items: flex-start; }
.agt .agt-success p { color: var(--agt-muted); margin: 4px 0 14px; }
.agt .agt-success__icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--agt-good); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ROI calculator */
.agt .agt-roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.agt .agt-roi__inputs, .agt .agt-roi__out { background: #fff; border: 1px solid var(--agt-line); border-radius: 24px; padding: 28px; }
.agt .agt-slider + .agt-slider { margin-top: 22px; }
.agt .agt-slider__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.agt .agt-slider__top label { font-weight: 600; font-size: 15px; }
.agt .agt-slider__val { font-weight: 800; color: #05411e; white-space: nowrap; }
.agt input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--agt-accent) var(--agt-fill, 50%), #e3ebe6 var(--agt-fill, 50%)); outline: none; margin: 0; }
.agt input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #05411e; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.agt input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #05411e; cursor: pointer; }
.agt input[type="range"]:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--agt-accent) 30%, transparent); }
.agt .agt-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agt .agt-kpi { background: var(--agt-soft); border-radius: 14px; padding: 14px 16px; }
.agt .agt-kpi span { display: block; font-size: 13px; color: var(--agt-muted); font-weight: 600; }
.agt .agt-kpi strong { display: block; font-size: 26px; font-weight: 800; color: #05411e; margin-top: 4px; word-break: break-word; }
.agt .agt-kpi--big { grid-column: 1 / -1; background: #05411e; }
.agt .agt-kpi--big span { color: #d7eadc; }
.agt .agt-kpi--big strong { color: var(--agt-accent); font-size: 34px; }
.agt .agt-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 220px; margin-top: 22px; align-items: end; }
.agt .agt-chart__col { display: flex; flex-direction: column; height: 100%; justify-content: flex-end; }
.agt .agt-chart__bar { flex: 1; display: flex; align-items: flex-end; }
.agt .agt-chart__bar span { display: block; width: 100%; border-radius: 12px 12px 4px 4px; transition: height .4s cubic-bezier(.2, .8, .2, 1); }
.agt .agt-chart__bar--cur span { background: #b9c9bf; }
.agt .agt-chart__bar--new span { background: linear-gradient(180deg, var(--agt-accent), #16a34a); }
.agt .agt-chart__label { font-size: 13px; color: var(--agt-muted); text-align: center; margin-top: 8px; }
.agt .agt-chart__label strong { display: block; color: var(--agt-ink); font-size: 15px; }
.agt .agt-roi__note { font-size: 12px; color: var(--agt-muted); margin-top: 14px; }

/* Hub */
.agt-hub .agt-hub__title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; text-align: center; margin-bottom: 18px; }
.agt-hub .agt-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.agt-hub .agt-filter { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--agt-line); background: #fff; color: var(--agt-ink); cursor: pointer; transition: all .15s ease; }
.agt-hub .agt-filter:hover { border-color: var(--agt-accent); }
.agt-hub .agt-filter.is-active { background: #05411e; border-color: #05411e; color: #fff; }
.agt-hub .agt-hub__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.agt-hub .agt-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--agt-line); color: var(--agt-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: agt-up .45s ease both; }
.agt-hub a.agt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5, 65, 30, .12); border-color: var(--agt-accent); }
.agt-hub .agt-card__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--agt-accent) 16%, #fff); color: #05411e; }
.agt-hub .agt-card__badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--agt-muted); text-transform: uppercase; letter-spacing: 1px; }
.agt-hub .agt-card__title { font-size: 21px; font-weight: 800; color: inherit; }
.agt-hub .agt-card__desc { color: var(--agt-muted); font-size: 15px; flex: 1; }
.agt-hub .agt-card__cta { font-weight: 700; color: #05411e; }

/* More tools bar */
.agt .agt-more { margin-top: 36px; padding: 22px 24px; border-radius: 20px; background: var(--agt-soft); }
.agt .agt-more__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.agt .agt-more__title { font-weight: 800; font-size: 18px; }
.agt .agt-more__all { font-weight: 700; color: #05411e; text-decoration: none; }
.agt .agt-more__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.agt .agt-more__link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--agt-line); color: var(--agt-ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.agt .agt-more__link:hover { border-color: var(--agt-accent); transform: translateY(-2px); }
.agt .agt-more__icon { color: #05411e; display: flex; }
.agt .agt-more__icon svg { width: 20px; height: 20px; }
.agt-admin-note { padding: 12px; background: #fff3cd; border: 1px solid #ffe08a; }

/* Responsive */
@media (max-width: 860px) {
	.agt .agt-lead, .agt .agt-roi { grid-template-columns: 1fr; }
	.agt .agt-checks { grid-template-columns: 1fr; }
	.agt .agt-more__links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.agt .agt-hero { padding: 32px 18px; border-radius: 18px; }
	.agt .agt-scan { flex-direction: column; }
	.agt .agt-scan--two { grid-template-columns: 1fr; }
	.agt .agt-vs { text-align: center; padding: 0; }
	.agt .agt-scan .agt-btn { width: 100%; }
	.agt .agt-report, .agt .agt-lead, .agt .agt-roi__inputs, .agt .agt-roi__out { padding: 20px; border-radius: 18px; }
	.agt .agt-lead__form { grid-template-columns: 1fr; padding: 18px; }
	.agt .agt-report__head { justify-content: center; text-align: center; }
	.agt .agt-cmp__gauges { grid-template-columns: 1fr; }
	.agt-hub .agt-hub__grid { grid-template-columns: 1fr; }
	.agt .agt-kpis { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.agt *, .agt *::before, .agt *::after { animation: none !important; transition: none !important; }
}
