import {
  Category,
  Listing,
  MenuItem,
  SiteSettings,
  DesignSettings,
  FrontendTexts,
  DeveloperProfile,
  FloatingScrollPopup,
  ContentPage,
  GatewayConfig,
  PaymentTransaction
} from '../types';

export const INITIAL_CATEGORIES: Category[] = [
  { id: 'cat_all', name: 'All Categories', slug: 'all', display_order: 0, is_active: true },
  { id: 'cat_biz', name: 'Business', slug: 'business', icon: 'Briefcase', display_order: 1, is_active: true },
  { id: 'cat_creator', name: 'Content Creator', slug: 'content-creator', icon: 'Video', display_order: 2, is_active: true },
  { id: 'cat_influencer', name: 'Influencer', slug: 'influencer', icon: 'Sparkles', display_order: 3, is_active: true },
  { id: 'cat_startup', name: 'Startup', slug: 'startup', icon: 'Rocket', display_order: 4, is_active: true },
  { id: 'cat_ecom', name: 'E-commerce', slug: 'ecommerce', icon: 'ShoppingBag', display_order: 5, is_active: true },
  { id: 'cat_dev', name: 'Developer', slug: 'developer', icon: 'Code', display_order: 6, is_active: true },
  { id: 'cat_agency', name: 'Agency', slug: 'agency', icon: 'Building', display_order: 7, is_active: true },
  { id: 'cat_software', name: 'Software & App', slug: 'software', icon: 'Cpu', display_order: 8, is_active: true },
  { id: 'cat_gaming', name: 'Gaming', slug: 'gaming', icon: 'Gamepad2', display_order: 9, is_active: true },
  { id: 'cat_media', name: 'Media / News', slug: 'media', icon: 'Newspaper', display_order: 10, is_active: true },
  { id: 'cat_edu', name: 'Education', slug: 'education', icon: 'GraduationCap', display_order: 11, is_active: true },
  { id: 'cat_brand', name: 'Brand', slug: 'brand', icon: 'Award', display_order: 12, is_active: true },
  { id: 'cat_social', name: 'Social Profile', slug: 'social-profile', icon: 'Share2', display_order: 13, is_active: true },
  { id: 'cat_other', name: 'Other', slug: 'other', icon: 'MoreHorizontal', display_order: 14, is_active: true },
];

