@model PageContent; @{ ViewData["Title"] = ViewBag.Title ?? "Conversor Online"; Layout = "~/Views/Shared/_Layout.cshtml"; }

@(ViewBag.ConverterTitle ?? "CONVERSOR ONLINE")

@(ViewBag.ConverterDescription ?? "Converta seus arquivos de forma rápida e segura")

1
@(ViewBag.Step1Title ?? "Upload")
@(ViewBag.Step1Description ?? "Selecione seu arquivo")
2
@(ViewBag.Step2Title ?? "Processar")
@(ViewBag.Step2Description ?? "Aguarde o processamento")
3
@(ViewBag.Step3Title ?? "Download")
@(ViewBag.Step3Description ?? "Baixe o resultado")
@await Html.PartialAsync("_ConverterWidget")
@(ViewBag.SecurityText ?? "Seus dados estão seguros")
@(ViewBag.FileInfoText ?? "Processamento rápido e seguro")

@(ViewBag.BenefitsTitle ?? "Por Que Usar Nossa Ferramenta?")

@(ViewBag.BenefitsSubtitle ?? "Descubra os benefícios de nossa solução")

@{ bool hasFeatureBlocks = false; if (Model != null && Model.Blocks != null) { var featureBlocks = Model.Blocks.Where(b => b.Type == "features").ToList(); if (featureBlocks.Any()) { hasFeatureBlocks = true; var firstFeatureBlock = featureBlocks.First(); if (firstFeatureBlock.Properties != null && firstFeatureBlock.Properties.ContainsKey("feature_list")) { var featureList = firstFeatureBlock.Properties["feature_list"] as System.Collections.IEnumerable; if (featureList != null) { foreach (var featureObj in featureList) { var featureDict = featureObj as Dictionary; if (featureDict != null) {
@(featureDict.GetValueOrDefault("title", "Funcionalidade"))
@(featureDict.GetValueOrDefault("description", "Descrição da funcionalidade"))
} } } } } } } @if (!hasFeatureBlocks) {
@(ViewBag.Feature1Title ?? "Rápido e Fácil")
@(ViewBag.Feature1Description ?? "Conversão instantânea")
@(ViewBag.Feature2Title ?? "Seguro")
@(ViewBag.Feature2Description ?? "Dados protegidos")
@(ViewBag.Feature3Title ?? "Confiável")
@(ViewBag.Feature3Description ?? "Resultados precisos")
Rápido
Conversão em segundos
}
@{ bool hasTestimonialBlocks = false; if (Model != null && Model.Blocks != null) { var testimonialBlocks = Model.Blocks.Where(b => b.Type == "testimonials").ToList(); if (testimonialBlocks.Any()) { hasTestimonialBlocks = true; } } } @if (hasTestimonialBlocks) {

@(ViewBag.DefaultTestimonialsTitle ?? "O Que Nossos Clientes Dizem")

@(ViewBag.TestimonialsCount ?? "Avaliações positivas")

"@(ViewBag.Testimonial1Quote ?? "Excelente ferramenta!")"

@(ViewBag.Testimonial1Name ?? "Cliente Satisfeito")
@(ViewBag.Testimonial1Position ?? "Usuário")

"@(ViewBag.Testimonial2Quote ?? "Muito útil e fácil de usar!")"

@(ViewBag.Testimonial2Name ?? "Outro Cliente")
@(ViewBag.Testimonial2Position ?? "Usuário")

"@(ViewBag.Testimonial3Quote ?? "Recomendo para todos!")"

@(ViewBag.Testimonial3Name ?? "Mais um Cliente")
@(ViewBag.Testimonial3Position ?? "Usuário")
}

@(ViewBag.FinalCtaTitle ?? "Pronto para Converter?")

@(ViewBag.FinalCtaSubtitle ?? "Use nossa ferramenta gratuita agora mesmo")

@(ViewBag.FinalCtaButtonText ?? "Começar Conversão")
@section Scripts { @{ var converterType = ViewBag.ConverterType ?? "generic"; var jsFileName = $"~/js/converters/{converterType.ToString().ToLower()}-converter.js"; } }