/* ══════════════════════════════════════════
   Why Register Page
   ══════════════════════════════════════════ */

/* Full-width page — no .content wrapper */
.why-register-hero,
.cta-banner {
  width: 100%;
}

/* ── Pill Buttons ── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 10px 24px;
  border-radius: 28.6px;
  font-family: "PBS Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1.25;
}

.btn-pill-light {
  background: var(--cloud);
  color: var(--primary);
}

/* Hover: bg #D5DDE7 (Rain), text #0F1E8C — Figma 2502:47042 */
.btn-pill-light:hover {
  background: #D5DDE7;
  color: #0F1E8C;
  text-decoration: none;
}

.btn-pill-primary {
  background: var(--primary);
  color: #fff;
}

/* Hover: bg #0F1E8C, text #C0CBDA (Moon) — Figma 2334:39687 */
.btn-pill-primary:hover {
  background: var(--dark-blue);
  color: #C0CBDA;
  text-decoration: none;
}

.btn-pill-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* Hover: border #C0CBDA, text #C0CBDA (Moon) — Figma 2334:39978 */
.btn-pill-outline:hover {
  background: transparent;
  border-color: #C0CBDA;
  color: #C0CBDA;
  text-decoration: none;
}

/* ── Hero Section ── */
.why-register-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.why-register-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: var(--nav-dark);
}

.why-register-hero .hero-show-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 720px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0;
  overflow: hidden;
}

.why-register-hero .show-poster {
  width: 180px;
  height: 270px;
  object-fit: cover;
  flex-shrink: 0;
}

.why-register-hero .hero-gradient-left {
  position: absolute;
  top: 0;
  /* Anchor to show grid left edge: show grid is right:0 width:720px,
     so its left edge is at right:720px. Gradient starts there and
     extends 402px rightward into the posters. */
  right: 318px; /* 720px - 402px */
  width: 402px;
  height: 100%;
  background: linear-gradient(to right, var(--nav-dark) 14%, rgba(0, 5, 37, 0.37) 66%, transparent 100%);
}

.why-register-hero .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 64px;
  box-sizing: border-box;
}

.why-register-hero .hero-breadcrumb {
  position: absolute;
  top: 24px;
  left: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  font-family: "PBS Sans", sans-serif;
}

/* "Home" — #C0CBDA (Moon), fixed width 37px */
.why-register-hero .hero-breadcrumb a {
  color: #C0CBDA;
  text-decoration: none;
  width: 37px;
  display: inline-block;
}

/* "›" separator — #94A1B2 (Pebble) */
.why-register-hero .hero-breadcrumb .separator {
  color: #94A1B2;
}

/* "Why Register" — white */
.why-register-hero .hero-breadcrumb span:last-child {
  color: #fff;
}

.why-register-hero .hero-content-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  height: 100%;
  justify-content: center;
  padding: 24px 0;
}

.why-register-hero .hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--nav-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px;
  border-radius: 5px;
  line-height: 1.5;
}

.why-register-hero .hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  width: 620px;
}

.why-register-hero .hero-subtitle {
  font-size: 16px;
  color: #EEF0F5;
  line-height: 1.5;
  max-width: 580px;
  margin: 0;
}

/* ── Process Infographic (Path to Success + Key Benefits) ── */
.process-infographic-bg {
  background: #fff;
  width: 100%;
}