export const INITIAL_LISTINGS: Listing[] = [
  {
    id: 'list_1',
    name: 'Chaldal Online Grocery',
    image_url: 'https://images.unsplash.com/photo-1542838132-92c53300491e?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/chaldal',
    website_url: 'https://chaldal.com',
    url: 'https://chaldal.com',
    category_id: 'cat_ecom',
    category_name: 'E-commerce',
    current_bid: 25000,
    clicks: 1420,
    hearts: 890,
    is_active: true,
    created_at: '2026-08-20T10:00:00Z',
    updated_at: '2026-08-24T18:45:00Z',
    last_bid_at: '2026-08-24T18:45:00Z',
  },
  {
    id: 'list_2',
    name: 'Pathao Super App',
    image_url: 'https://images.unsplash.com/photo-1526367790999-0150786686a2?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/pathao.org',
    website_url: 'https://pathao.com',
    url: 'https://pathao.com',
    category_id: 'cat_startup',
    category_name: 'Startup',
    current_bid: 18500,
    clicks: 1120,
    hearts: 742,
    is_active: true,
    created_at: '2026-08-21T12:00:00Z',
    updated_at: '2026-08-24T15:20:00Z',
    last_bid_at: '2026-08-24T15:20:00Z',
  },
  {
    id: 'list_3',
    name: 'Rafsan The ChotoBhai',
    image_url: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/rafsan.chotobhai',
    website_url: 'https://youtube.com',
    url: 'https://youtube.com',
    category_id: 'cat_creator',
    category_name: 'Content Creator',
    current_bid: 14200,
    clicks: 980,
    hearts: 630,
    is_active: true,
    created_at: '2026-08-22T08:30:00Z',
    updated_at: '2026-08-24T12:10:00Z',
    last_bid_at: '2026-08-24T12:10:00Z',
  },
  {
    id: 'list_4',
    name: 'ShopUp B2B Commerce',
    image_url: 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/shopup',
    website_url: 'https://shopup.org',
    url: 'https://shopup.org',
    category_id: 'cat_biz',
    category_name: 'Business',
    current_bid: 11000,
    clicks: 740,
    hearts: 480,
    is_active: true,
    created_at: '2026-08-22T14:00:00Z',
    updated_at: '2026-08-24T09:00:00Z',
    last_bid_at: '2026-08-24T09:00:00Z',
  },
  {
    id: 'list_5',
    name: 'Shikho EdTech BD',
    image_url: 'https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/shikho',
    website_url: 'https://shikho.com',
    url: 'https://shikho.com',
    category_id: 'cat_edu',
    category_name: 'Education',
    current_bid: 8800,
    clicks: 610,
    hearts: 395,
    is_active: true,
    created_at: '2026-08-23T09:15:00Z',
    updated_at: '2026-08-23T19:30:00Z',
    last_bid_at: '2026-08-23T19:30:00Z',
  },
  {
    id: 'list_6',
    name: 'DevArafat - Full Stack Dev',
    image_url: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/dev.arafat',
    website_url: 'https://github.com',
    url: 'https://github.com',
    category_id: 'cat_dev',
    category_name: 'Developer',
    current_bid: 6500,
    clicks: 520,
    hearts: 360,
    is_active: true,
    created_at: '2026-08-23T11:00:00Z',
    updated_at: '2026-08-24T04:20:00Z',
    last_bid_at: '2026-08-24T04:20:00Z',
  },
  {
    id: 'list_7',
    name: 'ByteLabs Digital Agency',
    image_url: 'https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/bytelabs',
    website_url: 'https://bytelabs.dev',
    url: 'https://bytelabs.dev',
    category_id: 'cat_agency',
    category_name: 'Agency',
    current_bid: 5200,
    clicks: 410,
    hearts: 290,
    is_active: true,
    created_at: '2026-08-23T15:00:00Z',
    updated_at: '2026-08-23T22:00:00Z',
    last_bid_at: '2026-08-23T22:00:00Z',
  },
  {
    id: 'list_8',
    name: 'GameOn BD Stream',
    image_url: 'https://images.unsplash.com/photo-1560253023-3ec5d502959f?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/gameonbd',
    website_url: '',
    url: 'https://facebook.com',
    category_id: 'cat_gaming',
    category_name: 'Gaming',
    current_bid: 4300,
    clicks: 385,
    hearts: 215,
    is_active: true,
    created_at: '2026-08-24T02:00:00Z',
    updated_at: '2026-08-24T08:00:00Z',
    last_bid_at: '2026-08-24T08:00:00Z',
  },
  {
    id: 'list_9',
    name: 'TechTalk Bangladesh',
    image_url: 'https://images.unsplash.com/photo-1585829365295-ab7cd400c167?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/techtalkbd',
    website_url: 'https://techtalk.com.bd',
    url: 'https://techtalk.com.bd',
    category_id: 'cat_media',
    category_name: 'Media / News',
    current_bid: 3600,
    clicks: 310,
    hearts: 180,
    is_active: true,
    created_at: '2026-08-24T06:30:00Z',
    updated_at: '2026-08-24T07:15:00Z',
    last_bid_at: '2026-08-24T07:15:00Z',
  },
  {
    id: 'list_10',
    name: 'Aarong Lifestyle',
    image_url: 'https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/aarong',
    website_url: 'https://aarong.com',
    url: 'https://aarong.com',
    category_id: 'cat_brand',
    category_name: 'Brand',
    current_bid: 2900,
    clicks: 295,
    hearts: 165,
    is_active: true,
    created_at: '2026-08-24T07:00:00Z',
    updated_at: '2026-08-24T07:00:00Z',
    last_bid_at: '2026-08-24T07:00:00Z',
  },
  {
    id: 'list_11',
    name: 'Samiha Vlogs',
    image_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/samiha.vlogs',
    website_url: 'https://instagram.com',
    url: 'https://instagram.com',
    category_id: 'cat_influencer',
    category_name: 'Influencer',
    current_bid: 2100,
    clicks: 220,
    hearts: 140,
    is_active: true,
    created_at: '2026-08-24T08:00:00Z',
    updated_at: '2026-08-24T08:00:00Z',
    last_bid_at: '2026-08-24T08:00:00Z',
  },
  {
    id: 'list_12',
    name: 'TaskBD productivity suite',
    image_url: 'https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=200&auto=format&fit=crop&q=80',
    facebook_url: 'https://facebook.com/taskbd',
    website_url: 'https://taskbd.app',
    url: 'https://taskbd.app',
    category_id: 'cat_software',
    category_name: 'Software & App',
    current_bid: 1500,
    clicks: 180,
    hearts: 95,
    is_active: true,
    created_at: '2026-08-24T09:30:00Z',
    updated_at: '2026-08-24T09:30:00Z',
    last_bid_at: '2026-08-24T09:30:00Z',
  }
];

