/*

 *


 */

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Share+Tech+Mono&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg-0: #05060a;
  --bg-1: #0a1020;
  --bg-2: #111a2e;
  --panel: rgba(10, 16, 32, 0.8);
  --panel-strong: rgba(12, 20, 38, 0.92);
  --border: rgba(101, 130, 178, 0.28);
  --text: #e8f1ff;
  --muted: #9fb0c7;
  --muted-2: #6f7f97;
  --neon-cyan: #4de5ff;
  --neon-magenta: #ff4bd8;
  --neon-lime: #b7ff2a;
  --neon-orange: #ff9d4d;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --glow-cyan: 0 0 24px rgba(77, 229, 255, 0.35);
  --glow-magenta: 0 0 28px rgba(255, 75, 216, 0.35);
  --glow-lime: 0 0 30px rgba(183, 255, 42, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(78, 93, 150, 0.2), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(255, 75, 216, 0.1), transparent 40%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background: linear-gradient(transparent 97%, rgba(77, 229, 255, 0.08) 98%),
    linear-gradient(90deg, transparent 97%, rgba(255, 75, 216, 0.05) 98%);
  background-size: 24px 24px, 24px 24px;
  mix-blend-mode: screen;
  opacity: 0.35;
}

body::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='1'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(/%23noise)' opacity='0.09'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.neon-backdrop {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 60vh;
  background: radial-gradient(circle at 20% 40%, rgba(77, 229, 255, 0.18), transparent 60%),
    radial-gradient(circle at 70% 20%, rgba(255, 75, 216, 0.2), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(183, 255, 42, 0.12), transparent 60%);
  filter: blur(20px);
  z-index: -3;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
}

a:hover {
  color: var(--neon-magenta);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 22px;
}

.subtitle {
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--neon-cyan);
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.landing-hero-copy {
  padding: 14px 0 8px;
}

.landing-hero-copy h1 {
  max-width: 12ch;
  font-size: 54px;
  line-height: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 16px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(77, 229, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.5);
}

.landing-hero-panel {
  align-self: stretch;
  display: grid;
  gap: 14px;
  margin: 0;
}

.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--neon-cyan);
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.terminal-typing li {
  position: relative;
  min-height: 1.5em;
  line-height: 1.55;
  white-space: pre-wrap;
}

.typing-output {
  white-space: pre-wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.typing-caret {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 6px;
  vertical-align: -0.12em;
  background: rgba(77, 229, 255, 0.72);
  box-shadow: 0 0 10px rgba(77, 229, 255, 0.18);
  animation: typing-caret-blink 1s steps(1, end) infinite;
}

.typing-caret.is-idle {
  opacity: 0.34;
  animation-duration: 1.25s;
}

.typing-line-final .typing-caret {
  opacity: 0.42;
}

@keyframes typing-caret-blink {
  0%, 49% {
    opacity: 0.7;
  }
  50%, 100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typing-caret {
    animation: none;
    opacity: 0.35;
  }
}

.panel-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.landing-scan-card {
  padding: 26px;
  position: relative;
  z-index: 1;
  overflow: visible;
  scroll-margin-top: 96px;
}

.landing-form {
  margin-top: 6px;
}

.landing-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
  gap: 16px;
  align-items: end;
}

.landing-field {
  margin-bottom: 0;
}

.input-large {
  min-height: 54px;
  font-size: 17px;
}

.landing-form-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.landing-form-actions-blocked {
  gap: 14px;
}

.button-large {
  padding: 14px 22px;
  font-size: 16px;
}

.landing-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.guest-limit-banner {
  margin: 18px 0 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(77, 229, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 24, 42, 0.96), rgba(8, 12, 22, 0.84)),
    rgba(8, 12, 22, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.guest-limit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guest-limit-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(77, 229, 255, 0.08);
  border: 1px solid rgba(77, 229, 255, 0.14);
  color: rgba(77, 229, 255, 0.82);
}

.guest-limit-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guest-limit-badge {
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
}

.guest-limit-banner h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
  max-width: 18ch;
}

.guest-limit-banner p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.guest-limit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.landing-section {
  margin-top: 40px;
}

.landing-section .section-header {
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}

