:root {
  --bg: #0b1020;
  --bg-soft: #10162b;
  --card: #141b33;
  --card-2: #18203c;
  --line: #263052;
  --text: #eef2ff;
  --muted: #9aa6cc;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --radius: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.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; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem clamp(1rem, 5vw, 3rem);
  background: rgba(11,16,32,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--accent); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 22px rgba(110,231,255,.45);
}
.site-header nav { display: flex; align-items: center; gap: 1.5rem; font-size: .92rem; color: var(--muted); }
.site-header nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--text); color: var(--bg) !important; font-weight: 600;
  padding: .5rem 1rem; border-radius: 10px;
}
.nav-cta:hover { background: var(--accent) !important; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 1rem clamp(3rem, 7vw, 5rem); text-align: center; }
.hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.orb-a { width: 460px; height: 460px; background: #2dd4bf; top: -120px; left: -80px; }
.orb-b { width: 520px; height: 520px; background: #7c3aed; top: -60px; right: -120px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--accent); margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 1.25rem; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 2.25rem; }
.lead-narrow { color: var(--muted); max-width: 620px; margin: 1rem auto 0; }

.check-form { display: flex; gap: .6rem; max-width: 620px; margin: 0 auto; flex-wrap: wrap; }
.input-wrap { position: relative; flex: 1 1 320px; }
.input-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: var(--muted); }
.input-wrap input {
  width: 100%; padding: 1.05rem 1rem 1.05rem 3rem; font-size: 1.05rem;
  color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; outline: none; transition: border .2s, box-shadow .2s;
}
.input-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(110,231,255,.12); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: 1.05rem 1.6rem; font-size: 1.02rem; font-weight: 700; cursor: pointer;
  color: #071021; background: linear-gradient(90deg, var(--accent), #8be9fd);
  border: 0; border-radius: 12px; transition: transform .15s, filter .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); padding: .65rem 1.1rem; font-size: .9rem; }
