<turbo-stream action="update" target="analysis-result"><template><div class="space-y-6 animate-fade-in">
  <div class="bg-surface border border-border shadow-sm rounded-card p-6 sm:p-8 relative overflow-hidden">
  <div class="space-y-6">
    <div class="flex items-center justify-between">
      <h2 class="text-xl font-bold text-text-primary tracking-tight">Executive Summary</h2>
      <span class="text-sm font-bold text-accent font-mono">zellbury</span>
    </div>

    <p class="text-text-muted leading-relaxed text-sm sm:text-base">
      Zellbury is a prominent Pakistani fast-fashion retailer specializing in apparel, accessories, and home textiles for men, women, and children. AI assistants accurately identify Zellbury as a fashion brand but often provide superficial information, lacking depth on its value proposition or market differentiation. Their biggest strength in AI visibility lies in basic brand identification, while their biggest gap is the lack of detailed, structured information that would enable AIs to articulate unique selling points and competitive advantages. Zellbury requires targeted content optimization to improve AI-driven recommendations and comprehensive brand understanding.
    </p>

    <!-- Score Factors -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-4">
        <div class="flex items-center justify-between">
          <span class="text-xs font-bold tracking-wider text-accent uppercase">Score Breakdown</span>
          <span class="text-[0.6875rem] text-text-muted">Weighted Analysis</span>
        </div>
        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
            <div class="bg-surface px-4 py-3.5 rounded-card border border-border space-y-2">
              <div class="flex justify-between items-center">
                <span class="text-xs text-text-primary font-bold">Brand Recognition (Regional)</span>
                <span class="text-xs font-mono font-bold text-text-primary">85</span>
              </div>
              <div class="w-full bg-surface-bg rounded-full h-1.5 overflow-hidden border border-border">
                <div class="bg-accent h-full rounded-full transition-all duration-1000 ease-out"
                     style="width: 0%;"
                     data-controller="progressbar"
                     data-progressbar-target-width="85%"></div>
              </div>
              <div class="flex justify-between items-center text-[0.6875rem] text-text-muted">
                <span class="font-light">Within Pakistan, Zellbury has strong brand recall, ensuring AIs correctly identify its core business and geographic presence.</span>
                <span class="font-mono font-bold">30%</span>
              </div>
            </div>
            <div class="bg-surface px-4 py-3.5 rounded-card border border-border space-y-2">
              <div class="flex justify-between items-center">
                <span class="text-xs text-text-primary font-bold">Product Categorization Accuracy</span>
                <span class="text-xs font-mono font-bold text-text-primary">80</span>
              </div>
              <div class="w-full bg-surface-bg rounded-full h-1.5 overflow-hidden border border-border">
                <div class="bg-accent h-full rounded-full transition-all duration-1000 ease-out"
                     style="width: 0%;"
                     data-controller="progressbar"
                     data-progressbar-target-width="80%"></div>
              </div>
              <div class="flex justify-between items-center text-[0.6875rem] text-text-muted">
                <span class="font-light">AI accurately classifies Zellbury&#39;s offerings into apparel, footwear, and accessories, reflecting common retail categories.</span>
                <span class="font-mono font-bold">25%</span>
              </div>
            </div>
            <div class="bg-surface px-4 py-3.5 rounded-card border border-border space-y-2">
              <div class="flex justify-between items-center">
                <span class="text-xs text-text-primary font-bold">Market Differentiation Clarity</span>
                <span class="text-xs font-mono font-bold text-text-primary">60</span>
              </div>
              <div class="w-full bg-surface-bg rounded-full h-1.5 overflow-hidden border border-border">
                <div class="bg-accent h-full rounded-full transition-all duration-1000 ease-out"
                     style="width: 0%;"
                     data-controller="progressbar"
                     data-progressbar-target-width="60%"></div>
              </div>
              <div class="flex justify-between items-center text-[0.6875rem] text-text-muted">
                <span class="font-light">AIs struggle to articulate Zellbury&#39;s specific competitive advantages beyond &#39;affordable fashion&#39; when compared to other regional brands.</span>
                <span class="font-mono font-bold">20%</span>
              </div>
            </div>
        </div>
      </div>
  </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6">
  <div class="flex items-center justify-between mb-5">
    <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">Brand Snapshot</h3>
      <a href="https://www.zellbury.com" target="_blank" rel="noopener"
         class="text-[0.6875rem] text-accent hover:text-accent/80 transition-colors flex items-center gap-1">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3 h-3">
  <path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"></path>
  <path d="M11 13l9 -9"></path>
  <path d="M15 4h5v5"></path>
