<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Features — LexaClip</title>
  <meta name="description" content="Every LexaClip feature in one place: smart detection, one-click transforms, AI rewrites, snippets, history, prompts, cloud sync and privacy controls." />
  <script src="https://cdn.tailwindcss.com"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com" />
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
  <style>
    :root { --t1: #111827; --t3: #4b5563; }
    body { font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif; }
  </style>
</head>
<body>
<div class="min-h-screen bg-white">

  <%- include('partials/site-header', { active: 'features' }) %>

  <main>
    <!-- Title -->
    <section class="bg-gray-50 px-4 py-16 text-center">
      <h1 class="text-4xl font-bold text-slate-800 md:text-5xl">Everything LexaClip Can Do</h1>
      <p class="mx-auto mt-4 max-w-xl text-zinc-500">
        Ten features, one panel. From the moment you press Ctrl+C, they all work together.
      </p>
    </section>

    <section class="relative w-full px-5 py-14 md:px-8 lg:py-[60px]">
      <div class="mx-auto max-w-[1400px] space-y-16 sm:space-y-20 md:space-y-24 lg:space-y-32">

        <% var rows = [
          {
            img: '/feature-detect.png', shadow: 'rgba(212,115,30,0.18)',
            title: 'Smart Detection',
            desc: 'The moment you copy, LexaClip identifies what it is — JSON, URLs, HTML, Markdown, CSV, SQL, XML, code, emails, phone numbers, Base64 and plain text. Detection runs locally in milliseconds, so the right tools are already waiting before you even open the panel.'
          },
          {
            img: '/feature-transforms.png', shadow: 'rgba(4,111,93,0.18)',
            title: 'One-Click Transforms',
            desc: 'Over 40 local actions matched to the detected type: format and validate JSON, strip tracking parameters from URLs, encode and decode, clean whitespace, convert case, turn CSV into JSON, minify SQL — every result lands back on your clipboard in under 100 milliseconds.'
          },
          {
            img: '/feature-selection.png', shadow: 'rgba(33,102,223,0.18)',
            title: 'Selection Toolbar',
            desc: 'Highlight text on any page and a compact toolbar appears right above it: Summarize, Translate and Grammar up front, more behind the ⋮ menu. No tab switching, no copy-pasting into a chatbot — the answer opens in your side panel. You can switch the toolbar off anytime.'
          },
          {
            img: '/feature-models.png', shadow: 'rgba(85,43,232,0.18)',
            title: 'AI Rewrites — with the Model You Choose',
            desc: 'Summarize, improve, humanize, fix grammar, translate, or reshape text for LinkedIn and email. Pick from nine models — Claude, GPT, Gemini, DeepSeek, Llama, Grok — in one dropdown. No API keys to paste, no separate subscriptions to juggle.'
          },
          {
            img: '/feature-snippets.png', shadow: 'rgba(212,115,30,0.18)',
            title: 'Snippets',
            desc: 'Bind the text you type every day to shortcuts: type ;sig and your full signature appears, ;addr drops in your address — in any text field, on any site, even inside Gmail. Five snippets free, unlimited on Pro.'
          },
          {
            img: '/feature-history.png', shadow: 'rgba(4,111,93,0.18)',
            title: 'Clipboard History & Favorites',
            desc: 'Everything you copy is saved locally with its detected type. Search the full text, filter by type, pin the items you never want to lose, star favorites for one-click reuse — and compare any two records side by side with a built-in diff.'
          },
          {
            img: '/feature-prompts.png', shadow: 'rgba(33,102,223,0.18)',
            title: 'Prompt Library',
            desc: 'Keep the prompts you reuse in ChatGPT, Claude or Cursor organized in folders. Add {variables} to any prompt, fill them in with a quick form, then copy — or jump straight into ChatGPT or Claude with the finished prompt on your clipboard.'
          },
          {
            img: '/feature-custom.png', shadow: 'rgba(85,43,232,0.18)',
            title: 'Custom AI Actions',
            desc: 'Turn your own prompt into a permanent one-click button. Write it once — "rewrite in our company voice", "translate to formal German" — and it appears alongside the built-in AI tools for every text you copy from then on.'
          },
          {
            img: '/feature-sync.png', shadow: 'rgba(212,115,30,0.18)',
            title: 'Cloud Sync (Pro)',
            desc: 'Press Sync and your favorites and prompt library follow you across browsers and computers — Chrome at work, Edge at home, always the same toolkit. Sync only runs when you ask it to, and your clipboard history never leaves the device.'
          },
          {
            img: '/feature-privacy.png', shadow: 'rgba(4,111,93,0.18)',
            title: 'Privacy & Controls',
            desc: 'Local-first by design: history lives in your browser, password fields are never read, and there are zero trackers. Exclude any site completely, pause capture with one toggle, and know exactly when text leaves your device — only when you press an AI button.'
          }
        ]; %>

        <% rows.forEach(function (r, i) { var imgFirst = (i % 2 === 0); %>
          <div class="grid grid-cols-1 items-center gap-6 sm:gap-8 md:gap-10 lg:grid-cols-12 lg:gap-16">
            <div class="<%= imgFirst ? 'lg:order-2' : 'lg:order-1' %> lg:col-span-6 lg:content-center">
              <h3 class="text-[28px] font-semibold leading-[1.2] text-[var(--t1)] md:text-[36px]"><%= r.title %></h3>
              <p class="mt-4 text-base leading-[1.6] text-[var(--t3)] md:text-lg"><%= r.desc %></p>
              <div class="mt-5">
                <a href="/#install" class="inline-flex items-center justify-center rounded-full bg-gray-900 px-6 py-2 text-base font-bold text-white transition-all duration-200 hover:bg-gray-800">Add to Chrome — Free</a>
              </div>
            </div>
            <div class="<%= imgFirst ? 'lg:order-1' : 'lg:order-2' %> lg:col-span-6">
              <div class="relative overflow-hidden rounded-3xl bg-[#eee] p-4 md:p-8">
                <div class="relative w-full overflow-hidden rounded-t-xl bg-white shadow-[0_4px_24px_<%= r.shadow %>]">
                  <img class="mx-auto h-auto w-full object-contain" src="<%= r.img %>" alt="<%= r.title %>" />
                </div>
                <div class="pointer-events-none absolute inset-x-0 bottom-0 h-[72px] bg-gradient-to-b from-transparent to-black/10"></div>
              </div>
            </div>
          </div>
        <% }) %>

      </div>
    </section>

    <!-- Alt CTA -->
    <section class="bg-gray-50 px-4 py-16 text-center">
      <h2 class="text-3xl font-bold text-slate-800 md:text-4xl">Ready to upgrade your clipboard?</h2>
      <p class="mx-auto mt-3 max-w-md text-zinc-500">Installed in 30 seconds. You'll feel it on your very first copy.</p>
      <a href="/#install" class="mt-6 inline-block rounded-full bg-gray-900 px-8 py-3 text-lg font-bold text-white transition hover:bg-gray-800">Add to Chrome — Free</a>
    </section>
  </main>

  <!-- Footer -->
  <footer class="relative border-t border-white/10 bg-[#1e1b4b]">
    <div class="pointer-events-none absolute bottom-4 right-4 select-none text-[10rem] font-bold leading-none text-white/5" aria-hidden="true">LexaClip</div>
    <div class="relative mx-auto w-[90%] max-w-[90%] px-4 py-12 sm:px-6 lg:px-8">
      <div class="flex flex-col items-center justify-between gap-6 sm:flex-row">
        <div class="flex items-center gap-2 text-sm text-slate-300">
          <span class="text-lg font-bold text-white">LexaClip</span>
          <span>· a <a href="https://lumerexa.com" class="font-medium text-white hover:underline">Lumerexa</a> product</span>
        </div>
        <div class="flex items-center gap-6 text-sm text-slate-300">
          <a href="/" class="transition hover:text-white">Home</a>
          <a href="/price" class="transition hover:text-white">Pricing</a>
          <a href="/privacy" class="transition hover:text-white">Privacy Policy</a>
          <a href="/terms" class="transition hover:text-white">Terms of Use</a>
          <span>© <%= new Date().getFullYear() %> Lumerexa</span>
        </div>
      </div>
    </div>
  </footer>

</div>
</body>
</html>
