/* AML Check page — NextPay styling extensions */

.aml-hero {
  padding: 140px 0 50px;
  text-align: center;
}

.aml-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(50, 223, 255, 0.35);
  border-radius: 20px;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 24px;
  background: rgba(50, 223, 255, 0.06);
}

.aml-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: aml-pulse 2s ease-in-out infinite;
}

@keyframes aml-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.aml-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.aml-cta-wrap {
  margin: 30px 0 20px;
}

.connect-wallet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cyan);
  color: var(--dark);
  padding: 16px 36px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(50, 223, 255, 0.35);
  animation: aml-glow 2.5s ease-in-out infinite;
}

.connect-wallet:hover {
  background: #28c8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(50, 223, 255, 0.5);
}

.connect-wallet svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes aml-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(50, 223, 255, 0.35); }
  50% { box-shadow: 0 4px 36px rgba(50, 223, 255, 0.55); }
}

.aml-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.aml-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.aml-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Steps */
.aml-steps {
  padding: 60px 0;
}

.aml-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.aml-step {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
}

.aml-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(50, 223, 255, 0.15);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.aml-step h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.aml-step p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.aml-step-arrow {
  display: none;
}

/* Features */
.aml-features {
  padding: 40px 0 60px;
}

.aml-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.aml-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(50, 223, 255, 0.08);
  border: 1px solid rgba(50, 223, 255, 0.15);
  color: var(--cyan);
}

.aml-feature-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Risk meter */
.aml-risk {
  padding: 50px 0;
  text-align: center;
}

.aml-risk-bar {
  display: flex;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  height: 12px;
}

.aml-risk-seg {
  flex: 1;
}

.aml-risk-seg.low { background: #22cc66; }
.aml-risk-seg.mid { background: #ffaa00; }
.aml-risk-seg.high { background: #cc3344; }

.aml-risk-labels {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* Bottom CTA */
.aml-bottom-cta {
  padding: 60px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aml-bottom-cta h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.aml-bottom-cta p {
  color: var(--text);
  margin-bottom: 28px;
  font-size: 15px;
}

.aml-link-scroll {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--cyan);
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Ubuntu', sans-serif;
}

.aml-header-minimal .header-nav a.back-link {
  opacity: 0.7;
  font-size: 13px;
}

.header .connect-wallet {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  animation: none;
  box-shadow: none;
}

.header .connect-wallet:hover {
  box-shadow: 0 4px 16px rgba(50, 223, 255, 0.4);
}

@media (max-width: 900px) {
  .aml-steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .aml-features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .aml-features-grid { grid-template-columns: 1fr; }
  .connect-wallet { width: 100%; max-width: 340px; padding: 14px 24px; font-size: 15px; }
}