.landing-section .section-header h2 {
  font-size: 30px;
  line-height: 1.05;
  max-width: 18ch;
}

.landing-section .section-subtitle {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.landing-feature-card,
.landing-monitoring-card {
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(77, 229, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 22, 38, 0.94), rgba(8, 12, 22, 0.82)),
    rgba(8, 12, 22, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-feature-card:hover,
.landing-monitoring-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 229, 255, 0.22);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(77, 229, 255, 0.08);
}

.feature-card-emphasis {
  background:
    linear-gradient(180deg, rgba(77, 229, 255, 0.09), rgba(8, 12, 22, 0.84)),
    rgba(8, 12, 22, 0.72);
  border-color: rgba(77, 229, 255, 0.22);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.card-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(77, 229, 255, 0.08);
  border: 1px solid rgba(77, 229, 255, 0.12);
  color: rgba(77, 229, 255, 0.82);
}

.card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-feature-card h3,
.landing-monitoring-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.landing-feature-card p,
.landing-monitoring-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.landing-feature-card.feature-card-emphasis .card-icon {
  background: rgba(77, 229, 255, 0.12);
  border-color: rgba(77, 229, 255, 0.18);
}

.landing-monitoring-grid {
  margin-top: 4px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.landing-monitoring-card {
  min-height: 146px;
}

.landing-monitoring-card p {
  max-width: 24ch;
}

.landing-monitoring-card .card-icon {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.landing-monitoring-card .card-icon svg {
  stroke-width: 1.7;
}

.feature-grid {
  align-items: stretch;
}

.landing-strip {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(77, 229, 255, 0.14);
  background: rgba(8, 12, 22, 0.46);
  color: var(--muted);
}

.hero-url {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.7);
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
}

.hero-url .label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
}