export const INITIAL_PAYMENTS: PaymentTransaction[] = [
  {
    id: 'pay_1',
    transaction_id: 'TXN-BKASH-9821387',
    listing_id: 'list_1',
    listing_name: 'Chaldal Online Grocery',
    facebook_url: 'https://facebook.com/chaldal',
    website_url: 'https://chaldal.com',
    listing_url: 'https://chaldal.com',
    listing_image: 'https://images.unsplash.com/photo-1542838132-92c53300491e?w=200&auto=format&fit=crop&q=80',
    category_id: 'cat_ecom',
    amount: 25000,
    gateway: 'bkash',
    mode: 'live',
    status: 'success',
    created_at: '2026-08-24T18:45:00Z',
    verified_at: '2026-08-24T18:45:04Z',
  },
  {
    id: 'pay_2',
    transaction_id: 'TXN-NAGAD-4412098',
    listing_id: 'list_2',
    listing_name: 'Pathao Super App',
    facebook_url: 'https://facebook.com/pathao.org',
    website_url: 'https://pathao.com',
    listing_url: 'https://pathao.com',
    listing_image: 'https://images.unsplash.com/photo-1526367790999-0150786686a2?w=200&auto=format&fit=crop&q=80',
    category_id: 'cat_startup',
    amount: 18500,
    gateway: 'nagad',
    mode: 'live',
    status: 'success',
    created_at: '2026-08-24T15:20:00Z',
    verified_at: '2026-08-24T15:20:03Z',
  },
  {
    id: 'pay_3',
    transaction_id: 'TXN-SSL-8712390',
    listing_id: 'list_3',
    listing_name: 'Rafsan The ChotoBhai',
    facebook_url: 'https://facebook.com/rafsan.chotobhai',
    website_url: 'https://youtube.com',
    listing_url: 'https://youtube.com',
    listing_image: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=200&auto=format&fit=crop&q=80',
    category_id: 'cat_creator',
    amount: 14200,
    gateway: 'sslcommerz',
    mode: 'live',
    status: 'success',
    created_at: '2026-08-24T12:10:00Z',
    verified_at: '2026-08-24T12:10:06Z',
  }
];

export const INITIAL_MENU_ITEMS: MenuItem[] = [
  { id: 'menu_1', title: 'Home', url: '/', location: 'both', target: '_self', display_order: 1, is_active: true, description: 'Return to live ranking leaderboard' },
  { id: 'menu_2', title: 'Rules', url: '#rules', location: 'both', target: '_self', display_order: 2, is_active: true, description: 'Official outbid rules and marketplace guidelines' },
  { id: 'menu_3', title: 'Live Stats', url: '#stats', location: 'both', target: '_self', display_order: 3, is_active: true, description: 'Real-time analytics and volume statistics' },
  { id: 'menu_4', title: 'Terms', url: '#terms', location: 'footer', target: '_self', display_order: 4, is_active: true, description: 'Terms of service and usage policy' },
  { id: 'menu_5', title: 'Privacy', url: '#privacy', location: 'footer', target: '_self', display_order: 5, is_active: true, description: 'Privacy and data protection agreement' },
];

