{"id":5688,"date":"2026-07-09T20:52:23","date_gmt":"2026-07-09T20:52:23","guid":{"rendered":"https:\/\/myaiagenthub.com\/?page_id=5688"},"modified":"2026-07-10T22:57:33","modified_gmt":"2026-07-10T22:57:33","slug":"seo-content-agent-form","status":"publish","type":"page","link":"https:\/\/myaiagenthub.com\/es\/seo-content-agent-form\/","title":{"rendered":"SEO Content Agent Form"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5688\" class=\"elementor elementor-5688\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9591b0c e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"9591b0c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-97b0085 elementor-widget__width-inherit elementor-widget elementor-widget-html\" data-id=\"97b0085\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"UTF-8\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n<title>SEO Content Agent<\/title>\r\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Sora:wght@300;400;600;700;800&family=DM+Mono:wght@400;500&display=swap\" rel=\"stylesheet\">\r\n<style>\r\n:root {\r\n  --navy: #0f1e36;\r\n  --deep: #1a1a6e;\r\n  --cyan: #38bdf8;\r\n  --cyan-dark: #0ea5e9;\r\n  --green: #22c55e;\r\n  --border: #e2e8f0;\r\n}\r\n* { box-sizing: border-box; margin: 0; padding: 0; }\r\nbody { font-family: 'Sora', sans-serif; background: #f0f6ff; min-height: 100vh; padding: 40px 16px; }\r\n.wrapper { width: 100%; max-width: 580px; margin: 0 auto; }\r\n.header { text-align: center; margin-bottom: 28px; }\r\n.header .emoji { font-size: 48px; display: block; margin-bottom: 10px; }\r\n.header h1 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }\r\n.header p { font-size: 14px; color: #64748b; }\r\n.welcome-box {\r\n  background: #fff;\r\n  border: 2px solid var(--cyan);\r\n  border-radius: 14px;\r\n  padding: 16px 20px;\r\n  margin-bottom: 20px;\r\n  display: flex;\r\n  align-items: flex-start;\r\n  gap: 12px;\r\n}\r\n.welcome-box .w-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }\r\n.welcome-box .w-name { font-size: 11px; font-weight: 700; color: var(--cyan-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }\r\n.welcome-box .w-msg { font-size: 14px; color: #1e293b; line-height: 1.6; min-height: 20px; }\r\n.interview-panel { background: var(--navy); border-radius: 20px; padding: 24px; margin-bottom: 18px; text-align: center; }\r\n.q-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; }\r\n.q-text { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 18px; line-height: 1.5; min-height: 50px; }\r\n.dots { display: flex; gap: 5px; justify-content: center; margin-bottom: 14px; }\r\n.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; }\r\n.dot.done { background: var(--green); }\r\n.dot.active { background: var(--cyan); transform: scale(1.3); }\r\n.mic-btn { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan-dark)); border: none; cursor: pointer; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: transform 0.2s; }\r\n.mic-btn:hover { transform: scale(1.05); }\r\n.mic-btn.listening { background: linear-gradient(135deg, #ef4444, #dc2626); animation: micPulse 1s infinite; }\r\n.mic-btn.disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }\r\n@keyframes micPulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 70% { box-shadow: 0 0 0 20px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }\r\n.mic-hint { font-size: 12px; color: #94a3b8; font-family: 'DM Mono', monospace; margin-bottom: 10px; }\r\n.inline-select {\r\n  display: none;\r\n  width: 100%;\r\n  padding: 12px 14px;\r\n  border: 2px solid var(--cyan);\r\n  border-radius: 10px;\r\n  font-size: 14px;\r\n  font-family: 'Sora', sans-serif;\r\n  color: #0f1e36 !important;\r\n  background: #ffffff !important;\r\n  -webkit-appearance: auto;\r\n  appearance: auto;\r\n  outline: none;\r\n  margin-bottom: 12px;\r\n  cursor: pointer;\r\n  box-shadow: 0 2px 8px rgba(0,0,0,0.15);\r\n}\r\n.inline-select:focus { border-color: var(--cyan-dark); background: #ffffff !important; color: #0f1e36 !important; }\r\n.inline-select option { background: #ffffff !important; color: #0f1e36 !important; }\r\n.transcript-box {\r\n  background: #ffffff;\r\n  border: 2px solid var(--cyan);\r\n  border-radius: 10px;\r\n  padding: 12px 14px;\r\n  font-size: 14px;\r\n  font-weight: 600;\r\n  color: #0f1e36;\r\n  font-family: 'Sora', sans-serif;\r\n  min-height: 52px;\r\n  text-align: left;\r\n  margin-bottom: 12px;\r\n  width: 100%;\r\n  resize: vertical;\r\n  display: none;\r\n}\r\n.transcript-box:focus { outline: none; border-color: var(--cyan-dark); background: #ffffff !important; color: #0f1e36 !important; }\r\n.voice-nav { display: none; gap: 8px; justify-content: center; margin-top: 10px; }\r\n.voice-nav button { padding: 10px 22px; border-radius: 50px; border: none; font-size: 13px; font-family: 'Sora', sans-serif; font-weight: 600; cursor: pointer; }\r\n.btn-confirm { background: var(--green); color: white; }\r\n.btn-redo { background: rgba(255,255,255,0.1); color: #94a3b8; border: 1px solid rgba(255,255,255,0.2) !important; }\r\n.progress-wrap { margin-bottom: 18px; }\r\n.progress-label { font-size: 11px; color: #94a3b8; font-family: 'DM Mono', monospace; margin-bottom: 6px; }\r\n.progress-bar { background: #e2e8f0; border-radius: 99px; height: 6px; overflow: hidden; }\r\n.progress-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--deep)); border-radius: 99px; transition: width 0.4s; width: 0%; }\r\n.card { background: #fff; border-radius: 14px; padding: 20px; margin-bottom: 12px; border: 1.5px solid var(--border); box-shadow: 0 2px 10px rgba(15,30,54,0.05); transition: border-color 0.3s; }\r\n.card.active-field { border-color: var(--cyan); }\r\n.card.filled-field { border-color: var(--green); }\r\n.card label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }\r\n.card label span { color: var(--cyan-dark); }\r\n.card input, .card textarea, .card select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: 'Sora', sans-serif; color: var(--navy); background: #f8fafc; outline: none; transition: border-color 0.2s; resize: vertical; }\r\n.card input:focus, .card textarea:focus, .card select:focus { border-color: var(--cyan); background: white; }\r\n.card input.filled, .card textarea.filled, .card select.filled { border-color: var(--green); background: #f0fdf4; }\r\n.submit-btn { width: 100%; background: linear-gradient(135deg, var(--deep), #2d2d9f); color: white; border: none; border-radius: 50px; padding: 18px; font-size: 16px; font-weight: 700; font-family: 'Sora', sans-serif; cursor: pointer; box-shadow: 0 4px 20px rgba(26,26,110,0.3); transition: transform 0.2s, box-shadow 0.2s; margin-top: 8px; }\r\n.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,26,110,0.4); }\r\n.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }\r\n#form-message { text-align: center; margin-top: 18px; font-size: 14px; font-weight: 500; line-height: 1.5; padding: 14px; border-radius: 10px; display: none; }\r\n#form-message.success { background: #f0fdf4; color: #166534; display: block; }\r\n#form-message.error { background: #fef2f2; color: #991b1b; display: block; }\r\n#form-message.loading { background: #eff6ff; color: #1d4ed8; display: block; }\r\n<\/style>\r\n<\/head>\r\n<body>\r\n<div class=\"wrapper\">\r\n  <div class=\"header\">\r\n    <span class=\"emoji\">\ud83d\udd0d<\/span>\r\n    <h1>SEO Content Agent<\/h1>\r\n    <p>Bill will guide you through 10 quick questions. Just tap the mic and talk naturally \u2014 your complete SEO content package will be in your inbox within minutes.<\/p>\r\n  <\/div>\r\n  <div class=\"welcome-box\">\r\n    <div class=\"w-icon\">\ud83d\udc4b<\/div>\r\n    <div>\r\n      <div class=\"w-name\">Bill \u2014 Your SEO Content Agent<\/div>\r\n      <div class=\"w-msg\" id=\"welcomeMsg\"><\/div>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"interview-panel\">\r\n    <div class=\"q-label\">Question <span id=\"qNum\">1<\/span> of 10<\/div>\r\n    <div class=\"dots\" id=\"stepDots\"><\/div>\r\n    <div class=\"q-text\" id=\"questionText\">Getting ready...<\/div>\r\n    <button class=\"mic-btn disabled\" id=\"micBtn\" onclick=\"toggleMic()\">\ud83c\udfa4<\/button>\r\n    <div class=\"mic-hint\" id=\"micHint\">Bill is asking your first question...<\/div>\r\n    <textarea class=\"transcript-box\" id=\"transcriptBox\" rows=\"2\"><\/textarea>\r\n    <!-- Inline dropdowns -->\r\n    <select class=\"inline-select\" id=\"inline_seo_help\" onchange=\"syncDropdown('seo_help')\">\r\n      <option value=\"\">Select what you need help with...<\/option>\r\n      <option>Daily priorities and action plan<\/option>\r\n      <option>A specific business problem or challenge<\/option>\r\n      <option>Customer situation or complaint<\/option>\r\n      <option>Employee or staffing issue<\/option>\r\n      <option>Marketing or promotion idea<\/option>\r\n      <option>Financial question or concern<\/option>\r\n    <\/select>\r\n    <select class=\"inline-select\" id=\"inline_seo_business_status\" onchange=\"syncDropdown('seo_business_status')\">\r\n      <option value=\"\">Select how business is going...<\/option>\r\n      <option>Great \u2014 I just need to stay focused<\/option>\r\n      <option>Okay \u2014 I need to improve a few things<\/option>\r\n      <option>Struggling \u2014 I need a plan to turn things around<\/option>\r\n      <option>Just getting started \u2014 I need guidance<\/option>\r\n    <\/select>\r\n    <select class=\"inline-select\" id=\"inline_seo_goal\" onchange=\"syncDropdown('seo_goal')\">\r\n      <option value=\"\">Select your top goal...<\/option>\r\n      <option>Increase revenue<\/option>\r\n      <option>Get more customers<\/option>\r\n      <option>Keep existing customers<\/option>\r\n      <option>Reduce expenses<\/option>\r\n      <option>Hire and train staff<\/option>\r\n      <option>Improve operations<\/option>\r\n    <\/select>\r\n    <div class=\"voice-nav\" id=\"voiceNav\">\r\n      <button class=\"btn-confirm\" onclick=\"confirmAnswer()\">\u2705 Confirm<\/button>\r\n      <button class=\"btn-redo\" onclick=\"redoAnswer()\">\ud83d\udd04 Redo<\/button>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"progress-wrap\">\r\n    <div class=\"progress-label\" id=\"progressLabel\">0 of 10 fields completed<\/div>\r\n    <div class=\"progress-bar\"><div class=\"progress-fill\" id=\"progressFill\"><\/div><\/div>\r\n  <\/div>\r\n  <div class=\"card\" id=\"card_seo_name\"><label for=\"seo_name\">Full Name <span>*<\/span><\/label><input type=\"text\" id=\"seo_name\" placeholder=\"Your full name\" oninput=\"manualFill('seo_name')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_email\"><label for=\"seo_email\">Email Address <span>*<\/span><\/label><input type=\"email\" id=\"seo_email\" placeholder=\"you@example.com\" oninput=\"this.value=this.value.replace(\/\\s\/g,'').toLowerCase(); manualFill('seo_email')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_business_name\"><label for=\"seo_business_name\">Business Name <span>*<\/span><\/label><input type=\"text\" id=\"seo_business_name\" placeholder=\"Your business name\" oninput=\"manualFill('seo_business_name')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_business_type\"><label for=\"seo_business_type\">Business Type <span>*<\/span><\/label><input type=\"text\" id=\"seo_business_type\" placeholder=\"e.g. restaurant, salon, plumber\" oninput=\"manualFill('seo_business_type')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_city_state\"><label for=\"seo_city_state\">City & State <span>*<\/span><\/label><input type=\"text\" id=\"seo_city_state\" placeholder=\"e.g. Austin, TX\" oninput=\"manualFill('seo_city_state')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_help\"><label for=\"seo_help\">What Do You Need Help With Today <span>*<\/span><\/label>\r\n    <select id=\"seo_help\" onchange=\"manualFill('seo_help')\">\r\n      <option value=\"\">Select what you need help with...<\/option>\r\n      <option>Daily priorities and action plan<\/option>\r\n      <option>A specific business problem or challenge<\/option>\r\n      <option>Customer situation or complaint<\/option>\r\n      <option>Employee or staffing issue<\/option>\r\n      <option>Marketing or promotion idea<\/option>\r\n      <option>Financial question or concern<\/option>\r\n    <\/select>\r\n  <\/div>\r\n  <div class=\"card\" id=\"card_seo_business_status\"><label for=\"seo_business_status\">How Is Business Going Right Now <span>*<\/span><\/label>\r\n    <select id=\"seo_business_status\" onchange=\"manualFill('seo_business_status')\">\r\n      <option value=\"\">Select how business is going...<\/option>\r\n      <option>Great \u2014 I just need to stay focused<\/option>\r\n      <option>Okay \u2014 I need to improve a few things<\/option>\r\n      <option>Struggling \u2014 I need a plan to turn things around<\/option>\r\n      <option>Just getting started \u2014 I need guidance<\/option>\r\n    <\/select>\r\n  <\/div>\r\n  <div class=\"card\" id=\"card_seo_challenge\"><label for=\"seo_challenge\">What Is Your Biggest Challenge Today <span>*<\/span><\/label><input type=\"text\" id=\"seo_challenge\" placeholder=\"e.g. slow sales, unhappy customer, need to hire, cash flow\" oninput=\"manualFill('seo_challenge')\"><\/div>\r\n  <div class=\"card\" id=\"card_seo_goal\"><label for=\"seo_goal\">What Is Your Most Important Goal Right Now <span>*<\/span><\/label>\r\n    <select id=\"seo_goal\" onchange=\"manualFill('seo_goal')\">\r\n      <option value=\"\">Select your top goal...<\/option>\r\n      <option>Increase revenue<\/option>\r\n      <option>Get more customers<\/option>\r\n      <option>Keep existing customers<\/option>\r\n      <option>Reduce expenses<\/option>\r\n      <option>Hire and train staff<\/option>\r\n      <option>Improve operations<\/option>\r\n    <\/select>\r\n  <\/div>\r\n  <div class=\"card\" id=\"card_seo_details\"><label for=\"seo_details\">Tell Us More <span>*<\/span><\/label><textarea id=\"seo_details\" rows=\"3\" placeholder=\"Describe your situation, what happened today, what decisions you need to make, or anything else the agent should know to help you\" oninput=\"manualFill('seo_details')\"><\/textarea><\/div>\r\n  <button class=\"submit-btn\" onclick=\"submitForm()\">\ud83d\udd0d Get My SEO Content Package<\/button>\r\n  <div id=\"form-message\"><\/div>\r\n<\/div>\r\n<script>\r\nconst questions = [\r\n  { id:'seo_name', text:\"What is your full name?\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q1-1.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:8 },\r\n  { id:'seo_email', text:\"Please type your email address in the box below.\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q2-1.mp3', typeOnly:true, dropdownOnly:false, inlineDropdown:null, listenSec:0 },\r\n  { id:'seo_business_name', text:\"What is your business name?\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q3-1.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:8 },\r\n  { id:'seo_business_type', text:\"What type of business do you have?\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q4-1.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:8 },\r\n  { id:'seo_city_state', text:\"What city and state is your business located in?\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q5-1.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:8 },\r\n  { id:'seo_help', text:\"What do you need help with today? Please select from the options below.\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q6-1.mp3', typeOnly:false, dropdownOnly:true, inlineDropdown:'inline_seo_help', listenSec:0 },\r\n  { id:'seo_business_status', text:\"How is business going right now? Please select from the options below.\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q7-1.mp3', typeOnly:false, dropdownOnly:true, inlineDropdown:'inline_seo_business_status', listenSec:0 },\r\n  { id:'seo_challenge', text:\"What is your biggest challenge today?\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q8.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:120 },\r\n  { id:'seo_goal', text:\"What is your most important goal right now? Please select from the options below.\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q9.mp3', typeOnly:false, dropdownOnly:true, inlineDropdown:'inline_seo_goal', listenSec:0 },\r\n  { id:'seo_details', text:\"Tell us more \u2014 describe your situation, what's going on today, and anything else the agent should know to help you.\", audio:'https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Q10.mp3', typeOnly:false, dropdownOnly:false, inlineDropdown:null, listenSec:120 }\r\n];\r\nconst welcomeText = \"Welcome! I'm Bill, your SEO Content Agent. I'm going to ask you ten quick questions about your business and what you need help with today. Just tap the mic and speak naturally \u2014 your complete SEO content package will be delivered straight to your inbox in minutes. Let's get started!\";\r\nconst billWelcome = new Audio('https:\/\/myaiagenthub.com\/wp-content\/uploads\/2026\/07\/Welcome-1.mp3');\r\nlet questionAudios = questions.map(q => new Audio(q.audio));\r\nlet currentQ = 0;\r\nlet isListening = false;\r\nlet filledFields = new Set();\r\nlet recognition = null;\r\nlet billPlaying = false;\r\nlet currentFinalText = '';\r\nlet listenTimer = null;\r\nconst SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;\r\nif (SpeechRecognition) {\r\n  recognition = new SpeechRecognition();\r\n  recognition.continuous = true;\r\n  recognition.interimResults = true;\r\n  recognition.lang = 'en-US';\r\n  recognition.onresult = (e) => {\r\n    let interim = '';\r\n    for (let i = e.resultIndex; i < e.results.length; i++) {\r\n      if (e.results[i].isFinal) currentFinalText += e.results[i][0].transcript + ' ';\r\n      else interim = e.results[i][0].transcript;\r\n    }\r\n    const combined = (currentFinalText + interim).trim();\r\n    const box = document.getElementById('transcriptBox');\r\n    box.value = combined;\r\n    box.style.display = 'block';\r\n  };\r\n  recognition.onend = () => { if (isListening) { try { recognition.start(); } catch(e){} } };\r\n  recognition.onerror = () => stopListening();\r\n}\r\nfunction hideAllInlineDropdowns() {\r\n  document.querySelectorAll('.inline-select').forEach(s => s.style.display = 'none');\r\n}\r\nfunction syncDropdown(fieldId) {\r\n  const inlineId = 'inline_' + fieldId;\r\n  const inlineSel = document.getElementById(inlineId);\r\n  const hiddenSel = document.getElementById(fieldId);\r\n  if (inlineSel && hiddenSel) { hiddenSel.value = inlineSel.value; manualFill(fieldId); }\r\n  if (inlineSel && inlineSel.value) {\r\n    document.getElementById('voiceNav').style.display = 'flex';\r\n    document.getElementById('micHint').innerText = 'Great choice! Hit Confirm to continue.';\r\n  }\r\n}\r\nfunction setBillState(speaking) {\r\n  billPlaying = speaking;\r\n  const mic = document.getElementById('micBtn');\r\n  if (speaking) {\r\n    mic.classList.add('disabled');\r\n    document.getElementById('micHint').innerText = 'Bill is speaking \u2014 listen for your question...';\r\n  }\r\n}\r\nfunction buildDots() {\r\n  const c = document.getElementById('stepDots');\r\n  c.innerHTML = questions.map((_,i)=> `<div class=\"dot ${i===currentQ?'active':filledFields.has(questions[i].id)?'done':''}\"><\/div>`).join('');\r\n}\r\nfunction showQuestion(index) {\r\n  currentQ = index;\r\n  const q = questions[index];\r\n  document.getElementById('qNum').innerText = index + 1;\r\n  document.getElementById('questionText').innerText = q.text;\r\n  document.getElementById('transcriptBox').style.display = 'none';\r\n  document.getElementById('transcriptBox').value = '';\r\n  document.getElementById('voiceNav').style.display = 'none';\r\n  hideAllInlineDropdowns();\r\n  currentFinalText = '';\r\n  buildDots();\r\n  questions.forEach(qq => { const card = document.getElementById('card_' + qq.id); if (card) card.classList.remove('active-field'); });\r\n  const activeCard = document.getElementById('card_' + q.id);\r\n  if (activeCard) activeCard.classList.add('active-field');\r\n  setBillState(true);\r\n  const audio = questionAudios[index];\r\n  audio.currentTime = 0;\r\n  audio.play().catch(()=>{});\r\n  audio.onended = () => {\r\n    setBillState(false);\r\n    if (q.typeOnly) {\r\n      document.getElementById('micBtn').className = 'mic-btn disabled';\r\n      document.getElementById('micHint').innerText = '\ud83d\udce7 Please type your email address in the box below.';\r\n      document.getElementById('transcriptBox').style.display = 'block';\r\n      document.getElementById('transcriptBox').focus();\r\n      document.getElementById('voiceNav').style.display = 'flex';\r\n    } else if (q.dropdownOnly) {\r\n      document.getElementById('micBtn').className = 'mic-btn disabled';\r\n      document.getElementById('micHint').innerText = '\ud83d\udc46 Please select your answer from the dropdown below.';\r\n      if (q.inlineDropdown) {\r\n        const inlineSel = document.getElementById(q.inlineDropdown);\r\n        if (inlineSel) { inlineSel.style.display = 'block'; inlineSel.value = ''; }\r\n      }\r\n    } else {\r\n      document.getElementById('micBtn').className = 'mic-btn';\r\n      document.getElementById('micHint').innerText = 'Tap the mic and speak your answer';\r\n    }\r\n  };\r\n}\r\nfunction toggleMic() {\r\n  if (billPlaying || document.getElementById('micBtn').classList.contains('disabled')) return;\r\n  if (!SpeechRecognition) { alert('Voice input requires Chrome browser.'); return; }\r\n  isListening ? stopListening() : startListening();\r\n}\r\nfunction startListening() {\r\n  isListening = true;\r\n  currentFinalText = '';\r\n  const btn = document.getElementById('micBtn');\r\n  btn.classList.add('listening'); btn.innerText = '\u23f9';\r\n  document.getElementById('micHint').innerText = 'Listening... tap again when done';\r\n  document.getElementById('transcriptBox').style.display = 'block';\r\n  document.getElementById('transcriptBox').value = '';\r\n  recognition.start();\r\n  clearTimeout(listenTimer);\r\n  listenTimer = setTimeout(() => stopListening(), questions[currentQ].listenSec * 1000);\r\n}\r\nfunction stopListening() {\r\n  isListening = false;\r\n  clearTimeout(listenTimer);\r\n  if (recognition) { recognition.onend = null; try { recognition.stop(); } catch(e){} }\r\n  const btn = document.getElementById('micBtn');\r\n  btn.classList.remove('listening'); btn.innerText = '\ud83c\udfa4';\r\n  const val = document.getElementById('transcriptBox').value.trim();\r\n  if (val) {\r\n    document.getElementById('micHint').innerText = 'Review your answer above \u2014 edit if needed.';\r\n    document.getElementById('voiceNav').style.display = 'flex';\r\n  } else {\r\n    document.getElementById('micHint').innerText = 'Tap the mic and speak your answer';\r\n  }\r\n  if (SpeechRecognition) {\r\n    recognition = new SpeechRecognition();\r\n    recognition.continuous = true;\r\n    recognition.interimResults = true;\r\n    recognition.lang = 'en-US';\r\n    recognition.onresult = (e) => {\r\n      let interim = '';\r\n      for (let i = e.resultIndex; i < e.results.length; i++) {\r\n        if (e.results[i].isFinal) currentFinalText += e.results[i][0].transcript + ' ';\r\n        else interim = e.results[i][0].transcript;\r\n      }\r\n      document.getElementById('transcriptBox').value = (currentFinalText + interim).trim();\r\n    };\r\n    recognition.onend = () => { if (isListening) { try { recognition.start(); } catch(e){} } };\r\n    recognition.onerror = () => stopListening();\r\n  }\r\n}\r\nfunction confirmAnswer() {\r\n  const q = questions[currentQ];\r\n  let val = '';\r\n  if (q.dropdownOnly) {\r\n    const inlineSel = q.inlineDropdown ? document.getElementById(q.inlineDropdown) : null;\r\n    val = inlineSel ? inlineSel.value.trim() : '';\r\n    if (!val) { document.getElementById('micHint').innerText = 'Please make a selection first.'; return; }\r\n    const hiddenField = document.getElementById(q.id);\r\n    if (hiddenField) { hiddenField.value = val; hiddenField.classList.add('filled'); }\r\n  } else if (q.typeOnly) {\r\n    val = document.getElementById('transcriptBox').value.trim();\r\n    if (!val) { document.getElementById('micHint').innerText = 'Please type your email address first.'; return; }\r\n    val = val.replace(\/\\s\/g,'').toLowerCase();\r\n    const field = document.getElementById(q.id);\r\n    if (field) { field.value = val; field.classList.add('filled'); }\r\n  } else {\r\n    val = document.getElementById('transcriptBox').value.trim();\r\n    if (!val) { document.getElementById('micHint').innerText = 'Please answer the question first.'; return; }\r\n    const field = document.getElementById(q.id);\r\n    if (field) { field.value = val; field.classList.add('filled'); }\r\n  }\r\n  markFilled(q.id);\r\n  document.getElementById('voiceNav').style.display = 'none';\r\n  document.getElementById('transcriptBox').style.display = 'none';\r\n  hideAllInlineDropdowns();\r\n  setTimeout(() => {\r\n    const next = currentQ + 1;\r\n    if (next < questions.length) showQuestion(next);\r\n    else allDone();\r\n  }, 600);\r\n}\r\nfunction redoAnswer() {\r\n  const q = questions[currentQ];\r\n  document.getElementById('transcriptBox').value = '';\r\n  document.getElementById('voiceNav').style.display = 'none';\r\n  currentFinalText = '';\r\n  if (q.dropdownOnly) {\r\n    if (q.inlineDropdown) {\r\n      const inlineSel = document.getElementById(q.inlineDropdown);\r\n      if (inlineSel) { inlineSel.value = ''; inlineSel.style.display = 'block'; }\r\n    }\r\n    document.getElementById('micHint').innerText = '\ud83d\udc46 Please select your answer from the dropdown below.';\r\n  } else if (q.typeOnly) {\r\n    document.getElementById('micHint').innerText = '\ud83d\udce7 Please type your email address in the box below.';\r\n    document.getElementById('transcriptBox').style.display = 'block';\r\n    document.getElementById('transcriptBox').value = '';\r\n    document.getElementById('transcriptBox').focus();\r\n    document.getElementById('voiceNav').style.display = 'flex';\r\n  } else {\r\n    document.getElementById('micHint').innerText = 'Tap the mic and speak your answer';\r\n    startListening();\r\n  }\r\n}\r\nfunction allDone() {\r\n  document.getElementById('questionText').innerText = '\ud83c\udf89 All done! Review your answers and hit the button below!';\r\n  document.getElementById('micBtn').style.display = 'none';\r\n  document.getElementById('micHint').innerText = '';\r\n  buildDots();\r\n}\r\nfunction markFilled(fieldId) {\r\n  filledFields.add(fieldId);\r\n  const card = document.getElementById('card_' + fieldId);\r\n  if (card) { card.classList.remove('active-field'); card.classList.add('filled-field'); }\r\n  updateProgress();\r\n}\r\nfunction manualFill(fieldId) {\r\n  const el = document.getElementById(fieldId);\r\n  if (el && el.value.trim()) markFilled(fieldId);\r\n}\r\nfunction updateProgress() {\r\n  const req = ['seo_name','seo_email','seo_business_name','seo_business_type','seo_city_state','seo_help','seo_business_status','seo_challenge','seo_goal','seo_details'];\r\n  const filled = req.filter(id=>{ const el=document.getElementById(id); return el&&el.value.trim()!==''; }).length;\r\n  const pct = Math.round((filled\/req.length)*100);\r\n  document.getElementById('progressFill').style.width = pct+'%';\r\n  document.getElementById('progressLabel').innerText = `${filled} of 10 fields completed`;\r\n}\r\nasync function submitForm() {\r\n  const name = document.getElementById('seo_name').value.trim();\r\n  const email = document.getElementById('seo_email').value.trim();\r\n  const businessName = document.getElementById('seo_business_name').value.trim();\r\n  const businessType = document.getElementById('seo_business_type').value.trim();\r\n  const cityState = document.getElementById('seo_city_state').value.trim();\r\n  const help = document.getElementById('seo_help').value.trim();\r\n  const status = document.getElementById('seo_business_status').value.trim();\r\n  const challenge = document.getElementById('seo_challenge').value.trim();\r\n  const goal = document.getElementById('seo_goal').value.trim();\r\n  const details = document.getElementById('seo_details').value.trim();\r\n  const msg = document.getElementById('form-message');\r\n  if (!name||!email||!businessName||!businessType||!cityState||!help||!status||!challenge||!goal||!details) {\r\n    msg.className='error'; msg.innerText='\u26a0\ufe0f Please fill in all required fields before submitting.'; return;\r\n  }\r\n  msg.className='loading'; msg.innerText='\u23f3 Submitting your information... please wait.';\r\n  document.querySelector('.submit-btn').disabled = true;\r\n  const content = 'Name: '+name+'\\nEmail: '+email+'\\nBusiness Name: '+businessName+'\\nBusiness Type: '+businessType+'\\nCity & State: '+cityState+'\\nNeeds Help With: '+help+'\\nBusiness Status: '+status+'\\nBiggest Challenge: '+challenge+'\\nMost Important Goal: '+goal+'\\nMore Details: '+details;\r\n  try {\r\n    await fetch('https:\/\/api-bcbe5a.stack.tryrelevance.com\/latest\/agents\/trigger', {\r\n      method: 'POST',\r\n      headers: {\r\n        'Content-Type': 'application\/json',\r\n        'Authorization': 'b831f1f2-22e3-4067-b1f5-c431251db0cc:sk-NjI0OWQwYWMtN2UyNC00NTI1LWIwZDEtMDIzNzYwNWRhYTBj'\r\n      },\r\n      body: JSON.stringify({\r\n        message: { role: 'user', content: content },\r\n        agent_id: 'f19bc9d5-8dc8-44c5-a316-532bf2942dcb'\r\n      })\r\n    });\r\n    msg.className='success'; msg.innerText='\ud83d\udd0d Success! Your SEO content package is being created and will be delivered to your email shortly.';\r\n  } catch(err) {\r\n    msg.className='error'; msg.innerText='\u274c Something went wrong. Please try again.';\r\n    document.querySelector('.submit-btn').disabled = false;\r\n  }\r\n}\r\nwindow.addEventListener('load', () => {\r\n  buildDots();\r\n  hideAllInlineDropdowns();\r\n  const welcomeMsg = document.getElementById('welcomeMsg');\r\n  const words = welcomeText.split(' ');\r\n  let wi = 0;\r\n  billWelcome.play().catch(()=>{});\r\n  const wInt = setInterval(() => {\r\n    if (wi < words.length) { welcomeMsg.textContent += (wi===0?'':' ') + words[wi++]; }\r\n    else clearInterval(wInt);\r\n  }, 1000\/2.8);\r\n  billWelcome.onended = () => {\r\n    clearInterval(wInt);\r\n    welcomeMsg.textContent = welcomeText;\r\n    setTimeout(() => showQuestion(0), 1500);\r\n  };\r\n  billWelcome.onerror = () => {\r\n    welcomeMsg.textContent = welcomeText;\r\n    setTimeout(() => showQuestion(0), 1000);\r\n  };\r\n});\r\n<\/script>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-40a112a e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"40a112a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4c3d637 elementor-widget elementor-widget-text-editor\" data-id=\"4c3d637\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>Disclaimer<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-85dea43 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"85dea43\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5a92998 elementor-widget elementor-widget-text-editor\" data-id=\"5a92998\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">The Viral Content Agent generates content ideas, hooks, captions, and hashtags based on the information provided by the user. All results are for informational and creative purposes only.<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">The accuracy and effectiveness of generated content depends on the information provided. The agent does not guarantee follower growth, engagement, views, or any specific results from using the content.<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">Users are responsible for reviewing all generated content before publishing and ensuring it complies with the terms of service of any platform it is posted on.<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">By using this tool, you agree that MyAIAgentHub is not liable for any outcomes resulting from the use of this service.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>SEO Content Agent \ud83d\udd0d SEO Content Agent Bill will guide you through 10 quick questions. Just tap the mic and talk naturally \u2014 your complete SEO content package will be in your inbox within minutes. \ud83d\udc4b Bill \u2014 Your SEO Content Agent Question 1 of 10 Getting ready&#8230; \ud83c\udfa4 Bill is asking your first question&#8230; Select what you need help with&#8230;Daily priorities and action planA specific business problem or challengeCustomer situation or complaintEmployee or staffing issueMarketing or promotion ideaFinancial question or concern Select how business is going&#8230;Great \u2014 I just need to stay focusedOkay \u2014 I need to improve a few thingsStruggling \u2014 I need a plan to turn things aroundJust getting started \u2014 I need guidance Select your top goal&#8230;Increase revenueGet more customersKeep existing customersReduce expensesHire and train staffImprove operations \u2705 Confirm \ud83d\udd04 Redo 0 of 10 fields completed Full Name * Email Address * Business Name * Business Type * City &#038; State * What Do You Need Help With Today * Select what you need help with&#8230;Daily priorities and action planA specific business problem or challengeCustomer situation or complaintEmployee or staffing issueMarketing or promotion ideaFinancial question or concern How Is Business Going Right Now * Select how business is going&#8230;Great \u2014 I just need to stay focusedOkay \u2014 I need to improve a few thingsStruggling \u2014 I need a plan to turn things aroundJust getting started \u2014 I need guidance What Is Your Biggest Challenge Today * What Is Your Most Important Goal Right Now * Select your top goal&#8230;Increase revenueGet more customersKeep existing customersReduce expensesHire and train staffImprove operations Tell Us More * \ud83d\udd0d Get My SEO Content Package Disclaimer The Viral Content Agent generates content ideas, hooks, captions, and hashtags based on the information provided by the user. All results are for informational and creative purposes only. The accuracy and effectiveness of generated content depends on the information provided. The agent does not guarantee follower growth, engagement, views, or any specific results from using the content. Users are responsible for reviewing all generated content before publishing and ensuring it complies with the terms of service of any platform it is posted on. By using this tool, you agree that MyAIAgentHub is not liable for any outcomes resulting from the use of this service.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-5688","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/5688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/comments?post=5688"}],"version-history":[{"count":10,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/5688\/revisions"}],"predecessor-version":[{"id":5721,"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/pages\/5688\/revisions\/5721"}],"wp:attachment":[{"href":"https:\/\/myaiagenthub.com\/es\/wp-json\/wp\/v2\/media?parent=5688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}