.btn.ghost:hover { border-color: var(--accent); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: .5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.contact-form label { font-size: .82rem; font-weight: 700; color: var(--text); margin-top: .6rem; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(110,231,255,.12); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 1.1rem; }
.form-note { color: var(--muted); font-size: .85rem; margin: .9rem 0 0; }
.form-note a { color: var(--accent); }

.fineprint { color: #6d79a3; font-size: .8rem; margin: 1rem 0 0; }
.error { max-width: 620px; margin: 1rem auto 0; padding: .85rem 1rem; background: rgba(251,113,133,.12); border: 1px solid rgba(251,113,133,.4); color: #ffc9d2; border-radius: 12px; }
.loading { margin: 2.5rem auto 0; color: var(--muted); }
.loading p { margin: .75rem 0 0; font-size: .92rem; }
.spinner { width: 34px; height: 34px; margin: 0 auto; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* results */
.results { max-width: 1120px; margin: 0 auto; padding: 0 1rem 4rem; }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.results-head h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.03em; }
.results-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.results-head .eyebrow { margin-bottom: .35rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.15rem; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: .9rem; margin: 0 0 1.25rem; }
.dashboard { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; margin-bottom: 1rem; }
.score-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge { position: relative; width: 168px; height: 168px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; }
.gauge-bg { stroke: var(--line); }
.gauge-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .9s ease, stroke .4s; }
.gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-label span { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.gauge-label small { color: var(--muted); font-size: .8rem; }
.grade { margin-top: .5rem; font-size: 1.6rem; font-weight: 800; }
.score-caption { color: var(--muted); font-size: .88rem; margin: .25rem 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; align-content: center; }
.stat { background: var(--card-2); border-radius: 12px; padding: 1.1rem .5rem; text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat-num.bad { color: var(--bad); }
.stat-label { display: block; color: var(--muted); font-size: .78rem; margin-top: .3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.bot-list { display: flex; flex-direction: column; gap: .4rem; max-height: 520px; overflow-y: auto; padding-right: .25rem; }
.bot-row { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; background: var(--card-2); border-radius: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.allowed { background: var(--good); box-shadow: 0 0 10px rgba(52,211,153,.6); }
.dot.blocked { background: var(--bad); box-shadow: 0 0 10px rgba(251,113,133,.6); }
.dot.not-mentioned { background: var(--warn); box-shadow: 0 0 10px rgba(251,191,36,.5); }
.bot-name { font-weight: 600; font-size: .9rem; }
.bot-vendor { color: var(--muted); font-size: .78rem; }
.bot-state { margin-left: auto; font-size: .74rem; font-weight: 700; text-transform: capitalize; padding: .2rem .55rem; border-radius: 999px; }
.state-allowed { color: var(--good); background: rgba(52,211,153,.12); }
.state-blocked { color: var(--bad); background: rgba(251,113,133,.12); }
.state-not-mentioned { color: var(--warn); background: rgba(251,191,36,.12); }
.check-list { display: flex; flex-direction: column; gap: .35rem; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid rgba(38,48,82,.6); }
.check-row:last-child { border-bottom: 0; }
.check-icon { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.check-icon.ok { background: rgba(52,211,153,.15); color: var(--good); }
.check-icon.no { background: rgba(251,113,133,.15); color: var(--bad); }
.check-label { font-weight: 600; font-size: .9rem; }
.check-detail { color: var(--muted); font-size: .82rem; }
.rec-card { margin-bottom: 1rem; }
.rec-list { display: flex; flex-direction: column; gap: .75rem; }
.rec { border-left: 3px solid var(--line); padding: .2rem 0 .2rem 1rem; }
.rec.high { border-color: var(--bad); }
.rec.medium { border-color: var(--warn); }
.rec.low { border-color: var(--accent); }
.rec.good { border-color: var(--good); }
.rec h4 { margin: 0 0 .25rem; font-size: .98rem; }
.rec p { margin: 0; color: var(--muted); font-size: .88rem; }
.robots-details summary { cursor: pointer; font-weight: 600; }
.robots-details pre { white-space: pre-wrap; word-break: break-word; background: #0a0f1e; padding: 1rem; border-radius: 10px; color: #a9b6df; font-size: .8rem; max-height: 260px; overflow: auto; }
.ad-slot { min-height: 90px; margin: 1.5rem 0; display: grid; place-items: center; color: #4d5882; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot:empty::after { content: "Advertising"; }

/* sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 1rem; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.75rem; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: -.035em; margin: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.feature .fnum { color: var(--accent); font-weight: 800; font-size: .85rem; letter-spacing: .1em; }
.feature h3 { margin: .5rem 0 .6rem; font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.crawler-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; max-width: 1100px; margin: 0 auto; }
.crawler-item { display: flex; align-items: center; gap: .75rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.crawler-item strong { font-size: .92rem; }
.crawler-item small { display: block; color: var(--muted); font-size: .76rem; }
.kind-badge { margin-left: auto; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-2); }
.disclaimer-note { text-align: center; color: #6d79a3; font-size: .82rem; max-width: 720px; margin: 2rem auto 0; }
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.aff-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border .2s, transform .2s; }
.aff-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.aff-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.aff-card h3 { margin: .5rem 0 .6rem; }
.aff-card p { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.aff-cta { color: var(--accent); font-weight: 600; font-size: .9rem; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .6rem; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { color: var(--muted); margin: .75rem 0 0; font-size: .92rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 1rem 2rem; color: var(--muted); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner strong { color: var(--text); }
.footer-inner p { margin: .35rem 0 0; font-size: .9rem; }
.footer-inner nav { display: flex; gap: 1.25rem; font-size: .9rem; }
.footer-inner nav a:hover { color: var(--accent); }
.legal { max-width: 1100px; margin: 2rem auto 0; font-size: .76rem; color: #5c678f; border-top: 1px solid var(--line); padding-top: 1.25rem; }
code { background: var(--card); padding: .1rem .35rem; border-radius: 5px; font-size: .85em; }

@media (max-width: 820px) {
  .dashboard { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header nav a:not(.nav-cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}