</svg>
        <span>Visit Website</span>
      </a>
  </div>

  <div class="grid grid-cols-2 sm:grid-cols-4 gap-4">
      <div class="space-y-1">
        <span class="block text-[0.6875rem] font-bold tracking-wider text-text-muted uppercase">Industry</span>
        <span class="block text-sm text-text-primary font-medium">Fashion Retail</span>
      </div>
      <div class="space-y-1">
        <span class="block text-[0.6875rem] font-bold tracking-wider text-text-muted uppercase">Headquarters</span>
        <span class="block text-sm text-text-primary font-medium">Karachi, Pakistan</span>
      </div>
      <div class="space-y-1">
        <span class="block text-[0.6875rem] font-bold tracking-wider text-text-muted uppercase">Founded</span>
        <span class="block text-sm text-text-primary font-medium">2016</span>
      </div>
      <div class="space-y-1">
        <span class="block text-[0.6875rem] font-bold tracking-wider text-text-muted uppercase">Company Size</span>
        <span class="block text-sm text-text-primary font-medium">Mid-Market</span>
      </div>
      <div class="space-y-1">
        <span class="block text-[0.6875rem] font-bold tracking-wider text-text-muted uppercase">Business Model</span>
        <span class="block text-sm text-text-primary font-medium">B2C</span>
      </div>
  </div>

    <div class="mt-5 flex flex-wrap gap-2">
        <span class="px-2.5 py-1 rounded-badge text-[0.6875rem] font-semibold bg-accent-subtle border border-accent-border/30 text-accent">Apparel</span>
        <span class="px-2.5 py-1 rounded-badge text-[0.6875rem] font-semibold bg-accent-subtle border border-accent-border/30 text-accent">Footwear</span>
        <span class="px-2.5 py-1 rounded-badge text-[0.6875rem] font-semibold bg-accent-subtle border border-accent-border/30 text-accent">Accessories</span>
        <span class="px-2.5 py-1 rounded-badge text-[0.6875rem] font-semibold bg-accent-subtle border border-accent-border/30 text-accent">Home Textiles</span>
    </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6">
  <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase mb-4">Company Overview</h3>
  <p class="text-text-primary leading-relaxed text-sm">Zellbury is a Pakistani fashion and lifestyle brand offering ready-to-wear and unstitched clothing, footwear, accessories, and home items. The company targets a broad consumer base with affordable fashion, operating through an extensive network of physical stores across Pakistan and a robust e-commerce platform.</p>
</div>

  <div class="bg-surface border border-border rounded-card p-6">
  <div class="flex items-center justify-between mb-5">
    <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">Products & Services</h3>
    <span class="text-[0.6875rem] text-text-muted">3 identified</span>
  </div>

  <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
      <div class="bg-surface-bg border border-border rounded-card p-4 space-y-2.5">
        <h4 class="text-sm font-bold text-text-primary">Ready-to-Wear Apparel</h4>
        <p class="text-xs text-text-muted leading-relaxed">Pre-stitched clothing for men, women, and children.</p>

          <div class="flex items-start gap-2 pt-1">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3.5 h-3.5 text-accent mt-0.5 shrink-0">
  <path d="M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"></path>
  <path d="M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"></path>
  <path d="M9.7 17l4.6 0"></path>
</svg>
            <span class="text-[11px] text-text-muted leading-relaxed"><strong class="text-text-primary font-medium">AI Perception:</strong> AI assistants accurately describe this as a core offering, often mentioning &#39;dresses&#39; or &#39;casual wear&#39; but rarely detailing specific seasonal collections or fabric types.</span>
          </div>
      </div>
      <div class="bg-surface-bg border border-border rounded-card p-4 space-y-2.5">
        <h4 class="text-sm font-bold text-text-primary">Unstitched Fabric</h4>
        <p class="text-xs text-text-muted leading-relaxed">Loose fabric sold in sets, allowing customers to customize their garments.</p>

          <div class="flex items-start gap-2 pt-1">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3.5 h-3.5 text-accent mt-0.5 shrink-0">
  <path d="M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"></path>
  <path d="M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"></path>
  <path d="M9.7 17l4.6 0"></path>