export const INITIAL_SETTINGS: SiteSettings = {
  site_name: 'TOPBD',
  site_subtitle: "Bangladesh's Live Ranking & Outbid Marketplace",
  site_url: 'https://topbd.app',
  currency_symbol: '৳',
  minimum_bid_increment: 1,
  initial_minimum_bid: 10,
  visitor_timeout_seconds: 180,
  pagination_size: 50,
  maintenance_mode: false,
  translation_enabled: true,
  default_language: 'en',
  seo_title: "TOPBD — Bangladesh's Live Ranking & Outbid Marketplace",
  seo_description: "The official live outbid leaderboard for Bangladesh. Compete, outbid, and claim #1 spot across business, creators, startups, and websites.",
  seo_og_image: 'https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1200&auto=format&fit=crop&q=80',
  favicon_url: '/favicon.ico',
  show_footer_admin_button: true,
  custom_css: '',
};

export const INITIAL_DESIGN: DesignSettings = {
  primary_color: '#006A4E', // Bangladesh Forest Green
  secondary_color: '#F42A41', // Bangladesh Red Accent
  background_color: '#0A0D0F', // Sleek modern dark mode
  card_color: '#13181D',
  text_color: '#F0F4F8',
  muted_text_color: '#8A99A8',
  border_color: '#222A33',
  accent_color: '#F59E0B', // Amber Gold for Rank #1
  button_color: '#006A4E',
  button_text_color: '#FFFFFF',
  rank1_bg: '#1C2422', // Subtle forest amber tint for #1
  rank1_border: '#EAB308',
  rank2_bg: '#171E24',
  rank3_bg: '#141B20',
  header_bg: '#0A0D0FEE',
  footer_bg: '#07090B',
  footer_text_color: '#A8A29E',
  footer_link_color: '#E07A5F',
  footer_link_hover_color: '#F29479',
  border_radius: '10px',
  font_family: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
  logo_url: '',
  custom_css: '',
};

export const INITIAL_TEXTS: FrontendTexts = {
  site_logo_text: 'TOPBD',
  live_ranking_badge: 'LIVE RANKING',
  tab_all_time: 'ALL TIME',
  tab_today: 'TODAY',
  visitor_badge_prefix: 'visitors',
  claim_hero_title: 'Claim #1 for',
  claim_hero_desc: "The public live outbid leaderboard of Bangladesh. Outbid the top spots to drive instant visibility and traffic to your business, channel, startup, or personal brand.",
  category_all: 'ALL',
  category_more: 'More Categories',
  outbid_btn_text: 'OUTBID',
  current_bid_label: 'Current Bid',
  next_bid_label: 'Next Bid',
  additional_amount_label: 'Additional amount',
  payment_method_label: 'Select Payment Gateway',
  modal_target_label: 'TARGET',
  modal_name_placeholder: 'Business, product or personal name',
  modal_url_placeholder: 'https://yourwebsite.com or social profile',
  total_generated_prefix: 'TOPBD has generated',
  total_generated_suffix: 'in verified bids since launch',
  developer_popup_title: 'Built by',
  developer_popup_handle: '@arafat',
  developer_popup_bio: 'Software engineer building real-time high-performance web applications and ranking engines in Bangladesh.',
  footer_attribution: 'Built by @jonathan_wilke',
  footer_brand_tagline: '· Brought to you by supastarter.dev',
  footer_author_name: '@jonathan_wilke',
  footer_author_url: '',
  footer_sponsor_text: 'supastarter.dev',
  footer_sponsor_url: 'https://supastarter.dev',
  footer_domain_name: 'outbid.lol',
  footer_domain_rating: '32',
  footer_domain_label: 'CERTIFIED DOMAIN RATING',
  footer_domain_url: '',
  footer_show_rating_badge: true,
};

