/* ══════════════════════════════════════════════════════
   ROOT WRAPPER
══════════════════════════════════════════════════════ */
.ssd-root {
  font-family:
    "Inter",
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  min-height: 100vh;
  background-color: var(--ssd-bg, #dce9f3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(28px, 5vw, 52px) clamp(12px, 4vw, 20px) 120px;
  position: relative;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════
   SCREENS
══════════════════════════════════════════════════════ */
.ssd-screen {
  display: none;
  width: 100%;
  max-width: 580px;
}
.ssd-screen--active {
  display: block;
  animation: ssdUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ssdUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════════ */
.ssd-card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.12),
    0 1px 6px rgba(0, 0, 0, 0.06);
}

/* ══════════════════════════════════════════════════════
   HEADER BAND
══════════════════════════════════════════════════════ */
.ssd-hdr {
  background: var(--ssd-navy, #0d3b6e);
  padding: 18px 28px;
  text-align: center;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
}
.ssd-hdr::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ssd-teal, #2aab9f) 35%,
    var(--ssd-teal, #2aab9f) 65%,
    transparent
  );
}

/* ══════════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════════ */
.ssd-prog-track {
  height: 5px;
  background: #cddde9;
}
.ssd-prog-bar {
  height: 100%;
  background: var(--ssd-teal, #2aab9f);
  transition: width 0.46s ease;
}

/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.ssd-hero {
  background: #fff;
  padding: 30px 40px 62px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #e4eef7;
}
.ssd-hero__h1 {
  font-size: clamp(1.3rem, 3vw, 1.72rem);
  font-weight: 800;
  color: #0b1f3a;
  line-height: 1.4;
  margin: 0;
}
.ssd-hero__sub {
  font-size: 0.95rem;
  color: #3b5070;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* avatar anchor — bridges hero bottom edge */
.ssd-av-anchor {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.ssd-av-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  /* border: 4px solid var(--ssd-teal, #2aab9f); */
  background: #c8dce8;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* box-shadow:
        0 0 0 6px rgba(42, 171, 159, .16),
        0 4px 20px rgba(42, 171, 159, .32); */
}
.ssd-av-media {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════
   QUIZ BODY
══════════════════════════════════════════════════════ */
.ssd-qbody {
  padding: 72px 40px 36px;
  background: #fff;
  text-align: center;
}
.ssd-step-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ssd-teal, #2aab9f);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ssd-q-text {
  font-size: clamp(1.06rem, 2.4vw, 1.22rem);
  font-weight: 700;
  color: #0b1f3a;
  line-height: 1.56;
  margin: 0 0 26px;
  min-height: 25px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.ssd-q-text--out {
  opacity: 0;
  transform: translateY(8px);
}
.ssd-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ssd-btn-ans {
  display: block;
  width: 100%;
  padding: 17px 20px;
  border-radius: 50px;
  border: none;
  background: var(--ssd-navy, #0d3b6e);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 0.18s,
    transform 0.15s,
    box-shadow 0.15s;
}
.ssd-btn-ans:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.ssd-btn-ans:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* ══════════════════════════════════════════════════════
   SHARED FOOTER
══════════════════════════════════════════════════════ */
.ssd-footer {
  border-top: 1px solid #e4eef7;
  background: #f7fafc;
  padding: 16px 28px 22px;
}
.ssd-disc {
  font-size: 0.64rem;
  color: #96afc4;
  font-style: italic;
  line-height: 1.76;
  text-align: center;
  margin: 0 0 10px;
}
.ssd-foot-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.ssd-foot-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2c3e55;
  text-decoration: none;
}
.ssd-foot-links a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   STATUS UPDATE SCREEN
══════════════════════════════════════════════════════ */
.ssd-status-body {
  padding: 52px 44px 46px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #fff;
}
.ssd-warn-orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: ssdPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ssd-warn-orb i {
  font-size: 2.2rem;
  color: var(--ssd-orange, #e8582a);
}
.ssd-status-h2 {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--ssd-navy, #0d3b6e);
  margin: 0;
}
.ssd-hr {
  width: 100%;
  border: none;
  border-top: 1px solid #e4eef7;
  margin: 2px 0;
  box-shadow: 0 1px 0 #e4eef7;
}
.ssd-hr--flush {
  margin: 0;
}
.ssd-status-p {
  font-size: 0.97rem;
  color: #3a4f66;
  line-height: 1.76;
  max-width: 450px;
  margin: 0;
}
.ssd-btn-ghost {
  margin-top: 6px;
  padding: 13px 36px;
  border-radius: 50px;
  border: 1.5px solid #c2d3e2;
  background: #f0f5fa;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ssd-navy, #0d3b6e);
  cursor: pointer;
  transition: all 0.18s;
}
.ssd-btn-ghost:hover {
  background: #e2edf7;
  border-color: var(--ssd-navy, #0d3b6e);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   CONGRATULATIONS BANNER
══════════════════════════════════════════════════════ */
.ssd-congrats-banner {
  background: var(--ssd-green, #289e68);
  padding: 32px 32px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ssd-congrats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 78% 18%,
    rgba(255, 255, 255, 0.13) 0%,
    transparent 55%
  );
  pointer-events: none;
}
.ssd-check-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  animation: ssdPop 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) 0.14s both;
}
.ssd-check-ring i {
  color: #fff;
}
.ssd-congrats-h2 {
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 900;
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
}
.ssd-congrats-sub {
  font-size: 0.95rem;
  opacity: 0.94;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   ADVOCATE CARD
══════════════════════════════════════════════════════ */
.ssd-adv-wrap {
  background: #fff;
  padding: 22px 26px 0;
}
.ssd-adv-card {
  border: 1.5px solid #dce8f4;
  border-radius: 14px;
  background: #f5f9ff;
  padding: 24px 22px 20px;
  text-align: center;
}
.ssd-adv-av {
  width: 100%;
  height: 90px;
  border-radius: 50%;
  /* border: 3.5px solid var(--ssd-teal, #2aab9f); */
  /* background: #c8dce8; */
  overflow: hidden;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  /* box-shadow: 0 0 0 4px rgba(42, 171, 159, .14); */
  margin-bottom: 11px;
}
.ssd-adv-av .ssd-av-media {
  width: 90px;
  height: 90px;
}
.ssd-step-pill {
  display: inline-block;
  background: var(--ssd-orange, #e8582a);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.ssd-adv-h3 {
  font-size: 1.50rem;
  font-weight: 700;
  color: #0b1f3a;
  line-height: 1.38;
  margin: 0 0 16px;
}
.ssd-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 20px;
  border-radius: 50px;
  border: none;
  background: var(--ssd-navy, #0d3b6e);
  color: #fff;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    filter 0.18s,
    transform 0.15s,
    box-shadow 0.15s;
}
.ssd-btn-call:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  color: #fff;
}
.ssd-avail-lim,
.ssd-avail-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
}
.ssd-avail-lim {
  font-size: 0.76rem;
  color: #8ba3bb;
  margin-top: 12px;
}
.ssd-avail-live {
  font-size: 0.76rem;
  color: var(--ssd-teal, #2aab9f);
  font-weight: 600;
  margin-top: 4px;
}
.ssd-live-num {
  color: var(--ssd-orange, #e8582a);
}
.ssd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ssd-teal, #2aab9f);
  flex-shrink: 0;
  animation: ssdBlink 1.8s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════
   WHAT HAPPENS NEXT
══════════════════════════════════════════════════════ */
.ssd-whn {
  background: #fff;
  padding: 22px 26px 0;
}
.ssd-whn-h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 14px;
}
.ssd-whn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ssd-whn-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.91rem;
  color: #3a4f66;
  line-height: 1.52;
}
.ssd-ck {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--ssd-green, #289e68);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
}

/* ══════════════════════════════════════════════════════
   URGENCY BOX
══════════════════════════════════════════════════════ */
.ssd-urgency {
  margin: 20px 26px 26px;
  border-left: 4px solid var(--ssd-orange, #e8582a);
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 10px;
}
.ssd-urgency strong {
  font-size: 0.88rem;
  color: #0b1f3a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.ssd-urgency strong i {
  color: var(--ssd-orange, #e8582a);
}
.ssd-urgency p {
  font-size: 0.85rem;
  color: #5a7080;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   STICKY CALL BAR
══════════════════════════════════════════════════════ */
.ssd-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ssd-navy, #0d3b6e);
  border-top: 3px solid var(--ssd-teal, #2aab9f);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.ssd-sticky--on {
  transform: translateY(0);
}
.ssd-sticky a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ══════════════════════════════════════════════════════
   MODAL OVERLAY
══════════════════════════════════════════════════════ */
.ssd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ssd-overlay--on {
  display: flex;
  animation: ssdFadeIn 0.22s ease;
}
.ssd-modal {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  animation: ssdUp 0.3s ease both;
}
.ssd-modal-hd {
  background: var(--ssd-navy, #0d3b6e);
  color: #fff;
  padding: 26px 24px 20px;
  text-align: center;
  position: relative;
}
.ssd-modal-hd h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 4px;
}
.ssd-modal-hd p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin: 0;
}
.ssd-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;

  border-radius: 50%;
  padding: 0;
  box-sizing: border-box;

  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.15s;
  line-height: 1;
}
.ssd-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}
.ssd-modal-bd {
  padding: 22px 24px 26px;
}
.ssd-modal-bd > p {
  font-size: 0.91rem;
  color: #3a4f66;
  line-height: 1.72;
  margin: 0 0 12px;
}
.ssd-modal-info {
  background: #f0f6fb;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid var(--ssd-teal, #2aab9f);
  margin-bottom: 16px;
}
.ssd-modal-info h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 6px;
}
.ssd-modal-info > p {
  font-size: 0.83rem;
  color: #3a4f66;
  margin: 0 0 8px;
}
.ssd-modal-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #3a4f66;
  margin-bottom: 6px;
}
.ssd-modal-row:last-child {
  margin-bottom: 0;
}
.ssd-modal-row i {
  color: var(--ssd-teal, #2aab9f);
  margin-top: 3px;
  flex-shrink: 0;
}
.ssd-btn-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px;
  border-radius: 50px;
  border: none;
  background: var(--ssd-orange, #e8582a);
  color: #fff;
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition:
    filter 0.18s,
    transform 0.15s;
}
.ssd-btn-orange:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  color: #fff;
}
.ssd-modal-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--ssd-teal, #2aab9f);
  font-weight: 600;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════════════ */
@keyframes ssdPop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ssdBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
@keyframes ssdFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — mobile ≤ 520 px
══════════════════════════════════════════════════════ */
@media (max-width: 520px) {
  .ssd-hero {
    padding: 24px 18px 60px;
  }
  .ssd-hero__h1 {
    font-size: 1.26rem;
  }
  .ssd-qbody {
    padding: 66px 18px 28px;
  }
  .ssd-btn-ans {
    font-size: 0.95rem;
    padding: 15px;
  }
  .ssd-status-body {
    padding: 38px 20px 36px;
  }
  .ssd-adv-wrap,
  .ssd-whn {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ssd-urgency {
    margin-left: 16px;
    margin-right: 16px;
  }
  .ssd-congrats-banner {
    padding: 26px 18px 20px;
  }
  .ssd-footer {
    padding: 14px 18px 18px;
  }
  .ssd-hdr {
    font-size: 0.95rem;
    padding: 16px 18px;
  }
  .ssd-modal-hd h3 {
    font-size: 1.4rem;
  }
  .ssd-modal-bd {
    padding: 18px 18px 22px;
  }
}