</svg>
            <span class="text-[11px] text-text-muted leading-relaxed"><strong class="text-text-primary font-medium">AI Perception:</strong> AI generally recognizes this product, a common offering in South Asian fashion, but often treats it as a generic &#39;fabric&#39; rather than a distinct fashion category unique to the market.</span>
          </div>
      </div>
      <div class="bg-surface-bg border border-border rounded-card p-4 space-y-2.5">
        <h4 class="text-sm font-bold text-text-primary">Footwear &amp; Accessories</h4>
        <p class="text-xs text-text-muted leading-relaxed">Shoes, bags, and jewelry designed to complement their apparel lines.</p>

          <div class="flex items-start gap-2 pt-1">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3.5 h-3.5 text-accent mt-0.5 shrink-0">
  <path d="M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"></path>
  <path d="M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"></path>
  <path d="M9.7 17l4.6 0"></path>
</svg>
            <span class="text-[11px] text-text-muted leading-relaxed"><strong class="text-text-primary font-medium">AI Perception:</strong> AI typically lists these as additional products, without elaborating on their style, quality, or how they align with the brand&#39;s main fashion aesthetic.</span>
          </div>
      </div>
  </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6 space-y-6">
  <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">Deep AI Visibility Analysis</h3>

  <div class="grid grid-cols-1 md:grid-cols-2 gap-6">

    <!-- AI Understanding -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <div class="flex items-center justify-between">
          <span class="text-[11px] font-bold tracking-wider text-accent uppercase">AI Understanding</span>
          <span class="px-2 py-0.5 rounded text-[0.6875rem] font-bold border text-emerald-600 dark:text-emerald-400 bg-emerald-500/10 border-emerald-500/20">High Accuracy</span>
        </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Common Mistakes</span>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted leading-relaxed">AI models sometimes omit the founding year, providing only general brand information.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted leading-relaxed">AIs rarely distinguish Zellbury&#39;s specific design ethos or target demographic within the broader fast-fashion segment.</span>
              </div>
          </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Missing Context</span>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">○</span>
                <span class="text-xs text-text-muted leading-relaxed">The extent of Zellbury&#39;s physical store network across Pakistan and its significance as a retail presence.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">○</span>
                <span class="text-xs text-text-muted leading-relaxed">Specific details on the brand&#39;s focus on affordability and value in a competitive market.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">○</span>
                <span class="text-xs text-text-muted leading-relaxed">Any potential sustainability initiatives or corporate social responsibility efforts.</span>
              </div>
          </div>
      </div>

    <!-- Recommendation Likelihood -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <div class="flex items-center justify-between">
          <span class="text-[11px] font-bold tracking-wider text-accent uppercase">Recommendation Likelihood</span>
          <span class="text-lg font-black text-text-primary">72<span class="text-text-muted text-xs font-normal">/100</span></span>
        </div>

          <div class="space-y-2">
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 space-y-1">
                <p class="text-xs text-text-primary font-medium">"Tell me about popular Pakistani fashion brands."</p>
                <div class="flex items-center gap-3 text-[0.6875rem]">
                  <span class="text-emerald-600 dark:text-emerald-400 font-semibold">
                    ✓ Mentioned
                  </span>
                    <span class="text-text-muted">Position: <strong class="text-text-primary">2nd / 3rd</strong></span>
                </div>
                  <p class="text-[0.6875rem] text-text-muted">AI often lists Zellbury after major players like Khaadi or Sapphire, indicating decent but not top-tier visibility.</p>
              </div>
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 space-y-1">
                <p class="text-xs text-text-primary font-medium">"Where can I buy affordable clothing in Pakistan?"</p>
                <div class="flex items-center gap-3 text-[0.6875rem]">
                  <span class="text-emerald-600 dark:text-emerald-400 font-semibold">
                    ✓ Mentioned
                  </span>
                    <span class="text-text-muted">Position: <strong class="text-text-primary">2nd / 3rd</strong></span>
                </div>
                  <p class="text-[0.6875rem] text-text-muted">AI recognizes Zellbury as an option for budget-conscious shoppers, but may not highlight it as the primary recommendation.</p>
              </div>
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 space-y-1">
                <p class="text-xs text-text-primary font-medium">"What are the latest fashion trends in Pakistan?"</p>
                <div class="flex items-center gap-3 text-[0.6875rem]">
                  <span class="text-red-600 dark:text-red-400 font-semibold">
                    ✕ Not mentioned
                  </span>
                    <span class="text-text-muted">Position: <strong class="text-text-primary">Not mentioned</strong></span>
                </div>
                  <p class="text-[0.6875rem] text-text-muted">AI assistants rarely link Zellbury directly to current trend discussions, suggesting a content gap around fashion authority.</p>
              </div>
          </div>
      </div>

    <!-- Citation Analysis -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <div class="flex items-center justify-between">
          <span class="text-[11px] font-bold tracking-wider text-accent uppercase">Citation Analysis</span>
          <span class="px-2 py-0.5 rounded text-[0.6875rem] font-bold border text-amber-600 dark:text-amber-400 bg-amber-500/10 border-amber-500/20">Moderate</span>
        </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Primary Sources</span>
            <div class="flex flex-wrap gap-1.5">
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-medium bg-surface border border-border text-text-primary">Zellbury.com (official website)</span>
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-medium bg-surface border border-border text-text-primary">Local Pakistani news outlets (e.g., Dawn, The News International)</span>
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-medium bg-surface border border-border text-text-primary">E-commerce directories and review sites specific to Pakistan</span>
            </div>
          </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Missing Sources</span>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">○</span>
                <span class="text-xs text-text-muted">Fashion blogs or lifestyle publications that could provide deeper insights into collections or brand philosophy.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">○</span>
                <span class="text-xs text-text-muted">Structured corporate profiles on business databases or industry association websites.</span>
              </div>
          </div>
      </div>

    <!-- Competitive Position -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <div class="flex items-center justify-between">
          <span class="text-[11px] font-bold tracking-wider text-accent uppercase">Competitive Position</span>
          <span class="text-[0.6875rem] font-semibold text-red-600 dark:text-red-400">Unclear Differentiation</span>
        </div>

          <div class="space-y-2">
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 flex items-start justify-between gap-3">
                <div class="min-w-0">
                  <span class="text-xs text-text-primary font-bold">Khaadi</span>
                  <p class="text-xs text-text-muted leading-relaxed mt-1">AI often prioritizes Khaadi due to its larger brand recognition, broader international presence, and more extensive media coverage.</p>
                </div>
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-bold border shrink-0 mt-0.5 text-emerald-600 dark:text-emerald-400 bg-emerald-500/10 border-emerald-500/20">Favored</span>
              </div>
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 flex items-start justify-between gap-3">
                <div class="min-w-0">
                  <span class="text-xs text-text-primary font-bold">Sapphire</span>
                  <p class="text-xs text-text-muted leading-relaxed mt-1">Sapphire is frequently mentioned first for its strong marketing, diverse product lines, and perceived higher-end positioning compared to Zellbury.</p>
                </div>
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-bold border shrink-0 mt-0.5 text-emerald-600 dark:text-emerald-400 bg-emerald-500/10 border-emerald-500/20">Favored</span>
              </div>
              <div class="bg-surface border border-border rounded-card px-3 py-2.5 flex items-start justify-between gap-3">
                <div class="min-w-0">
                  <span class="text-xs text-text-primary font-bold">Nishat Linen</span>
                  <p class="text-xs text-text-muted leading-relaxed mt-1">AI treats Nishat Linen similarly to Zellbury, acknowledging both as prominent mid-range Pakistani fashion retailers without strong preference.</p>
                </div>
                <span class="px-2 py-0.5 rounded text-[0.6875rem] font-bold border shrink-0 mt-0.5 text-text-muted bg-surface-bg border border-border">Equal</span>
              </div>
          </div>
      </div>

    <!-- Content Coverage -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <span class="text-[11px] font-bold tracking-wider text-accent uppercase">Content Coverage</span>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Well Covered</span>
              <div class="flex items-start gap-2">
                <span class="text-emerald-600 dark:text-emerald-400 text-xs mt-0.5">✓</span>
                <span class="text-xs text-text-muted">Basic brand identity as a Pakistani fashion retailer</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-emerald-600 dark:text-emerald-400 text-xs mt-0.5">✓</span>
                <span class="text-xs text-text-muted">List of core product categories (apparel, accessories)</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-emerald-600 dark:text-emerald-400 text-xs mt-0.5">✓</span>
                <span class="text-xs text-text-muted">Presence of both online and physical stores</span>
              </div>
          </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Gaps</span>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted">Specific design philosophies or unique selling propositions (e.g., fast fashion cycle, specific fabric innovations).</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted">Company history, milestones, or leadership information.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted">Customer service policies or return processes.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-negative text-xs mt-0.5">✕</span>
                <span class="text-xs text-text-muted">Any community involvement or sustainability initiatives.</span>
              </div>
          </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Opportunities</span>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">◆</span>
                <span class="text-xs text-text-muted">Content detailing the unique aspects of Zellbury&#39;s collections and design process.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">◆</span>
                <span class="text-xs text-text-muted">Structured content highlighting brand values and market positioning.</span>
              </div>
              <div class="flex items-start gap-2">
                <span class="text-status-warning text-xs mt-0.5">◆</span>
                <span class="text-xs text-text-muted">Press releases and &#39;About Us&#39; pages optimized for AI ingestion, including key facts and figures.</span>
              </div>
          </div>
      </div>

    <!-- Trust Signals -->
      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3">
        <span class="text-[11px] font-bold tracking-wider text-accent uppercase">Trust Signals</span>

        <div class="grid grid-cols-2 gap-3">
          <div class="space-y-1">
            <span class="text-[0.6875rem] text-text-muted uppercase tracking-wider">Review Presence</span>
            <span class="block text-sm text-text-primary font-bold">Moderate</span>
          </div>
          <div class="space-y-1">
            <span class="text-[0.6875rem] text-text-muted uppercase tracking-wider">Transparency</span>
            <span class="block text-sm text-text-primary font-bold">Medium</span>
          </div>
        </div>

          <div class="space-y-1.5">
            <span class="text-[0.6875rem] text-text-muted font-semibold uppercase tracking-wider">Authority Indicators</span>
            <div class="flex flex-wrap gap-1.5">
                <span class="px-2 py-0.5 rounded-badge text-[0.6875rem] font-semibold bg-emerald-500/10 border border-emerald-500/20 text-emerald-600">Established e-commerce platform</span>
                <span class="px-2 py-0.5 rounded-badge text-[0.6875rem] font-semibold bg-emerald-500/10 border border-emerald-500/20 text-emerald-600">Extensive physical retail presence across Pakistan</span>
                <span class="px-2 py-0.5 rounded-badge text-[0.6875rem] font-semibold bg-emerald-500/10 border border-emerald-500/20 text-emerald-600">Mentions in local business and fashion news</span>
            </div>
          </div>
      </div>

  </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6 space-y-5">
  <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">AI Answer Engine Performance</h3>

  <div class="grid grid-cols-1 md:grid-cols-2 gap-5">


      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 flex flex-col justify-between">
        <div class="space-y-2">
          <div class="flex justify-between items-center">
            <div class="flex items-center gap-2">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 text-orange-600 shrink-0">
  <path d="M15.5 13a3.5 3.5 0 0 0 -3.5 3.5v1a3.5 3.5 0 0 0 7 0v-1.8"></path>
  <path d="M8.5 13a3.5 3.5 0 0 1 3.5 3.5v1a3.5 3.5 0 0 1 -7 0v-1.8"></path>
  <path d="M17.5 16a3.5 3.5 0 0 0 0 -7h-.5"></path>
  <path d="M19 9.3v-2.8a3.5 3.5 0 0 0 -7 0"></path>
  <path d="M6.5 16a3.5 3.5 0 0 1 0 -7h.5"></path>
  <path d="M5 9.3v-2.8a3.5 3.5 0 0 1 7 0v10"></path>
