*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.secure-page {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.page-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 180, 90, 0.08), transparent 25%),
    radial-gradient(circle at bottom right, rgba(0, 180, 90, 0.05), transparent 25%);
}

.verification-card {
  position: relative;
  z-index: 2;
  width: 430px;
  max-width: 92%;
  overflow: hidden;
  padding: 42px 34px;
  border: 1px solid #e8e8e8;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(0, 0, 0, 0.03);
  animation: fade-up 0.4s ease both;
}

.scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 183, 92, 0.8), transparent);
  animation: scan 2.5s linear infinite;
}

.secure-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.secure-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #00b75c;
  box-shadow: 0 0 15px rgba(0, 183, 92, 0.4);
}

.secure-label {
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.progress-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.progress-display {
  position: relative;
  width: 170px;
  height: 170px;
}

.progress-display svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring {
  filter: drop-shadow(0 0 10px rgba(0, 183, 92, 0.35));
  transition: stroke-dashoffset 0.2s linear;
}

.progress-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 28px;
  font-weight: 700;
}

.verification-title {
  margin: 0 0 12px;
  color: #111;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.verification-subtitle {
  min-height: 45px;
  margin: 0 0 30px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid #ededed;
  border-radius: 18px;
  background: #fafafa;
}

.check-description {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: #cfcfcf;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.check-dot.is-complete {
  background: #00b75c;
  box-shadow: 0 0 12px rgba(0, 183, 92, 0.5);
}

.check-name {
  color: #111;
  font-size: 14px;
  font-weight: 500;
}

.check-status {
  color: #00b75c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.check-status.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.secure-footer {
  margin-top: 26px;
  color: #999;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
}

.success-modal {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.success-modal.is-visible {
  display: flex;
  animation: fade-in 0.25s ease both;
}

.success-card {
  position: relative;
  width: 340px;
  max-width: 90%;
  overflow: hidden;
  padding: 38px 30px;
  border: 1px solid #ebebeb;
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
  animation: modal-pop 0.35s ease both;
}

.success-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 183, 92, 0.14), transparent 70%);
}

.success-icon {
  position: relative;
  z-index: 2;
  display: flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #00b75c;
  color: #fff;
  font-size: 34px;
  box-shadow: 0 0 30px rgba(0, 183, 92, 0.35);
}

.success-title {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
}

.success-message {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

@keyframes scan {
  from { left: -100%; }
  to { left: 100%; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .verification-card {
    padding: 32px 22px;
  }

  .secure-header {
    margin-bottom: 26px;
  }

  .progress-display {
    width: 150px;
    height: 150px;
  }

  .verification-title {
    font-size: 25px;
  }

  .check-item {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
