/* CROVEX Lead Generation System */

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

/* Inline blog CTAs */
.lead-cta-inline {
  margin: 2rem 0;
  border-radius: 20px;
  border: 1px solid rgba(124, 49, 246, 0.15);
  background: linear-gradient(135deg, rgba(254, 96, 55, 0.06) 0%, rgba(124, 49, 246, 0.08) 100%);
  overflow: hidden;
}

.lead-cta-inline__inner {
  padding: 1.5rem 1.75rem;
}

.lead-cta-inline__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fe6037;
  margin: 0 0 0.5rem;
}

.lead-cta-inline__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.lead-cta-inline__text {
  margin: 0 0 1rem;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.6;
}

.dark .lead-cta-inline__text {
  color: rgba(255, 255, 255, 0.72);
}

.lead-cta-inline__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.lead-cta-inline__secondary {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #7c31f6;
}

/* Newsletter */
.lead-newsletter {
  border-radius: 20px;
  padding: 1.75rem 2rem;
  background: #111;
  color: #fff;
}

.lead-newsletter__heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}

.lead-newsletter__text {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.lead-newsletter__bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: left;
  display: inline-block;
}

.lead-newsletter__bullets li + li {
  margin-top: 0.35rem;
}

.lead-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.lead-newsletter__input {
  flex: 1 1 220px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 1rem;
}

.lead-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.lead-newsletter__status {
  flex: 1 0 100%;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.lead-newsletter__status.is-success {
  color: #86efac;
}

.lead-newsletter__status.is-error {
  color: #fca5a5;
}

.lead-newsletter--footer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-newsletter--footer .lead-newsletter__heading {
  color: #fff;
}

.lead-newsletter--sidebar {
  padding: 1.25rem;
  background: #fff;
  color: #111;
  border: 1px solid #eee;
  text-align: left;
}

.dark .lead-newsletter--sidebar {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lead-newsletter--sidebar .lead-newsletter__heading {
  color: inherit;
  font-size: 1rem;
}

.lead-newsletter--sidebar .lead-newsletter__text {
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.875rem;
}

.dark .lead-newsletter--sidebar .lead-newsletter__text {
  color: rgba(255, 255, 255, 0.68);
}

.lead-newsletter--sidebar .lead-newsletter__bullets {
  display: none;
}

.lead-newsletter--sidebar .lead-newsletter__form {
  flex-direction: column;
}

.lead-newsletter--sidebar .lead-newsletter__input {
  background: #fafafa;
  color: #111;
  border: 1px solid #ddd;
  width: 100%;
}

/* Sticky sidebar */
.lead-sticky-sidebar__card {
  border-radius: 20px;
  padding: 1.25rem;
  background: linear-gradient(160deg, #111 0%, #1a1030 100%);
  color: #fff;
  border: 1px solid rgba(124, 49, 246, 0.25);
}

.lead-sticky-sidebar__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fe6037;
  margin: 0 0 0.35rem;
}

.lead-sticky-sidebar__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.lead-sticky-sidebar__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.lead-sticky-sidebar__link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile sticky CTA */
.lead-mobile-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #fe6037;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(254, 96, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lead-mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(254, 96, 55, 0.4);
}

@media (min-width: 1024px) {
  .lead-mobile-cta {
    display: none;
  }
}

/* Exit intent */
.lead-exit-intent {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lead-exit-intent[hidden] {
  display: none !important;
}

.lead-exit-intent__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.lead-exit-intent__dialog {
  position: relative;
  width: min(100%, 520px);
  border-radius: 24px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.dark .lead-exit-intent__dialog {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-exit-intent__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.lead-exit-intent__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fe6037;
  margin: 0 0 0.5rem;
}

.lead-exit-intent__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.lead-exit-intent__text {
  margin: 0 0 1.25rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.72);
}

.dark .lead-exit-intent__text {
  color: rgba(255, 255, 255, 0.72);
}

.lead-exit-intent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.lead-exit-intent__ghost {
  border: none;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: inherit;
  font-size: 0.9rem;
}

/* Audit page */
.lead-audit-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.lead-audit-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 1rem 0;
}

.lead-audit-hero__subtitle {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: rgba(17, 17, 17, 0.72);
}

.dark .lead-audit-hero__subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.lead-audit-hero__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.lead-audit-hero__list li::before {
  content: "✓ ";
  color: #fe6037;
  font-weight: 700;
}

.lead-audit-included__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.lead-audit-included__card {
  border-radius: 20px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .lead-audit-included__card {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
}

.lead-audit-included__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.lead-audit-included__icon {
  display: inline-block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.lead-audit-included__card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.lead-audit-included__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.68);
}

.dark .lead-audit-included__card p {
  color: rgba(255, 255, 255, 0.68);
}

.lead-audit-process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}

.lead-audit-process__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: #f8f8f8;
  margin-bottom: 0.5rem;
}

.dark .lead-audit-process__step {
  background: rgba(255, 255, 255, 0.04);
}

.lead-audit-process__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.lead-audit-process__step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.lead-audit-process__step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.68);
}

.dark .lead-audit-process__step p {
  color: rgba(255, 255, 255, 0.68);
}

.lead-audit-process__arrow {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.25rem;
  color: #fe6037;
  margin: -0.25rem 0;
}

