:root {
  --bg: #080c13;
  --panel: #0e1622;
  --panel-2: #111c2b;
  --line: #1c2839;
  --line-soft: rgba(80, 120, 170, 0.14);
  --text: #e8eef8;
  --muted: #94a6bd;
  --dim: #64748b;
  --accent: #4d8dff;
  --accent-2: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 14px;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.glow {
  position: fixed;
  inset: -25% -10% auto;
  height: 760px;
  pointer-events: none;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(77, 141, 255, 0.16), transparent 70%),
    radial-gradient(520px 300px at 84% 14%, rgba(34, 211, 238, 0.1), transparent 72%);
  z-index: 0;
}

main, .top, .foot { position: relative; z-index: 1; }

/* ---------- шапка ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand em { font-style: normal; color: #8ab6ff; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(140deg, #2563eb, #38bdf8 60%, #22d3ee);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.22);
}

.brand-mark svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; }
.brand-mark.small svg { width: 16px; height: 16px; }

.products {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(14, 22, 34, 0.6);
}

.products a {
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.products a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.products a.active {
  color: #cfe0ff;
  background: rgba(77, 141, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(77, 141, 255, 0.3);
}

.top-side { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--dim);
  font-size: 12.5px;
  white-space: nowrap;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px currentColor;
}

.status-pill.ready { color: #a9c7ff; border-color: rgba(77, 141, 255, 0.32); }
.status-pill.ready i { background: var(--accent); }
.status-pill.error { color: #f3b2b2; border-color: rgba(248, 113, 113, 0.3); }
.status-pill.error i { background: var(--bad); }

.account {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #121c2a;
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.account:hover { background: #182436; border-color: #2a3b53; }

/* ---------- герой ---------- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 62px 24px 10px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(77, 141, 255, 0.06);
  color: #a9bfe0;
  font-size: 13px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.04); } }

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 span {
  background: linear-gradient(100deg, #8ab6ff, var(--accent-2) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- поиск ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
  padding: 7px 7px 7px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.16s, box-shadow 0.16s;
}

.search:focus-within {
  border-color: rgba(77, 141, 255, 0.6);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(77, 141, 255, 0.1);
}

.search-icon { display: grid; place-items: center; color: var(--dim); }
.search-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.search input {
  flex: 1;
  min-width: 0;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 16px/1.4 var(--mono);
  outline: none;
}

.search input::placeholder { color: #4f6178; font-family: "Inter", sans-serif; }

.search button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 22px;
  border: 1px solid #4d8dff;
  border-radius: 10px;
  background: linear-gradient(180deg, #3f80f7, #2f6fe4);
  box-shadow: 0 8px 22px rgba(63, 128, 247, 0.26);
  color: #fff;
  font: 600 15px/1 "Inter", sans-serif;
  cursor: pointer;
  transition: filter 0.12s, transform 0.12s;
}

.search button:hover:not(:disabled) { filter: brightness(1.08); }
.search button:active:not(:disabled) { transform: translateY(1px); }
.search button:disabled { opacity: 0.7; cursor: progress; }

.spinner {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  color: var(--dim);
  font-size: 13.5px;
}

.examples button {
  padding: 5px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #b6c7dc;
  font: 13px/1 var(--mono);
  cursor: pointer;
  transition: 0.15s;
}

.examples button:hover { border-color: rgba(77, 141, 255, 0.45); color: #9cc0ff; }

.examples.history { margin-top: 10px; }
.examples.history button { border-style: dashed; color: #8ea4bf; }

.hero-note {
  max-width: 580px;
  margin: 26px auto 0;
  color: #5d7189;
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- результат ---------- */
.result { max-width: 920px; margin: 0 auto; padding: 8px 24px 0; }

.verdict {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 31, 47, 0.55), rgba(11, 18, 32, 0.55));
  backdrop-filter: blur(14px);
  overflow: hidden;
  animation: rise 0.35s ease-out;
}

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.verdict-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.verdict-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
}

