export interface TrialPlan {
  key: string;
  tag?: string;
  name: string;
  oldPrice?: string;
  currentPrice: string;
  dailyPrice: string;
  perDay: string;
  isDefault?: boolean;
  showOfferBar?: boolean;
}

export interface ReviewCard {
  stars: number;
  quote: string;
  author: string;
}

export interface PlatformCard {
  name: string;
  rating: string;
  reviews: string;
}

export interface AdvantageItem {
  title: string;
  description: string;
}

export interface FaqCard {
  id: string;
  question: string;
  answer: string;
}

export interface PlansPageData {
  topBanner: {
    label: string;
    cta: string;
    initialSeconds: number;
    offerTemplate: string;
  };
  heading: { pre: string; highlight: string; post: string };
  plans: TrialPlan[];
  cta: string;
  reviews: { heading: string; cards: ReviewCard[]; platforms: PlatformCard[] };
  advantages: AdvantageItem[];
  guarantee: { heading: string; description: string };
  faq: { heading: string; cards: FaqCard[] };
  footerNote1: string;
  footerNote2: string;
}

export const PLANS_DATA: PlansPageData = {
  topBanner: {
    label: 'Discount reserved for:',
    cta: 'Start now',
    initialSeconds: 533,
    offerTemplate: 'This offer ends in {time} min',
  },
  heading: {
    pre: 'Get',
    highlight: 'full access',
    post: 'to Ayatique stories',
  },
  plans: [
    {
      key: 'yearly',
      tag: 'MOST POPULAR',
      name: '12-MONTHS',
      oldPrice: '$6.66',
      currentPrice: '$4.99',
      dailyPrice: '$0.17',
      perDay: 'per day',
      isDefault: true,
      showOfferBar: true,
    },
    {
      key: 'weekly',
      name: '1-WEEK',
      currentPrice: '$29.99',
      dailyPrice: '$0.33',
      perDay: 'per day',
    },
  ],
  cta: 'TRY IT FOR 30 DAYS',
  reviews: {
    heading: 'People love the Ayatique app',
    cards: [
      {
        stars: 5,
        quote:
          'Ayatique brings the Quran alive through beautiful audio stories. It has transformed my evenings.',
        author: 'Fatima K.',
      },
      {
        stars: 5,
        quote:
          'The soothing recitations help me fall asleep with peace and wake up with purpose.',
        author: 'Omar M.',
      },
      {
        stars: 5,
        quote:
          'I love learning about the prophets through these stories. My whole family enjoys them.',
        author: 'Aisha R.',
      },
    ],
    platforms: [
      { name: 'App Store', rating: '4.8', reviews: '3k reviews' },
      { name: 'Google Play', rating: '4.6', reviews: '16.5k reviews' },
    ],
  },
  advantages: [
    {
      title: 'Audio Quranic stories',
      description:
        'Beautiful narrations of Prophet stories that bring peace and spiritual growth.',
    },
    {
      title: 'Better sleep',
      description:
        'Calming recitations designed to help you unwind and sleep peacefully.',
    },
    {
      title: 'Daily spiritual growth',
      description:
        'Build a deeper connection with Allah through daily listening habits.',
    },
    {
      title: 'Offline listening',
      description:
        'Download stories and listen anywhere, even without internet.',
    },
  ],
  guarantee: {
    heading: 'Money Back Guarantee',
    description:
      'If you do not feel more spiritually connected within 14 days, just reach out and we will give you a full refund.',
  },
  faq: {
    heading: "We're ready to answer your questions",
    cards: [
      {
        id: 'why',
        question: 'Why do I need the Ayatique app?',
        answer:
          'Ayatique brings Quranic stories to life through beautiful audio narrations, helping you connect with Allah, find peace, and improve your sleep.',
      },
      {
        id: 'access',
        question: 'How do I access the app?',
        answer:
          'Download it from the App Store or Google Play after you complete onboarding and create your account.',
      },
      {
        id: 'cancel',
        question: 'How do I cancel my subscription?',
        answer:
          'Go to Profile > Subscription inside the app or email support@ayatique.app to manage your plan.',
      },
    ],
  },
  footerNote1: 'Cancel anytime.',
  footerNote2: '14-day money-back guarantee!',
};
