<?php

namespace App\Config;

class SalesIntentConfig
{

    // Minimum gap between Top 1 and Top 2 so that an intent is truly dominant.
    public const DOMINANCE_DELTA = 2;

    // Minimum score required for any non-discovery intent to be accepted.
    public const MIN_SCORE_THRESHOLD = 3;


    public function getSalesSignals(): array
    {
        return [
            'preis', 'preise', 'kosten', 'lizenz', 'lizenzmodell',
            'tarif', 'tarife', 'gebuehr', 'gebühr',
            'monatlich', 'jaehrlich', 'jährlich', 'abo', 'subscription'
        ];
    }

    public function getComparisonSignals(): array
    {
        return [
            '/\bvergleich(en)?\b/u',
            '/\bvs\b/u',
            '/\bgegenueber\b/u',
            '/\balternative(n)?\b/u',
            '/\bunterschied(e)?\b/u',
            '/\bbesser\b/u'
        ];
    }

    public function getObjectionSignals(): array
    {
        return [
            'problem', 'risiko', 'nachteil', 'datenschutz',
            'dsgvo', 'sicherheit', 'compliance',
            'kritik', 'zweifel', 'unsicher'
        ];
    }
    public function getImplementationSignals(): array
    {
        return [
            'implementierung', 'implementieren',
            'integration', 'integrieren',
            'einführung', 'einfuehrung',
            'aufwand', 'setup', 'rollout',
            'migration', 'installation',
            'api', 'schnittstelle'
        ];
    }
    public function getRoiSignals(): array
    {
        return [
            'roi', 'rentabilitaet', 'rentabilität',
            'business case', 'einsparung',
            'kosten senken', 'umsatz steigern',
            'effizienz steigern'
        ];
    }

}