import type { PromptTemplate } from "../types";

export const BUILTIN_TEMPLATES: PromptTemplate[] = [
  {
    id: "arch-description",
    name: "Descriere Proiect Arhitectură",
    category: "architecture",
    domain: "architecture-visualization",
    description:
      "Generează o descriere narativă a unui proiect de arhitectură pentru documentație sau prezentare.",
    targetAiType: "text",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un arhitect experimentat, specialist în prezentări de proiecte și memorii tehnice.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Context",
        content:
          'Proiectul se numește "{{projectName}}" și este situat în {{location}}. Tipul proiectului: {{projectType}}. Suprafața terenului: {{landArea}} mp. Beneficiar: {{clientName}}.',
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcină",
        content:
          "Scrie o descriere narativă a proiectului pentru {{targetDocument}}. Tonul trebuie să fie {{tone}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "constraints",
        label: "Constrângeri",
        content:
          "Lungimea textului: {{textLength}}. Limba: română. Include referințe la specificul local și la contextul urbanistic.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "projectName",
        label: "Nume proiect",
        type: "text",
        required: true,
        placeholder: "ex: Locuință unifamilială P+1",
      },
      {
        id: "location",
        label: "Locație",
        type: "text",
        required: true,
        placeholder: "ex: Cluj-Napoca, str. Unirii nr. 3",
      },
      {
        id: "projectType",
        label: "Tip proiect",
        type: "select",
        required: true,
        options: [
          { value: "residential", label: "Rezidențial" },
          { value: "commercial", label: "Comercial" },
          { value: "mixed", label: "Mixt" },
          { value: "industrial", label: "Industrial" },
          { value: "public", label: "Public" },
        ],
      },
      {
        id: "landArea",
        label: "Suprafață teren (mp)",
        type: "number",
        required: false,
        placeholder: "500",
      },
      {
        id: "clientName",
        label: "Beneficiar",
        type: "text",
        required: false,
        placeholder: "Nume client",
      },
      {
        id: "targetDocument",
        label: "Document țintă",
        type: "select",
        required: true,
        options: [
          { value: "memoriu tehnic", label: "Memoriu tehnic" },
          { value: "prezentare client", label: "Prezentare client" },
          { value: "documentație urbanism", label: "Documentație urbanism" },
        ],
      },
      {
        id: "tone",
        label: "Ton",
        type: "select",
        required: true,
        options: [
          { value: "tehnic și formal", label: "Tehnic/Formal" },
          { value: "narativ și inspirațional", label: "Narativ" },
          { value: "concis și factual", label: "Concis" },
        ],
      },
      {
        id: "textLength",
        label: "Lungime",
        type: "select",
        required: true,
        options: [
          { value: "200-300 cuvinte", label: "Scurt (200-300 cuvinte)" },
          { value: "500-700 cuvinte", label: "Mediu (500-700)" },
          { value: "1000+ cuvinte", label: "Lung (1000+)" },
        ],
      },
    ],
    outputMode: "expanded-expert",
    tags: ["arhitectură", "memoriu", "descriere"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "legal-review",
    name: "Verificare Conformitate Legislativă",
    category: "legal",
    domain: "legal-review",
    description:
      "Generează un prompt pentru verificarea conformității unui document cu legislația aplicabilă.",
    targetAiType: "review",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un consultant juridic specializat în legislația construcțiilor și urbanismului din România.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Context",
        content:
          "Documentul de verificat: {{documentType}}. Faza de proiectare: {{projectPhase}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcină",
        content:
          "Verifică conformitatea cu: {{regulations}}. Identifică potențiale neconformități și recomandă acțiuni corective.",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "documentType",
        label: "Tip document",
        type: "select",
        required: true,
        options: [
          { value: "CU", label: "Certificat Urbanism" },
          { value: "DTAC", label: "DTAC" },
          { value: "PT", label: "Proiect Tehnic" },
          { value: "PUZ", label: "PUZ" },
          { value: "PUD", label: "PUD" },
        ],
      },
      {
        id: "projectPhase",
        label: "Fază proiect",
        type: "select",
        required: true,
        options: [
          { value: "studiu fezabilitate", label: "Studiu fezabilitate" },
          { value: "proiectare", label: "Proiectare" },
          { value: "autorizare", label: "Autorizare" },
          { value: "execuție", label: "Execuție" },
        ],
      },
      {
        id: "regulations",
        label: "Legislație de referință",
        type: "text",
        required: true,
        placeholder: "ex: Legea 50/1991, Normativ P118",
      },
    ],
    outputMode: "checklist",
    tags: ["legal", "conformitate", "verificare"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "tech-spec",
    name: "Specificație Tehnică",
    category: "technical",
    domain: "technical-documentation",
    description:
      "Generează o specificație tehnică pentru un element de proiect.",
    targetAiType: "text",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un inginer de specialitate cu experiență în redactarea specificațiilor tehnice pentru proiecte de construcții.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "task",
        label: "Sarcină",
        content:
          "Redactează o specificație tehnică pentru: {{element}}. Nivelul de detaliu: {{detailLevel}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Format",
        content:
          "Structurează specificația cu: descriere generală, materiale, dimensiuni, cerințe de performanță, standarde aplicabile.",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "element",
        label: "Element de proiect",
        type: "text",
        required: true,
        placeholder: "ex: Structură metalică hală industrială",
      },
      {
        id: "detailLevel",
        label: "Nivel detaliu",
        type: "select",
        required: true,
        options: [
          { value: "orientativ", label: "Orientativ" },
          { value: "detaliat", label: "Detaliat" },
          { value: "execuție", label: "Nivel execuție" },
        ],
      },
    ],
    outputMode: "step-by-step",
    tags: ["tehnic", "specificație", "documentație"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "image-prompt",
    name: "Prompt Vizualizare Arhitecturală",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Generează un prompt optimizat pentru AI de generare imagini (Midjourney, DALL-E, Stable Diffusion).",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Descriere",
        content: "{{buildingType}}, {{style}}, situated in {{setting}}.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Atmosferă",
        content: "{{atmosphere}}. {{timeOfDay}} lighting. {{season}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Parametri tehnici",
        content:
          "{{cameraAngle}}, {{renderStyle}}, high quality, detailed, 8k resolution.",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "buildingType",
        label: "Tip clădire",
        type: "text",
        required: true,
        placeholder: "ex: Modern minimalist villa with flat roof",
      },
      {
        id: "style",
        label: "Stil arhitectural",
        type: "select",
        required: true,
        options: [
          { value: "modern minimalist", label: "Modern minimalist" },
          { value: "contemporary", label: "Contemporan" },
          { value: "traditional Romanian", label: "Tradițional românesc" },
          { value: "brutalist", label: "Brutalist" },
          { value: "art deco", label: "Art Deco" },
        ],
      },
      {
        id: "setting",
        label: "Amplasament",
        type: "text",
        required: true,
        placeholder: "ex: hillside with forest background",
      },
      {
        id: "atmosphere",
        label: "Atmosferă",
        type: "select",
        required: true,
        options: [
          { value: "Warm and inviting", label: "Cald/Primitor" },
          { value: "Dramatic and bold", label: "Dramatic" },
          { value: "Serene and peaceful", label: "Calm/Liniștit" },
          { value: "Urban and dynamic", label: "Urban/Dinamic" },
        ],
      },
      {
        id: "timeOfDay",
        label: "Moment al zilei",
        type: "select",
        required: true,
        options: [
          { value: "golden hour", label: "Golden hour" },
          { value: "midday", label: "Amiază" },
          { value: "blue hour / dusk", label: "Blue hour" },
          { value: "night with interior lights", label: "Noapte" },
        ],
      },
      {
        id: "season",
        label: "Anotimp",
        type: "select",
        required: false,
        options: [
          { value: "Spring with green vegetation", label: "Primăvară" },
          { value: "Summer", label: "Vară" },
          { value: "Autumn with warm colors", label: "Toamnă" },
          { value: "Winter with snow", label: "Iarnă" },
        ],
      },
      {
        id: "cameraAngle",
        label: "Unghi cameră",
        type: "select",
        required: true,
        options: [
          { value: "eye-level perspective", label: "Nivel ochi" },
          { value: "aerial drone view", label: "Vedere aeriană" },
          { value: "low angle dramatic", label: "Unghi jos" },
          { value: "birds-eye plan view", label: "Vedere de sus" },
        ],
      },
      {
        id: "renderStyle",
        label: "Stil render",
        type: "select",
        required: true,
        options: [
          { value: "photorealistic", label: "Fotorealistic" },
          { value: "architectural illustration", label: "Ilustrație" },
          { value: "watercolor sketch", label: "Acuarelă" },
          { value: "technical section render", label: "Secțiune" },
        ],
      },
    ],
    outputMode: "short",
    tags: ["render", "imagine", "vizualizare", "midjourney"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  // -----------------------------------------------------------------------
  // 1.03 — Architecture Visualization & Professional Templates
  // -----------------------------------------------------------------------

  {
    id: "arch-render-massing",
    name: "Randare Arhitecturală — Massing la Detaliu",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Ghid pas-cu-pas pentru transformarea unui studiu volumetric (massing) într-un render detaliat, cu control pe fiecare etapă.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Descriere volum",
        content:
          "{{massingDescription}}. Building footprint: {{footprint}} sqm, {{floors}} floors, max height {{height}}m.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Materiale & Finisaje",
        content:
          "Primary facade: {{facadeMaterial}}. Secondary elements: {{secondaryMaterial}}. Roof: {{roofType}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "context",
        label: "Amplasament",
        content:
          "Located in {{location}}. Surrounding context: {{surroundings}}. Terrain: {{terrain}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Parametri render",
        content:
          "{{detailLevel}} detail, {{lightingSetup}}, {{cameraAngle}}. Style: {{renderStyle}}. Resolution: 8k, photorealistic quality.",
        order: 4,
        required: true,
      },
      {
        id: "b5",
        type: "constraints",
        label: "Constrângeri",
        content:
          "Vegetation: {{vegetation}}. People/staffage: {{staffage}}. No text overlays. Architecturally accurate proportions.",
        order: 5,
        required: false,
      },
    ],
    variables: [
      {
        id: "massingDescription",
        label: "Descriere volum",
        type: "text",
        required: true,
        placeholder:
          "ex: L-shaped two-story volume with cantilevered upper floor",
      },
      {
        id: "footprint",
        label: "Amprenta la sol (mp)",
        type: "number",
        required: false,
        placeholder: "250",
      },
      {
        id: "floors",
        label: "Nr. niveluri",
        type: "select",
        required: true,
        options: [
          { value: "1", label: "Parter (P)" },
          { value: "2", label: "P+1" },
          { value: "3", label: "P+2" },
          { value: "4", label: "P+3" },
          { value: "5+", label: "5+ niveluri" },
        ],
      },
      {
        id: "height",
        label: "Înălțime maximă (m)",
        type: "number",
        required: false,
        placeholder: "10",
      },
      {
        id: "facadeMaterial",
        label: "Material fațadă principală",
        type: "select",
        required: true,
        options: [
          { value: "white plaster with clean lines", label: "Tencuială albă" },
          { value: "exposed brick", label: "Cărămidă aparentă" },
          { value: "timber cladding", label: "Lambriu lemn" },
          { value: "glass curtain wall", label: "Perete cortină sticlă" },
          { value: "fiber cement panels", label: "Panouri fibrociment" },
          { value: "natural stone", label: "Piatră naturală" },
        ],
      },
      {
        id: "secondaryMaterial",
        label: "Material secundar",
        type: "text",
        required: false,
        placeholder: "ex: anthracite metal frames, timber louvers",
      },
      {
        id: "roofType",
        label: "Tip acoperiș",
        type: "select",
        required: true,
        options: [
          { value: "flat green roof", label: "Terasă verde" },
          { value: "flat roof", label: "Terasă" },
          { value: "pitched tile roof", label: "Șarpantă țiglă" },
          { value: "metal standing seam", label: "Tablă fălțuită" },
        ],
      },
      {
        id: "location",
        label: "Locație",
        type: "text",
        required: true,
        placeholder: "ex: suburban Cluj-Napoca, Faget hillside",
      },
      {
        id: "surroundings",
        label: "Context urban",
        type: "text",
        required: false,
        placeholder:
          "ex: neighboring villas, mature oak trees, quiet residential street",
      },
      {
        id: "terrain",
        label: "Teren",
        type: "select",
        required: false,
        options: [
          { value: "flat", label: "Plat" },
          { value: "gentle slope", label: "Pantă ușoară" },
          { value: "steep hillside", label: "Pantă abruptă" },
          { value: "terraced", label: "Terasat" },
        ],
      },
      {
        id: "detailLevel",
        label: "Nivel detaliu",
        type: "select",
        required: true,
        options: [
          { value: "conceptual massing", label: "Conceptual (massing)" },
          { value: "schematic with materials", label: "Schematic (materiale)" },
          { value: "fully detailed", label: "Detaliat complet" },
        ],
      },
      {
        id: "lightingSetup",
        label: "Iluminare",
        type: "select",
        required: true,
        options: [
          {
            value: "golden hour warm sunlight from the west",
            label: "Golden hour",
          },
          { value: "overcast soft diffused light", label: "Cer acoperit" },
          {
            value: "midday harsh sunlight with strong shadows",
            label: "Amiază",
          },
          { value: "blue hour with warm interior lights", label: "Blue hour" },
        ],
      },
      {
        id: "cameraAngle",
        label: "Unghi cameră",
        type: "select",
        required: true,
        options: [
          { value: "eye-level street perspective", label: "Nivel stradă" },
          { value: "3/4 aerial view", label: "3/4 aerian" },
          { value: "dramatic low angle", label: "Unghi jos dramatic" },
          { value: "front elevation", label: "Fațadă frontală" },
        ],
      },
      {
        id: "renderStyle",
        label: "Stil render",
        type: "select",
        required: true,
        options: [
          {
            value: "photorealistic V-Ray quality",
            label: "Fotorealistic (V-Ray)",
          },
          {
            value: "architectural visualization",
            label: "Vizualizare arhitecturală",
          },
          { value: "clay render with ambient occlusion", label: "Clay render" },
        ],
      },
      {
        id: "vegetation",
        label: "Vegetație",
        type: "select",
        required: false,
        options: [
          {
            value: "Lush Mediterranean garden",
            label: "Grădină mediteraneană",
          },
          { value: "Minimal Japanese garden", label: "Grădină japoneză" },
          { value: "Natural wild meadow", label: "Pajiste naturală" },
          { value: "No vegetation", label: "Fără vegetație" },
        ],
      },
      {
        id: "staffage",
        label: "Persoane/Staffage",
        type: "select",
        required: false,
        options: [
          { value: "Yes, realistic people", label: "Da, realiști" },
          { value: "Yes, silhouette cutouts", label: "Da, siluete" },
          { value: "No people", label: "Fără persoane" },
        ],
      },
    ],
    outputMode: "step-by-step",
    tags: ["render", "massing", "vizualizare", "arhitectură", "fațadă"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "sketch-to-render",
    name: "Sketch → Render Profesional",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Transformă o descriere de schiță manuală într-un prompt de render profesional, păstrând intenționalitatea designului.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Instrucțiune",
        content:
          "Transform the following hand-drawn architectural sketch concept into a professional architectural rendering.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Schiță input",
        content:
          "The sketch shows: {{sketchDescription}}. Key design intentions: {{designIntentions}}. Estimated scale: {{scale}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Transformare",
        content:
          "Render this as a {{outputStyle}} visualization. Maintain the original proportions and spatial relationships from the sketch. Add {{materialPalette}} materials.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Calitate",
        content:
          "{{cameraMatch}}, {{lighting}}, high-end architectural photography quality, 8k resolution. {{additionalNotes}}",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "sketchDescription",
        label: "Descriere schiță",
        type: "text",
        required: true,
        placeholder:
          "ex: Two-story house with asymmetric gable roof, large ground floor glazing, balcony on the upper left",
      },
      {
        id: "designIntentions",
        label: "Intenții de design",
        type: "text",
        required: true,
        placeholder:
          "ex: Connection between interior and garden, light-filled living spaces, minimal footprint",
      },
      {
        id: "scale",
        label: "Scara estimată",
        type: "select",
        required: false,
        options: [
          {
            value: "small residential (100-200 sqm)",
            label: "Rezidențial mic",
          },
          {
            value: "medium residential (200-400 sqm)",
            label: "Rezidențial mediu",
          },
          { value: "commercial (500+ sqm)", label: "Comercial" },
          { value: "urban block scale", label: "Bloc urban" },
        ],
      },
      {
        id: "outputStyle",
        label: "Stil output",
        type: "select",
        required: true,
        options: [
          { value: "photorealistic exterior", label: "Exterior fotorealistic" },
          { value: "photorealistic interior", label: "Interior fotorealistic" },
          {
            value: "architectural illustration",
            label: "Ilustrație arhitecturală",
          },
          { value: "competition board style", label: "Stil planșă concurs" },
        ],
      },
      {
        id: "materialPalette",
        label: "Paletă materiale",
        type: "text",
        required: true,
        placeholder: "ex: warm timber + white plaster + dark metal accents",
      },
      {
        id: "cameraMatch",
        label: "Perspectivă",
        type: "select",
        required: true,
        options: [
          {
            value: "Match the sketch viewpoint exactly",
            label: "Perspectivă identică cu schița",
          },
          { value: "Eye-level front view", label: "Fațadă nivel ochi" },
          { value: "Aerial 3/4 view", label: "Aerian 3/4" },
          { value: "Interior wide angle", label: "Interior unghi larg" },
        ],
      },
      {
        id: "lighting",
        label: "Iluminare",
        type: "select",
        required: true,
        options: [
          { value: "soft golden hour", label: "Golden hour" },
          { value: "bright overcast", label: "Cer luminos" },
          { value: "dramatic sunset", label: "Apus dramatic" },
          {
            value: "night scene with warm interiors",
            label: "Noapte cu interioare calde",
          },
        ],
      },
      {
        id: "additionalNotes",
        label: "Note suplimentare",
        type: "text",
        required: false,
        placeholder: "ex: Include a family in the garden, autumn atmosphere",
      },
    ],
    outputMode: "short",
    tags: ["schiță", "render", "transformare", "vizualizare"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "photorealism-refinement",
    name: "Rafinare Fotorealism",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Îmbunătățește un prompt existent de vizualizare pentru a obține fotorealism maxim — corectează iluminare, materiale și atmosferă.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Instrucțiune",
        content:
          "You are an expert architectural visualization artist. Refine the following prompt to achieve maximum photorealism.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Prompt existent",
        content: 'Original prompt: "{{originalPrompt}}"',
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Rafinare",
        content:
          "Enhance with: {{refinementFocus}}. Fix common AI rendering issues: {{fixIssues}}. Target quality: {{qualityTarget}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Parametri tehnici",
        content:
          "Camera: {{cameraSettings}}. Post-processing: {{postProcessing}}. Negative prompts: avoid cartoon, low quality, deformed architecture, impossible geometry.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "originalPrompt",
        label: "Prompt original",
        type: "text",
        required: true,
        placeholder: "Inserează prompt-ul pe care vrei să-l rafinezi",
      },
      {
        id: "refinementFocus",
        label: "Focus rafinare",
        type: "multi-select",
        required: true,
        options: [
          {
            value: "material textures and reflections",
            label: "Texturi materiale",
          },
          {
            value: "lighting accuracy and shadows",
            label: "Iluminare și umbre",
          },
          { value: "vegetation and landscaping", label: "Vegetație" },
          {
            value: "atmospheric depth and haze",
            label: "Adâncime atmosferică",
          },
          { value: "human scale and staffage", label: "Scară umană" },
          { value: "interior furnishing details", label: "Detalii mobilier" },
        ],
      },
      {
        id: "fixIssues",
        label: "Probleme de corectat",
        type: "multi-select",
        required: false,
        options: [
          {
            value: "window reflections look fake",
            label: "Reflexii ferestre false",
          },
          { value: "materials lack depth", label: "Materiale fără profunzime" },
          { value: "lighting is flat", label: "Iluminare plată" },
          { value: "vegetation looks plastic", label: "Vegetație plastică" },
          { value: "scale feels wrong", label: "Scară incorectă" },
        ],
      },
      {
        id: "qualityTarget",
        label: "Calitate țintă",
        type: "select",
        required: true,
        options: [
          { value: "professional competition board", label: "Planșă concurs" },
          { value: "real estate marketing", label: "Marketing imobiliar" },
          { value: "publication quality", label: "Publicație arhitectură" },
          { value: "client presentation", label: "Prezentare client" },
        ],
      },
      {
        id: "cameraSettings",
        label: "Setări cameră",
        type: "select",
        required: false,
        options: [
          {
            value: "24mm wide angle, f/8, deep focus",
            label: "24mm wide, focus adânc",
          },
          {
            value: "35mm standard, f/5.6, slight bokeh",
            label: "35mm standard, bokeh ușor",
          },
          {
            value: "50mm portrait, f/2.8, shallow DOF",
            label: "50mm portret, DOF mic",
          },
          {
            value: "85mm telephoto, compressed perspective",
            label: "85mm tele, comprimat",
          },
        ],
      },
      {
        id: "postProcessing",
        label: "Post-procesare",
        type: "select",
        required: false,
        options: [
          {
            value: "subtle color grading, warm tones",
            label: "Color grading cald",
          },
          { value: "high contrast architectural", label: "Contrast ridicat" },
          { value: "soft film-like grain", label: "Grain film" },
          { value: "clean and clinical", label: "Curat și clinic" },
        ],
      },
    ],
    outputMode: "expanded-expert",
    tags: ["fotorealism", "rafinare", "render", "calitate"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "tech-compliance",
    name: "Verificare Conformitate Tehnică",
    category: "technical",
    domain: "technical-documentation",
    description:
      "Generează un checklist de verificare a conformității tehnice a unui proiect cu normativele și reglementările aplicabile.",
    targetAiType: "review",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un verificator tehnic atestat cu experiență în verificarea proiectelor de construcții conform legislației românești.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Proiect",
        content:
          "Proiect: {{projectName}}. Tip: {{projectType}}. Faza: {{phase}}. Amplasament: {{location}}. Zona seismică: {{seismicZone}}. Zona climatică: {{climaticZone}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Verificare",
        content:
          "Verifică conformitatea cu: {{regulations}}. Domenii de verificare: {{checkDomains}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Format output",
        content:
          "Generează un checklist structurat cu: ✅ Conform / ❌ Neconform / ⚠️ De verificat pentru fiecare punct. Include referința normativă exactă.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "projectName",
        label: "Nume proiect",
        type: "text",
        required: true,
        placeholder: "ex: Construire locuință P+1E",
      },
      {
        id: "projectType",
        label: "Tip proiect",
        type: "select",
        required: true,
        options: [
          { value: "rezidențial", label: "Rezidențial" },
          { value: "comercial", label: "Comercial" },
          { value: "industrial", label: "Industrial" },
          { value: "echipamente publice", label: "Echipamente publice" },
          { value: "mixt", label: "Mixt" },
        ],
      },
      {
        id: "phase",
        label: "Faza proiect",
        type: "select",
        required: true,
        options: [
          { value: "DTAC", label: "DTAC" },
          { value: "PT+DE", label: "PT + Detalii execuție" },
          { value: "PAC", label: "PAC" },
          { value: "PUZ", label: "PUZ" },
          { value: "PUD", label: "PUD" },
        ],
      },
      {
        id: "location",
        label: "Amplasament",
        type: "text",
        required: false,
        placeholder: "ex: Cluj-Napoca, UTR Liu",
      },
      {
        id: "seismicZone",
        label: "Zona seismică",
        type: "select",
        required: false,
        options: [
          { value: "ag=0.10g", label: "ag=0.10g" },
          { value: "ag=0.15g", label: "ag=0.15g" },
          { value: "ag=0.20g", label: "ag=0.20g" },
          { value: "ag=0.25g", label: "ag=0.25g" },
          { value: "ag=0.30g", label: "ag=0.30g" },
        ],
      },
      {
        id: "climaticZone",
        label: "Zona climatică",
        type: "select",
        required: false,
        options: [
          { value: "I", label: "Zona I" },
          { value: "II", label: "Zona II" },
          { value: "III", label: "Zona III" },
          { value: "IV", label: "Zona IV" },
        ],
      },
      {
        id: "regulations",
        label: "Normative de referință",
        type: "multi-select",
        required: true,
        options: [
          { value: "P100-1 (seismic)", label: "P100-1 Seismic" },
          { value: "P118 (incendiu)", label: "P118 Incendiu" },
          { value: "C107 (termic)", label: "C107 Termic" },
          { value: "NP 051 (handicap)", label: "NP 051 Accesibilitate" },
          { value: "Legea 50/1991", label: "Legea 50/1991" },
          { value: "Legea 350/2001", label: "Legea 350/2001 Urbanism" },
        ],
      },
      {
        id: "checkDomains",
        label: "Domenii de verificare",
        type: "multi-select",
        required: true,
        options: [
          { value: "structură", label: "Structură (Af)" },
          { value: "incendiu", label: "Incendiu (Bf)" },
          { value: "termic", label: "Termic/Energetic (Cf)" },
          { value: "instalații", label: "Instalații (D)" },
          { value: "urbanism", label: "Urbanism" },
          { value: "accesibilitate", label: "Accesibilitate" },
        ],
      },
    ],
    outputMode: "checklist",
    tags: ["conformitate", "tehnic", "normativ", "verificare", "checklist"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "legal-formal-review",
    name: "Revizuire Document Legal/Formal",
    category: "legal",
    domain: "legal-review",
    description:
      "Analiză și revizuire completă a documentelor formale: contracte, memorii, cereri, cu sugestii de îmbunătățire.",
    targetAiType: "review",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un jurist specializat în dreptul construcțiilor și contracte comerciale din România, cu experiență în redactarea documentelor pentru proceduri administrative.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Document",
        content:
          "Tipul documentului: {{documentType}}. Destinatar: {{recipient}}. Scop: {{purpose}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcini",
        content:
          "Analizează documentul și: {{reviewTasks}}. Verifică conformitatea cu: {{legalFramework}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "constraints",
        label: "Cerințe",
        content:
          "Limba: română. Ton: {{tone}}. Marcarea clară a: propuneri noi (verde), ștergeri (roșu), comentarii (galben).",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "documentType",
        label: "Tip document",
        type: "select",
        required: true,
        options: [
          { value: "contract de proiectare", label: "Contract proiectare" },
          { value: "contract de execuție", label: "Contract execuție" },
          { value: "memoriu tehnic", label: "Memoriu tehnic" },
          { value: "cerere autorizație", label: "Cerere autorizație" },
          { value: "contestație", label: "Contestație" },
          { value: "referat tehnic", label: "Referat tehnic" },
        ],
      },
      {
        id: "recipient",
        label: "Destinatar",
        type: "text",
        required: false,
        placeholder:
          "ex: Primăria Cluj-Napoca, Inspectoratul de Stat în Construcții",
      },
      {
        id: "purpose",
        label: "Scopul documentului",
        type: "text",
        required: true,
        placeholder: "ex: Obținere autorizație de construire",
      },
      {
        id: "reviewTasks",
        label: "Sarcini de revizuire",
        type: "multi-select",
        required: true,
        options: [
          {
            value: "verifică corectitudinea juridică",
            label: "Corectitudine juridică",
          },
          { value: "identifică clauze ambigue", label: "Clauze ambigue" },
          { value: "verifică completitudinea", label: "Completitudine" },
          { value: "sugerează reformulări", label: "Reformulări" },
          { value: "verifică termene legale", label: "Termene legale" },
        ],
      },
      {
        id: "legalFramework",
        label: "Cadru legislativ",
        type: "text",
        required: true,
        placeholder: "ex: Legea 50/1991, OUG 57/2019, Cod Civil",
      },
      {
        id: "tone",
        label: "Ton",
        type: "select",
        required: true,
        options: [
          { value: "formal-administrativ", label: "Formal administrativ" },
          { value: "tehnic-juridic", label: "Tehnic juridic" },
          { value: "diplomatic", label: "Diplomatic" },
        ],
      },
    ],
    outputMode: "checklist",
    tags: ["legal", "revizuire", "contract", "formal"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "contract-cleanup",
    name: "Curățare Text Contract",
    category: "legal",
    domain: "legal-review",
    description:
      "Rescrie și curăță textul unui contract sau document juridic — elimină redundanțe, clarifică ambiguități, standardizează formatul.",
    targetAiType: "rewrite",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un redactor juridic specializat în curățarea și standardizarea contractelor din domeniul construcțiilor și proiectării. Rescrie textele pentru claritate maximă, păstrând sensul juridic exact.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "task",
        label: "Sarcină",
        content:
          "Rescrie următorul text de contract: \n\n{{contractText}}\n\nOperațiuni: {{cleanupOps}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "constraints",
        label: "Constrângeri",
        content:
          "Păstrează: terminologia juridică consacrată, referințele legislative, sumele și termenele exacte. Limba: română. Format: {{outputFormat}}.",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "contractText",
        label: "Text contract (fragment)",
        type: "text",
        required: true,
        placeholder: "Lipește fragmentul de contract aici...",
      },
      {
        id: "cleanupOps",
        label: "Operațiuni de curățare",
        type: "multi-select",
        required: true,
        options: [
          {
            value: "elimină redundanțe și repetiții",
            label: "Elimină redundanțe",
          },
          { value: "clarifică clauze ambigue", label: "Clarifică ambiguități" },
          {
            value: "standardizează numerotarea articolelor",
            label: "Standardizează numerotare",
          },
          {
            value: "corectează greșelile gramaticale",
            label: "Corectează gramatică",
          },
          {
            value: "modernizează formulările arhaice",
            label: "Modernizează limbaj",
          },
          { value: "adaugă virgulele Oxford lipsă", label: "Punctuație" },
        ],
      },
      {
        id: "outputFormat",
        label: "Format output",
        type: "select",
        required: true,
        options: [
          {
            value: "text curat cu modificări marcate inline",
            label: "Track changes inline",
          },
          { value: "text final curat", label: "Text final curat" },
          {
            value: "tabel comparativ: original vs. revizuit",
            label: "Tabel comparativ",
          },
        ],
      },
    ],
    outputMode: "expanded-expert",
    tags: ["contract", "curățare", "rescriere", "juridic"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "gis-survey-interpretation",
    name: "Interpretare GIS / Date Topografice",
    category: "gis",
    domain: "urbanism-gis",
    description:
      "Generează o analiză sau interpretare a datelor GIS, ridicărilor topografice sau documentelor cadastrale.",
    targetAiType: "text",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un inginer topograf/geodez cu experiență în GIS și cadastru din România. Cunoști sistemul de coordonate Stereo70, ANCPI și procesele de intabulare.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Date disponibile",
        content:
          "Tip date: {{dataType}}. Sursă: {{dataSource}}. Zonă: {{area}}. Sistem coordonate: {{coordSystem}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcină",
        content: "{{analysisTask}}. Nivel de detaliu: {{detailLevel}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Format",
        content:
          "Structurează răspunsul cu: descriere generală a zonei, observații tehnice, recomandări, eventuale probleme identificate. Include valori numerice concrete acolo unde e posibil.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "dataType",
        label: "Tip date",
        type: "select",
        required: true,
        options: [
          { value: "ridicare topografică", label: "Ridicare topografică" },
          { value: "studiu geotehnic", label: "Studiu geotehnic" },
          { value: "plan cadastral", label: "Plan cadastral" },
          { value: "ortofotoplan", label: "Ortofotoplan" },
          { value: "model digital teren (DTM)", label: "Model digital teren" },
          { value: "date LIDAR", label: "Date LIDAR" },
        ],
      },
      {
        id: "dataSource",
        label: "Sursă date",
        type: "text",
        required: false,
        placeholder: "ex: ANCPI, ridicare proprie RTK, LIDAR aerian",
      },
      {
        id: "area",
        label: "Zona geografică",
        type: "text",
        required: true,
        placeholder: "ex: Cluj-Napoca, zona Faget, intravilanul localității",
      },
      {
        id: "coordSystem",
        label: "Sistem coordonate",
        type: "select",
        required: false,
        options: [
          { value: "Stereo70", label: "Stereo70 (EPSG:31700)" },
          { value: "WGS84", label: "WGS84 (EPSG:4326)" },
          { value: "ETRS89/UTM zona 35N", label: "ETRS89/UTM 35N" },
        ],
      },
      {
        id: "analysisTask",
        label: "Sarcina de analiză",
        type: "select",
        required: true,
        options: [
          {
            value:
              "Interpretează ridicarea topografică și generează descrierea terenului pentru memoriu",
            label: "Interpretare pentru memoriu",
          },
          {
            value: "Analizează pantele și stabilitatea versantului",
            label: "Analiză pante/stabilitate",
          },
          {
            value: "Verifică suprapunerea cadastrală cu situația din teren",
            label: "Verificare cadastrală",
          },
          {
            value: "Generează descrierea zonei pentru studiu de fezabilitate",
            label: "Descriere zonă SF",
          },
          {
            value:
              "Identifică zonele cu restricții (inundabil, alunecare, protecție)",
            label: "Identificare restricții",
          },
        ],
      },
      {
        id: "detailLevel",
        label: "Nivel detaliu",
        type: "select",
        required: true,
        options: [
          { value: "sumar (1 paragraf)", label: "Sumar" },
          { value: "standard (1-2 pagini)", label: "Standard" },
          { value: "detaliat (documentație completă)", label: "Detaliat" },
        ],
      },
    ],
    outputMode: "expanded-expert",
    tags: ["GIS", "topografie", "cadastru", "geotehnică", "teren"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "bim-coordination",
    name: "Coordonare BIM",
    category: "bim",
    domain: "bim-coordination",
    description:
      "Generează instrucțiuni de coordonare BIM, rapoarte clash detection, sau cerințe EIR/BEP.",
    targetAiType: "text",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un BIM Manager cu experiență în coordonarea modelelor multi-disciplinare conform ISO 19650 și standardelor române.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Proiect",
        content:
          "Proiect: {{projectName}}. Faza: {{bimPhase}}. Software: {{software}}. Discipline implicate: {{disciplines}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcină",
        content: "{{bimTask}}",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Format",
        content:
          "Structurează output-ul conform {{outputStandard}}. Include referințe la LOD-ul necesar: {{lod}}.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "projectName",
        label: "Nume proiect",
        type: "text",
        required: true,
        placeholder: "ex: Complex rezidențial Borhanci",
      },
      {
        id: "bimPhase",
        label: "Faza BIM",
        type: "select",
        required: true,
        options: [
          { value: "concept design", label: "Concept" },
          { value: "schematic design", label: "Schematic" },
          { value: "detailed design", label: "Detaliat" },
          { value: "construction", label: "Execuție" },
          { value: "as-built", label: "As-built" },
        ],
      },
      {
        id: "software",
        label: "Software BIM",
        type: "multi-select",
        required: true,
        options: [
          { value: "Revit", label: "Revit" },
          { value: "ArchiCAD", label: "ArchiCAD" },
          { value: "Tekla", label: "Tekla Structures" },
          { value: "Navisworks", label: "Navisworks" },
          { value: "Solibri", label: "Solibri" },
          { value: "BIMcollab", label: "BIMcollab" },
        ],
      },
      {
        id: "disciplines",
        label: "Discipline",
        type: "multi-select",
        required: true,
        options: [
          { value: "Arhitectură", label: "Arhitectură" },
          { value: "Structuri", label: "Structuri" },
          { value: "Instalații HVAC", label: "HVAC" },
          { value: "Instalații electrice", label: "Electric" },
          { value: "Instalații sanitare", label: "Sanitar" },
          { value: "Amenajări exterioare", label: "Peisagistică" },
        ],
      },
      {
        id: "bimTask",
        label: "Sarcina concretă",
        type: "select",
        required: true,
        options: [
          {
            value:
              "Generează un raport de clash detection între disciplinele selectate. Categorizează conflictele pe severitate (critică/majoră/minoră) și propune soluții.",
            label: "Raport Clash Detection",
          },
          {
            value:
              "Creează un EIR (Employer Information Requirements) pentru acest proiect.",
            label: "Generare EIR",
          },
          {
            value: "Creează un BEP (BIM Execution Plan) pre-contract.",
            label: "Generare BEP",
          },
          {
            value:
              "Definește naming convention și structura de foldere pentru modelul federat.",
            label: "Naming Convention",
          },
          {
            value:
              "Generează o listă de model checks (QA/QC) specifice disciplinelor.",
            label: "Model Checks QA/QC",
          },
        ],
      },
      {
        id: "outputStandard",
        label: "Standard referință",
        type: "select",
        required: true,
        options: [
          { value: "ISO 19650", label: "ISO 19650" },
          { value: "PAS 1192", label: "PAS 1192 (legacy)" },
          {
            value: "intern (fără standard specific)",
            label: "Standard intern",
          },
        ],
      },
      {
        id: "lod",
        label: "LOD / LOI",
        type: "select",
        required: true,
        options: [
          { value: "LOD 100", label: "LOD 100 (Conceptual)" },
          { value: "LOD 200", label: "LOD 200 (Schematic)" },
          { value: "LOD 300", label: "LOD 300 (Detaliat)" },
          { value: "LOD 350", label: "LOD 350 (Construcție)" },
          { value: "LOD 400", label: "LOD 400 (Fabricație)" },
          { value: "LOD 500", label: "LOD 500 (As-built)" },
        ],
      },
    ],
    outputMode: "step-by-step",
    tags: ["BIM", "coordonare", "clash", "ISO 19650"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "report-rewrite",
    name: "Rescriere Raport Tehnic",
    category: "technical",
    domain: "technical-documentation",
    description:
      "Rescrie un raport tehnic pentru a-l adapta la un alt public, nivel de detaliu sau ton — păstrând acuratețea datelor.",
    targetAiType: "rewrite",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un redactor tehnic senior specializat în documentație de arhitectură, urbanism și construcții. Adaptezi textele tehnice la publicul țintă fără a pierde acuratețea.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Text original",
        content: "Text de rescris:\n\n{{originalText}}",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Transformare",
        content:
          "Rescrie textul pentru: {{targetAudience}}. Ton: {{tone}}. Lungime țintă: {{targetLength}}. Accent pe: {{emphasis}}.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "constraints",
        label: "Reguli",
        content:
          "Păstrează intact: toate datele numerice, referințele normative, numele proprii. Limba: română. Nu adăuga informații noi — doar reformulează.",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "originalText",
        label: "Text original",
        type: "text",
        required: true,
        placeholder: "Lipește textul raportului aici...",
      },
      {
        id: "targetAudience",
        label: "Public țintă",
        type: "select",
        required: true,
        options: [
          {
            value: "beneficiar non-tehnic",
            label: "Client/Beneficiar (non-tehnic)",
          },
          { value: "comisie tehnică", label: "Comisie tehnică" },
          { value: "autoritate publică", label: "Autoritate publică" },
          { value: "echipa de proiectare", label: "Echipă proiectare" },
          { value: "constructor", label: "Constructor" },
        ],
      },
      {
        id: "tone",
        label: "Ton dorit",
        type: "select",
        required: true,
        options: [
          { value: "formal-academic", label: "Formal academic" },
          { value: "profesional-accesibil", label: "Profesional accesibil" },
          { value: "sintetic-executiv", label: "Sintetic executiv" },
          { value: "tehnic-detaliat", label: "Tehnic detaliat" },
        ],
      },
      {
        id: "targetLength",
        label: "Lungime țintă",
        type: "select",
        required: true,
        options: [
          { value: "mai scurt cu 50%", label: "Jumătate din original" },
          { value: "aceeași lungime", label: "Aceeași lungime" },
          { value: "extins cu detalii", label: "Extins cu detalii" },
          {
            value: "rezumat executiv (max 200 cuvinte)",
            label: "Rezumat executiv",
          },
        ],
      },
      {
        id: "emphasis",
        label: "Accent pe",
        type: "multi-select",
        required: false,
        options: [
          { value: "concluzii și recomandări", label: "Concluzii" },
          { value: "date tehnice", label: "Date tehnice" },
          { value: "implicații bugetare", label: "Impact buget" },
          { value: "calendar și termene", label: "Calendar" },
          { value: "riscuri și mitigare", label: "Riscuri" },
        ],
      },
    ],
    outputMode: "expanded-expert",
    tags: ["raport", "rescriere", "tehnic", "documentație"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  {
    id: "structured-qa",
    name: "Q&A Tehnic Structurat",
    category: "technical",
    domain: "technical-documentation",
    description:
      "Generează un set de întrebări și răspunsuri tehnice structurate pe un subiect din domeniul construcțiilor/arhitecturii.",
    targetAiType: "text",
    blocks: [
      {
        id: "b1",
        type: "role",
        label: "Rol",
        content:
          "Ești un expert tehnic în {{domain}} cu experiență practică în proiectarea și execuția construcțiilor din România.",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Subiect",
        content:
          "Subiectul: {{topic}}. Context: {{context}}. Public țintă: {{audience}}.",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "task",
        label: "Sarcină",
        content:
          "Generează {{questionCount}} întrebări și răspunsuri structurate. Nivel complexitate: {{complexity}}. Include referințe la normative acolo unde e relevant.",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "format",
        label: "Format",
        content:
          "Format: Q: [întrebare clară]\nA: [răspuns structurat cu bullet points unde e necesar]\nRef: [normativ/sursă dacă e aplicabil]",
        order: 4,
        required: true,
      },
    ],
    variables: [
      {
        id: "domain",
        label: "Domeniu",
        type: "select",
        required: true,
        options: [
          { value: "arhitectură", label: "Arhitectură" },
          { value: "structuri", label: "Structuri" },
          { value: "instalații", label: "Instalații" },
          { value: "urbanism", label: "Urbanism" },
          { value: "geotehnică", label: "Geotehnică" },
          { value: "management proiect", label: "Management proiect" },
        ],
      },
      {
        id: "topic",
        label: "Subiect specific",
        type: "text",
        required: true,
        placeholder: "ex: Izolație termică la clădiri existente",
      },
      {
        id: "context",
        label: "Context adițional",
        type: "text",
        required: false,
        placeholder:
          "ex: Reabilitare bloc P+4, zona climatică III, buget limitat",
      },
      {
        id: "audience",
        label: "Public țintă",
        type: "select",
        required: true,
        options: [
          { value: "inginer proiectant", label: "Inginer proiectant" },
          { value: "student/intern", label: "Student/Intern" },
          { value: "client non-tehnic", label: "Client non-tehnic" },
          { value: "diriginte șantier", label: "Diriginte șantier" },
        ],
      },
      {
        id: "questionCount",
        label: "Număr întrebări",
        type: "select",
        required: true,
        options: [
          { value: "5", label: "5 întrebări" },
          { value: "10", label: "10 întrebări" },
          { value: "15", label: "15 întrebări" },
          { value: "20", label: "20 întrebări" },
        ],
      },
      {
        id: "complexity",
        label: "Complexitate",
        type: "select",
        required: true,
        options: [
          { value: "bază (definiții, concepte)", label: "Bază" },
          { value: "intermediar (aplicare, calcule)", label: "Intermediar" },
          { value: "avansat (situații complexe, excepții)", label: "Avansat" },
        ],
      },
    ],
    outputMode: "step-by-step",
    tags: ["Q&A", "tehnic", "întrebări", "educație"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },

  // ── Image Generation Templates (Midjourney / Stable Diffusion) ──

  {
    id: "midjourney-exterior",
    name: "Randare Exterioară Midjourney",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Generează un prompt optimizat pentru Midjourney v6 — randare arhitecturală exterioară fotorealistă.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Subiect principal",
        content:
          "{{buildingType}}, {{style}} architecture, {{materials}}, located in {{environment}}",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Atmosferă și lumină",
        content:
          "{{lighting}} lighting, {{timeOfDay}}, {{weather}}, {{season}}",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Parametri tehnici",
        content:
          "architectural photography, {{cameraAngle}}, {{lensType}}, high detail, 8k, photorealistic --ar {{aspectRatio}} --v 6 --style raw --s {{stylize}}",
        order: 3,
        required: true,
      },
      {
        id: "b4",
        type: "constraints",
        label: "Constrângeri negative",
        content: "{{negativePrompt}}",
        order: 4,
        required: false,
        conditional: {
          variableId: "negativePrompt",
          operator: "truthy",
        },
      },
    ],
    variables: [
      {
        id: "buildingType",
        label: "Tip clădire",
        type: "select",
        required: true,
        options: [
          {
            value: "modern residential house",
            label: "Casă rezidențială modernă",
          },
          {
            value: "contemporary apartment building",
            label: "Bloc apartamente contemporan",
          },
          { value: "commercial office building", label: "Clădire birouri" },
          { value: "cultural center", label: "Centru cultural" },
          { value: "mixed-use development", label: "Complex multifuncțional" },
          { value: "villa with pool", label: "Vilă cu piscină" },
        ],
      },
      {
        id: "style",
        label: "Stil arhitectural",
        type: "select",
        required: true,
        options: [
          { value: "minimalist", label: "Minimalist" },
          { value: "brutalist", label: "Brutalist" },
          { value: "parametric", label: "Parametric" },
          { value: "organic", label: "Organic" },
          { value: "neo-traditional", label: "Neo-tradițional" },
          { value: "high-tech", label: "High-tech" },
        ],
      },
      {
        id: "materials",
        label: "Materiale",
        type: "text",
        required: true,
        placeholder: "ex: exposed concrete, timber cladding, glass facade",
      },
      {
        id: "environment",
        label: "Mediu înconjurător",
        type: "select",
        required: true,
        options: [
          { value: "urban context with trees", label: "Urban cu arbori" },
          { value: "hillside with panoramic view", label: "Versant panoramic" },
          { value: "waterfront", label: "Lângă apă" },
          { value: "forest clearing", label: "Poiană în pădure" },
          { value: "dense city center", label: "Centru urban dens" },
        ],
      },
      {
        id: "lighting",
        label: "Iluminare",
        type: "select",
        required: true,
        options: [
          { value: "golden hour", label: "Golden hour" },
          { value: "soft diffused", label: "Difuză" },
          { value: "dramatic", label: "Dramatică" },
          { value: "overcast ambient", label: "Ambient înnorat" },
        ],
      },
      {
        id: "timeOfDay",
        label: "Moment al zilei",
        type: "select",
        required: true,
        options: [
          { value: "early morning", label: "Dimineață devreme" },
          { value: "midday", label: "Amiază" },
          { value: "late afternoon", label: "Seară" },
          { value: "blue hour dusk", label: "Blue hour / amurg" },
          {
            value: "night with interior lights",
            label: "Noapte cu lumini interioare",
          },
        ],
      },
      {
        id: "weather",
        label: "Vreme",
        type: "select",
        required: false,
        options: [
          { value: "clear sky", label: "Cer senin" },
          { value: "partly cloudy", label: "Parțial înnorat" },
          { value: "light rain", label: "Ploaie ușoară" },
          { value: "snow covered", label: "Acoperit de zăpadă" },
        ],
      },
      {
        id: "season",
        label: "Anotimp",
        type: "select",
        required: false,
        options: [
          { value: "spring with blossoms", label: "Primăvară" },
          { value: "lush summer", label: "Vară" },
          { value: "autumn colors", label: "Toamnă" },
          { value: "winter", label: "Iarnă" },
        ],
      },
      {
        id: "cameraAngle",
        label: "Unghi cameră",
        type: "select",
        required: true,
        options: [
          { value: "eye-level perspective", label: "Nivel ochiului" },
          { value: "low angle dramatic", label: "Unghi jos dramatic" },
          { value: "aerial bird's eye", label: "Aerian" },
          { value: "three-quarter view", label: "Perspectivă 3/4" },
        ],
      },
      {
        id: "lensType",
        label: "Tip obiectiv",
        type: "select",
        required: false,
        options: [
          { value: "wide angle 24mm", label: "Wide 24mm" },
          { value: "standard 50mm", label: "Standard 50mm" },
          { value: "telephoto 85mm", label: "Telephoto 85mm" },
          { value: "tilt-shift", label: "Tilt-shift" },
        ],
      },
      {
        id: "aspectRatio",
        label: "Aspect ratio",
        type: "select",
        required: true,
        options: [
          { value: "16:9", label: "16:9 (landscape)" },
          { value: "4:3", label: "4:3" },
          { value: "1:1", label: "1:1 (square)" },
          { value: "9:16", label: "9:16 (portrait)" },
          { value: "3:2", label: "3:2" },
        ],
      },
      {
        id: "stylize",
        label: "Stylize (0-1000)",
        type: "number",
        required: false,
        defaultValue: 250,
        placeholder: "250",
        helperText: "Valori mici = mai fidel textului, mari = mai artistic",
      },
      {
        id: "negativePrompt",
        label: "Prompt negativ (opțional)",
        type: "text",
        required: false,
        placeholder: "ex: --no people, cars, text, watermark",
      },
    ],
    outputMode: "short",
    tags: ["midjourney", "exterior", "randare", "fotorealist", "arhitectură"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "sd-interior-design",
    name: "Design Interior — Stable Diffusion",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Prompt optimizat pentru Stable Diffusion XL — vizualizare design interior cu control detaliat.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Scenă",
        content:
          "interior design photograph, {{roomType}}, {{designStyle}} style, {{colorPalette}} color palette",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Mobilier și detalii",
        content:
          "featuring {{furniture}}, {{flooring}} flooring, {{wallTreatment}} walls, {{decorElements}}",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Calitate și stil",
        content:
          "professional interior photography, {{lightingMood}}, high resolution, 4k, detailed textures, editorial quality, architectural digest style",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "roomType",
        label: "Tip cameră",
        type: "select",
        required: true,
        options: [
          { value: "spacious living room", label: "Living spațios" },
          { value: "modern kitchen", label: "Bucătărie modernă" },
          { value: "master bedroom", label: "Dormitor principal" },
          { value: "home office", label: "Birou acasă" },
          {
            value: "bathroom with natural stone",
            label: "Baie cu piatră naturală",
          },
          { value: "open-plan loft", label: "Loft open-plan" },
        ],
      },
      {
        id: "designStyle",
        label: "Stil design",
        type: "select",
        required: true,
        options: [
          { value: "Scandinavian minimalist", label: "Scandinav minimalist" },
          { value: "Japanese wabi-sabi", label: "Wabi-sabi japonez" },
          { value: "industrial chic", label: "Industrial chic" },
          { value: "mid-century modern", label: "Mid-century modern" },
          { value: "Mediterranean warm", label: "Mediteranean cald" },
          { value: "contemporary luxury", label: "Lux contemporan" },
        ],
      },
      {
        id: "colorPalette",
        label: "Paletă de culori",
        type: "text",
        required: true,
        placeholder: "ex: warm neutrals with sage green accents",
      },
      {
        id: "furniture",
        label: "Mobilier principal",
        type: "text",
        required: true,
        placeholder: "ex: modular sofa, oak dining table, pendant lights",
      },
      {
        id: "flooring",
        label: "Pardoseală",
        type: "select",
        required: false,
        options: [
          { value: "hardwood oak", label: "Parchet stejar" },
          { value: "polished concrete", label: "Beton șlefuit" },
          { value: "marble", label: "Marmură" },
          { value: "terrazzo", label: "Terrazzo" },
          { value: "ceramic tile", label: "Gresie ceramică" },
        ],
      },
      {
        id: "wallTreatment",
        label: "Finisaj pereți",
        type: "select",
        required: false,
        options: [
          { value: "smooth plaster", label: "Tencuială netedă" },
          { value: "exposed brick", label: "Cărămidă aparentă" },
          { value: "wood panel", label: "Lambriu lemn" },
          { value: "textured wallpaper", label: "Tapet texturat" },
        ],
      },
      {
        id: "decorElements",
        label: "Elemente decorative",
        type: "text",
        required: false,
        placeholder: "ex: indoor plants, art prints, ceramic vases",
      },
      {
        id: "lightingMood",
        label: "Atmosferă luminoasă",
        type: "select",
        required: true,
        options: [
          {
            value: "warm natural daylight streaming through large windows",
            label: "Lumină naturală caldă",
          },
          {
            value: "soft ambient evening light with warm lamps",
            label: "Ambient seară cu lămpi calde",
          },
          {
            value: "bright and airy with skylights",
            label: "Luminos cu lucarnă",
          },
          {
            value: "moody dramatic with accent lighting",
            label: "Dramatic cu accente",
          },
        ],
      },
    ],
    outputMode: "short",
    tags: ["stable diffusion", "interior", "design", "vizualizare"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "midjourney-infographic",
    name: "Infografic Arhitectural Midjourney",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Prompt pentru generarea de infografice, diagrame explicate și prezentări vizuale pentru proiecte de arhitectură.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Subiect",
        content:
          "architectural {{infographicType}}, showing {{subject}}, {{visualStyle}} visual style",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Conținut",
        content:
          "illustrating {{keyElements}}, with {{annotations}}, target audience: {{audience}}",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Stil grafic",
        content:
          "clean vector style, {{colorScheme}}, professional infographic layout, high contrast, editorial quality --ar {{aspectRatio}} --v 6",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "infographicType",
        label: "Tip infografic",
        type: "select",
        required: true,
        options: [
          {
            value: "exploded axonometric diagram",
            label: "Axonometrie explodată",
          },
          {
            value: "section diagram with labels",
            label: "Secțiune cu etichete",
          },
          { value: "site analysis diagram", label: "Diagramă analiză sit" },
          { value: "material palette board", label: "Paletar materiale" },
          {
            value: "sustainability features diagram",
            label: "Diagramă sustenabilitate",
          },
          {
            value: "construction phases timeline",
            label: "Timeline faze construcție",
          },
        ],
      },
      {
        id: "subject",
        label: "Subiect",
        type: "text",
        required: true,
        placeholder: "ex: passive house energy flow, structural system",
      },
      {
        id: "visualStyle",
        label: "Stil vizual",
        type: "select",
        required: true,
        options: [
          { value: "minimal flat", label: "Minimal flat" },
          { value: "isometric 3D", label: "Izometric 3D" },
          { value: "technical line drawing", label: "Desen tehnic" },
          { value: "watercolor sketch", label: "Schiță acuarelă" },
          { value: "collage mixed media", label: "Colaj mixed media" },
        ],
      },
      {
        id: "keyElements",
        label: "Elemente cheie",
        type: "text",
        required: true,
        placeholder: "ex: insulation layers, ventilation system, solar panels",
      },
      {
        id: "annotations",
        label: "Adnotări",
        type: "select",
        required: false,
        options: [
          { value: "numbered callouts", label: "Callout-uri numerotate" },
          { value: "legend with icons", label: "Legendă cu pictograme" },
          { value: "dimension lines", label: "Cote dimensionale" },
          { value: "no annotations", label: "Fără adnotări" },
        ],
      },
      {
        id: "audience",
        label: "Public țintă",
        type: "select",
        required: false,
        options: [
          { value: "client presentation", label: "Prezentare client" },
          { value: "technical review", label: "Comisie tehnică" },
          { value: "public exhibition", label: "Expoziție publică" },
          { value: "academic portfolio", label: "Portofoliu academic" },
        ],
      },
      {
        id: "colorScheme",
        label: "Schemă de culori",
        type: "text",
        required: false,
        placeholder: "ex: muted earth tones, black and white with accent red",
      },
      {
        id: "aspectRatio",
        label: "Aspect ratio",
        type: "select",
        required: true,
        options: [
          { value: "16:9", label: "16:9 (landscape)" },
          { value: "1:1", label: "1:1 (square)" },
          { value: "9:16", label: "9:16 (poster)" },
          { value: "3:4", label: "3:4 (print)" },
        ],
      },
    ],
    outputMode: "short",
    tags: ["midjourney", "infografic", "diagramă", "prezentare", "arhitectură"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
  {
    id: "sd-material-texture",
    name: "Textură Material — Stable Diffusion",
    category: "rendering",
    domain: "architecture-visualization",
    description:
      "Generează texturi seamless pentru materiale de construcție — utilizare în SketchUp, 3ds Max, Blender.",
    targetAiType: "image",
    blocks: [
      {
        id: "b1",
        type: "task",
        label: "Material",
        content:
          "seamless tileable texture of {{material}}, {{surfaceFinish}} finish, {{patternType}} pattern",
        order: 1,
        required: true,
      },
      {
        id: "b2",
        type: "context",
        label: "Detalii",
        content: "{{aging}} aging, {{scale}} scale, viewed from {{viewAngle}}",
        order: 2,
        required: true,
      },
      {
        id: "b3",
        type: "format",
        label: "Parametri tehnici",
        content:
          "PBR material texture, high resolution, 4k, seamless tiling, physically based rendering, no distortion, uniform lighting --ar 1:1 --tile",
        order: 3,
        required: true,
      },
    ],
    variables: [
      {
        id: "material",
        label: "Material",
        type: "select",
        required: true,
        options: [
          { value: "natural oak wood", label: "Lemn stejar natural" },
          { value: "Carrara marble", label: "Marmură Carrara" },
          { value: "raw concrete", label: "Beton brut" },
          { value: "red brick", label: "Cărămidă roșie" },
          { value: "weathering steel corten", label: "Oțel Corten" },
          { value: "terracotta tiles", label: "Teracotă" },
        ],
      },
      {
        id: "surfaceFinish",
        label: "Finisaj suprafață",
        type: "select",
        required: true,
        options: [
          { value: "matte", label: "Mat" },
          { value: "polished", label: "Lustruit" },
          { value: "rough", label: "Rugos" },
          { value: "brushed", label: "Periat" },
          { value: "sandblasted", label: "Sablat" },
        ],
      },
      {
        id: "patternType",
        label: "Tip pattern",
        type: "select",
        required: false,
        options: [
          { value: "natural grain", label: "Fibră naturală" },
          { value: "herringbone", label: "Herringbone" },
          { value: "running bond", label: "Running bond" },
          { value: "random mosaic", label: "Mozaic random" },
          { value: "linear", label: "Linear" },
        ],
      },
      {
        id: "aging",
        label: "Uzură / Patină",
        type: "select",
        required: false,
        options: [
          { value: "brand new pristine", label: "Nou" },
          { value: "slightly weathered", label: "Ușor patinat" },
          { value: "heavily worn vintage", label: "Foarte uzat / vintage" },
          { value: "moss and lichen covered", label: "Acoperit de mușchi" },
        ],
      },
      {
        id: "scale",
        label: "Scală",
        type: "select",
        required: false,
        options: [
          { value: "close-up macro", label: "Macro close-up" },
          { value: "medium 1:1", label: "Mediu 1:1" },
          { value: "wide repeating panel", label: "Panou larg repetitiv" },
        ],
      },
      {
        id: "viewAngle",
        label: "Unghi vedere",
        type: "select",
        required: false,
        options: [
          { value: "straight on orthographic", label: "Frontal ortografic" },
          { value: "slight angle", label: "Ușor înclinat" },
        ],
      },
    ],
    outputMode: "short",
    tags: ["stable diffusion", "textură", "material", "PBR", "seamless"],
    version: "1.0.0",
    author: "ArchiTools",
    visibility: "all",
  },
];
