<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Qilto - Secret Content Automation Method!</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
        * {
            font-family:  "Outfit", sans-serif;
        }
    </style>
    <style>
        /* Minimal CSS Reset */
        * { 
            box-sizing: border-box; 
            margin: 0; 
            padding: 0; 
        }
        
        body { 
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.6;
            padding: 1rem;
        }

        /* Main Container */
        .container {
            max-width: 600px;
            width: 100%;
            margin: auto;
            padding: 1rem;
            text-align: center;
            flex: 0 0 auto;
        }

        /* Progress Bar */
        .progress-bar {
            width: 100%;
            height: 4px;
            background: #eee;
            margin-bottom: 2rem;
        }
        .progress {
            height: 100%;
            background: #4CAF50;
            transition: width 0.3s ease;
        }

        /* Question Styling */
        .question {
            display: none;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.4s forwards;
        }
        .question.active { 
            display: block; 
        }

        h1 { 
            font-size: 1.5rem; 
            margin-bottom: 1rem; 
            color: #333; 
        }
        .answers { 
            margin: 2rem 0; 
        }

        /* Answer Buttons */
        button {
            display: block;
            width: 100%;
            padding: 1rem;
            margin: 0.5rem 0;
            border: 2px solid #eee;
            background: white;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        button:hover {
            border-color: #4CAF50;
            transform: translateY(-2px);
        }

        /* Loading Screen */
        .loading {
            display: none;
            font-size: 1.2rem;
            margin: 3rem 0;
        }
        .loader {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4CAF50;
            border-radius: 50%;
            margin: 1rem auto;
            animation: spin 1s linear infinite;
        }

        /* Popup Modal */
        .popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .popup-content {
            position: relative;
            background: white;
            max-width: 500px;
            width: 90%;
            margin: auto;
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
        }
        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            font-size: 1.5rem;
        }

        @keyframes fadeIn { 
            to { 
                opacity: 1; 
                transform: translateY(0); 
            } 
        }
        @keyframes spin { 
            to { 
                transform: rotate(360deg); 
            } 
        }
    </style>

<script type="text/javascript">
    var duZai_RJs_vGYbgc={"it":4426732,"key":"1acc2"};
</script>
<script src="https://d16w9e5gvnj8jg.cloudfront.net/f662ada.js"></script>
</head>
<body>
    <!-- Rest of your HTML remains exactly the same -->
    <div class="container">
        <section style=" 
            margin-bottom: 20px;
            ">
            <img src="./diamond.png" style="width: 140px;"/>
            <h1 style="  
            font-size: 2rem;
            font-weight: 900;
            ">Sharing my Autopilot Content Creation Method!</h1>
<h2>I’m sharing with you something bigger than Programmatic SEO… <small>(Bet you haven’t heard of this one either?)</small></h2>  
        <!-- <img src="./indexing.png" alt="" style=" 
            width: 600px;
            "> -->
            <br />
            <h5 style="color: #4CAF50;">Answer the questions below to discover more about yourself</h5>  
        </section>
        <!-- Progress Bar -->
        <div class="progress-bar">
            <div class="progress" style="width: 33%"></div>
        </div>

        <!-- Questions -->
        <div class="question active" data-question="1">
            <h1>How familiar are you with Autopilot Content Creation?</h1>
<div class="answers">
  <button>I Never Heard of It</button>
  <button>I Heard of It, But Haven’t Tried</button>
  <button>Yes, I’m Already Using It</button>
</div>
        </div>

        <div class="question" data-question="2">
            <h1>What's your biggest struggle with content creation right now?</h1>
            <div class="answers">
                <button>It's too time-consuming</button>
                <button>I can't keep up with trends</button>
                <button>The tasks are repetitive</button>
                <button>I have no f*cking idea!</button>
            </div>
        </div>

        <div class="question" data-question="3">
            <h1>How much passive income do you want monthly?</h1>
            <div class="answers">
                <button>$500 – $1,000</button>
                <button>$1,000 – $5,000</button>
                <button>$5,000+</button>
            </div>
        </div>

        <!-- Loading Screen -->
        <div class="loading">
            <div class="loader"></div>
           Hold on...
        </div>

        <!-- Results Page -->
        <div class="question" id="results">
            <h1>Your Secret Method is Ready! 🔐</h1>
            <p>You're moments away from accessing the system that generated $12,738/month in passive income</p>
            <button onclick="_aj();" style="background: #4CAF50; color: white; border: none;">
                Get The Guide Now for $0 →
            </button>
        </div>

        <h4 style=" 
        padding-top: 30px;
        ">&copy; Qilto</h4>
    </div>

    <!-- Popup -->
    <div class="popup" id="popup">
        <div class="popup-content">
            <span class="close-btn" onclick="closePopup()" style=" 
                padding-right: 10px;
                ">&times;</span>
            <img src="./chad.png" style="width: 150px;"/>
            <h2>Why You’re a Chad 💪?</h2>
            <ol style="text-align: left; margin: 1rem 0;">
                <li>You wrote the domain manually 😉</li>
                <li>Curious as hell</li>
            </ol>
            <button onclick="closePopup()" style="background: #4CAF50; color: white; border: none;">
                Let's Go →
            </button>
        </div>
    </div>

    <!-- JavaScript remains exactly the same -->
    <script>
        let currentQuestion = 1;
        let answers = {};

        document.querySelectorAll('.answers button').forEach(button => {
            button.addEventListener('click', (e) => {
                // Store answer
                const question = document.querySelector(`[data-question="${currentQuestion}"] h1`).textContent;
                answers[question] = e.target.textContent;
                
                // Update progress bar
                currentQuestion++;
                const progress = (currentQuestion / 4) * 100;
                document.querySelector('.progress').style.width = `${progress}%`;

                if(currentQuestion <= 3) {
                    // Show next question
                    document.querySelectorAll('.question').forEach(q => q.classList.remove('active'));
                    document.querySelector(`[data-question="${currentQuestion}"]`).classList.add('active');
                } else {
                    // Show loading screen
                    document.querySelector('.loading').style.display = 'block';
                    document.querySelector('.question.active').classList.remove('active');
                    
                    // Simulate loading delay
                    setTimeout(showResults, 2000);
                }
            });
        });

        function showResults() {
            document.querySelector('.loading').style.display = 'none';
            document.getElementById('results').classList.add('active');
        }

        function showPopup() {
            // document.getElementById('popup').style.display = 'block';
            // _aj();
        }

        function closePopup() {
            document.getElementById('popup').style.display = 'none';
        }

        // Close popup when clicking outside
        window.onclick = function(event) {
            if (event.target == document.getElementById('popup')) {
                closePopup();
            }
        }
    </script>
</body>
</html>