/* ============================================================
   HORIZON SUITE — Layer 2 Access Gate
   assets/css/pages/horizon-suite-access.css
   Version: 15 — clean rebuild per PDF structure
============================================================ */

/* ── Page base ─────────────────────────────────────────── */
.hsa-page {
  background: linear-gradient(168deg, #0b1120 0%, #070a14 55%, #05070d 100%);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
}
.hsa-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero ───────────────────────────────────────────────── */
.hsa-hero {
  position: relative;
  z-index: 1;
  padding: 110px 4rem 64px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hsa-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}
.hsa-hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 0;
}
.hsa-hero-graphic {
  justify-self: end;
  position: relative;
  width: 280px;
  height: 280px;
}
.hsa-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,.08);
}
.hsa-hero-ring--1 { inset: 0; }
.hsa-hero-ring--2 { inset: 15%; border-color: rgba(16,185,129,.12); }
.hsa-hero-ring--3 { inset: 30%; border-color: rgba(16,185,129,.18); }
.hsa-hero-shield {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .98;
  transform: scale(.92);
}
.hsa-hero-shield .hs-svg--hero { width: 100%; height: 100%; overflow: visible; }

/* CTA card in hero */
.hsa-ctaRow { margin-top: 24px; }
.hsa-ctaPrimary {
  position: relative;
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(140,255,210,.20);
  background: linear-gradient(180deg, rgba(12,20,34,.86), rgba(12,20,34,.50));
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transition: transform .2s, filter .2s;
}
.hsa-ctaPrimary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.hsa-ctaKicker {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(160,255,205,.70);
  margin-bottom: 6px;
}
.hsa-ctaTitle {
  display: block;
  font-weight: 800;
  font-size: 1.22rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 6px;
}
.hsa-ctaSub {
  display: block;
  color: rgba(235,245,255,.66);
  line-height: 1.5;
  font-size: .95rem;
}
.hsa-ctaArrow {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 1.2rem;
  color: rgba(160,255,205,.85);
}

/* ── Dynamic banners ────────────────────────────────────── */
.hsa-banners-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}
.hsa-banner {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.hsa-banner p { font-size: .88rem; font-weight: 500; margin: 0 0 .5rem; }
.hsa-banner--warning { background: rgba(234,179,8,.06); border: 1px solid rgba(234,179,8,.15); }
.hsa-banner--warning p { color: #eab308; }
.hsa-banner--success { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.2); }
.hsa-banner--success p { color: #10b981; }
.hsa-banner--info { background: rgba(59,130,246,.06); border: 1px solid rgba(59,130,246,.15); }
.hsa-banner--info p { color: #60a5fa; }
.hsa-banner--neutral { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.hsa-banner--neutral p { color: rgba(255,255,255,.5); }
.hsa-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}
.hsa-banner-btn:hover { border-color: #10b981; color: #10b981; }

/* ── Page body (full width single column) ──────────────── */
.hsa-body {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem 120px;
}

/* ── Section base ───────────────────────────────────────── */
.hsa-section {
  margin-bottom: 100px;
}
.hsa-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
  position: relative;
  padding-bottom: .75rem;
}
.hsa-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(16,185,129,.35);
}
.hsa-section-sub {
  font-size: .92rem;
  color: rgba(235,245,255,.60);
  line-height: 1.65;
  max-width: 80ch;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════
   MEMBERSHIP BENEFITS GRID — asymmetric per PDF
   Layout:
     [ E2M Engine (col1 rows 1+2) ] [ MA Suite        (col2 row1) ]
                                     [ Cashflow Compass (col2 row2) ]
     [ Break-Even Insights (col1) ] [ VAT/CIS unit    (col2 row3) ]
════════════════════════════════════════════════════════ */
.hsa-mbGrid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}

/* Card base */
.hsa-card {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, rgba(12,20,34,.75), rgba(8,14,24,.50));
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.hsa-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin: 0 0 8px;
}
.hsa-card-desc {
  font-size: .88rem;
  color: rgba(235,245,255,.62);
  line-height: 1.55;
  margin: 0 0 12px;
}
.hsa-card-bullets {
  padding-left: 18px;
  margin: 12px 0 16px;
}
.hsa-card-bullets li {
  font-size: .86rem;
  color: rgba(235,245,255,.65);
  line-height: 1.5;
  margin: 7px 0;
}
.hsa-card-viz {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6,10,20,.35);
  border: 1px solid rgba(255,255,255,.06);
}
.hsa-viz-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* E2M — dominant left, spans rows 1 and 2 */
.hsa-card--e2m {
  grid-column: 1;
  grid-row: 1 / 3;
  border-color: rgba(140,255,210,.16);
  display: flex;
  flex-direction: column;
}
.hsa-card--e2m .hsa-card-viz {
  flex: 1;
  min-height: 100px;
}
.hsa-card--e2m .hsa-viz-svg { height: 100%; min-height: 90px; }

