/* iDULS Library screens (shared tokens and controls live in ../shared/styles.css). */
.hero-empty { padding: 12px 22px 26px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.how-steps li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  background: var(--surface-sunken); font-size: 14px; font-weight: 600; color: var(--ink-2);
  animation: rise 360ms var(--ease) both;
}
.how-steps li:nth-child(2) { animation-delay: 80ms; }
.how-steps li:nth-child(3) { animation-delay: 160ms; }
.how-steps li > svg { flex: none; color: var(--brand); }
.how-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; color: #fff; background: var(--grad); }

.disk-head { display: flex; align-items: center; gap: 16px; }
.disk-id { font-size: 26px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
.week-none { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--surface-sunken); color: var(--muted); }
.weeks { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.week-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px;
  background-color: var(--surface-2); border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 var(--edge);
  animation: rise 300ms var(--ease) both;
}
.week-row.tone-ok { border-color: var(--ok-line); }
.orb { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; animation: pop 420ms var(--ease-spring) both; }
.week-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.week-meta { margin-top: 6px; gap: 10px; }
.week-help { margin-top: 8px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.week-help svg { flex: none; }
.week-actions { flex: none; display: flex; gap: 8px; }

.unlock { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; min-width: 300px; animation: rise 260ms var(--ease) both; }
.unlock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.activate-card { padding: 26px; }
.activate-head { display: flex; align-items: flex-start; gap: 18px; }
.activate-head .page-title { font-size: 27px; }
.code-form { margin-top: 24px; }
.code {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 12px; border-radius: 20px;
  background: var(--surface-sunken);
  border: 1.5px solid var(--line);
  cursor: text;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.code.focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(179, 41, 255, 0.14); }
.code.complete { border-color: var(--ok-line); }
.code.focus.complete { border-color: #22C55E; box-shadow: 0 0 0 4px var(--ok-soft); }
.code.disabled { opacity: 0.6; }
.code-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: text; z-index: 2; font-size: 16px; caret-color: transparent; }
.code-group {
  display: flex; gap: 2px; padding: 6px 8px; border-radius: 13px;
  background-color: var(--field); border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 var(--edge), var(--shadow-sm);
  transition: border-color 180ms var(--ease);
}
.code-group.full { border-color: var(--brand-line); }
.code.complete .code-group { border-color: var(--ok-line); }
.code-cell {
  position: relative; width: 25px; height: 44px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 27px; font-weight: 600; color: var(--ink);
}
.code-cell:empty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.code-cell.has { animation: digit-in 170ms var(--ease-spring) both; }
.code-cell.caret::after {
  content: ""; position: absolute; left: 50%; top: 9px; bottom: 9px; width: 2px; margin-left: -1px; border-radius: 2px;
  background: var(--purple); animation: caret 1s steps(1) infinite;
}
.code-cell.caret:empty::before { display: none; }
.code-foot { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }

.success-card { text-align: center; padding: 44px 28px 30px; }
.success-card .page-sub { margin: 8px auto 0; font-size: 17px; }
.success-next { display: flex; justify-content: center; margin: 26px auto 0; max-width: 520px; text-align: left; }
.success-next .unlock { width: 100%; }

.video-ph {
  height: 190px; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 80% 110%, rgba(179, 41, 255, 0.7), transparent 60%), radial-gradient(90% 90% at 0% 0%, rgba(0, 200, 255, 0.35), transparent 60%), #120F2C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.video-play {
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: #fff; padding-left: 4px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: pop 500ms var(--ease-spring) 120ms both;
}

.pay-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.pay-way { padding: 18px; border-radius: 18px; background-color: var(--surface-2); border: 1px solid var(--hairline); box-shadow: inset 0 1px 0 var(--edge); min-width: 0; }
.pay-way-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.pay-way-head svg { flex: none; color: var(--brand); }
.pay-way h3 { font-size: 15.5px; font-weight: 700; }
.pay-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pay-qr-row { display: flex; gap: 16px; align-items: flex-start; }
.qr-frame { flex: none; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 21, 46, 0.08), 0 8px 20px -10px rgba(60, 40, 140, 0.45); }
.qr-frame img { width: 148px; height: 148px; border-radius: 6px; }
.net-seg { display: flex; }
.ussd-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ussd-steps li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; animation: rise 260ms var(--ease) both; }
.ussd-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); }

@media (max-width: 900px) {
  .pay-ways { grid-template-columns: 1fr; }
  .week-row { flex-wrap: wrap; }
  .week-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 820px) {
  .code { gap: 8px; padding: 14px 8px; }
  .code-cell { width: 21px; font-size: 23px; }
  .code-group { padding: 6px 5px; }
  .how-steps { grid-template-columns: 1fr; }
}

/* Contact support (every screen) */
.support-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
.support-bar .grow { min-width: 180px; }
.support-bar .mono { opacity: 0.75; font-size: 0.9em; margin-left: 4px; }
