import { Metadata } from 'next';
import { BRAND } from '@/lib/white-label/constants';

export const metadata: Metadata = {
  title: `SMS Privacy Policy | ${BRAND.companyName}`,
  description: `Privacy policy for SMS communications from ${BRAND.companyName} personal AI assistant service.`,
};

export default function SMSPrivacyPolicy() {
  return (
    <div className="min-h-screen bg-brand-bg text-white">
      <div className="max-w-3xl mx-auto px-6 py-16">
        <h1 className="text-3xl font-bold mb-2">SMS Privacy Policy</h1>
        <p className="text-gray-400 mb-8">Last Updated: March 10, 2026</p>

        <div className="space-y-8 text-gray-300">
          <section>
            <h2 className="text-xl font-semibold text-white mb-3">1. Introduction</h2>
            <p>
              This SMS Privacy Policy describes how {BRAND.companyName} ("we," "us," or "our") 
              collects, uses, and protects information related to our SMS messaging service. This 
              service is a private personal AI assistant for explicitly opted-in users.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">2. Information We Collect</h2>
            <p className="mb-2">When you use our SMS service, we may collect:</p>
            <ul className="list-disc list-inside space-y-1 ml-4">
              <li>Your mobile phone number</li>
              <li>Messages you send to our service</li>
              <li>Timestamps of communications</li>
              <li>Your name (if provided)</li>
            </ul>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">3. How We Use Your Information</h2>
            <p className="mb-2">We use the collected information to:</p>
            <ul className="list-disc list-inside space-y-1 ml-4">
              <li>Provide AI assistant services including reminders, responses, and general assistance</li>
              <li>Respond to your inquiries and requests</li>
              <li>Improve our service quality</li>
            </ul>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">4. Information Sharing</h2>
            <p>
              <strong>We do not sell, rent, or share your personal information with third parties 
              for marketing purposes.</strong> Your data is used solely to provide our SMS assistant 
              service to you.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">5. Data Security</h2>
            <p>
              We implement appropriate technical and organizational measures to protect your personal 
              information against unauthorized access, alteration, disclosure, or destruction.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">6. Your Rights</h2>
            <p className="mb-2">You have the right to:</p>
            <ul className="list-disc list-inside space-y-1 ml-4">
              <li>Opt out of SMS messages at any time by replying <strong>STOP</strong></li>
              <li>Request deletion of your data by contacting us</li>
              <li>Access the information we have about you</li>
            </ul>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">7. Contact Us</h2>
            <p>
              If you have questions about this privacy policy or our SMS service, please contact us at:
            </p>
            <p className="mt-2">
              <strong>Email:</strong> privacy@{BRAND.domain}<br />
              <strong>Website:</strong> {BRAND.domain}
            </p>
          </section>
        </div>
      </div>
    </div>
  );
}
