* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
}

:root {
  --bg-top: #06101c;
  --bg-bottom: #11243b;
  --panel: rgba(9, 18, 31, 0.92);
  --panel-soft: rgba(15, 28, 46, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #e8f1ff;
  --text-soft: #b8c7dc;
  --title: #f8fbff;
  --ink: #0f172a;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --gold: #f5c56b;
  --green: #22c55e;
  --danger: #f87171;
  --card-shadow: 0 24px 52px rgba(2, 8, 23, 0.34);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% 8%, rgba(37, 99, 235, 0.18), transparent 56%),
    radial-gradient(860px 520px at 96% 12%, rgba(245, 197, 107, 0.14), transparent 52%),
    linear-gradient(180deg, var(--bg-top) 0%, #0a1525 48%, var(--bg-bottom) 100%);
  color: var(--text);
}

.app-wrapper,
.app-wrapper--otp,
.app-wrapper--pass {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.card-shell {
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.96), rgba(8, 15, 28, 0.98));
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.header-wrap,
.footer-wrap {
  background: rgba(255, 255, 255, 0.02);
}

.header-img,
.footer-img {
  width: 100%;
  display: block;
}

.hero-top {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 25, 44, 0.96), rgba(7, 16, 29, 0.98)),
    radial-gradient(760px 280px at 16% 16%, rgba(96, 165, 250, 0.22), transparent 58%);
}

.hero-top .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 260px at 20% 18%, rgba(255, 255, 255, 0.15), transparent 62%),
    radial-gradient(420px 220px at 90% 22%, rgba(245, 197, 107, 0.12), transparent 62%);
}

.hero-top .hero-content {
  position: relative;
  padding: 24px 22px 20px;
  color: var(--title);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8fbff;
}

.brand-pill i {
  color: var(--gold);
}

.hero-title {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 14px 32px rgba(2, 8, 23, 0.28);
}

.hero-sub {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #d6e4f6;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #edf5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.trust-badge i {
  color: var(--gold);
}

.card-body {
  color: var(--text);
}

.section-title {
  font-weight: 900;
  color: var(--title);
  margin: 0;
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.85;
}

.section-sub--wide {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary-premium {
  min-width: 120px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 58%, #60a5fa 100%);
  color: #ffffff;
  font-weight: 900;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary-premium:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.btn-primary-premium:active {
  transform: translateY(1px);
}

.btn-success-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #15803d 100%);
  color: #fff !important;
  font-weight: 900;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(22, 163, 74, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.btn-success-premium:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.28);
}

.form-label {
  font-size: 13px;
  color: #dce9fb !important;
}

.hint {
  font-size: 12px;
  color: #93acd0;
  margin-top: 6px;
  line-height: 1.7;
}

.input-group-text {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.22);
  color: #dbeafe;
}

.input-group-text .text-secondary,
.form-label.fw-bold.text-secondary,
.input-group .text-secondary {
  color: #dbeafe !important;
}

.form-control {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--ink);
  min-height: 48px;
  border-radius: 0 14px 14px 0;
}

.form-control:focus {
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 0 0.22rem rgba(96, 165, 250, 0.16);
}

.iti {
  display: block;
  width: 100%;
}

.iti .form-control {
  width: 100%;
}

.status-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.96), rgba(10, 20, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(2, 8, 23, 0.24);
}

.status-card--success {
  background: linear-gradient(180deg, rgba(12, 46, 28, 0.94), rgba(10, 20, 35, 0.98));
  border-color: rgba(34, 197, 94, 0.2);
}

.status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-kicker i {
  color: var(--gold);
}

.status-kicker--success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.2);
  color: #dcfce7;
}

.status-kicker--success i {
  color: #86efac;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.status-item {
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.status-item strong {
  display: block;
  color: #f8fbff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.status-item span {
  display: block;
  margin-top: 6px;
  color: #a9bdd8;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}

.review-card {
  margin-top: 18px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(13, 26, 43, 0.96), rgba(8, 16, 29, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.24);
}

.review-card h6 {
  margin: 0 0 6px;
  color: #f8fbff;
  font-size: 15px;
  font-weight: 900;
}

.review-card p {
  margin: 0;
  color: #a9bdd8;
  font-size: 12px;
  line-height: 1.8;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.review-item {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-item strong {
  display: block;
  color: #dce9fb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-item span {
  display: block;
  margin-top: 5px;
  color: #f8fbff;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.stage-brief {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-brief-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8fbff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.stage-brief-title i {
  color: var(--gold);
}

.stage-brief-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.stage-brief-item {
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stage-brief-item strong {
  display: block;
  color: #edf5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-brief-item span {
  display: block;
  margin-top: 4px;
  color: #a9bdd8;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}

.support-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: #9db2d0;
  text-align: center;
}

.page-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: #89a1c3;
  line-height: 1.8;
  text-align: center;
}

.premium-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 14px;
  width: 100%;
  max-width: 290px;
  position: relative;
}

.p-step {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #c8d7ea;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.p-line {
  flex: 1;
  height: 3px;
  background: rgba(148, 163, 184, 0.22);
  transition: all 0.4s ease;
  z-index: 1;
  margin: 0 -2px;
}

.p-step.active {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  border: 3px solid transparent;
  background-clip: padding-box;
  transform: scale(1.12);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.3);
}

.p-step.active::before {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  bottom: -3px;
  left: -3px;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 197, 107, 0.95), rgba(96, 165, 250, 0.95));
}

.p-step.dimmed {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  border: 1px solid rgba(96, 165, 250, 0.38);
  transform: scale(1);
  box-shadow: none;
}

.p-line.active {
  background: linear-gradient(90deg, #2563eb, #f5c56b);
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.24);
}

@keyframes premiumPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.34);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(96, 165, 250, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
  }
}

.p-step.pulse {
  animation: premiumPulse 1.5s infinite;
}

.otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  direction: ltr;
}

.otp-box {
  width: 52px;
  height: 62px;
  border: 2px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  transition: all 0.25s;
  padding: 0;
}

.otp-box:focus {
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
  background: #fff;
  outline: none;
}

#loader {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(5, 11, 21, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#f8fbff 0 0);
  background: var(--c) 0% 50%, var(--c) 50% 50%, var(--c) 100% 50%;
  background-size: 20% 100%;
  animation: l1 0.6s infinite linear;
}

@keyframes l1 {
  0% {
    background-size: 20% 100%, 20% 100%, 20% 100%;
  }
  33% {
    background-size: 20% 10%, 20% 100%, 20% 100%;
  }
  50% {
    background-size: 20% 100%, 20% 10%, 20% 100%;
  }
  66% {
    background-size: 20% 100%, 20% 100%, 20% 10%;
  }
  100% {
    background-size: 20% 100%, 20% 100%, 20% 100%;
  }
}

@media (max-width: 767.98px) {
  .app-wrapper,
  .app-wrapper--otp,
  .app-wrapper--pass {
    max-width: 100%;
  }

  .hero-top .hero-content {
    padding: 22px 18px 18px;
  }

  .hero-title {
    font-size: 24px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }
}