.verdict-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.verdict[data-verdict="blocked"] .verdict-icon { background: rgba(248, 113, 113, 0.12); color: var(--bad); }
.verdict[data-verdict="risky"] .verdict-icon { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.verdict[data-verdict="unreachable"] .verdict-icon { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.verdict[data-verdict="nxdomain"] .verdict-icon { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

.verdict-title { margin: 2px 0 4px; font-size: 21px; letter-spacing: -0.02em; }
.verdict-sub { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 560px; }

.verdict-target {
  margin: 0 0 0 auto;
  font: 13px/1.5 var(--mono);
  color: var(--dim);
  text-align: right;
  word-break: break-all;
}

.verdict-target b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
}

.stat { padding: 15px 22px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat dt { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat dd { margin: 5px 0 0; font-size: 15px; font-weight: 600; }
.stat dd.ok { color: var(--ok); }
.stat dd.bad { color: var(--bad); }
.stat dd.warn { color: var(--warn); }

.ips { padding: 8px 26px 20px; }

.ip-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.ip-row:last-child { border-bottom: 0; }

.ip-addr { font: 14px/1.4 var(--mono); color: #dbe7f5; }
.ip-geo { font-size: 14px; }
.ip-geo small { display: block; color: var(--dim); font-size: 12.5px; }
.ip-asn { color: var(--muted); font-size: 13px; word-break: break-word; }

.ports { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

.port {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--dim);
  font: 12px/1.4 var(--mono);
}

.port b { font-weight: 600; color: #9fb3ca; }
.port.open { border-color: rgba(52, 211, 153, 0.35); color: var(--ok); background: rgba(52, 211, 153, 0.07); }
.port.open b { color: var(--ok); }
.port.closed, .port.error { border-color: rgba(248, 113, 113, 0.25); color: #d98b8b; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(77, 141, 255, 0.1);
  border: 1px solid rgba(77, 141, 255, 0.22);
  color: #a8c6ff;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.tag.bad { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.28); color: #f4a7a7; }

/* ---------- диагностика ---------- */
.diag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
}

.diag-item {
  padding: 16px 26px 18px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.diag-item:nth-child(2n) { border-right: 0; }
.diag-item:nth-last-child(-n+2) { border-bottom: 0; }

.diag-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.diag-head svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.diag-value { margin-top: 6px; font-size: 15px; font-weight: 600; }
.diag-value.ok { color: var(--ok); }
.diag-value.bad { color: var(--bad); }
.diag-value.warn { color: var(--warn); }
.diag-sub { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; word-break: break-word; }
.diag-sub code { font-family: var(--mono); font-size: 12.5px; color: #b9cbe0; }

/* ---------- DNS-записи ---------- */
.records {
  border-top: 1px solid var(--line-soft);
  padding: 16px 26px 18px;
}

.records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.records-head span { text-transform: none; letter-spacing: 0; font-size: 12px; }

.record-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.record-row:last-child { border-bottom: 0; }

.rtype {
  color: #8ab6ff;
  font: 600 12px/1.7 var(--mono);
  letter-spacing: 0.04em;
}

.rval {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #c7d6e8;
  word-break: break-word;
}

/* ---------- сетевые утилиты ---------- */
.tools {
  border-top: 1px solid var(--line-soft);
  padding: 14px 26px 18px;
}

.tools-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.tools-title {
  margin-right: auto;
  color: var(--dim);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tool-btn {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121c2a;
  color: var(--text);
  font: 13px "Inter", sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.tool-btn:hover:not(:disabled) { border-color: rgba(77, 141, 255, 0.45); color: #9cc0ff; }
.tool-btn:disabled { opacity: 0.5; cursor: progress; }

.tools-out { margin-top: 12px; }
.tools-loading { color: var(--muted); font-size: 13.5px; }
.tools-error { color: #f3b2b2; font-size: 13.5px; }
.tools-note { margin-top: 8px; color: var(--dim); font-size: 12px; }

.ping-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ping-stat { color: var(--muted); font-size: 13.5px; }
.ping-stat b { color: var(--text); }

.hops {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.hop-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line-soft);
  font: 12.5px/1.5 var(--mono);
}

.hop-row:last-child { border-bottom: 0; }
.hop-num { color: var(--dim); }
.hop-ip { color: #c7d6e8; }
.hop-rtt { color: var(--muted); text-align: right; }
.hop-timeout { color: #d98b8b; }

/* ---------- подвал результата ---------- */
.verdict-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 26px;
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.14);
  color: var(--dim);
  font-size: 12.5px;
}

.verdict-foot code { font-family: var(--mono); color: #9fb3ca; }

.error-box {
  margin-top: 30px;
  padding: 16px 20px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.07);
  color: #f3b2b2;
  font-size: 14.5px;
  animation: rise 0.3s ease-out;
}

/* ---------- секции ---------- */
.section { max-width: 1020px; margin: 0 auto; padding: 76px 24px 0; }

.section h2 {
  margin: 0 0 24px;
  font-size: 27px;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.section-lead { margin: -12px 0 26px; color: var(--muted); font-size: 15.5px; max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 31, 47, 0.75), rgba(12, 19, 29, 0.75));
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: rgba(77, 141, 255, 0.32); transform: translateY(-2px); }

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #13203a;
  border: 1px solid #22385a;
  color: #8ab6ff;
}

.card-icon.cyan { color: var(--accent-2); }
.card-icon.green { color: var(--ok); }
.card-icon.amber { color: var(--warn); }
.card-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin: 0 0 7px; font-size: 15.5px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 22, 34, 0.5);
}

.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(77, 141, 255, 0.12);
  border: 1px solid rgba(77, 141, 255, 0.28);
  color: #9cc0ff;
  font-size: 14px;
  font-weight: 600;
}

.steps h3 { margin: 3px 0 4px; font-size: 15.5px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.how-note {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 2px solid rgba(77, 141, 255, 0.5);
  background: rgba(77, 141, 255, 0.05);
  border-radius: 0 10px 10px 0;
  color: #a9bbd4;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 22, 34, 0.55);
}

.plan.featured {
  border-color: rgba(77, 141, 255, 0.45);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(14, 22, 34, 0.6));
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.12);
}

.plan h3 { margin: 0 0 6px; font-size: 16px; }
.price { margin: 0 0 16px; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.price small { font-size: 13px; font-weight: 500; color: var(--dim); }

.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(77, 141, 255, 0.6);
}

.plan .btn { margin-top: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121c2a;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover { background: #182436; border-color: #2a3b53; }

.btn.primary {
  background: linear-gradient(180deg, #3f80f7, #2f6fe4);
  border-color: #4d8dff;
  box-shadow: 0 8px 22px rgba(63, 128, 247, 0.24);
}

.btn.primary:hover { filter: brightness(1.07); background: linear-gradient(180deg, #4d8dff, #3a7bf0); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 15px;
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); border-color: rgba(77, 141, 255, 0.4); }

.faq details p { margin: 0; padding: 0 4px 20px; max-width: 780px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

.faq code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 12.5px;
  color: #b9cbe0;
}

/* ---------- экосистема ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.app {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 22, 34, 0.5);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}

.app:hover { border-color: rgba(77, 141, 255, 0.35); transform: translateY(-2px); background: rgba(17, 28, 43, 0.8); }

.app.active { border-color: rgba(77, 141, 255, 0.45); background: rgba(77, 141, 255, 0.07); }

.app-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: #13203a;
  border: 1px solid #22385a;
  color: #8ab6ff;
}

.app-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.app h3 { margin: 0 0 3px; font-size: 15px; }
.app p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- подвал ---------- */
.foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 40px;
  align-items: start;
  max-width: 1180px;
  margin: 80px auto 0;
  padding: 28px 24px 44px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 13.5px;
}

.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { display: block; color: var(--text); font-size: 15px; }
.foot-brand span { display: block; font-size: 12.5px; color: var(--dim); }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: #8ab6ff; }

.foot-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12.5px; color: #5d7189; }

.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;
}

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .products { display: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .top { flex-wrap: wrap; }
  .status-pill { display: none; }
  .hero { padding-top: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .ip-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .ip-geo, .ip-asn { grid-column: 1 / -1; }
  .ports { justify-content: flex-start; }
  .diag { grid-template-columns: 1fr; }
  .diag-item { border-right: 0; }
  .diag-item:nth-last-child(1) { border-bottom: 0; }
  .diag-item:nth-last-child(2) { border-bottom: 1px solid var(--line-soft); }
  .cards, .apps { grid-template-columns: 1fr; }
  .verdict-head { flex-wrap: wrap; }
  .verdict-target { margin: 0; text-align: left; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .search button { min-width: 54px; padding: 12px 14px; }
  .search button .btn-label { display: none; }
  .search:not(.busy) button::after { content: "→"; font-size: 18px; line-height: 1; }
}
