import {useCallback} from 'react'
import {ScrollView} from 'react-native'
import * as Layout from '#/components/Layout'
import {useSetTitle} from '#/lib/hooks/useSetTitle'
import {atoms as a, useTheme} from '#/alf'
import {Text} from '#/components/Typography'

export function PrivacyPolicyScreen() {
  useSetTitle('Privacy Policy')
  const t = useTheme()

  return (
    <Layout.Screen>
      <ScrollView
        style={[a.flex_1, {backgroundColor: t.palette.white}]}
        contentContainerStyle={[a.p_lg, a.pt_5xl, a.pb_5xl]}>
        <Text style={[a.text_2xl, a.font_bold, a.mb_lg]}>Privacy Policy</Text>

        <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>Data Collection</Text>
        <Text style={[a.mb_md]}>
          syu.is collects minimal data necessary to provide the service. This includes your account information, posts, and interactions on the AT Protocol network.
        </Text>

        <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>Data Storage</Text>
        <Text style={[a.mb_md]}>
          Your data is stored on the AT Protocol network. Posts and profile information are public by default as part of the decentralized social network.
        </Text>

        <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>Third Parties</Text>
        <Text style={[a.mb_md]}>
          We do not sell your personal information to third parties. Your data may be visible to other users and services on the AT Protocol network.
        </Text>

        <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>Contact</Text>
        <Text style={[a.mb_md]}>
          For privacy-related questions, please contact the administrator.
        </Text>

        <Text style={[a.text_lg, a.font_bold, a.mt_xl, a.mb_md]}>日本語</Text>
        <Text style={[a.mb_md]}>
          syu.isはサービス提供に必要な最小限のデータのみを収集します。投稿やプロフィール情報はAT Protocolネットワーク上で公開されます。個人情報を第三者に販売することはありません。
        </Text>

        <Text style={[a.text_sm, a.mt_xl, {color: t.palette.contrast_500}]}>
          Last updated: 2026
        </Text>
      </ScrollView>
    </Layout.Screen>
  )
}