</svg>
              <span class="text-sm font-bold text-text-primary">Claude</span>
            </div>
            <span class="text-xs font-semibold px-2 py-0.5 rounded-badge bg-accent-subtle text-accent border border-accent-border/30">82/100</span>
          </div>
          <!-- Progress Bar -->
          <div class="w-full bg-surface rounded-full h-2.5 overflow-hidden border border-border">
            <div class="bg-gradient-to-r from-accent to-accent/75 h-full rounded-full transition-all duration-1000 ease-out"
                 style="width: 0%;"
                 data-controller="progressbar"
                 data-progressbar-target-width="82%"></div>
          </div>
        </div>
        <!-- Platform Insight -->
          <p class="text-xs text-text-muted leading-relaxed pt-1">Claude offers similar accuracy to ChatGPT but sometimes provides slightly more nuanced descriptions if prompted about specific fashion categories within Pakistan. It tends to synthesize information effectively but still lacks granular detail on Zellbury&#39;s unique market position or operational specifics, often focusing on its retail offerings.</p>
      </div>

      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 flex flex-col justify-between">
        <div class="space-y-2">
          <div class="flex justify-between items-center">
            <div class="flex items-center gap-2">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 text-blue-500 shrink-0">
  <path d="M20.945 11a9 9 0 1 1 -3.284 -5.997l-2.655 2.392a5.5 5.5 0 1 0 2.119 6.605h-4.125v-3h7.945"></path>
