<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Finpay Layout Updated</title>
    <script src="https://jsdelivr.net"></script>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body { background-color: #f8fafc; color: #1e293b; }

        .container { max-width: 1000px; margin: 0 auto; padding: 50px 20px; }
        
        /* Top Section */
        .header-text { text-align: center; margin-bottom: 40px; }
        .header-text h2 { font-size: 2.2rem; color: #0f172a; font-weight: 700; }

        .grid-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
        .grid-bottom { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }

        .card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
        
        .stat-number { font-size: 4rem; font-weight: 800; color: #0d9488; margin-bottom: 10px; }
        .card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #0f172a; line-height: 1.3; }
        .card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

        /* Icons placeholder */
        .icon-box { width: 45px; height: 45px; border-radius: 10px; display: inline-block; }
        .icon-light { background: #f1f5f9; }
        .icon-dark { background: #002b3d; }

        /* Dark Section */
        .dark-section { background-color: #002b3d; padding: 80px 0; margin-top: 50px; }
        
        /* UPDATED: White Heading Color */
        .dark-header h2 { 
            font-size: 2.4rem; 
            line-height: 1.2; 
            color: #ffffff; 
            max-width: 650px;
            margin-bottom: 60px;
            font-weight: 600;
        }

        .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .step-card { 
            background: rgba(255, 255, 255, 0.05); 
            padding: 35px; 
            border-radius: 20px; 
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
        }
        .step-num { font-size: 3rem; font-weight: 700; color: #0d9488; margin-bottom: 20px; opacity: 0.8; }
        .step-card h4 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 600; }
        .step-card p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; }

        canvas { width: 100% !important; height: 160px !important; }
    </style>
</head>
<body>

    <div class="container">
        <div class="header-text">
            <p style="color: #0d9488; font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 1px;">FEATURES</p>
            <h2>Why they prefer Finpay</h2>
        </div>

        <!-- Upper Row -->
        <div class="grid-top">
            <div class="card">
                <div class="stat-number">3k+</div>
                <p>Businesses already running on Finpay globally.</p>
            </div>
            <div class="card">
                <h3>Instant Withdraw your funds at any time</h3>
                <div style="display: flex; gap: 12px; margin-top: 10px;">
                    <div class="icon-box icon-light"></div>
                    <div class="icon-box icon-dark"></div>
                </div>
            </div>
        </div>

        <!-- Lower Row -->
        <div class="grid-bottom">
            <div class="card">
                <h3>No asset volatility</h3>
                <p>Maintain your money's value with stable assets that don't fluctuate with market changes.</p>
            </div>
            <div class="card" style="padding: 25px;">
                <p style="font-size: 0.75rem; font-weight: 700; color: #94a3b8;">Balance</p>
                <h2 style="font-size: 1.8rem; margin: 5px 0 20px 0;">$1,076,560</h2>
                <canvas id="myChart"></canvas>
            </div>
        </div>
    </div>

    <!-- Dark Footer Section -->
    <div class="dark-section">
        <div class="container">
            <div class="dark-header">
                <!-- Heading is now White -->
                <h2>Maximize your returns with a Reserve account that generates.</h2>
            </div>
            
            <div class="steps-grid">
                <div class="step-card">
                    <div class="step-num">1</div>
                    <h4>Open your account</h4>
                    <p>Sign up quickly and verify your account in minutes to get started with your journey.</p>
                </div>
                <div class="step-card">
                    <div class="step-num">2</div>
                    <h4>Transfer your money</h4>
                    <p>Deposit funds from your bank account or digital wallet securely and instantly.</p>
                </div>
                <div class="step-card">
                    <div class="step-num">3</div>
                    <h4>Watch your balance grow</h4>
                    <p>Enjoy competitive returns and keep track of your earnings in real-time every day.</p>
                </div>
            </div>
        </div>
    </div>

    <script>
        const ctx = document.getElementById('myChart').getContext('2d');
        new Chart(ctx, {
            type: 'line',
            data: {
                labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
                datasets: [{
                    data: [30, 45, 40, 60, 75, 90],
                    borderColor: '#0d9488',
                    backgroundColor: 'rgba(13, 148, 136, 0.1)',
                    fill: true,
                    tension: 0.4,
                    pointRadius: 0,
                    borderWidth: 3
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: { legend: { display: false } },
                scales: { 
                    x: { display: false }, 
                    y: { display: false } 
                }
            }
        });
    </script>
</body>
</html>