/*
 * Free Security Audit landing page — below-hero sections.
 * Loaded after landing-audit.css / landing-hero.css.
 */

/* ─── Pain + scope pair: stacked on mobile, side-by-side on desktop ─── */
html[data-wd-build="watchdog"] body.wd-landing main > .landing-pair {
  width: 100%;
  max-width: var(--idx-measure);
  margin: clamp(1.75rem, 3.5vh, 2.5rem) auto 0;
  box-sizing: border-box;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section + section {
  margin-top: clamp(1.6rem, 3.2vw, 2.35rem);
}

/*
 * The sitewide header treatments are scoped to `main > section ...`;
 * the paired sections sit inside a wrapper div, so restore them here.
 */
html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .section-eyebrow {
  position: relative;
  font-family: var(--v4-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-ink-dark);
  border-top: 1px solid var(--v4-border-light);
  border-left: none;
  padding-left: 1rem;
  padding-top: 0.45rem;
  display: block;
  max-width: 42rem;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 6px;
  height: 1.45em;
  min-height: 1.75rem;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--idx-accent) 0%,
    var(--idx-accent) 32%,
    var(--v4-accent-rail-mate) 32%,
    var(--v4-accent-rail-mate) 100%
  );
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.35);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section > .container > header h2 {
  font-family: var(--idx-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 0 0 0.85rem;
  color: var(--idx-ink);
}

/* Shared CTA row under both columns */
html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  text-align: center;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.55rem;
  font-size: 0.92rem;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 0.35);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta .cta-primary::after {
  content: "\2192";
  font-weight: 700;
  transition: transform 0.18s ease;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta .cta-primary:hover::after {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta .cta-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 1000px) {
  html[data-wd-build="watchdog"] body.wd-landing main > .landing-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section + section {
    margin-top: 0;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair__cta {
    grid-column: 1 / -1;
    margin-top: clamp(0.5rem, 1.25vw, 0.85rem);
  }

  /* Single-column checklists inside the narrower paired columns */
  html[data-wd-build="watchdog"] body.wd-landing .landing-pair .landing-pain ul.feature-list,
  html[data-wd-build="watchdog"] body.wd-landing .landing-pair .landing-scope ul.feature-list {
    grid-template-columns: 1fr;
  }

  /* Mirror the two panels: content fills the card, notes pin to the bottom */
  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section {
    display: flex;
    flex-direction: column;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .faq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* Rows stretch evenly so the shorter list fills its card without a gap before the note */
  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .about-text ul.feature-list {
    flex: 1;
    align-content: stretch;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .about-text ul.feature-list li {
    align-items: center;
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-pair > section .about-text .landing-note {
    margin-top: auto;
  }
}

/* ─── Pain points + audit scope: checklist cards ─── */
html[data-wd-build="watchdog"] body.wd-landing .landing-pain ul.feature-list,
html[data-wd-build="watchdog"] body.wd-landing .landing-scope ul.feature-list {
  border: 0;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  html[data-wd-build="watchdog"] body.wd-landing .landing-pain ul.feature-list,
  html[data-wd-build="watchdog"] body.wd-landing .landing-scope ul.feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pain .feature-list li,
html[data-wd-build="watchdog"] body.wd-landing .landing-scope .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--v4-border-light);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04) 0%, transparent 60%), var(--v4-card);
  color: var(--v4-muted-dark);
  line-height: 1.5;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-pain .feature-list li {
  border-left: 3px solid rgb(var(--idx-accent-rgb) / 0.5);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-scope .feature-list li {
  border-left: 3px solid var(--idx-accent);
}

/* Replace dog-head bullets with inline markers */
html[data-wd-build="watchdog"] body.wd-landing .landing-pain ul.feature-list > li::before,
html[data-wd-build="watchdog"] body.wd-landing .landing-scope ul.feature-list > li::before {
  content: "!";
  position: static;
  top: auto;
  left: auto;
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
  background-color: rgb(var(--idx-accent-rgb) / 0.12);
  border: 1px solid rgb(var(--idx-accent-rgb) / 0.45);
  color: var(--idx-accent);
  font-family: var(--idx-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-scope ul.feature-list > li::before {
  content: "\2713";
  background-color: var(--idx-accent);
  border-color: var(--idx-accent);
  color: var(--idx-accent-ink);
}

/* Outro callout notes */
html[data-wd-build="watchdog"] body.wd-landing .about-text p.landing-note {
  margin: 0 0 0.25rem;
  padding: 0.95rem 1.15rem;
  border-left: 4px solid var(--idx-accent);
  background: rgb(var(--idx-accent-rgb) / 0.08);
  color: var(--v4-ink-dark);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ─── Why us: numbered cards ─── */
html[data-wd-build="watchdog"] body.wd-landing .landing-why-grid {
  counter-reset: wd-why;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-why-grid .service-card {
  counter-increment: wd-why;
  position: relative;
  overflow: hidden;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-why-grid .service-card::after {
  content: "0" counter(wd-why);
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  font-family: var(--idx-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(var(--idx-accent-rgb) / 0.16);
  pointer-events: none;
}

/* ─── Stat band: secured-zone strip ─── */
html[data-wd-build="watchdog"] body.wd-landing .landing-stat-band {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  padding-top: clamp(1.9rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.9rem, 4vw, 2.75rem);
  background:
    radial-gradient(42rem 18rem at 50% -20%, rgb(var(--idx-accent-rgb) / 0.09), transparent 65%),
    linear-gradient(180deg, #121217 0%, #0c0c10 100%);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-stat-band::before,
html[data-wd-build="watchdog"] body.wd-landing .landing-stat-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--idx-accent) 0 12px,
    #0a0a0b 12px 24px
  );
  pointer-events: none;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-stat-band::before { top: 0; }
html[data-wd-build="watchdog"] body.wd-landing .landing-stat-band::after { bottom: 0; }

html[data-wd-build="watchdog"] body.wd-landing .landing-stats {
  gap: 0.85rem;
  background: transparent;
  border: 0;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-stats .stat {
  text-align: center;
  padding: 1.3rem 1rem 1.35rem;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-stats .stat h3 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--idx-accent);
  margin-bottom: 0.35rem;
}

/* ─── How it works: 3-step cards ─── */
html[data-wd-build="watchdog"] body.wd-landing .about-stats.landing-steps {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 0;
  gap: 0.85rem;
}

@media (min-width: 860px) {
  html[data-wd-build="watchdog"] body.wd-landing .about-stats.landing-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

html[data-wd-build="watchdog"] body.wd-landing .about-stats.landing-steps .stat {
  display: block;
  position: relative;
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045) 0%, transparent 52%), var(--v4-card);
  border: 1px solid var(--v4-border-light);
  border-top: 3px solid var(--idx-accent);
  box-shadow: 5px 5px 0 rgb(0 0 0 / 0.26);
}

html[data-wd-build="watchdog"] body.wd-landing .about-stats.landing-steps .stat h3 {
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.9rem;
  background: var(--idx-accent);
  color: var(--idx-accent-ink);
  font-size: 1.2rem;
  font-weight: 700;
  border: 0;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgb(0 0 0 / 0.35);
}

html[data-wd-build="watchdog"] body.wd-landing .about-stats.landing-steps .stat p {
  margin: 0;
}

/* ─── Ready CTA: centred glow band ─── */
html[data-wd-build="watchdog"] body.wd-landing .contact-cta.landing-ready-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  align-items: center;
  border: 1px solid rgb(var(--idx-accent-rgb) / 0.35);
  border-left-width: 1px;
  border-radius: 0;
  box-shadow: 6px 6px 0 rgb(0 0 0 / 0.3);
  padding: clamp(2.1rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(38rem 20rem at 50% 125%, rgb(var(--idx-accent-rgb) / 0.14), transparent 65%),
    linear-gradient(165deg, #14141a 0%, #0b0b0f 100%);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(90% 120% at 50% 100%, #000 25%, transparent 80%);
  mask-image: radial-gradient(90% 120% at 50% 100%, #000 25%, transparent 80%);
  pointer-events: none;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta > * {
  position: relative;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .section-eyebrow {
  border-top: 0;
  padding-top: 0;
  padding-left: 0;
  color: var(--idx-accent);
  margin-bottom: 0.35rem;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .section-eyebrow::before {
  display: none;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin-bottom: 0.25rem;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta p {
  max-width: 46rem;
  margin-inline: auto;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .contact-cta-actions {
  justify-content: center;
  align-items: center;
  margin-top: 0.85rem;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.55rem;
  font-size: 0.92rem;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 0.35);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .cta-primary::after {
  content: "\2192";
  font-weight: 700;
  transition: transform 0.18s ease;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-ready-cta .cta-primary:hover::after {
  transform: translateX(4px);
}

/* ─── Form panel ─── */
html[data-wd-build="watchdog"] body.wd-landing .landing-form-panel {
  position: relative;
  overflow: hidden;
  max-width: 56rem;
  margin-inline: auto;
  background:
    radial-gradient(30rem 14rem at 85% -10%, rgb(var(--idx-accent-rgb) / 0.09), transparent 60%),
    linear-gradient(180deg, rgb(255 255 255 / 0.04) 0%, transparent 42%),
    var(--v4-slab);
  box-shadow: 8px 8px 0 rgb(0 0 0 / 0.28);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(70% 60% at 90% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 90% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-panel > * {
  position: relative;
  z-index: 1;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 640px) {
  html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form textarea,
  html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form .submit-button,
  html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form .form-message {
    grid-column: 1 / -1;
  }
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form input:not(.honeypot),
html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form textarea {
  background: rgb(10 10 13 / 0.6);
  border: 1px solid var(--v4-border-light);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form input:not(.honeypot):focus,
html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .contact-form textarea:focus {
  outline: none;
  border-color: var(--idx-accent);
  box-shadow: 0 0 0 3px rgb(var(--idx-accent-rgb) / 0.18);
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .submit-button {
  margin-top: 0.4rem;
  padding: 0.95rem 1.4rem;
  border-radius: 0;
  border: 2px solid var(--idx-accent-ink);
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 0.3);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

html[data-wd-build="watchdog"] body.wd-landing .landing-form-section .submit-button:hover:not(:disabled) {
  filter: brightness(1.03);
  transform: translate(1px, 1px);
  box-shadow: 4px 4px 0 rgb(0 0 0 / 0.25);
}
