/* ===========================
   Home (index) — page-scoped
   =========================== */

/* Layout helpers */
.container-1000 {
  max-width: 1000px;
  margin-inline: auto;
}

/* ---------- HERO (single clean block) ---------- */
.hero {
  position: relative;
  width: 100vw; /* full viewport width */
  margin-left: calc(-50vw + 50%); /* break out of parent centering */
  padding-block: 3rem 3.5rem;
  text-align: center;

  background: url('/images/City_Skyline.png') center/cover no-repeat; /* ✅ keep this */
  min-height: 520px; /* ✅ keep this */

  padding-top: 5rem; /* add more space above text */
  padding-bottom: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* darker overlay for contrast */
  pointer-events: none;
}

.hero > * {
  position: relative; /* keep content above overlay */
  z-index: 1;
}

.hero h1 {
  margin: 0 auto 2rem; /* was 1rem → add more space below main heading */
  text-align: center;
  font-size: 2rem; /* keep the size you liked */
  font-weight: 600;
  max-width: 44ch;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero h2 {
  max-width: 65ch;
  margin: 0 auto 2rem; /* center + extra breathing room */
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-purpose {
  font-size: 1.15rem;
  font-weight: 400;
  color: #dcdcdc;
  margin-top: 1.2em; /* 👈 increased space above */
  margin-bottom: 1em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------
   BENEFITS (icons + copy)
   --------------------------- */
.benefits {
  /* acts like a responsive row */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem; /* row / column gaps */
  padding: 1rem 0 0.5rem 0;
  list-style: none;
  margin: 0 0 1rem 0;
}

.benefits > li {
  /* three columns on md+, full-width on phones */
  flex: 1 1 260px;
  max-width: 360px; /* don’t let any card get too wide */
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-inline: auto;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  color: #d7dde5; /* light ink for icons */
  flex: 0 0 auto;
}

.benefit-title {
  font-weight: 700;
  line-height: 1.3;
}

.benefit-copy {
  margin: 0.25rem 0 0 0;
  line-height: 1.5;
}

/* Small tweaks when space is tight */
@media (max-width: 576px) {
  .benefit-icon {
    width: 64px;
    height: 64px;
  }
}

/* ---------------------------
   RESULT LINE (below benefits)
   --------------------------- */
.hero .result-line {
  margin: 3rem auto 0; /* pushes it further down; tweak 2–4rem to taste */
  max-width: 52ch; /* keeps the line readable */
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ---------------------------
   CTA BUTTONS
   --------------------------- */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 2.5rem;
}

/* Anchor-style CTAs (your existing class) */
.cta-button {
  display: inline-block;
  background-color: #fb5924;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.06s ease;
  border: none;
}
.cta-button:hover,
.cta-button:focus {
  background-color: #e34f1f;
  text-decoration: none;
}
.cta-button:active {
  transform: translateY(1px);
}

/* ---------------------------
   SECTION: Testability teaser
   --------------------------- */
.testability-section {
  margin-top: 2.5rem;
  text-align: center;
}

.testability-section h2 {
  margin-bottom: 0.5rem;
}

.testability-section p {
  max-width: 900px;
  margin: 0.5rem auto 2rem auto;
  line-height: 1.6;
}

/* =========================
   Info blocks (image + copy)
========================= */
.info-block {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-block h2 {
  font-size: clamp(1.4rem, 1.4rem + 0.6vw, 1.9rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.info-block p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-size: 1rem;
  margin: 0;
  max-width: 44rem;
}

.info-block img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: block;
}

/* === Final bullets for 'Find Out Before You Spend' section === */
.final-bullets {
  list-style-type: disc;
  color: #ffffff;
  display: inline-block; /* centers the list block */
  text-align: left; /* keeps bullets and text aligned neatly */
  padding-left: 1.5rem;
  margin: 0 auto;
}

.final-bullets li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .info-block {
    text-align: center;
  }
  .info-block img {
    margin-bottom: 1rem;
  }
}

/* ---------------------------
   RESPONSIVE POLISH
   --------------------------- */
@media (max-width: 768px) {
  .hero .lead {
    max-width: 95%;
  }
  .hero-purpose {
    margin-top: 0.8em; /* 👈 Adds breathing room above purpose line */
    font-size: 1.05rem; /* 👈 Slightly smaller for mobile readability */
    line-height: 1.4;
  }
  .cta-buttons {
    gap: 0.75rem;
  }
}

@media (min-width: 992px) {
  /* keep the three benefits in one row with nice spacing on large screens */
  .benefits {
    gap: 2.5rem 4rem;
  }
}