.process-infographic {
  padding: 100px 64px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* ── Path to Success ── */
.path-to-success {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.path-to-success .section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

h2.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin: 0;
}

p.section-subtitle {
  font-size: 14px;
  color: #000525;
  line-height: 1.5;
  margin: 0;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: center;
  width: 100%;
}

/* Make the wrapper invisible to grid — children participate directly */
.step-wrapper {
  display: contents;
}

.step-card {
  background: var(--baby-blue);
  border: 1px solid var(--baby-blue);
  border-radius: 24px;
  padding: 24px;
  min-height: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-badge {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--nav-dark);
  line-height: 1.25;
  margin: 0 0 12px;
}

.step-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

.step-connector {
  flex-shrink: 0;
  width: 40px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Key Benefits ── */
.key-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.key-benefits .section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.benefits-visual {
  position: relative;
  width: 100%;
  max-width: 1247px;
  height: 524px;
  padding: 10px;
}

.benefits-posters {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 511px;
  height: 464px;
}

.benefits-posters .poster {
  position: absolute;
  width: 240px;
  border-radius: 8px;
  box-shadow: 0 0.5px 35px rgba(96, 115, 138, 0.25);
  object-fit: cover;
}

.benefits-posters .poster-1 {
  height: 360px;
  left: -47px;
  top: -30px;
}

.benefits-posters .poster-2 {
  height: 361px;
  left: 124px;
  top: 47px;
}

.benefits-posters .poster-3 {
  height: 360px;
  left: 290px;
  top: 122px;
}

.benefit-card {
  position: absolute;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--cloud);
  border-radius: 12px;
  box-shadow: 0 0.5px 17.5px rgba(96, 115, 138, 0.25);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border: 1px solid var(--baby-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-text strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--onyx);
  line-height: 1.25;
  white-space: nowrap;
}

.benefit-text span {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
  white-space: nowrap;
}

/* Benefit card positions from Figma node coords within 1247×524 container */
.benefit-tracking {
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.benefit-forms {
  top: 228px;
  left: calc(50% - 352.5px);
  transform: translateX(-50%);
}

.benefit-updates {
  top: 243px;
  left: calc(50% + 352.5px);
  transform: translateX(-50%);
}

.benefit-support {
  top: 402px;
  left: 50%;
  transform: translateX(-50%);
}

.benefits-cta {
  text-align: center;
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--nav-dark);
}

/* Figma Ellipse — 500×500 PBS Blue circle opacity 0.15, centered */
.cta-banner .cta-ellipse {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.cta-banner .cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Figma: Rectangle rotated 90deg — gradient goes left (dark) → right (transparent) */
.cta-banner .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(0,5,37) 13.874%, rgba(0,5,37,0.5) 66.342%, rgba(0,5,37,0.2) 96.447%);
  z-index: 3;
}

.cta-banner .cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding: 40px;
}

.cta-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 720px;
  margin: 0;
}

.cta-desc {
  font-size: 18px;
  color: #EEF0F5;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .why-register-hero {
    height: auto;
    min-height: 400px;
  }

  .why-register-hero .hero-show-grid {
    width: 100%;
    opacity: 0.15;
  }

  .why-register-hero .hero-show-grid .show-poster {
    width: 25%;
    height: 180px;
  }

  .why-register-hero .hero-gradient-left {
    display: none;
  }

  /* Dark overlay to keep text readable over the poster grid */
  .why-register-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 5, 37, 0.6);
  }

  .why-register-hero .hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 60px 24px;
  }

  .why-register-hero .hero-title {
    font-size: 40px;
    width: auto;
  }

  .process-infographic {
    padding: 60px 24px;
    gap: 60px;
  }

  .steps-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .step-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .step-card {
    width: 100%;
    height: 207px;
    padding: 16px;
    border-radius: 16px;
    gap: 16px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .step-connector {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
  }

  .key-benefits {
    padding: 0;
  }

  .benefits-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }

  .benefits-posters {
    display: none;
  }

  .benefit-card {
    position: static;
    transform: none;
  }

  .cta-banner {
    height: auto;
    padding: 80px 24px;
  }

  .cta-banner .cta-content {
    position: relative;
    inset: auto;
    padding: 0;
  }

  .cta-title {
    font-size: 30px;
  }

  .cta-desc {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .why-register-hero .hero-breadcrumb {
    display: none;
  }
}

@media (max-width: 768px) {
  .why-register-hero .hero-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }
}