</svg>
              <span class="text-sm font-bold text-text-primary">Gemini</span>
            </div>
            <span class="text-xs font-semibold px-2 py-0.5 rounded-badge bg-accent-subtle text-accent border border-accent-border/30">78/100</span>
          </div>
          <!-- Progress Bar -->
          <div class="w-full bg-surface rounded-full h-2.5 overflow-hidden border border-border">
            <div class="bg-gradient-to-r from-accent to-accent/75 h-full rounded-full transition-all duration-1000 ease-out"
                 style="width: 0%;"
                 data-controller="progressbar"
                 data-progressbar-target-width="78%"></div>
          </div>
        </div>
        <!-- Platform Insight -->
          <p class="text-xs text-text-muted leading-relaxed pt-1">Gemini generally presents correct information about Zellbury, recognizing its status as a significant local brand. Its responses are typically succinct, prioritizing factual recall over analytical depth. It might occasionally surface slightly older information if not prompted for recent updates, reflecting its reliance on indexed content.</p>
      </div>

      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 flex flex-col justify-between">
        <div class="space-y-2">
          <div class="flex justify-between items-center">
            <div class="flex items-center gap-2">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 text-emerald-500 shrink-0">
  <path d="M11.217 19.384a3.501 3.501 0 0 0 6.783 -1.217v-5.167l-6 -3.35"></path>
  <path d="M5.214 15.014a3.501 3.501 0 0 0 4.446 5.266l4.34 -2.534v-6.946"></path>
  <path d="M6 7.63c-1.391 -.236 -2.787 .395 -3.534 1.689a3.474 3.474 0 0 0 1.271 4.745l4.263 2.514l6 -3.348"></path>
  <path d="M12.783 4.616a3.501 3.501 0 0 0 -6.783 1.217v5.067l6 3.45"></path>
  <path d="M18.786 8.986a3.501 3.501 0 0 0 -4.446 -5.266l-4.34 2.534v6.946"></path>
  <path d="M18 16.302c1.391 .236 2.787 -.395 3.534 -1.689a3.474 3.474 0 0 0 -1.271 -4.745l-4.308 -2.514l-5.955 3.42"></path>
