/* =====================================================
   SiteChat pro theme (Leadster-inspired hierarchy)
   SiteChat brand blue palette, modern conversion layout
   ===================================================== */

/* Base breathing room */
.landing {
  --pro-shadow: 0 18px 50px -28px rgba(12, 18, 34, 0.28);
  --pro-shadow-sm: 0 10px 30px -18px rgba(12, 18, 34, 0.2);
  --pro-radius: 20px;
}

.landing-section-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.landing-section-head .landing-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.landing-section-head .landing-section-sub {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.landing-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1E40AF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section spacing */
.landing-pain,
.landing-hiw,
.landing-features,
.landing-why,
.landing-social,
.landing-faq,
.landing-code {
  padding: clamp(3.75rem, 9vw, 6.5rem) 0;
}

.landing-hero--pro {
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

/* Header / nav cleaner */
.landing-header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -20px rgba(12, 18, 34, 0.35);
}

.landing-nav-primary > a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
}

.landing .btn {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Primary CTA: solid darker blue for WCAG contrast with white text
   (avoid light #60A5FA fill — white text becomes unreadable) */
.landing .btn-primary {
  background: #1E40AF;
  background-image: linear-gradient(145deg, #1D4ED8 0%, #1E40AF 55%, #1E3A8A 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 28px -10px rgba(30, 64, 175, 0.5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.landing .btn-primary:hover {
  background: #1E3A8A;
  background-image: linear-gradient(145deg, #1E40AF 0%, #1E3A8A 100%);
  color: #ffffff !important;
  box-shadow: 0 16px 34px -10px rgba(30, 58, 138, 0.55);
  transform: translateY(-1px);
}

/* Inverted primary on blue CTA band: white pill + dark blue label.
   Must win over the rules above (pro loads last + !important). */
.landing-cta .btn-primary,
.landing .landing-cta .btn-primary {
  background: #ffffff !important;
  background-image: none !important;
  color: #1E3A8A !important;
  text-shadow: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.landing-cta .btn-primary:hover,
.landing .landing-cta .btn-primary:hover {
  background: #F8FAFC !important;
  background-image: none !important;
  color: #172554 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.landing .btn-xl {
  padding: 1.05rem 1.85rem;
  font-size: 1.05rem;
  border-radius: 14px;
  min-height: 56px;
}

.landing .btn-outline {
  border: 1px solid rgba(12, 18, 34, 0.12);
  background: #fff;
  color: #0c1222;
  box-shadow: var(--pro-shadow-sm);
}

/* Hero hierarchy */
.landing-hero--pro .landing-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: min(100%, 14.5em);
  margin-bottom: 1.2rem;
}

.landing-hero--pro .landing-hero-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.landing-hero--pro .landing-hero-actions {
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.landing-hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--pro-shadow-sm);
  max-width: 34rem;
}

.landing-hero-social-proof p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.landing-hero-social-proof strong {
  color: var(--ink);
  font-weight: 700;
}

.landing-hero-avatars {
  display: flex;
  flex-shrink: 0;
}

.landing-hero-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(145deg, #BFDBFE, #2563EB);
  box-shadow: 0 2px 6px rgba(12, 18, 34, 0.12);
}

.landing-hero-avatars span:first-child { margin-left: 0; background: linear-gradient(145deg, #BFDBFE, #1E40AF); }
.landing-hero-avatars span:nth-child(2) { background: linear-gradient(145deg, #DBEAFE, #059669); }
.landing-hero-avatars span:nth-child(3) { background: linear-gradient(145deg, #fde68a, #d97706); }
.landing-hero-avatars span:nth-child(4) { background: linear-gradient(145deg, #ddd6fe, #7c3aed); }

.landing-hero--pro .landing-browser {
  border-radius: 18px;
  box-shadow: var(--pro-shadow), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* Numbers strip */
.landing-numbers {
  padding: 1.25rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.landing-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--pro-shadow);
}

@media (min-width: 900px) {
  .landing-numbers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.25rem;
    gap: 0;
  }

  .landing-number-card {
    border-right: 1px solid var(--line);
  }

  .landing-number-card:last-child {
    border-right: none;
  }
}

.landing-number-card {
  padding: 1rem 1.1rem;
  text-align: center;
}

.landing-number-card strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1E40AF;
  margin-bottom: 0.3rem;
}

.landing-number-card span {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.landing-numbers-note {
  text-align: center;
  margin: 1rem auto 0;
  max-width: 46rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pain upgrades */
.landing-pain {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}

.landing-pain-stat,
.landing-pain-col {
  border-radius: var(--pro-radius);
  box-shadow: var(--pro-shadow-sm);
}

.landing-pain-col {
  overflow: hidden;
}

.landing-pain-label.before {
  background: rgba(225, 29, 72, 0.08);
  color: #9f1239;
}

.landing-pain-label.after {
  background: rgba(37, 99, 235, 0.12);
  color: #1E40AF;
}

/* Steps / benefits / compare cards */
.landing-step-card,
.landing-benefit-card,
.landing-compare-card,
.landing-social-card {
  border-radius: var(--pro-radius);
  box-shadow: var(--pro-shadow-sm);
  border: 1px solid rgba(12, 18, 34, 0.07);
}

.landing-step-card {
  background: #fff;
  padding: 1.75rem 1.45rem 1.55rem;
}

.landing-step-num {
  color: rgba(37, 99, 235, 0.22);
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
}

.landing-benefit-card {
  padding: 1.55rem 1.35rem;
  background: #fff;
}

.landing-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pro-shadow);
  border-color: rgba(37, 99, 235, 0.2);
}

.landing-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.16), rgba(30, 64, 175, 0.1));
}

.landing-compare-card--us {
  box-shadow: 0 18px 40px -22px rgba(37, 99, 235, 0.45);
}

.landing-compare {
  border-radius: var(--pro-radius);
  box-shadow: var(--pro-shadow-sm);
}

/* Social / Resultados */
.landing-social {
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
}

.landing-social-card {
  background: #fff;
  padding: 1.55rem 1.4rem;
}

.landing-product-frame {
  box-shadow: var(--pro-shadow);
}

.landing-result-footer-cta {
  box-shadow: var(--pro-shadow-sm);
}

.landing-social-card blockquote p {
  font-size: 1rem;
  line-height: 1.7;
}

.landing-social-metrics > div {
  border-radius: 16px;
  box-shadow: var(--pro-shadow-sm);
}

/* FAQ modern */
.landing-faq-item {
  background: #fff;
  border: 1px solid rgba(12, 18, 34, 0.08);
  border-radius: 16px;
  padding: 0.1rem 0.2rem;
  box-shadow: var(--pro-shadow-sm);
}

.landing-faq-item summary {
  font-weight: 700;
  font-family: var(--font);
  padding: 1.05rem 1.15rem;
  cursor: pointer;
}

.landing-faq-body {
  padding: 0 1.15rem 1.15rem;
}

.landing-faq-body p,
.landing-faq-body li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.landing-faq-intro-card {
  box-shadow: var(--pro-shadow);
}

.landing-faq-footer-cta {
  box-shadow: var(--pro-shadow-sm);
}

/* CTA stronger */
.landing-cta {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.landing-cta-card {
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 28px 60px -28px rgba(30, 64, 175, 0.55);
}

.landing-cta-card--strong h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Code block softer */
.landing-code-block {
  border-radius: 18px;
  box-shadow: var(--pro-shadow);
  overflow: hidden;
}

/* Footer polish */
.landing-footer {
  padding-top: 3rem;
}

/* Mobile menu solid + clean */
@media (max-width: 899px) {
  .landing-nav-links,
  .landing-nav-links.is-open,
  #landing-nav-menu,
  #landing-nav-menu.is-open {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  .landing-nav-primary > a:not(.btn) {
    color: #0c1222 !important;
    font-size: 1.02rem;
    padding: 1.05rem 0;
  }

  .landing-nav-cta .btn-primary {
    width: 100%;
  }

  .landing-hero--pro .landing-hero-title {
    max-width: 100%;
  }

  .landing-hero-social-proof {
    max-width: 100%;
  }

  .landing-numbers-grid {
    grid-template-columns: 1fr;
  }

  .landing-section-head .landing-section-title {
    max-width: 100%;
  }

  .landing .wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .landing-numbers {
    padding-top: 0.25rem;
  }

  .landing-number-card {
    text-align: left;
  }
}


/* Conversion fixes: hide redundant comparison table on mobile */
@media (max-width: 767px) {
  .landing-why .landing-compare {
    display: none;
  }
}

/* Results cards (non-blockquote) */
.landing-social-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: var(--ink);
}

.landing-social-card > p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

.landing-social-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E40AF;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
