import { View, ScrollView } from "react-native";
import { ScreenWrapper } from "@/components/ScreenWrapper";
import { StandardHeader } from "@/components/StandardHeader";
import { Text } from "@/components/ui/text";

export default function PrivacyScreen() {
  return (
    <ScreenWrapper className="bg-background">
      <StandardHeader title="Privacy Policy" showBack />

      <ScrollView className="flex-1 px-5 pt-4" showsVerticalScrollIndicator={false}>
        <Text variant="h4" className="text-foreground mb-4">
          Privacy Policy
        </Text>
        <Text className="text-muted-foreground mb-4">
          Last updated: March 10, 2026
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          1. Introduction
        </Text>
        <Text className="text-muted-foreground mb-4">
          This Privacy Policy describes how we collect, use, and share your personal information when you use our mobile application ("App").
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          2. Information We Collect
        </Text>
        <Text className="text-muted-foreground mb-4">
          We may collect information about you in various ways, including:
        </Text>
        <Text className="text-muted-foreground mb-2">
          • Personal information you provide directly to us
        </Text>
        <Text className="text-muted-foreground mb-2">
          • Information we collect automatically when you use the App
        </Text>
        <Text className="text-muted-foreground mb-4">
          • Information from third-party services
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          3. How We Use Your Information
        </Text>
        <Text className="text-muted-foreground mb-4">
          We use the information we collect to:
        </Text>
        <Text className="text-muted-foreground mb-2">
          • Provide and maintain our services
        </Text>
        <Text className="text-muted-foreground mb-2">
          • Process transactions and send related information
        </Text>
        <Text className="text-muted-foreground mb-4">
          • Communicate with you about our services
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          4. Information Sharing
        </Text>
        <Text className="text-muted-foreground mb-4">
          We do not sell, trade, or otherwise transfer your personal information to third parties without your consent, except as described in this policy.
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          5. Data Security
        </Text>
        <Text className="text-muted-foreground mb-4">
          We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction.
        </Text>

        <Text variant="p" className="font-sans-semibold text-foreground mb-2">
          6. Contact Us
        </Text>
        <Text className="text-muted-foreground mb-4">
          If you have any questions about this Privacy Policy, please contact us at privacy@example.com.
        </Text>
      </ScrollView>
    </ScreenWrapper>
  );
}
