/* ── Form ────────────────────────────────────────────────────────────────── */
.form-group { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
label { font-size: 13px; font-weight: 500; color: var(--muted2); text-align: right; }
input[type=text], input[type=number], select, textarea {
  width: 100%; height: 44px; background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: var(--sans); font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input[type=text]:focus-visible,
input[type=number]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,138,248,.3);
}
textarea { resize: vertical; min-height: 80px; height: auto; font-family: var(--mono); font-size: 12.5px; }
select { cursor: pointer; }
select option { background: var(--surface2); }

/* ── Method pills ────────────────────────────────────────────────────────── */
.method-group { display: flex; gap: 6px; }
.method-group input[type=radio] { display: none; }
.method-group label {
  text-align: center; padding: 8px 18px; border-radius: 8px;
  border: 1px solid var(--border2); cursor: pointer; font-size: 13px;
  font-weight: 600; font-family: var(--mono); color: var(--muted2);
  transition: all .2s;
}
.method-group label:hover { border-color: rgba(91,138,248,.2); color: var(--text); }
.method-group input[type=radio]:checked + label {
  color: var(--accent); background: rgba(91,138,248,.1); border-color: rgba(91,138,248,.35);
}

/* ── UA row ──────────────────────────────────────────────────────────────── */
.ua-row { display: flex; gap: 8px; }
.ua-row input { flex: 1; }
.ua-btn {
  background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px;
  padding: 9px 12px; color: var(--muted2); font-size: 12px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: all .2s;
}
.ua-btn:hover { background: var(--surface); color: var(--text); border-color: var(--accent); }

/* ── Checkbox ────────────────────────────────────────────────────────────── */
.check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; width: fit-content; }
.check-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.check-row span { font-size: 13px; color: var(--muted2); }

/* ── Inline row (timeout/maxredirs) ─────────────────────────────────────── */
.row-inline { display: flex; gap: 10px; align-items: center; }
.row-inline input { width: 80px; }
.row-inline label { text-align: left; white-space: nowrap; }

/* ── Bottom row ──────────────────────────────────────────────────────────── */
.bottom-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.encoding-select { width: auto; min-width: 180px; }


/* ── Section divider ─────────────────────────────────────────────────────── */
.form-section { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ── Error ───────────────────────────────────────────────────────────────── */
.error-box { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); border-radius: 10px; padding: 14px 18px; font-size: 13px; color: var(--red); margin-bottom: 20px; animation: fadeInUp .3s var(--ease-out); }

to   { opacity: 1; transform: translateY(0); }
}

