<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
  <!-- Background -->
  <rect width="400" height="400" fill="#f8fafc"/>

  <!-- Gradient Definitions -->
  <defs>
    <linearGradient id="blueGradient" x1="0%" y1="0%" x2="100%" y2="100%">
      <stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
      <stop offset="100%" style="stop-color:#1e40af;stop-opacity:1" />
    </linearGradient>
    <linearGradient id="purpleGradient" x1="0%" y1="0%" x2="100%" y2="100%">
      <stop offset="0%" style="stop-color:#8b5cf6;stop-opacity:1" />
      <stop offset="100%" style="stop-color:#6d28d9;stop-opacity:1" />
    </linearGradient>
    <linearGradient id="grayGradient" x1="0%" y1="0%" x2="0%" y2="100%">
      <stop offset="0%" style="stop-color:#e5e7eb;stop-opacity:1" />
      <stop offset="100%" style="stop-color:#9ca3af;stop-opacity:1" />
    </linearGradient>
  </defs>

  <!-- Left Image Card (Original) -->
  <g id="leftImage">
    <!-- Card background -->
    <rect x="40" y="100" width="140" height="200" rx="12" fill="white" stroke="#e5e7eb" stroke-width="2"/>

    <!-- Image container -->
    <rect x="50" y="110" width="120" height="90" rx="6" fill="url(#grayGradient)"/>

    <!-- Simple mountain/photo icon -->
    <path d="M 60 180 L 80 155 L 100 170 L 130 145 L 160 180 Z" fill="#3b82f6" opacity="0.6"/>
    <circle cx="145" cy="130" r="8" fill="#fbbf24"/>

    <!-- Text lines (filename) -->
    <rect x="55" y="215" width="80" height="6" rx="3" fill="#d1d5db"/>
    <rect x="55" y="227" width="60" height="6" rx="3" fill="#d1d5db"/>

    <!-- Format badge -->
    <rect x="55" y="245" width="40" height="20" rx="4" fill="#3b82f6"/>
    <text x="75" y="258" font-family="Arial, sans-serif" font-size="10" font-weight="bold" fill="white" text-anchor="middle">JPG</text>

    <!-- File size -->
    <text x="55" y="280" font-family="Arial, sans-serif" font-size="11" fill="#6b7280">2.4 MB</text>
  </g>

  <!-- Conversion Arrow -->
  <g id="conversionArrow">
    <!-- Circle background -->
    <circle cx="200" cy="200" r="35" fill="url(#blueGradient)"/>

    <!-- Double arrows -->
    <path d="M 185 195 L 205 195 L 200 188 M 205 195 L 200 202"
          stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
    <path d="M 185 205 L 205 205 L 200 198 M 205 205 L 200 212"
          stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/>

    <!-- Rotating circle indicator -->
    <circle cx="200" cy="200" r="30" fill="none" stroke="white" stroke-width="2" opacity="0.3" stroke-dasharray="5,5"/>
  </g>

  <!-- Right Image Card (Converted) -->
  <g id="rightImage">
    <!-- Card background -->
    <rect x="220" y="100" width="140" height="200" rx="12" fill="white" stroke="#e5e7eb" stroke-width="2"/>

    <!-- Image container -->
    <rect x="230" y="110" width="120" height="90" rx="6" fill="url(#grayGradient)"/>

    <!-- Same image icon (showing it's converted) -->
    <path d="M 240 180 L 260 155 L 280 170 L 310 145 L 340 180 Z" fill="#8b5cf6" opacity="0.6"/>
    <circle cx="325" cy="130" r="8" fill="#fbbf24"/>

    <!-- Text lines (filename) -->
    <rect x="235" y="215" width="80" height="6" rx="3" fill="#d1d5db"/>
    <rect x="235" y="227" width="70" height="6" rx="3" fill="#d1d5db"/>

    <!-- Format badge -->
    <rect x="235" y="245" width="45" height="20" rx="4" fill="#8b5cf6"/>
    <text x="257.5" y="258" font-family="Arial, sans-serif" font-size="10" font-weight="bold" fill="white" text-anchor="middle">WebP</text>

    <!-- File size (reduced) -->
    <text x="235" y="280" font-family="Arial, sans-serif" font-size="11" fill="#10b981" font-weight="bold">1.1 MB</text>

    <!-- Percentage saved -->
    <text x="285" y="280" font-family="Arial, sans-serif" font-size="9" fill="#6b7280">(-54%)</text>
  </g>

  <!-- Format Options (bottom) -->
  <g id="formatOptions" opacity="0.8">
    <!-- JPG -->
    <rect x="60" y="330" width="35" height="22" rx="4" fill="#3b82f6"/>
    <text x="77.5" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">JPG</text>

    <!-- PNG -->
    <rect x="105" y="330" width="35" height="22" rx="4" fill="#3b82f6"/>
    <text x="122.5" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">PNG</text>

    <!-- WebP -->
    <rect x="150" y="330" width="40" height="22" rx="4" fill="#8b5cf6"/>
    <text x="170" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">WebP</text>

    <!-- GIF -->
    <rect x="200" y="330" width="30" height="22" rx="4" fill="#3b82f6"/>
    <text x="215" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">GIF</text>

    <!-- AVIF -->
    <rect x="240" y="330" width="35" height="22" rx="4" fill="#8b5cf6"/>
    <text x="257.5" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">AVIF</text>

    <!-- BMP -->
    <rect x="285" y="330" width="35" height="22" rx="4" fill="#6b7280"/>
    <text x="302.5" y="344" font-family="Arial, sans-serif" font-size="9" font-weight="bold" fill="white" text-anchor="middle">BMP</text>
  </g>

  <!-- Quality Slider (top) -->
  <g id="qualitySlider" opacity="0.7">
    <!-- Slider track -->
    <rect x="80" y="45" width="240" height="6" rx="3" fill="#e5e7eb"/>
    <rect x="80" y="45" width="180" height="6" rx="3" fill="url(#blueGradient)"/>

    <!-- Slider thumb -->
    <circle cx="260" cy="48" r="10" fill="white" stroke="#3b82f6" stroke-width="3"/>

    <!-- Label -->
    <text x="200" y="35" font-family="Arial, sans-serif" font-size="12" fill="#6b7280" text-anchor="middle" font-weight="bold">Quality: 90%</text>
  </g>

  <!-- Download Icon (top right) -->
  <g id="downloadIcon" opacity="0.6">
    <circle cx="350" cy="50" r="20" fill="url(#purpleGradient)"/>
    <path d="M 350 40 L 350 55 M 345 50 L 350 55 L 355 50"
          stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
    <rect x="343" y="56" width="14" height="2" rx="1" fill="white"/>
  </g>

  <!-- Upload Icon (top left) -->
  <g id="uploadIcon" opacity="0.6">
    <circle cx="50" cy="50" r="20" fill="url(#purpleGradient)"/>
    <path d="M 50 60 L 50 45 M 45 50 L 50 45 L 55 50"
          stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
    <rect x="43" y="42" width="14" height="2" rx="1" fill="white"/>
  </g>

  <!-- Decorative elements -->
  <circle cx="360" cy="360" r="25" fill="#3b82f6" opacity="0.1"/>
  <circle cx="40" cy="360" r="30" fill="#8b5cf6" opacity="0.1"/>
  <circle cx="380" cy="120" r="15" fill="#8b5cf6" opacity="0.15"/>
</svg>
