/* ── Landing page background ── */
.landing-page-bg {
  min-height: 100vh;
  background-color: #f8fbff;
  background-image: linear-gradient(rgba(248,251,255,0.2), rgba(248,251,255,0.2)),
    url('/assets/images/sbd-background.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(45vw, 520px) auto;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .landing-page-bg {
    background-size: min(82vw, 420px) auto;
    background-position: center bottom;
  }
}

/* ── CTA banner gradient ── */
.landing-cta {
  background: linear-gradient(120deg, #1a2f73 0%, #1a2f73 50%, #e9c46a 100%);
}

/* ── Hero text card ── */
.landing-hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(33,63,154,0.12);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15,27,45,0.12);
  padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(2px);
}

/* ── Hero eyebrow pill ── */
.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8efff;
  border: 1px solid #c4d0f0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #213f9a;
  margin-bottom: 5px;
}

.landing-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #213f9a;
  flex-shrink: 0;
}

/* Hero secondary button (mirrors prereg Track My Status layout) */
.landing-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  background: transparent;
  color: #213f9a;
  border: 1.5px solid rgba(33, 63, 154, 0.35);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  text-decoration: none;
}

.landing-btn-outline:hover {
  background: rgba(33, 63, 154, 0.06);
  border-color: rgba(33, 63, 154, 0.6);
}

/* ── Stats bar ── */
.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dce3eb;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.landing-stat {
  padding: 10px 20px;
  border-right: 1px solid #dce3eb;
}

.landing-stat:last-child {
  border-right: none;
}

.landing-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #213f9a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.landing-stat-label {
  display: block;
  font-size: 12px;
  color: #8896a6;
  margin-top: 4px;
}

/* ── Quick-access card ── */
.landing-quick-card {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 20px 50px rgba(15,27,45,0.10);
  width: 100%;
  max-width: 380px;
}

.landing-quick-header {
  padding: 18px 22px;
  border-bottom: 1px solid #edf0f5;
  background: #fafbfd;
}

.landing-quick-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8896a6;
}

.landing-quick-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #edf0f5;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.landing-quick-row:last-child {
  border-bottom: none;
}

.landing-quick-row:hover {
  background: #f5f8ff;
}

.landing-quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8efff;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #213f9a;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.landing-quick-row:hover .landing-quick-icon {
  background: #213f9a;
  color: #fff;
}

.landing-quick-icon--red {
  background: #fee2e2;
  color: #b91c1c;
}

.landing-quick-row:hover .landing-quick-icon--red {
  background: #b91c1c;
  color: #fff;
}

.landing-quick-icon--yellow {
  background: #fef9c3;
  color: #a16207;
}

.landing-quick-row:hover .landing-quick-icon--yellow {
  background: #ca8a04;
  color: #fff;
}

.landing-quick-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a2332;
}

.landing-quick-text span {
  font-size: 12px;
  color: #8896a6;
}

.landing-quick-arrow {
  margin-left: auto;
  color: #c4ccd6;
  flex-shrink: 0;
}

/* ── Features strip ── */
.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dce3eb;
  border: 1px solid #dce3eb;
  border-radius: 20px;
  overflow: hidden;
}

.landing-feature {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8efff;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #213f9a;
}

.landing-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
}

.landing-feature-desc {
  font-size: 13px;
  color: #8896a6;
  line-height: 1.6;
}

/* ── Program cards ── */
.landing-programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.landing-program-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 12px 32px rgba(15,27,45,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.04), 0 24px 48px rgba(15,27,45,0.13);
}

.landing-program-header {
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
}

.landing-program-header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.landing-program-header--medical {
  background: linear-gradient(145deg, #7f1d1d 0%, #b91c1c 60%, #dc2626 100%);
}

.landing-program-header--social {
  background: linear-gradient(145deg, #1a2f73 0%, #213f9a 60%, #2a5bc4 100%);
}

.landing-program-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
}

.landing-program-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.landing-program-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.landing-program-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 26px 26px;
  gap: 18px;
}

.landing-program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.landing-program-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #dce3eb;
  background: #f6f8fb;
  font-size: 12px;
  font-weight: 500;
  color: #3a4a5e;
}

.landing-program-tag svg { flex-shrink: 0; }

.landing-program-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
}

.landing-program-cta--medical {
  background: linear-gradient(135deg, #7f1d1d, #dc2626);
  color: #fff;
  box-shadow: 0 4px 12px rgba(185,28,28,0.25);
}

.landing-program-cta--social {
  background: linear-gradient(135deg, #1a2f73, #213f9a);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33,63,154,0.25);
}

.landing-program-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Process cards ── */
.landing-process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.landing-process-card {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 10px 28px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.04), 0 22px 44px rgba(0,0,0,0.11);
}

.landing-process-header {
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
}

.landing-process-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.landing-process-header--submit  { background: linear-gradient(145deg, #1a2f73 0%, #213f9a 60%, #2a5bc4 100%); }
.landing-process-header--validate { background: linear-gradient(145deg, #9c4513 0%, #ca5d0a 60%, #f18407 100%); }
.landing-process-header--review   { background: linear-gradient(145deg, #14532d 0%, #16a34a 60%, #22c55e 100%); }
.landing-process-header--release  { background: linear-gradient(145deg, #4c1d95 0%, #7c3aed 60%, #8b5cf6 100%); }

.landing-process-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 12px;
}

.landing-process-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.landing-process-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.landing-process-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.landing-process-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 20px;
  gap: 14px;
}

.landing-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-process-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dce3eb;
  background: #f6f8fb;
  font-size: 12px;
  font-weight: 500;
  color: #3a4a5e;
}

.landing-process-divider {
  height: 1px;
  background: #eef1f5;
  margin: 0 -22px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-programs {
    grid-template-columns: 1fr;
  }

  .landing-process-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .landing-hero-card {
    padding: 20px 16px;
  }

  .landing-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-stat {
    padding: 12px 10px;
  }

  .landing-stat-num {
    font-size: 20px;
  }

  .landing-stat-label {
    font-size: 10px;
  }

  .landing-process-cards {
    grid-template-columns: 1fr;
  }
}
