<?php require_once 'includes/config.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - FamGateway</title>
<link rel="stylesheet" href="assets/css/style.css?v=4.0">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
  body { font-family: 'Outfit', sans-serif; background: #f8fafc; color: #0f172a; margin: 0; padding: 0; }
  .container { max-width: 800px; margin: 60px auto; padding: 40px; background: #fff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
  .date { color: #64748b; margin-bottom: 32px; font-size: 14px; }
  h3 { font-size: 20px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
  p { line-height: 1.6; color: #334155; margin-bottom: 16px; font-size: 15px; }
  .back-btn { display: inline-block; margin-bottom: 24px; color: #2563eb; text-decoration: none; font-weight: 500; font-size: 14px; }
  .back-btn:hover { text-decoration: underline; }
</style>
</head>
<body>
  <div class="container">
    <a href="index.php" class="back-btn">&larr; Back to Home</a>
    <h1>Privacy Policy</h1>
    <p class="date">Last updated: <?= date('F j, Y') ?></p>
    
    <h3>1. Information We Collect</h3>
    <p>We collect information you provide directly to us, such as when you create or modify your account, contact customer support, or otherwise communicate with us. This includes your name, email address, phone number, and financial details required for payment processing.</p>
    
    <h3>2. How We Use Your Information</h3>
    <p>We use the information we collect to provide, maintain, and improve our services, process transactions, send notifications, and protect against fraudulent activity.</p>
    
    <h3>3. Information Sharing</h3>
    <p>We may share your information with third-party service providers who help us operate our business, such as payment processors and hosting services. We do not sell your personal data to third parties.</p>
    
    <h3>4. Data Security</h3>
    <p>We implement reasonable security measures to protect your information from unauthorized access, alteration, or destruction. However, no method of transmission over the internet is 100% secure.</p>
    
    <h3>5. Your Rights</h3>
    <p>You have the right to access, update, or delete your personal information at any time by logging into your account or contacting support.</p>
    
    <h3>6. Contact Us</h3>
    <p>If you have any questions about this Privacy Policy, please contact us at support@famgateway.in.</p>
  </div>
</body>
</html>