/* ── Results ─────────────────────────────────────────────────────────────── */
.result-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden; margin-top: 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.2);
  animation: fadeInUp .4s var(--ease-out);
}
.result-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface2); border-bottom: 1px solid var(--border); }
.result-title {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted);
}
.redirect-badge { font-size: 11px; padding: 2px 8px; border-radius: 6px; font-weight: 600; background: rgba(251,191,36,.12); color: #eab308; border: 1px solid rgba(251,191,36,.2); }

.status-line { font-family: var(--mono); padding: 16px 20px 10px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.status-badge { font-size: 13px; padding: 4px 12px; border-radius: 8px; font-weight: 700; }
.st-2xx .status-badge { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.25); }
.st-3xx .status-badge { background: rgba(234,179,8,.12); color: #eab308; border: 1px solid rgba(234,179,8,.2); }
.st-4xx .status-badge { background: rgba(239,68,68,.12); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.st-5xx .status-badge { background: rgba(249,115,22,.12); color: var(--orange); border: 1px solid rgba(249,115,22,.2); }
.st-other .status-badge { background: var(--surface2); color: var(--muted2); }

/* ── Headers ─────────────────────────────────────────────────────────────── */
.headers-list { padding: 8px 0 16px; }
.header-row { display: grid; grid-template-columns: 230px 1fr; padding: 5px 20px; font-family: var(--mono); font-size: 12.5px; transition: background .15s; border-radius: 4px; }
.header-row:hover { background: rgba(255,255,255,.03); }
.hdr-name { font-weight: 500; padding-right: 16px; }
.hdr-val  { color: var(--muted2); word-break: break-all; }
.h-content  .hdr-name { color: var(--cyan); }
.h-cache    .hdr-name { color: #a78bfa; }
.h-location .hdr-name { color: #eab308; }
.h-server   .hdr-name { color: #94a3b8; }
.h-cookie   .hdr-name { color: var(--orange); }
.h-security .hdr-name { color: #22c55e; }
.h-custom   .hdr-name { color: #3b82f6; }
.h-other    .hdr-name { color: var(--text); }

/* ── Toggle extra headers ────────────────────────────────────────────────── */
.headers-extra { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.headers-extra.open { max-height: 4000px; }
.toggle-btn {
  display: flex; align-items: center; gap: 6px; margin: 4px 20px 12px;
  padding: 6px 14px; background: none; border: 1px solid var(--border2); border-radius: 8px;
  font-family: var(--sans); font-size: 12px; color: var(--muted2);
  cursor: pointer; transition: all .2s; width: fit-content;
}
.toggle-btn:hover { color: var(--accent); border-color: var(--accent); }
.toggle-btn .arrow { transition: transform .25s; display: inline-block; }
.toggle-btn[aria-expanded="true"] .arrow { transform: rotate(180deg); }

/* ── Legend ──────────────────────────────────────────────────────────────── */
.legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--border); }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── HTML viewer ─────────────────────────────────────────────────────────── */
.html-viewer { margin-top: 20px; animation: fadeInUp .45s var(--ease-out); }
.html-viewer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--surface2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px 14px 0 0;
}
.html-viewer-header span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.copy-btn {
  background: var(--surface); border: 1px solid var(--border2); border-radius: 8px;
  padding: 6px 14px; font-size: 12px; color: var(--muted2); cursor: pointer;
  font-family: var(--sans); transition: all .2s; opacity: 0.6;
}
.copy-btn:hover { opacity: 1; color: var(--accent); border-color: rgba(91,138,248,.3); background: rgba(91,138,248,.06); }
.html-pre { background: #1a1a2e; border: 1px solid var(--border); border-top: none; border-radius: 0 0 14px 14px; max-height: 420px; overflow: auto; }
.html-pre pre[class*=language-] { margin: 0; border-radius: 0; background: transparent; font-size: 12.5px; line-height: 1.6; }

/* ── UA dropdown ─────────────────────────────────────────────────────────── */
.ua-dropdown { position: relative; }
.ua-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 240px; max-height: 400px; overflow-y: auto;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 10px; z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.ua-dropdown[data-open="true"] .ua-dropdown-menu { display: block; }
.ua-group-label { padding: 8px 14px 4px; font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; pointer-events: none; border-top: 1px solid var(--border2); }
.ua-group-label:first-child { border-top: none; }
.ua-option { padding: 8px 14px; font-size: 12.5px; cursor: pointer; color: var(--muted2); transition: background .15s; }
.ua-option:hover, .ua-option:focus { background: var(--surface); color: var(--text); outline: none; }
.ua-option strong { color: var(--text); display: block; }
.ua-option small { font-size: 11px; }
.ua-dropdown-menu::-webkit-scrollbar { width: 6px; }
.ua-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.ua-dropdown-menu::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
.ua-dropdown-menu::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ── WHOIS card ──────────────────────────────────────────────────────────── */
.whois-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden; margin-top: 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  animation: fadeInUp .45s var(--ease-out);
}
.whois-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface2); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.whois-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.whois-domain { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-right: auto; }
.whois-short { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.whois-chip { display: flex; flex-direction: column; gap: 1px; }
.whois-chip-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.whois-chip-val { font-size: 13px; font-family: var(--mono); color: var(--text); }
.whois-chip-val a { color: var(--accent); text-decoration: none; }
.whois-chip-val a:hover { text-decoration: underline; }
.whois-chip-sep { width: 1px; height: 30px; background: var(--border2); }
.whois-full { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.whois-full.open { max-height: 3000px; }
.whois-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.whois-row { padding: 10px 20px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
.whois-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.whois-val { font-size: 12.5px; font-family: var(--mono); color: var(--text); word-break: break-all; }
.whois-val a { color: var(--accent); text-decoration: none; }
.whois-val a:hover { text-decoration: underline; }
.whois-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.whois-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(91,138,248,.1); border: 1px solid rgba(91,138,248,.2); color: var(--accent); font-family: var(--sans); }
.whois-ns-tag { background: var(--surface2); border-color: var(--border2); color: var(--muted2); }
.whois-raw-wrap { border-top: 1px solid var(--border); }
.whois-raw-toggle { display: flex; align-items: center; gap: 6px; width: 100%; padding: 12px 20px; background: none; border: none; font-family: var(--sans); font-size: 12px; color: var(--muted2); cursor: pointer; text-align: left; transition: color .2s; }
.whois-raw-toggle:hover { color: var(--accent); }
.whois-raw-pre { display: none; padding: 16px 20px; font-family: var(--mono); font-size: 11.5px; color: var(--muted2); line-height: 1.7; white-space: pre-wrap; word-break: break-all; border-top: 1px solid var(--border); max-height: 360px; overflow-y: auto; background: #0d0f1a; }
.whois-raw-pre.open { display: block; }
.whois-toggle { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--muted2); background: var(--surface2); border: 1px solid var(--border2); cursor: pointer; font-family: var(--sans); transition: all .2s; white-space: nowrap; }
.whois-toggle:hover { color: var(--accent); border-color: var(--accent); }
.whois-toggle .arr { transition: transform .25s; }
.whois-toggle[aria-expanded="true"] .arr { transform: rotate(180deg); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .whois-grid { grid-template-columns: 1fr; }
  .whois-short { gap: 12px 20px; }
  .form-group { grid-template-columns: 1fr; }
  label { text-align: left; }
  .header-row { grid-template-columns: 1fr; }
  .hdr-name { padding-bottom: 2px; }
  .bottom-row { flex-wrap: wrap; }

  input[type=text], input[type=number], select, textarea { width: 100%; }
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
}

/* ── History ─────────────────────────────────────────────────────────────── */
#historyList{margin-top:16px}
.history-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.history-header span{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding-bottom:6px;border-bottom:2px solid rgba(91,138,248,.2)}
.history-clear{background:none;border:none;font-size:11px;color:var(--muted2);cursor:pointer;font-family:var(--sans);padding:4px 8px;border-radius:6px;transition:all .2s}
.history-clear:hover{color:var(--red);background:rgba(248,113,113,.1)}
.history-items{display:flex;flex-direction:column;gap:4px}
.history-item{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;cursor:pointer;transition:all .15s;text-align:left;width:100%;font-family:var(--sans)}
.history-item:hover{border-color:var(--accent);background:var(--surface2);transform:translateX(4px)}
.history-url{flex:1;font-family:var(--mono);font-size:12px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-meta{font-size:11px;color:var(--muted);white-space:nowrap}

/* ── Export bar ─────────────────────────────────────────────────────── */
.export-bar {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.export-btn {
  padding: 6px 14px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all .2s;
  opacity: 0.7;
}
.export-btn:hover {
  opacity: 1;
  color: var(--accent);
  border-color: rgba(91,138,248,.3);
  background: rgba(91,138,248,.08);
}

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE INTERACTIVE BLOCKS
   ═══════════════════════════════════════════════════════════════════ */

/* Section */
.home-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.home-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 8px;
}
.home-section__sub {
  text-align: center;
  color: var(--muted2);
  font-size: .95rem;
  margin: 0 0 28px;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.tool-card:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transform: translateY(-2px);
}
.tool-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tool-card__body h3 {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}
.tool-card__body p {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.feature-card {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.feature-card:hover {
  border-color: var(--accent);
}
.feature-card__num {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.feature-card p {
  font-size: .85rem;
  color: var(--muted2);
  margin: 0;
  line-height: 1.5;
}

/* Articles Grid */
.home-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.home-article-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
  display: block;
}
.home-article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(91,138,248,.1);
  transform: translateY(-2px);
}
.home-article-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(91,138,248,.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.home-article-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
}
.home-article-card p {
  font-size: .82rem;
  color: var(--muted2);
  margin: 0 0 10px;
  line-height: 1.5;
}
.home-article-card__meta {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--mono);
}

.home-more-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: opacity .2s;
}
.home-more-link:hover { opacity: .8; }

/* CTA */
.home-cta {
  margin-top: 56px;
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(91,138,248,.06) 0%, rgba(124,96,245,.06) 100%);
  border: 1px solid rgba(91,138,248,.15);
  border-radius: var(--radius);
}
.home-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.home-cta p {
  color: var(--muted2);
  font-size: .95rem;
  margin: 0 0 24px;
}
.home-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-cta__btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.home-cta__btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
}
.home-cta__btn--primary:hover {
  opacity: .9;
  box-shadow: 0 4px 16px rgba(91,138,248,.3);
}
.home-cta__btn--outline {
  color: var(--accent);
  border: 1px solid rgba(91,138,248,.3);
  background: transparent;
}
.home-cta__btn--outline:hover {
  background: rgba(91,138,248,.08);
  border-color: rgba(91,138,248,.5);
}

/* Responsive */
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .home-articles { grid-template-columns: 1fr; }
  .home-section__title { font-size: 1.25rem; }
  .home-cta { padding: 32px 20px; }
  .home-cta h2 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Compare Grid (homepage) ──────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.compare-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.compare-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(91,138,248,.1);
  transform: translateY(-2px);
}
.compare-card__vs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.compare-card__us {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
}
.compare-card__divider {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--mono);
}
.compare-card__them {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.compare-card p {
  font-size: .82rem;
  color: var(--muted2);
  margin: 0;
  line-height: 1.45;
}
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION — Redesign v2
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 20px 0 0;
  margin-bottom: 32px;
  overflow: visible;
}

/* Dot grid background */
.hero-grid {
  position: absolute;
  inset: -40px -60px;
  background-image: radial-gradient(circle, rgba(91,138,248,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
  background: rgba(91,138,248,.08);
}
.hero-orb--2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -80px;
  background: rgba(124,96,245,.07);
  animation-delay: -4s;
  animation-direction: reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -10px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--accent2) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: .95rem;
  color: var(--muted2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form card glow wrapper */
.hero-form-wrap {
  position: relative;
  z-index: 20;
}

.hero-form-wrap .card {
  position: relative;
  border: 1px solid rgba(91,138,248,.15);
  box-shadow: 0 0 40px rgba(91,138,248,.04), 0 0 80px rgba(124,96,245,.03);
  transition: border-color .4s, box-shadow .4s;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(23, 26, 38, .95);
}

.hero-form-wrap .card:focus-within {
  border-color: rgba(91,138,248,.25);
  box-shadow: 0 0 40px rgba(91,138,248,.08), 0 0 80px rgba(124,96,245,.05);
}

/* Animated border shimmer */
.hero-form-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, transparent 30%, rgba(91,138,248,.2) 50%, transparent 70%);
  background-size: 300% 300%;
  animation: borderShimmer 4s ease-in-out infinite;
  z-index: -1;
  opacity: .5;
}

@keyframes borderShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Hero Stats Bar ──────────────────────────────────────────────────── */
.hero-stats {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.hero-stat__num {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.hero-stat__label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
  text-align: center;
}

.hero-stat__sep {
  width: 1px;
  height: 36px;
  background: var(--border2);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — Steps
   ═══════════════════════════════════════════════════════════════════════════ */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 220px;
  padding: 0 16px;
}

.step__icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step__icon {
  font-size: 28px;
  line-height: 1;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border2);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.step:hover .step__icon {
  border-color: rgba(91,138,248,.3);
  box-shadow: 0 0 24px rgba(91,138,248,.1);
  transform: translateY(-2px);
}

.step__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.step h3 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.step p {
  font-size: .82rem;
  color: var(--muted2);
  margin: 0;
  line-height: 1.45;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST BAR — Social Proof
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 16px;
  background: var(--surface);
  transition: background .2s;
}

.trust-item:hover {
  background: var(--surface2);
}

.trust-item__num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-item__label {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED CTA
   ═══════════════════════════════════════════════════════════════════════════ */

.home-cta {
  position: relative;
  overflow: hidden;
}

.home-cta__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(91,138,248,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(124,96,245,.06) 0%, transparent 60%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0% { opacity: .6; }
  100% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED TOOL CARDS — Glow hover
   ═══════════════════════════════════════════════════════════════════════════ */

.tool-card {
  position: relative;
  overflow: hidden;
}

.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(91,138,248,.06) 0%, transparent 60%);
  pointer-events: none;
}

.tool-card:hover::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED FEATURE CARDS — Border glow
   ═══════════════════════════════════════════════════════════════════════════ */

.feature-card {
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(91,138,248,.08);
  transform: translateY(-2px);
}

.feature-card__num {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for tools grid */
.reveal .tool-card,
.reveal .feature-card,
.reveal .compare-card,
.reveal .home-article-card,
.reveal .step,
.reveal .trust-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1);
}

.reveal.visible .tool-card,
.reveal.visible .feature-card,
.reveal.visible .compare-card,
.reveal.visible .home-article-card,
.reveal.visible .step,
.reveal.visible .trust-item {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal.visible .tool-card:nth-child(1),
.reveal.visible .feature-card:nth-child(1),
.reveal.visible .step:nth-child(1),
.reveal.visible .trust-item:nth-child(1) { transition-delay: .05s; }
.reveal.visible .tool-card:nth-child(2),
.reveal.visible .feature-card:nth-child(2),
.reveal.visible .step:nth-child(3),
.reveal.visible .trust-item:nth-child(2) { transition-delay: .1s; }
.reveal.visible .tool-card:nth-child(3),
.reveal.visible .feature-card:nth-child(3),
.reveal.visible .step:nth-child(5),
.reveal.visible .trust-item:nth-child(3) { transition-delay: .15s; }
.reveal.visible .tool-card:nth-child(4),
.reveal.visible .feature-card:nth-child(4),
.reveal.visible .trust-item:nth-child(4) { transition-delay: .2s; }
.reveal.visible .tool-card:nth-child(5) { transition-delay: .25s; }
.reveal.visible .tool-card:nth-child(6) { transition-delay: .3s; }
.reveal.visible .tool-card:nth-child(7) { transition-delay: .35s; }
.reveal.visible .tool-card:nth-child(8) { transition-delay: .4s; }

.reveal.visible .compare-card:nth-child(1) { transition-delay: .05s; }
.reveal.visible .compare-card:nth-child(2) { transition-delay: .1s; }
.reveal.visible .compare-card:nth-child(3) { transition-delay: .15s; }
.reveal.visible .compare-card:nth-child(4) { transition-delay: .2s; }

.reveal.visible .home-article-card:nth-child(1) { transition-delay: .05s; }
.reveal.visible .home-article-card:nth-child(2) { transition-delay: .1s; }
.reveal.visible .home-article-card:nth-child(3) { transition-delay: .15s; }
.reveal.visible .home-article-card:nth-child(4) { transition-delay: .2s; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Hero + Steps + Trust
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-sub {
    font-size: .88rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 0;
    padding: 16px;
  }
  .hero-stat {
    min-width: 45%;
  }
  .hero-stat__sep {
    display: none;
  }
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .step {
    max-width: 100%;
  }
  .step__connector {
    padding-top: 0;
    transform: rotate(90deg);
  }
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item {
    padding: 20px 12px;
  }
  .trust-item__num {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  .hero-stat {
    min-width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESULT CTA — Enhanced
   ═══════════════════════════════════════════════════════════════════════════ */

.result-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(91,138,248,.06) 0%, rgba(124,96,245,.06) 100%);
  border: 1px solid rgba(91,138,248,.15);
  border-radius: 14px;
  transition: border-color .3s;
}

.result-cta:hover {
  border-color: rgba(91,138,248,.25);
}

.result-cta__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.result-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-cta__text strong {
  font-size: .95rem;
  color: var(--text);
}

.result-cta__text span {
  font-size: .82rem;
  color: var(--muted2);
}

.result-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, box-shadow .2s;
}

.result-cta__btn:hover {
  opacity: .9;
  box-shadow: 0 4px 16px rgba(91,138,248,.3);
}

@media (max-width: 600px) {
  .result-cta {
    flex-direction: column;
    text-align: center;
  }
  .result-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Security Analysis Card ──────────────────────────────────────────────── */
.security-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  margin-top: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  animation: fadeInUp .45s var(--ease-out);
}

.security-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.security-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.security-score {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.security-grade {
  font-size: 22px;
  line-height: 1;
}

.security-points {
  font-size: 13px;
  opacity: .8;
}

.security-score--A { background: rgba(34,197,94,.15); color: #22c55e; }
.security-score--B { background: rgba(59,130,246,.15); color: #3b82f6; }
.security-score--C { background: rgba(234,179,8,.15); color: #eab308; }
.security-score--D { background: rgba(249,115,22,.15); color: #f97316; }
.security-score--F { background: rgba(239,68,68,.15); color: var(--danger); }

.security-checks {
  padding: 4px 0;
}

.security-check {
  border-bottom: 1px solid var(--border);
}

.security-check:last-child {
  border-bottom: none;
}

.security-check__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background .15s;
  user-select: none;
}

.security-check__row:hover {
  background: rgba(255,255,255,.03);
}

.security-check__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  text-align: center;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.security-check--pass .security-check__icon { color: #22c55e; background: rgba(34,197,94,.12); }
.security-check--fail .security-check__icon { color: var(--danger); background: rgba(239,68,68,.12); }
.security-check--warning .security-check__icon { color: #eab308; background: rgba(234,179,8,.12); }

.security-check__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 140px;
  flex-shrink: 0;
}

.security-check__value {
  flex: 1;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--muted2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-check__importance {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.security-check__importance--high { background: rgba(239,68,68,.15); color: var(--danger); }
.security-check__importance--medium { background: rgba(234,179,8,.15); color: #eab308; }
.security-check__importance--low { background: rgba(148,163,184,.15); color: #94a3b8; }

.security-check__arrow {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted2);
  transition: transform .2s;
}

.security-check__row[aria-expanded="true"] .security-check__arrow {
  transform: rotate(180deg);
}

.security-check__desc {
  display: none;
  padding: 0 20px 12px 50px;
}

.security-check__desc.is-open {
  display: block;
}

.security-check__header-name {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--accent);
  margin-bottom: 4px;
}

.security-check__desc p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted2);
  margin: 0;
}

@media (max-width: 768px) {
  .security-header {
    padding: 14px;
  }
  .security-check__row {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .security-check__name {
    min-width: 100px;
    font-size: 12px;
  }
  .security-check__value {
    display: none;
  }
  .security-check__desc {
    padding: 0 14px 12px 42px;
  }
}

/* Autofill override for dark theme */
#checkForm input:-webkit-autofill,
#checkForm input:-webkit-autofill:hover,
#checkForm input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--surface2) inset;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: var(--text);
}

/* ── Mobile Improvements ── */

@media (max-width: 480px) {
  .hero-form-wrap .card { padding: 16px 12px; }
  .form-group label { font-size: 0.82rem; }
  .ua-row { flex-direction: column; gap: 8px; }
  .form-bottom { flex-direction: column; gap: 10px; }
  .form-bottom .btn { width: 100%; justify-content: center; }
  .recent-checks { margin-top: 16px; }
}

/* ── Hero Stats Strip ────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hero-stat__num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--mono);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.hero-stat__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.hero-stat__sep {
  width: 1px;
  height: 32px;
  background: var(--border2);
}
@media (max-width: 640px) {
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 0 14px; }
  .hero-stat__num { font-size: 22px; }
  .hero-stat__sep { height: 24px; }
}

/* ── Pricing Teaser ──────────────────────────────────────── */
.pricing-teaser {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pricing-teaser__plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-width: 200px;
  flex: 1;
  max-width: 260px;
  position: relative;
  text-align: center;
}
.pricing-teaser__plan--accent {
  border-color: rgba(89,168,255,.3);
  box-shadow: 0 0 40px rgba(89,168,255,.06);
}
.pricing-teaser__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-teaser__name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pricing-teaser__price { font-size: 36px; font-weight: 800; font-family: var(--mono); margin-bottom: 16px; }
.pricing-teaser__price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.pricing-teaser__features { list-style: none; padding: 0; margin: 0; text-align: left; }
.pricing-teaser__features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.pricing-teaser__features li:last-child { border-bottom: none; }
.pricing-teaser__features li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.pricing-teaser__cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.pricing-teaser__cta:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .pricing-teaser__plan { max-width: 100%; }
}

/* ── 2026 HOMEPAGE REDESIGN ───────────────────────── */

/* Hero improvements */
.hero-section { position: relative; }
.hero-section h1 { font-size: clamp(1.6rem, 4.5vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.15; }
.hero-section .hero-sub { max-width: 540px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-form-wrap { border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); }
.hero-orb { opacity: 0.15; }
.hero-grid { opacity: 0.02; }

/* Stats row improvements */
.hero-stats { gap: 32px; padding: 24px 0; }
.hero-stats .hero-stat-value { font-size: 1.4rem; font-family: var(--mono); font-weight: 700; color: var(--accent); }
.hero-stats .hero-stat-label { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* Section spacing & alternating backgrounds */
.home-how { background: var(--section-alt); padding: 72px 0; border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.home-tools { padding: 72px 0; }
.home-tools .home-section__title { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.home-tools .home-section__sub { text-align: center; max-width: 500px; margin: 0 auto 40px; }
.home-why { background: var(--section-alt); padding: 72px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.home-articles { padding: 72px 0; }
.home-pricing-preview { background: var(--section-alt); padding: 72px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.home-cta { padding: 80px 0; background: var(--gradient-hero); }
.home-compare { padding: 72px 0; }
.home-seo-text { padding: 48px 0; }
.home-faq { padding: 72px 0; background: var(--section-alt); }

/* Tool cards redesign */
.tool-group { border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); background: var(--surface); overflow: hidden; transition: border-color 0.2s ease; }
.tool-group:hover { border-color: var(--card-hover-border); }
.tool-group-header { padding: 20px 24px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.tool-group-header h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.tool-group .tc-count { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-left: auto; background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 100px; }
.tool-cards-grid { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.tool-card { border-radius: 10px; padding: 12px 16px; transition: background 0.15s ease; }
.tool-card:hover { background: rgba(255,255,255,0.04); }
.tool-card h3 { font-size: 0.875rem; }
.tool-card p { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

/* How it works redesign */
.home-how .hiw-steps { display: flex; gap: 40px; justify-content: center; align-items: flex-start; }
.home-how .hiw-step { flex: 1; max-width: 280px; text-align: center; }
.home-how .hiw-num { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 1.1rem; color: var(--accent); margin: 0 auto 16px; }
.home-how .hiw-icon { font-size: 1.5rem; margin-bottom: 8px; }
.home-how .hiw-connector { display: none; }
@media (max-width: 768px) {
  .home-how .hiw-steps { flex-direction: column; align-items: center; }
}

/* Why Enterno cards */
.home-why .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-why .why-card { padding: 28px 24px; border-radius: 16px; background: rgba(20,23,31,0.6); border: 1px solid rgba(255,255,255,0.06); transition: border-color 0.2s ease, transform 0.2s ease; }
.home-why .why-card:hover { border-color: var(--card-hover-border); transform: translateY(-2px); }
.home-why .why-num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.05em; }
.home-why .why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.home-why .why-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .home-why .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .home-why .why-grid { grid-template-columns: 1fr; } }

/* Articles grid */
.home-articles .articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.home-articles .article-card { border-radius: 14px; border: 1px solid rgba(255,255,255,0.06); padding: 24px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.home-articles .article-card:hover { border-color: var(--card-hover-border); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.home-articles .article-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: rgba(89,168,255,0.1); padding: 3px 10px; border-radius: 100px; display: inline-block; margin-bottom: 12px; }
@media (max-width: 768px) { .home-articles .articles-grid { grid-template-columns: 1fr; } }

/* CTA sections */
.home-cta { text-align: center; }
.home-cta h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 12px; }
.home-cta p { color: var(--muted); margin-bottom: 24px; }
.home-cta .cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-cta .btn { padding: 14px 32px; font-size: 0.9rem; border-radius: 10px; }

/* FAQ improvements */
.home-faq .faq-item { border-radius: 12px; overflow: hidden; margin-bottom: 4px; transition: background 0.15s ease; }
.home-faq .faq-item:hover { background: rgba(255,255,255,0.02); }

/* Comparison cards */
.home-compare .compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.home-compare .compare-card { border-radius: 14px; border: 1px solid rgba(255,255,255,0.06); padding: 24px; transition: border-color 0.2s ease; }
.home-compare .compare-card:hover { border-color: var(--card-hover-border); }
.home-compare .compare-vs { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }

/* Pricing preview */
.home-pricing-preview .pricing-mini { display: flex; gap: 20px; justify-content: center; max-width: 600px; margin: 0 auto; }
.home-pricing-preview .pricing-mini-card { flex: 1; padding: 28px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.home-pricing-preview .pricing-mini-card.popular { border-color: var(--accent); box-shadow: 0 0 24px rgba(89,168,255,0.08); }
.home-pricing-preview .pricing-mini-card h3 { font-size: 1rem; margin-bottom: 8px; }
.home-pricing-preview .pricing-mini-price { font-family: var(--mono); font-size: 2rem; font-weight: 700; color: var(--accent); }

/* General section titles */
.home-section__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.home-section__sub { font-size: 0.9rem; color: var(--muted); line-height: 1.6; max-width: 500px; }

/* Remove excess whitespace */
.home-blocks > section + section { margin-top: 0; }

/* ── 2026 FIX: spacing, articles, comparisons, seo, second CTA ── */

/* Remove large gaps between homepage sections */
.home-blocks { display: flex; flex-direction: column; gap: 0; }
.home-blocks > div,
.home-blocks > section { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Articles section styling */
.home-articles { background: var(--section-alt); border-top: 1px solid rgba(255,255,255,0.04); }
.home-articles .home-section__title { text-align: center; }
.home-articles .home-section__sub { text-align: center; margin: 0 auto 32px; }

/* Comparison section */
.home-compare { border-top: 1px solid rgba(255,255,255,0.04); }
.home-compare .home-section__title { text-align: center; }
.home-compare .home-section__sub { text-align: center; margin: 0 auto 32px; }

/* SEO text section — make subtle */
.home-seo-text { background: var(--section-alt); border-top: 1px solid rgba(255,255,255,0.04); padding: 48px 0; }
.home-seo-text h2 { font-size: 1.1rem; margin-bottom: 12px; }
.home-seo-text p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 720px; }

/* FAQ section */
.home-faq { border-top: 1px solid rgba(255,255,255,0.04); }
.home-faq .home-section__title { text-align: center; margin-bottom: 32px; }

/* Second CTA (bottom) */
.home-cta-bottom { padding: 80px 0; background: var(--gradient-hero); border-top: 1px solid rgba(255,255,255,0.04); text-align: center; }

/* Why section improvements */
.home-why .home-section__title { text-align: center; margin-bottom: 8px; }
.home-why .home-section__sub { text-align: center; margin: 0 auto 40px; max-width: 500px; }

/* Pricing preview background */
.home-pricing-preview { border-bottom: 1px solid rgba(255,255,255,0.04); }
.home-pricing-preview .home-section__title { text-align: center; }
.home-pricing-preview .home-section__sub { text-align: center; margin: 0 auto 32px; }

/* Remove any existing margin/gap overrides that create whitespace */
.home-blocks > *:empty { display: none; }

/* Why Enterno illustration */
.home-why-illustration { text-align: center; margin-bottom: 32px; }
.home-why-illustration img { max-width: 600px; width: 100%; height: auto; border-radius: 16px; opacity: 0.85; }

/* 4-column pricing teaser */
.pricing-teaser--4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.pricing-teaser--4col .pricing-teaser__cta { grid-column: 1 / -1; text-align: center; margin-top: 16px; }
@media (max-width: 900px) { .pricing-teaser--4col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pricing-teaser--4col { grid-template-columns: 1fr; } }

/* ── Live Stats Section ───────────────────────────────────────── */
.home-live-stats {
  padding: 48px 0 16px;
}
.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.live-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.live-stat:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.live-stat__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
}
.live-stat__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
@media (max-width: 768px) {
  .live-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .live-stat__value {
    font-size: 24px;
  }
}
@media (max-width: 400px) {
  .live-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .live-stat {
    padding: 16px 8px;
  }
  .live-stat__value {
    font-size: 20px;
  }
}

/* ── Trust Badges ─────────────────────────────────────────────── */
.home-trust { padding: 32px 0; }
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.trust-badge__icon { font-size: 18px; }
.trust-badge__text { white-space: nowrap; }


@media (max-width: 768px) {
  .trust-badges { gap: 16px; }
}