export const INITIAL_DEVELOPER: DeveloperProfile = {
  name: 'Jonathan Wilke',
  handle: '@jonathanwilke',
  image_url: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&auto=format&fit=crop&q=80',
  bio: 'Creator of high-performance ranking engines, boilerplates, and developer tools.',
  website_url: 'https://supastarter.dev',
  twitter_url: 'https://x.com/jonathan_wilke',
  github_url: 'https://github.com',
  is_enabled: true,
};

export const INITIAL_SCROLL_POPUP: FloatingScrollPopup = {
  is_enabled: true,
  scroll_threshold_percent: 20,
  prefix_text: 'Built by',
  prefix_color: '#64748B',
  author_text: '@jonathanwilke',
  author_color: '#E07A5F',
  bg_color: '#FFFFFF',
  border_color: '#F4ECE7',
  avatar_image_url: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&auto=format&fit=crop&q=80',
  target_url: '',
  show_close_button: true,
};

export const INITIAL_GATEWAYS: GatewayConfig[] = [
  {
    id: 'bkash',
    name: 'bKash Merchant Payment',
    is_enabled: true,
    mode: 'test',
    merchant_id: '01700000000',
    username: 'sandbox_bkash_user',
    password: 'sandbox_bkash_password',
    app_key: 'bkash_app_key_test_123',
    app_secret: 'bkash_secret_test_456',
    api_url: 'https://tokenized.sandbox.bka.sh/v1.2.0-beta',
    callback_url: '/payments/bkash/callback.php',
  },
  {
    id: 'nagad',
    name: 'Nagad Direct Pay',
    is_enabled: true,
    mode: 'test',
    merchant_id: '683002007104',
    app_key: 'nagad_public_key_test',
    app_secret: 'nagad_private_key_test',
    api_url: 'https://api-sandbox.nagad.com.bd',
    callback_url: '/payments/nagad/callback.php',
  },
  {
    id: 'rocket',
    name: 'DBBL Rocket Pay',
    is_enabled: true,
    mode: 'test',
    merchant_id: '019000000009',
    app_key: 'rocket_terminal_key_test',
    api_url: 'https://rocket.dutchbanglabank.com/api',
    callback_url: '/payments/rocket/callback.php',
  },
  {
    id: 'sslcommerz',
    name: 'SSLCommerz (Cards & MFS)',
    is_enabled: true,
    mode: 'test',
    store_id: 'topbd_testbox',
    password: 'topbd_test_password',
    api_url: 'https://sandbox.sslcommerz.com',
    callback_url: '/payments/sslcommerz/callback.php',
  },
  {
    id: 'shurjopay',
    name: 'shurjoPay Merchant Payment',
    is_enabled: true,
    mode: 'test',
    merchant_id: 'sp_test_merchant',
    username: 'sp_user',
    password: 'sp_password',
    api_url: 'https://sandbox.shurjopayment.com',
    callback_url: '/payments/shurjopay/callback.php',
  },
  {
    id: 'aamarpay',
    name: 'aamarPay Merchant Gateway',
    is_enabled: true,
    mode: 'test',
    store_id: 'aamarpaytest',
    signature_key: 'dbb74892e8241a45a7f0144916d6664e',
    api_url: 'https://sandbox.aamarpay.com',
    success_url: '/api/payments/aamarpay/callback',
    fail_url: '/api/payments/aamarpay/callback',
    cancel_url: '/api/payments/aamarpay/callback',
    ipn_url: '/api/payments/aamarpay/ipn',
    callback_url: '/api/payments/aamarpay/callback',
    session_timeout: 15,
    allowed_channels: ['cards', 'bkash', 'nagad', 'rocket', 'internet_banking'],
  },
  {
    id: 'uddoktapay',
    name: 'UddoktaPay Automated PGW',
    is_enabled: true,
    mode: 'test',
    api_key: '',
    api_url: 'https://sandbox.uddoktapay.com',
    callback_url: '/api/payments/uddoktapay/callback',
    success_url: '/api/payments/uddoktapay/callback',
    cancel_url: '/api/payments/uddoktapay/callback?status=cancelled',
    ipn_url: '/api/payments/uddoktapay/ipn',
    webhook_url: '/api/payments/uddoktapay/ipn',
    allowed_channels: ['bkash', 'nagad', 'rocket', 'upay', 'cards'],
  },
];

