/*
 * Landing page UX refresh.
 *
 * This file intentionally layers over landing.css so the established visual
 * system remains intact while the scanner badges and three-step journey are
 * corrected without duplicating the entire base stylesheet.
 */

.scanner-card {
  padding-bottom: 24px;
}

.scanner-coverage-expanded {
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid rgba(157, 185, 219, 0.14);
}

.scanner-coverage-expanded span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(124, 159, 203, 0.22);
  border-radius: 7px;
  background: rgba(91, 132, 184, 0.08);
  color: #91a8c3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.dark-section-content > .section-heading {
  margin-bottom: 38px;
}

.dark-section-content > .section-heading > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: #91a4bc;
}

.steps-interactive {
  align-items: stretch;
}

.steps-interactive > li {
  min-height: 0;
  padding: 0;
}

.steps-interactive > li > a {
  min-height: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 78px;
  padding: 28px 30px 30px;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.steps-interactive > li > a:hover,
.steps-interactive > li > a:focus-visible {
  background: rgba(52, 120, 246, 0.08);
  box-shadow: inset 0 0 0 1px rgba(82, 161, 255, 0.22);
  transform: translateY(-2px);
}

.steps-interactive > li > a:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(82, 161, 255, 0.45);
  outline-offset: -3px;
}

.steps-interactive .step-number {
  margin: 0;
}

.steps-interactive h3 {
  margin-top: 0;
}

.steps-interactive p {
  margin-bottom: 18px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7db8ff;
  font-size: 13px;
  font-weight: 750;
}

.step-link b {
  transition: transform 160ms ease;
}

.steps-interactive a:hover .step-link b,
.steps-interactive a:focus-visible .step-link b {
  transform: translateX(4px);
}

.final-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.96);
  color: #101827;
}

.final-cta .button-secondary:hover,
.final-cta .button-secondary:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
}

@media (max-width: 900px) {
  .steps-interactive > li > a {
    min-height: 230px;
    gap: 48px;
  }
}

@media (max-width: 720px) {
  .scanner-coverage-expanded {
    gap: 6px;
  }

  .scanner-coverage-expanded span {
    font-size: 9px;
  }

  .dark-section-content > .section-heading {
    margin-bottom: 26px;
  }

  .steps-interactive > li > a {
    min-height: 0;
    gap: 34px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps-interactive > li > a,
  .step-link b {
    transition: none;
  }
}


/* Multi-domain scanner UI */
.scan-mode-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid rgba(139, 170, 207, 0.16);
  border-radius: 10px;
  background: rgba(4, 14, 27, 0.42);
}
.scan-mode-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #7f94ad;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.scan-mode-button:hover,
.scan-mode-button:focus-visible { color: #d9e8fa; }
.scan-mode-button:focus-visible { outline: 2px solid rgba(82, 161, 255, .55); outline-offset: 2px; }
.scan-mode-button.is-active {
  background: rgba(52, 120, 246, .2);
  color: #dcecff;
  box-shadow: inset 0 0 0 1px rgba(82, 161, 255, .24);
}
.batch-field { grid-column: 1 / 2; }
.scan-form > .scan-submit {
  align-self: start;
  height: 52px;
}
.batch-field textarea {
  width: 100%;
  min-height: 138px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid rgba(139, 170, 207, 0.2);
  border-radius: 11px;
  background: rgba(4, 14, 27, 0.58);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  outline: 0;
}
.batch-field textarea::placeholder { color: #687b94; }
.batch-field textarea:focus {
  border-color: rgba(82, 161, 255, .62);
  background: rgba(4, 14, 27, .78);
  box-shadow: 0 0 0 4px rgba(52, 120, 246, .12);
}
.batch-counter { margin-top: 7px; color: #788da7; font-size: 11px; }
.batch-counter.is-invalid { color: #fca5a5; }
.batch-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 177, 214, .13);
}
.batch-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.batch-result-heading h3 { margin: 3px 0 0; color: var(--white); font-size: 18px; }
.batch-summary-pill {
  padding: 5px 10px;
  border: 1px solid rgba(74, 222, 128, .24);
  border-radius: 999px;
  background: rgba(22, 128, 60, .14);
  color: #86efac;
  font-size: 10px;
  font-weight: 800;
}
.batch-result-list { display: grid; gap: 11px; margin-top: 16px; }
.batch-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(148, 177, 214, .13);
  border-radius: 12px;
  background: rgba(6, 18, 34, .46);
}
.batch-result-main { min-width: 0; }
.batch-result-domain { margin: 0; overflow: hidden; color: #f4f8fd; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.batch-result-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 6px 0 0; color: #8398b1; font-size: 10px; }
.batch-result-score { color: #cfe4ff; font-weight: 800; }
.batch-result-findings { margin: 8px 0 0; color: #9aadc2; font-size: 11px; line-height: 1.45; }
.batch-result-actions { display: flex; align-items: center; gap: 8px; }
.batch-result-actions .button { min-height: 38px; padding: 8px 11px; font-size: 10px; }
.batch-bundle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(82, 161, 255, .3);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(24, 78, 150, .24), rgba(5, 18, 35, .68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.batch-bundle-panel strong { display: block; color: #f4f8fd; font-size: 14px; }
.batch-bundle-panel p { margin: 6px 0 0; color: #9eb2ca; font-size: 11px; line-height: 1.5; }
.batch-bundle-panel .button { min-height: 44px; white-space: nowrap; font-size: 11px; }
.batch-error-list { margin-top: 12px; padding: 12px; border: 1px solid rgba(248,113,113,.2); border-radius: 10px; background: rgba(127,29,29,.12); color: #fdb7b7; font-size: 11px; }
.batch-error-list p { margin: 0; }
.batch-error-list p + p { margin-top: 6px; }
@media (max-width: 720px) {
  .scan-mode-switch { width: 100%; }
  .scan-mode-button { flex: 1; }
  .batch-field { grid-column: auto; }
  .batch-result-card { grid-template-columns: 1fr; }
  .batch-result-actions .button { width: 100%; }
  .batch-bundle-panel { grid-template-columns: 1fr; }
  .batch-bundle-panel .button { width: 100%; }
}