.lead-audit-form-section__card {
  border-radius: 24px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.dark .lead-audit-form-section__card {
  background: var(--background-6, #1a1a1a);
}

.lead-audit-form-section__intro {
  margin-bottom: 1.5rem;
}

.lead-audit-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lead-audit-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-audit-form__field--full {
  grid-column: 1 / -1;
}

.lead-audit-form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.lead-audit-form__field input,
.lead-audit-form__field select,
.lead-audit-form__field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #ddd;
  padding: 0 1rem;
  background: #fafafa;
  font: inherit;
}

.lead-audit-form__field textarea {
  border-radius: 16px;
  padding: 0.75rem 1rem;
  min-height: 120px;
  resize: vertical;
}

.dark .lead-audit-form__field input,
.dark .lead-audit-form__field select,
.dark .lead-audit-form__field textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.lead-audit-form__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.lead-audit-form__hint {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(17, 17, 17, 0.65);
}

.dark .lead-audit-form__hint {
  color: rgba(255, 255, 255, 0.65);
}

.lead-audit-form__status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.lead-audit-form__status.is-error {
  color: #dc2626;
}

.lead-audit-form__success {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.lead-audit-form__success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.lead-audit-form__success p {
  margin: 0 0 1rem;
}

.lead-audit-form.is-success .lead-audit-form__grid,
.lead-audit-form.is-success .lead-audit-form__actions {
  display: none;
}

/* Testimonials */
.lead-testimonial {
  border-radius: 20px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  margin: 0;
}

.dark .lead-testimonial {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
}

.lead-testimonial__stars {
  color: #fe6037;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.lead-testimonial__star:not(.is-filled) {
  opacity: 0.25;
}

.lead-testimonial__quote {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.lead-testimonial__meta {
  font-size: 0.875rem;
}

.lead-testimonial__meta strong {
  display: block;
}

.lead-audit-social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lead-newsletter-surface__status.is-success {
  color: #86efac;
}

.lead-newsletter-surface__status.is-error {
  color: #fca5a5;
}

/* Premium newsletter — matches site CTA blocks */
.lead-newsletter-premium__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: var(--color-accent, #fcfcfc) !important;
}

.lead-newsletter-premium__status.is-success {
  color: #86efac;
}

.lead-newsletter-premium__status.is-error {
  color: #fca5a5;
}

.lead-newsletter-surface__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  line-height: 1.25 !important;
  color: var(--color-accent, #fcfcfc) !important;
}

.lead-newsletter-surface__subtext {
  color: rgba(252, 252, 252, 0.75) !important;
}

/* Trust section — layout handled by Tailwind in component */
.lead-case-card {
  border-radius: 20px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
}

.dark .lead-case-card {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
}

.lead-case-card__industry {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fe6037;
  margin: 0 0 0.35rem;
}

.lead-case-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.lead-case-card__list {
  margin: 0 0 1.25rem;
}

.lead-case-card__list > div {
  margin-bottom: 0.75rem;
}

.lead-case-card__list dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: 0.2rem;
}

.dark .lead-case-card__list dt {
  color: rgba(255, 255, 255, 0.55);
}

.lead-case-card__list dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lead-case-card__list ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Resources */
.lead-resources-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(254, 96, 55, 0.08) 0%, rgba(124, 49, 246, 0.1) 100%);
  border: 1px solid rgba(124, 49, 246, 0.15);
}

@media (min-width: 768px) {
  .lead-resources-feature {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.lead-resources-feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-radius: 16px;
  background: #111;
  color: #fff;
}

.lead-resources-feature__doc {
  font-size: 1.25rem;
  font-weight: 600;
}

.lead-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lead-resource-card {
  border-radius: 20px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dark .lead-resource-card {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
}

.lead-resource-card--soon {
  opacity: 0.85;
}

.lead-resource-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.lead-resource-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.lead-resource-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  white-space: nowrap;
}

.lead-resource-card__badge--live {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.lead-resource-card__text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.68);
}

.dark .lead-resource-card__text {
  color: rgba(255, 255, 255, 0.68);
}

.lead-resources-audit-cta {
  text-align: center;
  padding: 2rem;
  border-radius: 24px;
  background: #111;
  color: #fff;
}

.lead-resources-audit-cta p {
  margin: 0.5rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.lead-resources-audit-cta .flex {
  justify-content: center;
}

/* Lead magnet form */
.lead-magnet-form-wrap__heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.lead-magnet-form-wrap__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lead-magnet-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lead-magnet-form__row input {
  flex: 1 1 160px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.lead-magnet-form__status {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

/* Footer newsletter — compact, under brand column */
.lead-newsletter-footer__status.is-success {
  color: #86efac;
}

.lead-newsletter-footer__status.is-error {
  color: #fca5a5;
}

/* Contact enhancements */
.lead-contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.lead-contact-meta__item {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #eee;
}

.dark .lead-contact-meta__item {
  background: var(--background-6, #1a1a1a);
  border-color: rgba(255, 255, 255, 0.08);
}

.lead-contact-meta__item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  color: #fe6037;
}

.lead-contact-calendly {
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 20px;
  background: #f8f8f8;
  border: 1px dashed #ccc;
  text-align: center;
}

.dark .lead-contact-calendly {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.lead-contact-faq {
  margin-top: 3rem;
}

.lead-contact-faq__item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.dark .lead-contact-faq__item {
  border-color: rgba(255, 255, 255, 0.1);
}

.lead-contact-faq__item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.lead-contact-faq__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.68);
}

.dark .lead-contact-faq__item p {
  color: rgba(255, 255, 255, 0.68);
}

/* Blog sidebar integration */
.blog-article-sidebar .lead-sticky-sidebar {
  margin-bottom: 1.5rem;
}

.blog-article-sidebar .lead-newsletter {
  margin-top: 1.5rem;
}