export const INITIAL_PAGES: ContentPage[] = [
  {
    id: 'rules',
    title: 'Ranking & Outbid Rules',
    slug: 'rules',
    content: `# TOPBD Ranking & Outbid Rules

1. **How Ranking Works**: Listings are ranked strictly in descending order of their verified bid amount (Highest bid = Rank #1).
2. **Next Minimum Bid**: To outbid any position, your new bid must be at least ৳1 higher than the target candidate's current bid.
3. **Deterministic Tie-Breaking**: In the event of identical bids, the more recent verified bid is placed higher.
4. **Permanent vs Daily Leaderboards**:
   - **ALL TIME**: Displays all-time cumulative bids placed since platform inception.
   - **TODAY**: Displays the fastest rising bids placed within the current calendar day (BST timezone).
5. **No Duplicate Listings**: Submitting a bid for an existing URL/handle automatically outbids and moves that same listing up the board.
6. **Integrity & Verification**: Every bid must undergo rigorous server-side payment verification before reflecting on the leaderboard.
7. **Prohibited Content**: Listings promoting illegal activities, hate speech, explicit content, or phishing will be removed immediately without refund.`,
    updated_at: '2026-08-24T12:00:00Z',
  },
  {
    id: 'terms',
    title: 'Terms of Service',
    slug: 'terms',
    content: `# TOPBD Terms of Service

Last Updated: August 2026

### 1. Acceptance of Terms
By placing a bid, listing an entity, or browsing TOPBD, you agree to comply with and be bound by these Terms of Service.

### 2. Service Description
TOPBD is a public live ranking and outbid marketplace operating in Bangladesh, providing public promotional placement based on competitive bidding.

### 3. Non-Refundable Bidding Fees
All payment transactions submitted for bids and ranking placement are immediately committed to the public leaderboard upon verification. All bids are final and non-refundable once verified by the payment gateway.

### 4. Listing Content & Rights
You represent that you own or have lawful rights to the trademarks, URLs, and logos submitted in your listing. TOPBD reserves the right to moderate, hide, or ban any listing violating local regulations.

### 5. Disclaimer of Warranties
Leaderboard ranks are dynamic and may change at any second when another user places a higher verified bid. Placement at any specific rank is not guaranteed for any specific duration.`,
    updated_at: '2026-08-24T12:00:00Z',
  },
  {
    id: 'privacy',
    title: 'Privacy Policy',
    slug: 'privacy',
    content: `# TOPBD Privacy Policy

### 1. Information We Collect
- **Public Listing Details**: Profile image, name, category, and target URL submitted by you.
- **Transaction Information**: Payment gateway transaction ID, amount, and timestamp. We **never** store sensitive payment PINs, OTPs, or credit card numbers.
- **Session & Analytics Data**: Anonymous IP hashing, session heartbeat timestamps for live visitor counting, and aggregated click/heart events.

### 2. How Information is Used
- To display your listing publicly on the live ranking leaderboard.
- To verify payment authenticity with official Bangladeshi payment gateways (bKash, Nagad, Rocket, SSLCommerz, shurjoPay).
- To prevent spam, bot voting, and automated click fraud.

### 3. Data Protection
We employ TLS encryption, PDO prepared statements, and rigorous server-side validation to protect transaction integrity.`,
    updated_at: '2026-08-24T12:00:00Z',
  },
  {
    id: 'stats',
    title: 'Live System Statistics',
    slug: 'stats',
    content: `# TOPBD Live System Statistics

Live transparency for the Bangladesh outbid ecosystem:
- Real-time visitor polling with 180-second session heartbeat timeout.
- Instant transaction idempotency protection.
- High-efficiency database query engine with pagination and sub-millisecond ranking indexing.`,
    updated_at: '2026-08-24T12:00:00Z',
  },
];