</svg>
              <span class="text-sm font-bold text-text-primary">ChatGPT</span>
            </div>
            <span class="text-xs font-semibold px-2 py-0.5 rounded-badge bg-accent-subtle text-accent border border-accent-border/30">80/100</span>
          </div>
          <!-- Progress Bar -->
          <div class="w-full bg-surface rounded-full h-2.5 overflow-hidden border border-border">
            <div class="bg-gradient-to-r from-accent to-accent/75 h-full rounded-full transition-all duration-1000 ease-out"
                 style="width: 0%;"
                 data-controller="progressbar"
                 data-progressbar-target-width="80%"></div>
          </div>
        </div>
        <!-- Platform Insight -->
          <p class="text-xs text-text-muted leading-relaxed pt-1">ChatGPT provides accurate foundational information about Zellbury, identifying it as a Pakistani fashion brand with various product lines. It often pulls data from general web sources and its training data, offering a concise overview without deep market analysis or competitive differentiation. It struggles to elaborate on specific collections or brand ethos.</p>
      </div>

      <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 flex flex-col justify-between">
        <div class="space-y-2">
          <div class="flex justify-between items-center">
            <div class="flex items-center gap-2">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 text-teal-600 shrink-0">
  <path d="M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"></path>
  <path d="M21 21l-6 -6"></path>
