/* ============================================
   Homepage sections below the hero.
   Shared across breakpoints (unlike the split
   desktop.css / mobile.css hero) — everything
   here is responsive within .home-sections.
   ============================================ */

.home-sections {
  position: relative;
  z-index: 1;
}

html {
  scroll-behavior: smooth;
}

.hs-section {
  padding: 5rem 1.5rem;
}

.hs-section--alt {
  background: rgba(13, 21, 41, 0.55);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.hs-section--cta {
  text-align: center;
  padding-bottom: 7rem;
}

.hs-section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hs-section__inner--narrow {
  max-width: 760px;
}

/* ---- Equation bar ---- */
.hs-section--equation {
  padding-top: 0;
  padding-bottom: 0;
}

.hs-section--equation .hs-section__inner {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 1rem;
  text-align: center;
}

.hs-equation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.75rem 1rem;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 700;
  color: #fff;
}

.hs-equation__op {
  color: var(--color-text-muted);
  font-weight: 400;
}

.hs-equation__part--accent {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Mid-page CTA banner ---- */
.hs-section--banner {
  padding-top: 0;
}

.hs-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(168, 85, 247, 0.10));
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 18px;
  padding: 2.5rem;
}

.hs-banner__title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.hs-banner__text {
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.hs-banner__cta {
  flex-shrink: 0;
}

/* ---- Type ---- */
.hs-eyebrow {
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hs-heading {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hs-lede {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hs-section--cta .hs-lede {
  margin-left: auto;
  margin-right: auto;
}

.hs-footnote {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ---- Systems grid ---- */
.hs-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.hs-system {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.hs-system:hover {
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-3px);
}

.hs-system__name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.hs-system__promise {
  color: var(--color-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.35rem 0 1rem;
}

.hs-system__list {
  list-style: none;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.hs-system__list li {
  padding-left: 1.2rem;
  position: relative;
}

.hs-system__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
}

.hs-system__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.hs-system__price {
  color: #fff;
  font-weight: 700;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ---- Process steps ---- */
.hs-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.hs-step {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
}

.hs-step__num {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: #04101c;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hs-step__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.hs-step__meta {
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.3rem 0 0.75rem;
}

.hs-step__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---- Pricing tiers ---- */
.hs-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.hs-tiers--single {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hs-tiers--duo {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.hs-tier {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hs-tier--popular {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}

.hs-tier__badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: #04101c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.hs-tier__name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.hs-tier__price {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0.5rem 0 1.25rem;
}

.hs-tier__price span {
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.hs-tier__list {
  list-style: none;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.hs-tier__list li {
  padding-left: 1.4rem;
  position: relative;
}

.hs-tier__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-weight: 700;
}

.hs-tier__cta {
  border: 1px solid rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.06);
  color: var(--color-cyan);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.hs-tier__cta:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--color-cyan);
}

.hs-tier--popular .hs-tier__cta {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border: none;
  color: #04101c;
}

/* ---- Audit offer (single offer, staged tiles) ---- */
.hs-audit {
  background: var(--color-bg-card);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.06);
}

.hs-audit__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.hs-audit__name {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.hs-audit__meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.hs-audit__price {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
}

.hs-audit__price span {
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.hs-audit__cta {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border: none;
  color: #04101c;
  padding: 0.85rem 1.6rem;
}

.hs-audit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.hs-audit__tile {
  background: rgba(7, 11, 26, 0.55);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.4rem;
}

.hs-audit__step {
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hs-audit__tile-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0.35rem 0 0.4rem;
}

.hs-audit__tile-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---- Why grid ---- */
.hs-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.hs-why {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
}

.hs-why__title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hs-why__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---- FAQ ---- */
.hs-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}

.hs-faq__item[open] {
  border-color: rgba(0, 229, 255, 0.4);
}

.hs-faq__q {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.hs-faq__q::-webkit-details-marker {
  display: none;
}

.hs-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-cyan);
  font-size: 1.3rem;
  font-weight: 400;
}

.hs-faq__item[open] .hs-faq__q::after {
  content: "\2212";
}

.hs-faq__a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* ---- Final CTA ---- */
.hs-cta {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hs-section {
    padding: 3.5rem 1.25rem;
  }
}
