/*
  Bloodhound Leads
  Shared layout and component styles for homepage and contact page.
*/

:root {
  --bg: #0f172a;
  --surface: #111827;
  --surface-strong: #111827;
  --line: rgba(203, 213, 225, 0.22);
  --text: #f2f2f2;
  --muted: #cbd5e1;
  --accent: #e10600;
  --accent-strong: #c90000;
  --max-width: 1120px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", "Manrope", "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 1.25rem;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-size: 1rem;
}

.lead {
  color: var(--muted);
  max-width: 64ch;
  margin-top: 1.15rem;
}

.lead-small {
  color: var(--muted);
  max-width: 62ch;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content p + p {
  margin-top: 0.7rem;
}

.legal-list {
  margin-top: 0.8rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.section-note {
  color: var(--muted);
  margin-top: 1.2rem;
}

.emphasis {
  color: var(--text);
  font-weight: 600;
}

.site-header {
  background-color: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(4px);
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 4.25rem;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.6rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--text);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--text);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  padding: 5.6rem 0 4.5rem;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-visual {
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.hero-logo {
  height: auto;
  max-width: min(82%, 360px);
  width: 100%;
}

.radar {
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 50%;
  height: 220px;
  margin: 0 auto;
  position: relative;
  width: 220px;
}

.ring {
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  height: 64px;
  width: 64px;
}

.ring-2 {
  height: 126px;
  width: 126px;
}

.ring-3 {
  height: 186px;
  width: 186px;
}

.sweep {
  background-color: rgba(225, 6, 0, 0.22);
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: left center;
  width: 96px;
}

.target-dot {
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.18);
  height: 10px;
  position: absolute;
  right: 40px;
  top: 68px;
  width: 10px;
}

.dashboard-card {
  background-color: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1.1rem auto 0;
  max-width: 220px;
  padding: 0.9rem;
  text-align: center;
}

.dashboard-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dashboard-value {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0.25rem 0;
}

.dashboard-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.dashboard-logo {
  height: 42px;
  margin: 0 auto;
  width: auto;
}

.industry-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 1.6rem;
}

.industry-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.industry-card h3 {
  margin: 0;
}

.check-list {
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.check-list li::marker {
  color: var(--accent);
}

.steps-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

.step-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.step-icon {
  align-items: center;
  background-color: rgba(225, 6, 0, 0.12);
  border: 1px solid rgba(225, 6, 0, 0.42);
  border-radius: 8px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 42px;
}

.step-icon svg {
  fill: none;
  stroke: #f2f2f2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.outcomes-list {
  margin-top: 1rem;
}

.pricing-card,
.contact-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.pricing-card ul {
  color: var(--muted);
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
}

.pricing-rate {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.pricing-cta-line {
  margin-bottom: 1rem;
}

.contact-hero {
  padding-bottom: 2rem;
}

.contact-hero .lead-small {
  margin-top: 0.85rem;
}

.contact-form-section {
  padding-top: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-form.is-hidden {
  display: none;
}

.contact-form label {
  color: var(--text);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 0.7rem 0.8rem;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.honeypot-field {
  left: -9999px;
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  color: var(--muted);
  margin: 0.25rem 0 0;
  min-height: 1.5rem;
}

.form-feedback.is-error {
  color: var(--accent);
}

.contact-success {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  margin-top: 1rem;
  padding: 1.2rem;
}

.contact-success.is-visible {
  display: block;
}

.contact-success h3 {
  margin-bottom: 0.6rem;
}

.contact-success:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.footer-inner a {
  color: var(--accent);
}

.legal-links {
  white-space: nowrap;
}

@media (min-width: 680px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero-grid {
    gap: 2.6rem;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: center;
    display: flex;
    gap: 1.2rem;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .step-card,
  .industry-card {
    transition: transform 160ms ease, border-color 160ms ease;
  }

  .industry-card:hover,
  .step-card:hover {
    border-color: rgba(225, 6, 0, 0.45);
    transform: translateY(-2px);
  }

  .sweep {
    animation: pulse-sweep 4s linear infinite;
  }

  .contact-success.is-visible {
    animation: success-reveal 260ms ease-out;
  }
}

@keyframes pulse-sweep {
  0% {
    opacity: 0.35;
    transform: rotate(0deg);
  }

  100% {
    opacity: 0.35;
    transform: rotate(360deg);
  }
}

@keyframes success-reveal {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
