/* FILE: static/css/pages/home.css */
/* FIX: Removed all hardcoded Bootstrap and brand green colours.
        Landing page CTA colours should be overridden per-service in their own
        page-level CSS. These rules now use the design token system. */

:target { scroll-margin-top: 80px }

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: rgba(11, 11, 12, .90);
}

.hero .lead {
  max-width: 680px;
  margin: .75rem auto 1.5rem;
  color: var(--ne-muted);
  line-height: 1.6;
}

/* Trust / logo bar */
.trustbar { margin-top: 1.5rem }
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  opacity: .65;
}
.trust-logos img { height: 26px; filter: grayscale(100%) }
.trust-caption   { margin-top: .5rem; font-size: 12px; color: var(--ne-faint); text-align: center }

/* Feature cards */
.features .feature-card {
  background: var(--ne-surface-solid);
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s ease, transform .2s ease;
}
.features .feature-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.features h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; color: rgba(11,11,12,.86) }
.features p  { color: var(--ne-muted); font-size: .9rem; line-height: 1.55 }

/* Pricing */
.pricing .pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-1);
}
.pricing .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.pricing .popular-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(11,11,12,.14);
  background: var(--ne-ink);
  color: var(--ne-paper);
  font-size: .75rem;
  font-weight: 700;
}
.pricing .feature-list          { margin: .75rem 0 1rem; padding-left: 0; list-style: none; color: var(--ne-muted); font-size: 13px }
.pricing .feature-list li       { margin: .4rem 0; display: flex; align-items: center; gap: .5rem }
.pricing .feature-list li::before{ content: "✓"; font-weight: 800; color: rgba(11,11,12,.7); flex: 0 0 auto }
.pricing .price-amount          { font-size: 2.2rem; font-weight: 800; color: rgba(11,11,12,.88) }
.pricing .price-period          { color: var(--ne-faint); font-size: .9rem }

/* Pricing toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--ne-muted);
  margin-bottom: 1.5rem;
}
/* native checkbox toggler styled as a pill */
.ne-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.ne-toggle input           { opacity: 0; width: 0; height: 0 }
.ne-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(11,11,12,.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.ne-toggle input:checked + .ne-toggle-track { background: var(--ne-ink) }
.ne-toggle-track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ne-paper);
  transition: transform .2s;
}
.ne-toggle input:checked + .ne-toggle-track::before { transform: translateX(18px) }

/* FAQ */
.faq .faq-item {
  background: var(--ne-surface-solid);
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.faq .faq-item summary          { cursor: pointer; font-weight: 700; list-style: none; color: rgba(11,11,12,.84) }
.faq .faq-item summary::-webkit-details-marker { display: none }
.faq .faq-item p                { margin-top: .6rem; font-size: 13px; color: var(--ne-muted); line-height: 1.55 }

/* Final CTA */
.cta-final {
  background: rgba(11,11,12,.03);
  border-top: 1px solid var(--ne-border);
  padding: 3rem 0;
  text-align: center;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem }
}
