/* global React, ReactDOM, AIInfluencerHero, OffCameraSection, CastSection, IdentitySection, VoiceLiveSection, RosterSection, MonetizeSection, HerStudioSection, FinalSection, MAIPage */
// AI Influencer solutions page — assembly + layout tweak (desktop / mobile).
const AI_TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{
  "layout": (window.SZ_LAYOUT || "desktop")
} /*EDITMODE-END*/;

const AI_LOCALS = { '/ai-influencer': 'Hero — AI Influencer', '09 Voice and Live': '04 Voice and Live', '15 Pricing': '08 Pricing', '16 FAQ': '09 FAQ' };

const AIInfluencerPage = () => {
  const [t, setTweak] = window.useTweaks(AI_TWEAK_DEFAULTS);
  const mobile = t.layout === 'mobile';
  return (
    <React.Fragment>
      {mobile ? <MAIPage /> :
      <div style={{ fontFamily: 'var(--font-sans)' }}>
          <div data-screen-label="Hero — AI Influencer"><AIInfluencerHero /></div>
          <div data-screen-label="01 Off camera"><OffCameraSection /></div>
          <div data-screen-label="02 Cast from zero"><CastSection /></div>
          <div data-screen-label="03 Identity lock"><IdentitySection /></div>
          <div data-screen-label="04 Voice and Live"><VoiceLiveSection /></div>
          <div data-screen-label="05 The roster"><RosterSection /></div>
          <div data-screen-label="06 The toolkit"><window.FeatureRackSection /></div>
          <div data-screen-label="07 Brand deals"><window.BrandDealsSection bg="#fff" audience="ai" /></div>
          <div data-screen-label="08 Pricing"><window.PricingSection /></div>
          <div data-screen-label="09 FAQ"><window.FAQSection /></div>
          <div data-screen-label="CTA + Footer"><FinalSection /></div>
          <window.SozeeNav revealAfter="always" logoHref="/" siteHref="/" localLabels={AI_LOCALS} />
        </div>
      }
      <window.TweaksPanel>
        <window.TweakSection label="Layout" />
        <window.TweakRadio label="Viewport" value={t.layout}
        options={[{ value: 'desktop', label: 'Desktop' }, { value: 'mobile', label: 'Mobile' }]}
        onChange={(v) => setTweak('layout', v)} />
      </window.TweaksPanel>
    </React.Fragment>);

};
ReactDOM.createRoot(document.getElementById('root')).render(<AIInfluencerPage />);