/* Landing layout — header clearance & section spacing */

:root {
  --landing-header-offset: 120px;
}

/* ── Fixed floating header ── */
.landing-header.custom-header {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1320px;
  margin-top: 15px;
  z-index: 1030;
}

.landing-header__inner {
  padding-left: 12px;
  padding-right: 12px;
}

/* Reset legacy header rules that fight the floating bar */
.landing-site .landing-header.header {
  position: fixed;
  display: block;
  width: calc(100% - 32px);
  max-width: 1320px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 575px) {
  .landing-header.custom-header,
  .landing-site .landing-header.header {
    width: calc(100% - 16px);
    margin-top: 8px;
  }
}

/* ── Main content sits below fixed header ── */
.landing-site #main,
.landing-site main.solutions-page,
.landing-site main.landing-page {
  padding-top: var(--landing-header-offset);
}

/* Home page has no <main> wrapper (legacy) — now uses main.landing-page */
.landing-site > section.hero-section {
  padding-top: calc(var(--landing-header-offset) + 1rem);
}

/* Inner heroes only need content spacing — main already clears header */
.landing-site #main > section:first-child,
.landing-site main.solutions-page > section:first-child,
.landing-site main.landing-page > section:first-child {
  padding-top: 2rem;
}

.landing-site #main .hero-section-bells,
.landing-site #main .hero-section.pricing-hero,
.landing-site #main .contact-hero-section {
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

/* Kill legacy negative margins / giant heights on inner pages */
.landing-site .success-bells-new {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.landing-site section.bells-pricing.price-section {
  margin-top: 0 !important;
}

.landing-site .Software-bells {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.landing-site section {
  padding-bottom: 0;
}

/* Simple CTA */
.landing-site .bells-cta-sec {
  padding: 3.5rem 0;
  margin-top: 0;
}

/* ── Trust strip, pillars, etc. ── */
.bells-trust-strip {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 28px 0;
}

.bells-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 991px) {
  .bells-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .bells-trust-grid {
    grid-template-columns: 1fr;
  }
}

.bells-trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.bells-trust-item span {
  font-size: 0.875rem;
  color: #64748b;
}

.bells-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef6ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-trial-note {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 14px;
}

.bells-pillars-section {
  padding: 3.5rem 0;
  background: #fff;
}

.bells-pillar-card {
  height: 100%;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bells-pillar-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.08);
}

.bells-pillar-card h3 {
  font-size: 1.15rem;
  margin: 12px 0 8px;
  color: #0f172a;
}

.bells-pillar-card p {
  font-size: 0.925rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

.bells-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.feature-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.feature-status-badge--live {
  background: #dcfce7;
  color: #166534;
}

.feature-status-badge--soon {
  background: #fef3c7;
  color: #92400e;
}

.bells-cta-actions.justify-content-center {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-section {
  padding-bottom: 3rem;
}

.bells-work.how-it-works-section {
  padding: 3.5rem 0 4rem;
  background: #f8fafc;
}

.testimonial-author {
  margin-top: 12px;
}

.bells-cta-secondary-link {
  display: inline-block;
  margin-left: 12px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}

.bells-cta-secondary-link:hover {
  text-decoration: underline;
}

.landing-site #main:not(.solutions-page):not(.landing-page) section,
.landing-site main:not(.solutions-page):not(.landing-page) section {
  padding-bottom: 0 !important;
}

@media (max-width: 991px) {
  .landing-site > section.hero-section {
    padding-top: calc(var(--landing-header-offset) + 0.75rem);
  }

  .landing-site #main > section:first-child,
  .landing-site main.solutions-page > section:first-child,
  .landing-site main.landing-page > section:first-child {
    padding-top: 1.5rem;
  }

  .landing-site #main:not(.solutions-page):not(.landing-page) section,
  .landing-site main:not(.solutions-page):not(.landing-page) section {
    padding-top: 0 !important;
  }

  .landing-site #main:not(.solutions-page):not(.landing-page) > section:first-child,
  .landing-site main:not(.solutions-page):not(.landing-page) > section:first-child {
    padding-top: 1.5rem !important;
  }
}
