<?php
if (!defined('ABSPATH')) exit;
return [
    'bug_report' => ['title' => 'Bug Report', 'description' => 'Software bug/issue report', 'icon' => 'warning', 'category' => 'technology', 'fields' => [
        ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'product', 'type' => 'text', 'label' => 'Product/Version', 'required' => true],
        ['id' => 'severity', 'type' => 'select', 'label' => 'Severity', 'required' => true, 'options' => [['value' => 'critical', 'label' => 'Critical'], ['value' => 'major', 'label' => 'Major'], ['value' => 'minor', 'label' => 'Minor'], ['value' => 'cosmetic', 'label' => 'Cosmetic']]],
        ['id' => 'title', 'type' => 'text', 'label' => 'Bug Title', 'required' => true],
        ['id' => 'steps', 'type' => 'textarea', 'label' => 'Steps to Reproduce', 'required' => true, 'rows' => 5],
        ['id' => 'expected', 'type' => 'textarea', 'label' => 'Expected Behavior', 'rows' => 2], ['id' => 'actual', 'type' => 'textarea', 'label' => 'Actual Behavior', 'rows' => 2],
        ['id' => 'screenshot', 'type' => 'file_upload', 'label' => 'Screenshot', 'accept' => '.jpg,.png,.gif'],
    ]],
    'beta_signup' => ['title' => 'Beta Signup', 'description' => 'Join a product beta program', 'icon' => 'flag', 'category' => 'technology', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'platform', 'type' => 'checkbox', 'label' => 'Platform', 'options' => [['value' => 'web', 'label' => 'Web'], ['value' => 'ios', 'label' => 'iOS'], ['value' => 'android', 'label' => 'Android'], ['value' => 'desktop', 'label' => 'Desktop']]],
        ['id' => 'experience', 'type' => 'textarea', 'label' => 'Why should we pick you?', 'rows' => 3],
        ['id' => 'agree', 'type' => 'checkbox', 'label' => 'I agree to the NDA and beta terms', 'required' => true],
    ]],
    'api_access' => ['title' => 'API Access Request', 'description' => 'Request API keys or access', 'icon' => 'rest-api', 'category' => 'technology', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Developer Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'company', 'type' => 'text', 'label' => 'Company'], ['id' => 'website', 'type' => 'url', 'label' => 'Website/App URL'],
        ['id' => 'use_case', 'type' => 'textarea', 'label' => 'Describe your use case', 'required' => true, 'rows' => 4],
        ['id' => 'volume', 'type' => 'select', 'label' => 'Expected API Calls/Month', 'options' => [['value' => '<1k', 'label' => 'Under 1K'], ['value' => '1k-10k', 'label' => '1K-10K'], ['value' => '10k-100k', 'label' => '10K-100K'], ['value' => '100k+', 'label' => '100K+']]],
        ['id' => 'terms', 'type' => 'checkbox', 'label' => 'I agree to the API Terms of Service', 'required' => true],
    ]],
    'technical_support' => ['title' => 'Technical Support', 'description' => 'Submit a tech support request', 'icon' => 'sos', 'category' => 'technology', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'product', 'type' => 'text', 'label' => 'Product', 'required' => true], ['id' => 'version', 'type' => 'text', 'label' => 'Version'],
        ['id' => 'os', 'type' => 'select', 'label' => 'Operating System', 'options' => [['value' => 'windows', 'label' => 'Windows'], ['value' => 'mac', 'label' => 'macOS'], ['value' => 'linux', 'label' => 'Linux'], ['value' => 'ios', 'label' => 'iOS'], ['value' => 'android', 'label' => 'Android']]],
        ['id' => 'priority', 'type' => 'radio', 'label' => 'Priority', 'options' => [['value' => 'low', 'label' => 'Low'], ['value' => 'medium', 'label' => 'Medium'], ['value' => 'high', 'label' => 'High'], ['value' => 'urgent', 'label' => 'Urgent']]],
        ['id' => 'description', 'type' => 'textarea', 'label' => 'Describe the Issue', 'required' => true, 'rows' => 5],
        ['id' => 'logs', 'type' => 'file_upload', 'label' => 'Log Files', 'accept' => '.txt,.log,.zip'],
    ]],
    'domain_registration' => ['title' => 'Domain Registration', 'description' => 'Register or transfer a domain', 'icon' => 'admin-site', 'category' => 'technology', 'fields' => [
        ['id' => 'domain', 'type' => 'text', 'label' => 'Domain Name', 'required' => true, 'placeholder' => 'example.com'],
        ['id' => 'action', 'type' => 'radio', 'label' => 'Action', 'required' => true, 'options' => [['value' => 'register', 'label' => 'New Registration'], ['value' => 'transfer', 'label' => 'Transfer']]],
        ['id' => 'name', 'type' => 'name', 'label' => 'Registrant Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'years', 'type' => 'select', 'label' => 'Registration Period', 'options' => [['value' => '1', 'label' => '1 Year'], ['value' => '2', 'label' => '2 Years'], ['value' => '5', 'label' => '5 Years'], ['value' => '10', 'label' => '10 Years']]],
    ]],
    'hosting_request' => ['title' => 'Hosting Request', 'description' => 'Request web hosting quote', 'icon' => 'cloud', 'category' => 'technology', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'website', 'type' => 'url', 'label' => 'Current Website'],
        ['id' => 'type', 'type' => 'select', 'label' => 'Hosting Type', 'options' => [['value' => 'shared', 'label' => 'Shared'], ['value' => 'vps', 'label' => 'VPS'], ['value' => 'dedicated', 'label' => 'Dedicated'], ['value' => 'cloud', 'label' => 'Cloud']]],
        ['id' => 'traffic', 'type' => 'select', 'label' => 'Monthly Traffic', 'options' => [['value' => '<10k', 'label' => 'Under 10K visits'], ['value' => '10k-100k', 'label' => '10K-100K'], ['value' => '100k+', 'label' => 'Over 100K']]],
        ['id' => 'requirements', 'type' => 'textarea', 'label' => 'Requirements', 'rows' => 3],
    ]],
];
