<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <title>RankOS - Blog Builder</title>

  <style>

    body {

      font-family: 'Segoe UI', sans-serif;

      margin: 0;

      padding: 0;

      background-color: #1e1e1e;

      color: #fff;

    }

    header, footer {

      background-color: #111;

      padding: 1rem;

      text-align: center;

    }

    nav a {

      color: #f97316;

      margin: 0 1rem;

      text-decoration: none;

    }

    .container {

      max-width: 1000px;

      margin: 2rem auto;

      padding: 1rem;

      background: #2b2b2b;

      border-radius: 8px;

    }

    h1, h2 {

      color: #f97316;

    }

    input[type="text"] {

      width: 100%;

      padding: 12px;

      margin-top: 10px;

      border: 1px solid #ccc;

      border-radius: 4px;

      background: #333;

      color: #fff;

    }

    button {

      padding: 10px 20px;

      background: #f97316;

      color: #fff;

      border: none;

      margin-top: 10px;

      border-radius: 4px;

      cursor: pointer;

    }

    button:hover {

      background: #fb923c;

    }

    #result {

      margin-top: 20px;

      background: #1e293b;

      padding: 1rem;

      border-radius: 6px;

    }

    .pricing {

      display: flex;

      gap: 2rem;

      flex-wrap: wrap;

      justify-content: center;

    }

    .plan {

      background: #111;

      padding: 1rem;

      border-radius: 8px;

      text-align: center;

      flex: 1 1 250px;

    }

    .plan h3 {

      color: #fb923c;

    }

    .plan a {

      display: inline-block;

      margin-top: 1rem;

      background: #f97316;

      padding: 0.5rem 1rem;

      color: #fff;

      text-decoration: none;

      border-radius: 6px;

    }

    .hero img {

      width: 100%;

      max-width: 1200px;

      height: auto;

      border-radius: 12px;

      box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);

    }

  </style>

</head>

<body>

  <header>

    <h1>RankOS</h1>

    <nav>

      <a href="#blog">Blog Tool</a>

      <a href="#pricing">Pricing</a>

      <a href="#contact">Contact</a>

      <a href="#privacy">Privacy</a>

    </nav>

  </header>


  <section class="hero">

    <img 

      src="https://www.dropbox.com/scl/fi/7yco2iz30ihpgpdfj1hmv/rankos-hero-banner.png?rlkey=bcnp6mbqip9m6qxmftp4e6fno&raw=1"

      alt="RankOS Hero Banner"

    />

  </section>


  <section class="container" id="blog">

    <h2>🧠 RankOS - Keyword to Blog Generator</h2>

    <input id="keyword" type="text" placeholder="Enter a keyword (e.g. SEO Tips)" />

    <button onclick="generateBlog()">Generate Blog</button>

    <button onclick="downloadFlipbook()">📘 Download as Flipbook</button>

    <div id="result"></div>

  </section>


  <section class="container" id="pricing">

    <h2>💸 Pricing Plans</h2>

    <div class="pricing">

      <div class="plan">

        <h3>Free Plan</h3>

        <p>Access to blog tools only</p>

        <a href="https://buy.stripe.com/4gM9ATgkW1im6240In6sw06">Get Free</a>

      </div>

      <div class="plan">

        <h3>Pro Plan - £19/mo</h3>

        <p>Blogs + Blog Export + Image Support</p>

        <a href="https://buy.stripe.com/eVqeVdd8K7GK7684YD6sw05">Subscribe</a>

      </div>

      <div class="plan">

        <h3>Agency Plan - £49/mo</h3>

        <p>All tools unlocked + Flipbook Generator</p>

        <a href="https://buy.stripe.com/5kQeVdgkW5yC3TWfDh6sw02">Subscribe</a>

      </div>

    </div>

  </section>


  <section class="container" id="contact">

    <h2>📨 Contact Us</h2>

    <p>Email: support@autorankos.com</p>

  </section>


  <section class="container" id="privacy">

    <h2>🔒 Privacy Policy</h2>

    <p>We value your privacy. This site does not store personal data unless required for billing or analytics purposes. Your activity is never shared with third parties.</p>

  </section>


  <footer>

    <p>&copy; 2025 RankOS. All rights reserved.</p>

  </footer>


  <script>

    function generateBlog() {

      const keyword = document.getElementById("keyword").value.trim();

      const imageURL = `https://www.dropbox.com/scl/fi/wt8ok4okhlawwt8ztxdsr/${keyword.replace(/\s+/g, '-').toLowerCase()}.jpg?raw=1`;

      const output = `

        <img src="${imageURL}" alt="Blog Image" style="width:100%;max-height:300px;object-fit:cover;border-radius:8px;" />

        <h2 style='color:#f97316;'>Boost Your Rankings with ${keyword}</h2>

        <p>Using smart strategies around <strong>${keyword}</strong> can help you drive more traffic, rank higher on Google, and grow your visibility online. In this guide, we cover how to:</p>

        <ul>

          <li>Structure content around your main keyword</li>

          <li>Embed related images and alt tags</li>

          <li>Build backlinks using smart outreach</li>

        </ul>

        <p>Start applying <strong>${keyword}</strong> in your blog strategy today!</p>

      `;

      document.getElementById("result").innerHTML = output;

    }


    function downloadFlipbook() {

      const content = document.getElementById("result").innerHTML;

      const win = window.open();

      win.document.write('<html><head><title>Flipbook</title></head><body>' + content + '</body></html>');

      win.document.close();

      win.print();

    }

  </script>

</body>

</html>