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

export const metadata: Metadata = {
  title: `SMS Terms and Conditions | ${BRAND.companyName}`,
  description: `Terms and conditions for SMS communications from ${BRAND.companyName} personal AI assistant service.`,
};

export default function SMSTermsAndConditions() {
  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 Terms and Conditions</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">Program Name</h2>
            <p>
              {BRAND.companyName} Personal AI Assistant SMS Service
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Program Description</h2>
            <p>
              This SMS service provides personal AI assistant communications to opted-in users. 
              Messages include reminders, responses to questions, notifications, and general 
              assistance from our AI-powered assistant.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Message Frequency</h2>
            <p>
              Message frequency varies based on your interactions and requests. You may receive 
              multiple messages per day depending on your usage of the assistant service.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Message and Data Rates</h2>
            <p>
              <strong>Message and data rates may apply.</strong> Please check with your mobile 
              carrier for details about your messaging plan.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Opt-In</h2>
            <p>
              By sending an initial text message to our service number, you consent to receive 
              SMS messages from {BRAND.companyName} Personal AI Assistant. You must be 18 
              years or older to use this service.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Opt-Out Instructions</h2>
            <p>
              To stop receiving messages, reply <strong className="text-brand">STOP</strong> to 
              any message. You will receive a confirmation message and no further messages will 
              be sent unless you opt back in.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Help</h2>
            <p>
              For assistance, reply <strong className="text-brand">HELP</strong> to any message 
              or contact us at:
            </p>
            <p className="mt-2">
              <strong>Email:</strong> support@{BRAND.domain}<br />
              <strong>Website:</strong> {BRAND.domain}
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Supported Carriers</h2>
            <p>
              This service is available on all major US mobile carriers including AT&T, Verizon, 
              T-Mobile, Sprint, and others. Carriers are not liable for delayed or undelivered messages.
            </p>
          </section>

          <section>
            <h2 className="text-xl font-semibold text-white mb-3">Privacy</h2>
            <p>
              Your privacy is important to us. We do not sell or share your information with 
              third parties for marketing purposes. View our full 
              <a href="/sms/privacy" className="text-brand hover:underline"> Privacy Policy</a>.
            </p>
          </section>

          <section className="border-t border-gray-700 pt-6">
            <p className="text-sm text-gray-400">
              By using this service, you agree to these terms and conditions. We reserve the 
              right to modify these terms at any time.
            </p>
          </section>
        </div>
      </div>
    </div>
  );
}
