/* =====================================================
   HOME PAGE — home.css
   Sections: hero · features · cta
   ===================================================== */

/* ── Shared layout ──────────────────────────────────── */
.home-container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Hero ───────────────────────────────────────────── */
.home-hero {
  padding: 71px 0 40px;
}

.home-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.home-hero-text {
  flex: 1;
}

.home-h1 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.26;
  color: var(--senseye-teal);
  margin: 0 0 20px;
}

.home-subtitle {
  /* 27px to match original Avada design.
     Original Avada: base body/container font size was ~21px, so 1.3em = 1.3 × 21 = ~27.3px.
     Our CSS: body font size is browser default 16px, so 1.3em = 1.3 × 16 = ~20.8px — too small. */
  font-size: 27px;
  line-height: 1.2;
  color: var(--senseye-text);
  margin: 0;
  font-weight: 400;
}

.home-hero-img {
  flex: 0 0 auto;
}

.home-hero-img img {
  display: block;
  width: 200px;
  height: auto;
}

/* ── Features grid ──────────────────────────────────── */
.home-features {
  padding: 80px 0 70px;
}

.home-section-title {
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--senseye-white);
  text-align: center;
  margin: 0 0 60px;
}

.home-section-title b {
  font-weight: 700;
}

.home-features-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.home-feature-row {
  display: flex;
  align-items: stretch;
}

.home-feature-sep {
  flex: 0 0 1px;
  background: #0fc2b0;
}

.home-feature {
  flex: 1;
  padding: 0 40px;
  color: var(--senseye-text);
  font-size: 18px;
  line-height: 1.6;
}

.home-feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--senseye-teal);
  font-weight: 600;
}

/* ── CTA ─────────────────────────────────────────────── */
.home-cta {
  padding: 40px 0 80px;
}

.home-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-cta .home-section-title {
  margin-bottom: 0;
}

.home-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 36px;
  background: transparent;
  color: var(--senseye-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--senseye-white);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
  background: var(--senseye-teal);
  border-color: var(--senseye-teal);
  color: var(--senseye-navy-deep);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 860px) {
  .home-container {
    padding: 0 24px;
  }

  .home-hero {
    padding: 30px 0 30px;
  }

  .home-hero-inner {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .home-hero-img img {
    width: 140px;
  }

  .home-h1 {
    font-size: 32px;
  }

  .home-subtitle {
    font-size: 19px;
  }

  .home-features {
    padding: 40px 0 30px;
  }

  .home-section-title {
    font-size: 30px;
    margin-bottom: 36px;
    text-align: left;
  }

  .home-features-grid {
    gap: 0;
  }

  .home-feature-row {
    flex-direction: column;
  }

  /* Internal separator (between the 2 items within a row) becomes horizontal */
  .home-feature-sep {
    height: 1px;
    width: auto;
    background: #0fc2b0;
    margin: 20px 0;
    flex: 0 0 1px;
  }

  /* Between-row separator — appears after each row except the last */
  .home-feature-row:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background: #0fc2b0;
    margin: 20px 0;
  }

  .home-feature {
    padding: 0;
  }

  .home-cta {
    padding: 30px 0 60px;
  }

  .home-cta-inner {
    align-items: flex-start;
    text-align: left;
  }
}