/* MA Suite — top right */
.hsa-card--ma {
  grid-column: 2;
  grid-row: 1;
}
.hsa-card--ma .hsa-card-viz { padding: 8px; }

/* Cashflow Compass — middle right */
.hsa-card--cashflow {
  grid-column: 2;
  grid-row: 2;
}
.hsa-card--cashflow .hsa-card-viz { padding: 8px; }

/* Break-Even Insights — bottom left */
.hsa-card--breakeven {
  grid-column: 1;
  grid-row: 3;
}
.hsa-card--breakeven .hsa-card-viz { padding: 8px; }

/* VAT/CIS — bottom right */
.hsa-card--vat {
  grid-column: 2;
  grid-row: 3;
}
.hsa-card--vat .hsa-card-viz { padding: 8px; }

/* ── Membership Model ───────────────────────────────────── */
.hsa-mmGrid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hsa-mmItem {
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10,18,30,.35);
}
.hsa-mmIcon { margin-bottom: 12px; }
.hsa-mmItem h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.hsa-mmItem p {
  font-size: .85rem;
  color: rgba(235,245,255,.60);
  line-height: 1.5;
  margin: 0;
}
.hsa-mmNote {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(10,18,30,.22);
}
.hsa-mmNote p {
  font-size: .86rem;
  color: rgba(235,245,255,.55);
  line-height: 1.6;
  margin: 0 0 8px;
}
.hsa-mmNote p:last-child { margin-bottom: 0; }

/* ── Legal buttons strip ────────────────────────────────── */
.hsa-legal-strip { margin-bottom: 80px; }
.hsa-legalBtns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hsa-btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,18,30,.30);
  text-decoration: none;
  color: rgba(235,245,255,.78);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .25s, color .25s;
}
.hsa-btnGhost:hover {
  border-color: rgba(140,255,210,.28);
  color: rgba(255,255,255,.95);
}

/* ── Data handling ──────────────────────────────────────── */
.hsa-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hsa-list li {
  font-size: .88rem;
  color: rgba(255,255,255,.50);
  line-height: 1.6;
  padding: .45rem 0 .45rem 1.4rem;
  position: relative;
}
.hsa-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(16,185,129,.60);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hsa-mbGrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .hsa-card--e2m { grid-column: 1 / -1; grid-row: 1; }
  .hsa-card--ma  { grid-column: 1; grid-row: 2; }
  .hsa-card--cashflow { grid-column: 2; grid-row: 2; }
  .hsa-card--breakeven { grid-column: 1; grid-row: 3; }
  .hsa-card--vat { grid-column: 2; grid-row: 3; }
  .hsa-mmGrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hsa-hero {
    padding: 90px 1.5rem 48px;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hsa-hero-graphic { display: none; }
  .hsa-banners-wrap { padding: 0 1.5rem; }
  .hsa-body { padding: 0 1.5rem 80px; }
  .hsa-mbGrid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hsa-card--e2m,
  .hsa-card--ma,
  .hsa-card--cashflow,
  .hsa-card--breakeven,
  .hsa-card--vat {
    grid-column: 1;
    grid-row: auto;
  }
  .hsa-mmGrid { grid-template-columns: 1fr; }
  .hsa-section { margin-bottom: 64px; }
}


/* ── Horizon Suite logo hero graphic ───────────────────── */
.hsa-hero-graphic {
  justify-self: end;
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hsa-hs-logo {
  width: 280px;
  height: 280px;
  display: block;
  overflow: visible;
}

/* ── Membership Model inline icons ─────────────────────── */
.model-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px auto;
  display: block;
  color: rgba(126,240,196,0.88);
}

