@extends('layouts.app')
@section('title', 'P2P Coin Marketplace')
@push('styles')
@endpush
@section('content')
@if(session('success'))
🔒 Escrow-Protected P2P Trading
Coins are locked in escrow until payment is confirmed. Safe, transparent, and instant.
{{ $stats['total_listings'] }} Active Listings
₦{{ number_format($stats['total_volume']) }} Volume
Avg ₦{{ number_format($stats['avg_price'], 2) }}/NC
1.5% Commission
{{-- How it works --}}
@foreach([
['1','fas fa-tag','Post Listing','Seller posts NC for sale. Coins locked in escrow instantly.','rgba(99,102,241,.1)','#a5b4fc'],
['2','fas fa-shopping-cart','Place Order','Buyer selects amount and places order.','rgba(96,165,250,.1)','#60a5fa'],
['3','fas fa-money-bill-wave','Send Payment','Buyer sends payment to seller\'s bank account.','rgba(251,191,36,.1)','#fbbf24'],
['4','fas fa-unlock','Release Coins','Seller confirms payment → coins released to buyer.','rgba(76,175,80,.1)','var(--gl)'],
] as [$n,$icon,$title,$desc,$bg,$color])
{{ $n }}
{{ $title }}
{{ $desc }}
@endforeach