</svg>
              <span class="text-sm font-bold text-text-primary">Perplexity</span>
            </div>
            <span class="text-xs font-semibold px-2 py-0.5 rounded-badge bg-accent-subtle text-accent border border-accent-border/30">75/100</span>
          </div>
          <!-- Progress Bar -->
          <div class="w-full bg-surface rounded-full h-2.5 overflow-hidden border border-border">
            <div class="bg-gradient-to-r from-accent to-accent/75 h-full rounded-full transition-all duration-1000 ease-out"
                 style="width: 0%;"
                 data-controller="progressbar"
                 data-progressbar-target-width="75%"></div>
          </div>
        </div>
        <!-- Platform Insight -->
          <p class="text-xs text-text-muted leading-relaxed pt-1">Perplexity, leveraging live web search, quickly identifies Zellbury and links to its official website and relevant news articles. While it provides accurate current information, its summaries often directly quote or paraphrase sources without extensive synthesis, making its understanding somewhat reactive to available web content rather than deeply integrated.</p>
      </div>
  </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6 space-y-4">
  <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">Key Insights</h3>

  <div class="space-y-3">

      <div class="flex items-start gap-3 p-3 rounded-card border bg-emerald-500/5 dark:bg-emerald-500/10 border-emerald-500/20">
        <span class="text-emerald-600 dark:text-emerald-400 text-sm mt-0.5 shrink-0">✓</span>
        <div class="min-w-0">
          <span class="text-[0.6875rem] font-bold tracking-wider uppercase text-emerald-600 dark:text-emerald-400">Strength</span>
          <p class="text-sm text-text-primary leading-relaxed mt-0.5">AI assistants consistently identify Zellbury as a prominent Pakistani fashion retailer with accuracy, especially regarding its product categories and geographic focus. This strong foundational recognition ensures basic queries about the brand yield correct information.</p>
        </div>
      </div>

      <div class="flex items-start gap-3 p-3 rounded-card border bg-amber-500/5 dark:bg-amber-500/10 border-amber-500/20">
        <span class="text-amber-600 dark:text-amber-400 text-sm mt-0.5 shrink-0">⚠</span>
        <div class="min-w-0">
          <span class="text-[0.6875rem] font-bold tracking-wider uppercase text-amber-600 dark:text-amber-400">Warning</span>
          <p class="text-sm text-text-primary leading-relaxed mt-0.5">Zellbury&#39;s differentiation from competitors remains unclear to AI. While AIs list Zellbury alongside brands like Khaadi and Sapphire, they fail to articulate why a consumer would choose Zellbury over these alternatives, potentially leading to lost recommendations in generic queries.</p>
        </div>
      </div>

      <div class="flex items-start gap-3 p-3 rounded-card border bg-fuchsia-500/5 dark:bg-fuchsia-500/10 border-fuchsia-500/20">
        <span class="text-fuchsia-600 dark:text-fuchsia-400 text-sm mt-0.5 shrink-0">◆</span>
        <div class="min-w-0">
          <span class="text-[0.6875rem] font-bold tracking-wider uppercase text-fuchsia-600 dark:text-fuchsia-400">Opportunity</span>
          <p class="text-sm text-text-primary leading-relaxed mt-0.5">Significant opportunity exists to provide AI with structured, descriptive content about Zellbury&#39;s unique value proposition, such as its focus on affordability, specific design aesthetics, or quality commitments. This would enable AIs to offer more compelling and differentiated brand narratives.</p>
        </div>
      </div>
  </div>
