import{c as b,r as l,w as j,j as e,B as d,a0 as i,a1 as p,a2 as m,a4 as n,L as u,a3 as w}from"./index-DHiKqTn6.js";import{I as N}from"./input-DmOVLNaD.js";import{A as v,a as C,b as S,c as A}from"./accordion-YQ_uK5Tn.js";import{N as k,C as F,F as P}from"./Footer-DIHGzGNa.js";import{S as x,s as B}from"./en-US-BHI7lbCO.js";import{Z as I}from"./zap-CUmWrGT7.js";import{C as L}from"./credit-card-CBlRgKpv.js";import{S as q}from"./search-BGMBKlYu.js";import{A as E}from"./arrow-left-Cl5wWEfz.js";import{G as H}from"./globe-D6J2RVre.js";import"./check-DCv_Nj_2.js";import"./badge-BmhJSggK.js";const f=b("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]),h=[{id:"getting-started",title:"Getting Started",icon:f,description:"Learn the basics of AppForge",articles:[{title:"What is AppForge?",content:"AppForge is an AI-powered no-code platform that converts any website into a native mobile app for iOS and Android. Simply enter your website URL, customize your app settings, and build a professional mobile application in minutes."},{title:"Creating Your First App",content:`To create your first app:

1. Navigate to the App Builder
2. Enter your website URL
3. Configure app settings (name, colors, icon)
4. Select your target platform (Android/iOS)
5. Click Build to generate your app`},{title:"Understanding the Dashboard",content:"The Dashboard provides an overview of all your projects, recent builds, and quick actions. You can manage your apps, view build history, and access settings from here."}]},{id:"app-builder",title:"App Builder",icon:x,description:"Build and customize your apps",articles:[{title:"App Configuration Options",content:`Customize your app with:

• App Name & Package ID
• Primary & Accent Colors
• Custom App Icon
• Splash Screen Design
• Navigation Style
• Feature Selection (Push Notifications, Camera, etc.)`},{title:"Choosing the Right Template",content:`AppForge offers preset templates optimized for different use cases:

• E-commerce: Product catalogs and shopping
• Blog/News: Content-focused layouts
• Business: Professional service apps
• Social: Community and engagement features`},{title:"Platform-Specific Settings",content:`Each platform has unique requirements:

• Android: Package name format (com.example.app)
• iOS: Bundle ID and App Store requirements
• Both: Icon sizes, splash screens, and permissions`}]},{id:"native-features",title:"Native Features",icon:I,description:"Camera, biometrics, haptics & more",articles:[{title:"Camera Integration",content:`Enable camera access in your app to:

• Capture photos directly
• Select images from gallery
• Scan QR codes and barcodes

Requires enabling the Camera feature in app configuration.`},{title:"Biometric Authentication",content:`Secure your app with biometric authentication:

• Face ID (iOS)
• Touch ID (iOS)
• Fingerprint (Android)
• Face Recognition (Android)

Provides an extra layer of security for sensitive operations.`},{title:"Haptic Feedback",content:`Enhance user experience with tactile feedback:

• Impact styles: Light, Medium, Heavy
• Notification types: Success, Warning, Error
• Custom vibration patterns

Haptics work on supported iOS and Android devices.`},{title:"Push Notifications",content:`Keep users engaged with push notifications:

• Send updates and alerts
• Promotional messages
• Transaction confirmations

Requires push notification certificates for iOS and Firebase setup for Android.`}]},{id:"subscription",title:"Plans & Credits",icon:L,description:"Billing, credits, and subscriptions",articles:[{title:"Understanding Credits",content:`Credits are used to build apps:

• Each build consumes credits based on complexity
• Monthly credits reset with your billing cycle
• Bonus credits never expire
• Purchase credit packs for additional builds`},{title:"Subscription Plans",content:`Choose the plan that fits your needs:

• Free: Limited builds to try the platform
• Pro: More credits and features for individuals
• Enterprise: Unlimited builds for teams

Upgrade or downgrade anytime.`},{title:"Payment Methods",content:`We accept multiple payment methods:

• Credit/Debit Cards (via Stripe)
• Bank Transfer
• PayPal
• Cryptocurrency`}]},{id:"account",title:"Account & Settings",icon:j,description:"Profile, security, preferences",articles:[{title:"Profile Settings",content:`Manage your account:

• Update display name and avatar
• Change email address
• Set company information
• Configure notification preferences`},{title:"Security Settings",content:`Keep your account secure:

• Change password
• Enable two-factor authentication
• Review login history
• Manage connected devices`},{title:"Notification Preferences",content:`Control how you receive updates:

• Email notifications
• Browser push notifications
• Sound alerts for build completion
• Marketing communications`}]}],R=[{question:"How long does it take to build an app?",answer:"Build times vary based on app complexity and selected features. Simple apps typically take 5-10 minutes, while apps with advanced features may take 15-20 minutes."},{question:"Can I publish my app to the App Store and Play Store?",answer:"Yes! AppForge generates production-ready APK (Android) and IPA (iOS) files that you can submit to Google Play Store and Apple App Store respectively."},{question:"Do I need coding experience?",answer:"No coding required! AppForge is a no-code platform designed for everyone. Simply enter your website URL and customize your app using our visual interface."},{question:"What websites work best with AppForge?",answer:"AppForge works with any responsive website. For best results, ensure your website is mobile-friendly and uses modern web technologies."},{question:"Can I update my app after publishing?",answer:"Absolutely! You can rebuild your app anytime with updated content or settings. Each rebuild uses credits from your account."},{question:"What happens if my build fails?",answer:"If a build fails, you will not be charged credits. Review the error message, adjust your settings, and try again. Contact support if issues persist."}],$=()=>{const[a,g]=l.useState(""),[o,c]=l.useState(null),y=h.filter(t=>t.title.toLowerCase().includes(a.toLowerCase())||t.description.toLowerCase().includes(a.toLowerCase())||t.articles.some(s=>s.title.toLowerCase().includes(a.toLowerCase())||s.content.toLowerCase().includes(a.toLowerCase()))),r=h.find(t=>t.id===o);return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[e.jsx(k,{}),e.jsx("main",{className:"flex-1 pt-24 pb-16",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h1",{className:"text-4xl font-display font-bold mb-4",children:"Help Center"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Find answers, learn features, and get the most out of AppForge"}),e.jsxs("div",{className:"max-w-xl mx-auto mt-8 relative",children:[e.jsx(q,{className:"absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground"}),e.jsx(N,{placeholder:"Search help articles...",value:a,onChange:t=>g(t.target.value),className:"pl-12 h-12 text-lg"})]})]}),o?e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs(d,{variant:"ghost",onClick:()=>c(null),className:"mb-6",children:[e.jsx(E,{className:"mr-2 h-4 w-4"}),"Back to Help Center"]}),r&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[e.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:e.jsx(r.icon,{className:"h-8 w-8 text-primary"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-display font-bold",children:r.title}),e.jsx("p",{className:"text-muted-foreground",children:r.description})]})]}),e.jsx("div",{className:"space-y-4",children:r.articles.map((t,s)=>e.jsxs(i,{children:[e.jsx(p,{children:e.jsx(m,{className:"text-lg",children:t.title})}),e.jsx(n,{children:e.jsx("p",{className:"text-muted-foreground whitespace-pre-line",children:t.content})})]},s))})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-12",children:[e.jsx(u,{to:"/builder",children:e.jsx(i,{className:"h-full hover:border-primary/50 transition-colors cursor-pointer",children:e.jsxs(n,{className:"p-4 flex items-center gap-3",children:[e.jsx(x,{className:"h-5 w-5 text-primary"}),e.jsx("span",{className:"font-medium",children:"Start Building"})]})})}),e.jsx("a",{href:"/docs/index.html",children:e.jsx(i,{className:"h-full hover:border-primary/50 transition-colors cursor-pointer",children:e.jsxs(n,{className:"p-4 flex items-center gap-3",children:[e.jsx(f,{className:"h-5 w-5 text-primary"}),e.jsx("span",{className:"font-medium",children:"Documentation"})]})})}),e.jsx(u,{to:"/dashboard",children:e.jsx(i,{className:"h-full hover:border-primary/50 transition-colors cursor-pointer",children:e.jsxs(n,{className:"p-4 flex items-center gap-3",children:[e.jsx(H,{className:"h-5 w-5 text-primary"}),e.jsx("span",{className:"font-medium",children:"My Projects"})]})})})]}),e.jsx("h2",{className:"text-xl font-display font-semibold mb-6",children:"Browse by Topic"}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-16",children:y.map(t=>e.jsxs(i,{className:"hover:border-primary/50 transition-colors cursor-pointer group",onClick:()=>c(t.id),children:[e.jsxs(p,{children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:"p-2.5 rounded-lg bg-primary/10 group-hover:bg-primary/20 transition-colors",children:e.jsx(t.icon,{className:"h-5 w-5 text-primary"})}),e.jsx(B,{className:"h-5 w-5 text-muted-foreground group-hover:text-primary transition-colors"})]}),e.jsx(m,{className:"mt-4",children:t.title}),e.jsx(w,{children:t.description})]}),e.jsx(n,{children:e.jsxs("p",{className:"text-sm text-muted-foreground",children:[t.articles.length," articles"]})})]},t.id))}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-display font-bold text-center mb-8",children:"Frequently Asked Questions"}),e.jsx(v,{type:"single",collapsible:!0,className:"w-full",children:R.map((t,s)=>e.jsxs(C,{value:`faq-${s}`,children:[e.jsx(S,{className:"text-left",children:t.question}),e.jsx(A,{className:"text-muted-foreground",children:t.answer})]},s))})]}),e.jsx(i,{className:"max-w-2xl mx-auto mt-16 bg-primary/5 border-primary/20",children:e.jsxs(n,{className:"p-8 text-center",children:[e.jsx(F,{className:"h-12 w-12 text-primary mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-display font-semibold mb-2",children:"Still need help?"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Our support team is here to assist you with any questions."}),e.jsx(d,{variant:"hero",size:"lg",children:"Contact Support"})]})})]})]})}),e.jsx(P,{})]})};export{$ as default};