.button {
  background: linear-gradient(120deg, rgba(77, 229, 255, 0.9), rgba(255, 75, 216, 0.9));
  color: #05060a;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--glow-cyan);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 75, 216, 0.4);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(77, 229, 255, 0.4);
  box-shadow: none;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin: 0 0 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.glass {
  background: var(--panel-strong);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(77, 229, 255, 0.3);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(8, 12, 22, 0.9);
  color: var(--text);
}

.input:focus {
  outline: 2px solid rgba(77, 229, 255, 0.35);
  border-color: var(--neon-cyan);
}

.alert {
  background: rgba(255, 77, 77, 0.15);
  border: 1px solid rgba(255, 120, 120, 0.4);
  color: #ffb3b3;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted-2);
  font-size: 14px;
}

.admin-hero {
  margin-bottom: 20px;
}

.admin-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.admin-section {
  margin-bottom: 22px;
}

.admin-stat-grid,
.admin-metric-grid,
.admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.admin-stat-card,
.admin-metric-card {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(77, 229, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.96), rgba(8, 12, 22, 0.88));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.admin-stat-label {
  margin: 0 0 8px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.admin-stat-value {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  color: var(--text);
  word-break: break-word;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.admin-table th,
.admin-table td {
  padding: 14px 10px;
  border-top: 1px solid rgba(77, 229, 255, 0.08);
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  border-top: none;
}

.admin-table td {
  color: var(--text);
  font-size: 14px;
  word-break: break-word;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(183, 255, 42, 0.18);
  background: rgba(183, 255, 42, 0.08);
  color: var(--neon-lime);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.admin-muted {
  color: var(--muted-2);
}

.admin-stack {
  display: grid;
  gap: 4px;
}

.admin-break-word {
  word-break: break-word;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table td {
  padding: 12px 8px;
  border-top: 1px solid rgba(77, 229, 255, 0.08);
  vertical-align: top;
}

.results-table .label {
  width: 260px;
  font-weight: 600;
  color: var(--muted);
}

.value-muted {
  color: var(--muted-2);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(5, 6, 10, 0.78);
  border-bottom: 1px solid rgba(101, 130, 178, 0.16);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-nav a {
  color: var(--muted);
}

.topbar-nav a:hover {
  color: var(--text);
}

.topbar-nav .button-inline {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1;
}

.inline-form {
  display: inline;
  margin: 0;
}

.flash {
  border: 1px solid rgba(77, 229, 255, 0.2);
  background: rgba(10, 16, 32, 0.82);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.flash.notice {
  color: #d9fff8;
}

.flash.alert {
  border-color: rgba(255, 120, 120, 0.4);
  color: #ffb3b3;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.site-card {
  border: 1px solid rgba(77, 229, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  background: rgba(8, 12, 22, 0.6);
}

.site-card h3 {
  font-size: 20px;
}

.site-url,
.field-help,
.empty-inline {
  color: var(--muted);
  margin: 8px 0 0;
}

.site-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-family: "Share Tech Mono", monospace;
}

.site-score.large {
  font-size: 18px;
}

.score-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(77, 229, 255, 0.1);
  border: 1px solid rgba(77, 229, 255, 0.2);
  color: var(--neon-cyan);
}

.site-card-meta,
.monitoring-grid,
.comparison-list {
  display: grid;
  gap: 12px;
}

.site-card-meta {
  margin: 8px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.monitoring-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.monitoring-metric {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 229, 255, 0.1);
  background: rgba(8, 12, 22, 0.58);
  display: grid;
  gap: 6px;
}

.monitoring-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--muted-2);
}

.monitoring-value {
  font-size: 18px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
}

.monitoring-value.is-positive {
  color: var(--neon-lime);
}

.monitoring-value.is-negative {
  color: #ff8b8b;
}

.monitoring-subvalue {
  font-size: 13px;
  color: var(--muted);
}

.comparison-list {
  margin-top: 4px;
}

.comparison-change {
  border-radius: 14px;
  padding: 14px;
  background: rgba(8, 12, 22, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
}

.comparison-change.severity-high {
  border-color: rgba(255, 120, 120, 0.35);
}

.comparison-change.severity-medium {
  border-color: rgba(255, 157, 77, 0.28);
}

.comparison-change.severity-low {
  border-color: rgba(77, 229, 255, 0.2);
}

.comparison-change-head,
.comparison-change-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.change-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
}

.change-value {
  color: var(--text);
  word-break: break-word;
}

.change-arrow {
  color: var(--muted-2);
}

.inline-label {
  margin-bottom: 0;
  font-weight: 500;
}

.site-actions,
.stacked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stacked-actions {
  flex-direction: column;
  align-items: flex-start;
}

.empty-state {
  padding: 24px;
  border-radius: 16px;
  border: 1px dashed rgba(77, 229, 255, 0.24);
  background: rgba(8, 12, 22, 0.55);
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 18px;
}

.auth-card {
  max-width: 560px;
}

.auth-hero {
  max-width: 760px;
}

.auth-links {
  margin-top: 16px;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-errors {
  margin: 12px 0 0;
  padding-left: 18px;
}

.site-latest {
  display: grid;
  gap: 18px;
}

.site-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.preview-card {
  margin-top: 8px;
}

.table-actions {
  text-align: right;
}

@media (max-width: 800px) {
  .hero,
  .section-header,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-hero,
  .landing-form-row {
    grid-template-columns: 1fr;
  }

  .landing-hero-copy h1 {
    max-width: none;
    font-size: 42px;
  }

  .container {
    padding: 28px 16px 56px;
  }

  h1 {
    font-size: 32px;
  }

  .results-table .label {
    width: auto;
  }
}

.score-report {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.score-report.is-ready {
  animation: fade-up 0.5s ease;
}

.score-report-top {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 24px;
  align-items: center;
}

.score-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.score-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.seo-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 229, 255, 0.18);
  background: rgba(8, 12, 22, 0.7);
  color: var(--neon-cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.seo-status-pill.is-critical {
  color: #ff8b8b;
  border-color: rgba(255, 120, 120, 0.35);
  background: rgba(255, 77, 77, 0.12);
}

.seo-status-pill.is-needs-attention {
  color: var(--neon-orange);
  border-color: rgba(255, 157, 77, 0.3);
  background: rgba(255, 157, 77, 0.12);
}

.seo-status-pill.is-fair {
  color: #d9e7ff;
  border-color: rgba(159, 176, 199, 0.3);
  background: rgba(159, 176, 199, 0.12);
}

.seo-status-pill.is-strong {
  color: var(--neon-cyan);
  border-color: rgba(77, 229, 255, 0.24);
  background: rgba(77, 229, 255, 0.12);
}

.seo-status-pill.is-healthy {
  color: var(--neon-lime);
  border-color: rgba(183, 255, 42, 0.3);
  background: rgba(183, 255, 42, 0.12);
}

.score-gauge {
  position: relative;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

.score-gauge:hover {
  transform: scale(1.02);
}

.score-gauge svg {
  transform: rotate(-90deg);
}

.score-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.score-progress {
  stroke: url(#scoreGradient);
  transition: stroke-dashoffset 1.2s ease;
  filter: drop-shadow(0 0 10px rgba(77, 229, 255, 0.5));
}

.rank-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
}

.score-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
}

.score-value {
  font-size: 48px;
  font-family: "Orbitron", sans-serif;
}

.score-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.score-summary {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}

.tone-toggle {
  display: inline-flex;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.tone-button {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(12, 18, 32, 0.75);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tone-button:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 229, 255, 0.4);
}

.tone-button.is-active {
  color: #05060a;
  background: linear-gradient(120deg, rgba(77, 229, 255, 0.9), rgba(255, 75, 216, 0.9));
  border-color: transparent;
}

.score-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.score-highlights li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.score-report-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.report-issues-card {
  display: grid;
  gap: 18px;
}

.report-issue-list {
  display: grid;
  gap: 12px;
}

.report-issue {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(77, 229, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.76), rgba(8, 12, 22, 0.62));
}

.report-issue.severity-critical {
  border-color: rgba(255, 120, 120, 0.3);
}

.report-issue.severity-high {
  border-color: rgba(255, 157, 77, 0.24);
}

.report-issue.severity-medium {
  border-color: rgba(77, 229, 255, 0.18);
}

.report-issue.severity-low {
  border-color: rgba(159, 176, 199, 0.14);
}

.report-issue-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(77, 229, 255, 0.08);
  border: 1px solid rgba(77, 229, 255, 0.12);
  color: var(--neon-cyan);
}

.report-issue.severity-critical .report-issue-icon {
  color: #ff8b8b;
  background: rgba(255, 77, 77, 0.1);
  border-color: rgba(255, 120, 120, 0.18);
}

.report-issue.severity-high .report-issue-icon {
  color: var(--neon-orange);
  background: rgba(255, 157, 77, 0.1);
  border-color: rgba(255, 157, 77, 0.16);
}

.report-issue.severity-medium .report-issue-icon {
  color: var(--neon-cyan);
}

.report-issue.severity-low .report-issue-icon {
  color: var(--muted);
  background: rgba(159, 176, 199, 0.08);
  border-color: rgba(159, 176, 199, 0.12);
}

.report-issue-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-issue-copy {
  min-width: 0;
}

.report-issue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.report-issue-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.report-issue-severity {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-issue-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  max-width: 56ch;
}

.report-issue-empty {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(77, 229, 255, 0.18);
  background: rgba(8, 12, 22, 0.5);
}

.report-issue-empty h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.report-issue-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.report-body {
  display: grid;
  gap: 18px;
  position: relative;
}

.report-body-content {
  display: grid;
  gap: 20px;
  position: relative;
}

.report-body-gated .report-body-content {
  border-radius: 26px;
  overflow: hidden;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.report-body-gated .report-body-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.06), rgba(5, 6, 10, 0.32) 46%, rgba(5, 6, 10, 0.76));
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.report-body-gated.is-gated-active .report-body-content {
  filter: blur(7px) saturate(0.78);
  opacity: 0.56;
  pointer-events: none;
  transform: translateY(2px) scale(1.008);
  user-select: none;
}

.report-body-gated.is-gated-active .report-body-content::before {
  opacity: 1;
}

.report-body-gated .report-body-content > * {
  position: relative;
  z-index: 0;
}

.report-gate-sentinel {
  height: 1px;
  margin-bottom: -1px;
}

.report-gate-inline {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(77, 229, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(15, 22, 38, 0.94), rgba(8, 12, 22, 0.84)),
    rgba(8, 12, 22, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.report-body-gated .report-gate-inline {
  display: none;
}

.report-body-gated.gate-modal-dismissed .report-gate-inline {
  display: grid;
}

.report-gate-inline-copy {
  margin: 0;
  max-width: 42ch;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.report-gate-inline .report-gate-actions {
  margin-top: 2px;
}

.report-gate-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.report-gate-shell[hidden] {
  display: none !important;
}

.report-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.56);
  backdrop-filter: blur(8px);
}

.report-gate-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(77, 229, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(16, 24, 42, 0.96), rgba(8, 12, 22, 0.92)),
    rgba(8, 12, 22, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(77, 229, 255, 0.08);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 14px;
}

.report-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 22, 0.82);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.report-gate-close:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 229, 255, 0.3);
  color: var(--neon-cyan);
}

.report-gate-close:focus-visible {
  outline: 2px solid rgba(77, 229, 255, 0.55);
  outline-offset: 2px;
}

.report-gate-modal .report-gate-eyebrow {
  margin: 0;
}

.report-gate-modal h2 {
  margin: 0;
  max-width: 15ch;
  font-size: 28px;
  line-height: 1.08;
}

.report-gate-copy {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.report-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-gate-actions .button-large {
  min-width: 160px;
}

@media (prefers-reduced-motion: reduce) {
  .report-body-gated .report-body-content,
  .report-body-gated .report-body-content::before,
  .report-gate-modal,
  .report-gate-close {
    transition: none;
  }
}

.breakdown {
  display: grid;
  gap: 16px;
}

.breakdown-row {
  display: grid;
  gap: 8px;
}

.breakdown-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breakdown-name {
  font-weight: 600;
}

.breakdown-score {
  font-family: "Share Tech Mono", monospace;
  color: var(--neon-lime);
}

.breakdown-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.breakdown-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(120deg, rgba(77, 229, 255, 0.9), rgba(183, 255, 42, 0.9));
  transition: width 1s ease;
}

.breakdown.is-ready .breakdown-fill {
  width: var(--target, 0%);
}

.breakdown-hint {
  font-size: 13px;
  color: var(--muted-2);
}

.badge-rack {
  display: grid;
  gap: 16px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.badge {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 32, 0.7);
  display: grid;
  gap: 6px;
  min-height: 86px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge.unlocked {
  border-color: rgba(183, 255, 42, 0.4);
  box-shadow: var(--glow-lime);
}

.badge.locked {
  opacity: 0.45;
}

.badge-name {
  font-weight: 600;
}

.badge-desc {
  font-size: 12px;
  color: var(--muted-2);
}

.badge:hover {
  transform: translateY(-2px);
}

.badge.unlocked .badge-name {
  color: var(--neon-lime);
}

.badge.locked .badge-name::after {
  content: " (Locked)";
  color: var(--muted-2);
  font-weight: 400;
}

.share-row {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.share-text {
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  background: rgba(8, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  word-break: break-word;
}

.scan-panel {
  display: grid;
  gap: 10px;
  text-align: center;
  padding: 28px;
  border-radius: 18px;
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid rgba(77, 229, 255, 0.25);
  box-shadow: var(--shadow);
  animation: pulse-glow 1.2s ease-in-out infinite;
}

.scan-title {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--neon-cyan);
}

.scan-message {
  font-size: 16px;
  color: var(--text);
}

.scan-dots {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
}

.scan-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--neon-magenta);
  animation: scan-dot 0.9s ease-in-out infinite;
}

.scan-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.scan-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--neon-cyan);
}

.link {
  color: var(--neon-cyan);
  text-decoration: none;
}

.link:hover {
  color: var(--neon-magenta);
}

@media (max-width: 840px) {
  .hero {
    flex-direction: column;
  }

  .score-report-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .share-row {
    justify-items: center;
  }

  .score-gauge {
    width: 200px;
    height: 200px;
  }

  .score-status-head,
  .report-issue-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-table .label {
    width: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 32px 18px 48px;
  }

  h1 {
    font-size: 32px;
  }

  .report-gate-shell {
    padding: 16px;
  }

  .report-gate-modal {
    padding: 22px 18px 18px;
  }

  .report-gate-modal h2 {
    max-width: none;
    font-size: 24px;
  }

  .report-gate-actions .button-large {
    min-width: 0;
    width: 100%;
  }

  .landing-hero-copy h1 {
    font-size: 34px;
  }
}

@keyframes scan-dot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(77, 229, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 75, 216, 0.35);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