</div>

  <div class="bg-surface border border-border rounded-card p-6 space-y-6">
  <div class="flex flex-col sm:flex-row justify-between sm:items-center gap-2">
    <div>
      <h3 class="text-xs font-bold tracking-wider text-text-muted uppercase">Improvement Roadmap</h3>
      <p class="text-xs text-text-muted mt-1">Prioritized actions to boost your AI visibility and recommendation rate.</p>
    </div>
    <span class="text-[0.6875rem] font-semibold text-accent bg-accent-subtle border border-accent-border/30 px-3 py-1 rounded-badge uppercase tracking-wider shrink-0">
      6 Actions
    </span>
  </div>



    <div class="space-y-3">
      <div class="flex items-center gap-2">
        <div class="w-8 h-0.5 bg-gradient-to-r from-red-500 to-fuchsia-500 rounded-full"></div>
        <span class="text-[11px] font-bold tracking-wider text-text-muted uppercase">High Impact</span>
        <span class="text-[0.6875rem] text-text-muted">(2)</span>
      </div>

      <div class="grid grid-cols-1 gap-4">
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-red-500 to-fuchsia-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-red-500/10 border-red-500/20 text-red-600 dark:text-red-400">High Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Develop an AI-Optimized &#39;About Us&#39; Page</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, especially those relying on web scraping and knowledge graphs (e.g., Gemini, Perplexity, Google Search AI features)</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Medium</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">Create a dedicated &#39;About Us&#39; section on the website with clear, concise, and structured data (e.g., schema markup) outlining founding year, mission, values, company size, unique selling propositions (e.g., &#39;affordable fast fashion for all&#39;), and key milestones. This provides AIs with readily digestible, authoritative information.</p>
          </div>
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-red-500 to-fuchsia-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-red-500/10 border-red-500/20 text-red-600 dark:text-red-400">High Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Publish Definitive Brand Story Content</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, enhancing depth and trustworthiness of responses across ChatGPT, Claude, Gemini.</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Hard</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">Produce long-form articles, blog posts, or PR pieces that narrate Zellbury&#39;s brand journey, design philosophy, and commitment to affordability. Ensure this content is distributed across reputable fashion and business publications, establishing authoritative sources for AI to cite.</p>
          </div>
      </div>
    </div>

    <div class="space-y-3">
      <div class="flex items-center gap-2">
        <div class="w-8 h-0.5 bg-gradient-to-r from-amber-500 to-orange-500 rounded-full"></div>
        <span class="text-[11px] font-bold tracking-wider text-text-muted uppercase">Medium Impact</span>
        <span class="text-[0.6875rem] text-text-muted">(2)</span>
      </div>

      <div class="grid grid-cols-1 gap-4">
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-amber-500 to-orange-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-amber-500/10 border-amber-500/20 text-amber-600 dark:text-amber-400">Medium Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Optimize Product Descriptions for AI</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, improving accuracy and detail in product-specific queries.</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Medium</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">Enhance e-commerce product descriptions to include more descriptive keywords, fabric details, style inspirations, and unique selling points for each item. This allows AI to provide richer detail when users ask about specific product types or collections.</p>
          </div>
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-amber-500 to-orange-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-amber-500/10 border-amber-500/20 text-amber-600 dark:text-amber-400">Medium Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Cultivate External Citations with Key Differentiators</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, especially Perplexity and those leveraging broader web content.</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Hard</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">Engage with relevant fashion bloggers, influencers, and review platforms to encourage content that explicitly mentions Zellbury&#39;s unique aspects (e.g., &#39;Zellbury stands out for its unmatched value in ready-to-wear&#39;). These external sources will reinforce AI&#39;s understanding.</p>
          </div>
      </div>
    </div>

    <div class="space-y-3">
      <div class="flex items-center gap-2">
        <div class="w-8 h-0.5 bg-gradient-to-r from-blue-500 to-indigo-500 rounded-full"></div>
        <span class="text-[11px] font-bold tracking-wider text-text-muted uppercase">Low Impact</span>
        <span class="text-[0.6875rem] text-text-muted">(2)</span>
      </div>

      <div class="grid grid-cols-1 gap-4">
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-blue-500 to-indigo-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-blue-500/10 border-blue-500/20 text-blue-600 dark:text-blue-400">Low Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Standardize FAQ Section for AI Q&amp;A</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, improving direct answer capabilities for common questions.</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Easy</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">Implement a comprehensive FAQ section on the website that directly answers common customer queries about Zellbury (e.g., &#39;What is Zellbury known for?&#39;, &#39;What makes Zellbury different?&#39;). Structure these answers clearly for AI to extract for direct responses.</p>
          </div>
          <div class="bg-surface-bg border border-border rounded-card p-5 space-y-3 relative overflow-hidden group">
            <!-- Bottom accent bar -->
            <div class="absolute bottom-0 inset-x-0 h-0.5 bg-gradient-to-r from-blue-500 to-indigo-500 opacity-40 group-hover:opacity-70 transition-opacity"></div>

            <div class="flex flex-wrap items-center justify-between gap-3">
              <div class="flex items-center gap-3">
                <span class="px-2.5 py-0.5 rounded text-[0.6875rem] font-bold border uppercase bg-blue-500/10 border-blue-500/20 text-blue-600 dark:text-blue-400">Low Impact</span>
                <h4 class="text-sm font-bold text-text-primary">Update Wikipedia Page (if applicable)</h4>
              </div>

              <div class="flex items-center gap-4 text-xs">
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Impact:</span>
                    <span class="font-medium text-text-primary">All engines, as Wikipedia is a common source of foundational knowledge.</span>
                  </div>
                  <div class="flex items-center gap-1.5 text-text-muted">
                    <span class="text-text-muted font-light">Effort:</span>
                    <span class="font-medium text-text-primary">Easy</span>
                  </div>
              </div>
            </div>

            <p class="text-xs sm:text-sm text-text-primary leading-relaxed">If a Wikipedia page exists, ensure it is up-to-date, factual, and comprehensive, including company history, product lines, and key differentiators. Wikipedia is a highly trusted source for many AI models.</p>
          </div>
      </div>
    </div>
</div>

  
</div>
</template></turbo-stream><turbo-stream action="update" target="brand-error"><template></template></turbo-stream>