HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/ai.naniguide.com/database/seeders/FunnelTemplateSeeder.php
<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Model\Funnel;
use App\Model\FunnelStep;
use App\Model\Template;

class FunnelTemplateSeeder extends Seeder
{
    public function run()
    {
        // Skip if already seeded
        if (Funnel::template()->count() > 0) {
            return;
        }

        $funnelTemplates = [
            [
                'name' => 'Lead Magnet Funnel',
                'description' => 'Capture leads with a free resource. Includes an opt-in page and a thank you page with download link.',
                'icon' => 'person_add',
                'tags' => 'lead,optin,beginner',
                'steps' => [
                    ['name' => 'Opt-in Page', 'type' => 'optin', 'html' => $this->leadOptinHtml()],
                    ['name' => 'Thank You', 'type' => 'thank_you', 'html' => $this->leadThankYouHtml()],
                ],
            ],
            [
                'name' => 'Product Launch Funnel',
                'description' => 'Launch a product with a sales page, checkout, and confirmation. Perfect for digital products and courses.',
                'icon' => 'rocket_launch',
                'tags' => 'sales,product,launch',
                'steps' => [
                    ['name' => 'Sales Page', 'type' => 'sales', 'html' => $this->salesPageHtml()],
                    ['name' => 'Checkout', 'type' => 'checkout', 'html' => $this->checkoutHtml()],
                    ['name' => 'Thank You', 'type' => 'thank_you', 'html' => $this->orderConfirmHtml()],
                ],
            ],
            [
                'name' => 'Webinar Registration Funnel',
                'description' => 'Drive webinar sign-ups with a registration page and confirmation page with calendar details.',
                'icon' => 'videocam',
                'tags' => 'webinar,registration,event',
                'steps' => [
                    ['name' => 'Registration Page', 'type' => 'optin', 'html' => $this->webinarRegHtml()],
                    ['name' => 'Confirmation', 'type' => 'thank_you', 'html' => $this->webinarConfirmHtml()],
                ],
            ],
            [
                'name' => 'E-commerce Funnel',
                'description' => 'Full shopping experience with product catalog, cart, checkout, and order confirmation.',
                'icon' => 'shopping_bag',
                'tags' => 'ecommerce,shop,product',
                'steps' => [
                    ['name' => 'Product Page', 'type' => 'product_detail', 'html' => $this->productPageHtml()],
                    ['name' => 'Cart', 'type' => 'cart', 'html' => $this->cartPageHtml()],
                    ['name' => 'Checkout', 'type' => 'checkout', 'html' => $this->checkoutHtml()],
                    ['name' => 'Order Confirmation', 'type' => 'thank_you', 'html' => $this->orderConfirmHtml()],
                ],
            ],
            [
                'name' => 'Tripwire Funnel',
                'description' => 'Convert leads with a low-cost offer followed by an upsell. Great for building a buyer list.',
                'icon' => 'trending_up',
                'tags' => 'tripwire,upsell,sales',
                'steps' => [
                    ['name' => 'Opt-in Page', 'type' => 'optin', 'html' => $this->leadOptinHtml()],
                    ['name' => 'Tripwire Offer', 'type' => 'sales', 'html' => $this->tripwireHtml()],
                    ['name' => 'Upsell', 'type' => 'upsell', 'html' => $this->upsellHtml()],
                    ['name' => 'Thank You', 'type' => 'thank_you', 'html' => $this->orderConfirmHtml()],
                ],
            ],
            [
                'name' => 'Blank Funnel',
                'description' => 'Start from scratch. Add your own steps and design your funnel exactly the way you want.',
                'icon' => 'add_circle_outline',
                'tags' => 'blank,custom',
                'steps' => [],
            ],
        ];

        foreach ($funnelTemplates as $data) {
            $funnel = new Funnel();
            $funnel->name = $data['name'];
            $funnel->description = $data['description'];
            $funnel->is_template = true;
            $funnel->tags = $data['tags'];
            $funnel->slug = \Illuminate\Support\Str::slug($data['name']);
            $funnel->settings = ['icon' => $data['icon']];
            $funnel->save();

            foreach ($data['steps'] as $i => $stepData) {
                $template = new Template();
                $template->name = $stepData['name'];
                $template->content = $stepData['html'];
                $template->json = Template::DEFAULT_BUILDER_JSON;
                $template->save();

                $step = new FunnelStep();
                $step->funnel_id = $funnel->id;
                $step->name = $stepData['name'];
                $step->type = $stepData['type'];
                $step->slug = \Illuminate\Support\Str::slug($stepData['name']);
                $step->sort_order = $i;
                $step->is_published = true;
                $step->template_id = $template->id;
                $step->save();
            }
        }
    }

    // =========================================================================
    // HTML templates — minimal but functional starter pages
    // =========================================================================

    private function leadOptinHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(135deg,#007c89 0%,#005f69 100%)}.container{max-width:480px;width:100%;background:#fff;border-radius:16px;padding:48px 40px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.15)}h1{font-size:28px;margin-bottom:12px;color:#1a1a1a}p{font-size:16px;color:#666;margin-bottom:32px;line-height:1.6}input{width:100%;padding:14px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;margin-bottom:12px;transition:border .2s}input:focus{outline:none;border-color:#007c89}.btn{width:100%;padding:16px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;transition:background .2s}.btn:hover{background:#005f69}.note{font-size:12px;color:#999;margin-top:16px}</style>
</head><body>
<div class="hero"><div class="container">
<h1>Get Your Free Guide</h1>
<p>Enter your email below and we'll send you our exclusive guide instantly.</p>
<form><input type="text" placeholder="Your name" required><input type="email" placeholder="Your email address" required><button type="submit" class="btn">Send Me The Guide</button></form>
<p class="note">We respect your privacy. Unsubscribe at any time.</p>
</div></div>
</body></html>
HTML;
    }

    private function leadThankYouHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}.container{max-width:520px;width:100%;text-align:center}h1{font-size:32px;margin-bottom:16px;color:#007c89}.check{width:80px;height:80px;background:#e0f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;font-size:40px;color:#007c89}p{font-size:18px;color:#666;line-height:1.6;margin-bottom:24px}.btn{display:inline-block;padding:16px 32px;background:#007c89;color:#fff;border-radius:8px;text-decoration:none;font-size:16px;font-weight:600}</style>
</head><body>
<div class="hero"><div class="container">
<div class="check">✓</div>
<h1>Thank You!</h1>
<p>Your guide is on its way to your inbox. Check your email in the next few minutes.</p>
<a href="#" class="btn">Download Now</a>
</div></div>
</body></html>
HTML;
    }

    private function salesPageHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333}.hero{padding:80px 20px;text-align:center;background:linear-gradient(135deg,#f8fafb,#e0f5f5)}.hero h1{font-size:42px;max-width:700px;margin:0 auto 20px;line-height:1.2}.hero p{font-size:20px;color:#666;max-width:600px;margin:0 auto 32px}.btn{display:inline-block;padding:18px 40px;background:#007c89;color:#fff;border-radius:8px;text-decoration:none;font-size:18px;font-weight:600}.section{padding:60px 20px;max-width:800px;margin:0 auto}.section h2{font-size:28px;margin-bottom:20px}.section p{font-size:16px;color:#666;line-height:1.8;margin-bottom:16px}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding:60px 20px;max-width:800px;margin:0 auto}.feature{padding:24px;background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.06)}.feature h3{font-size:18px;margin-bottom:8px}.feature p{font-size:14px;color:#666}.cta{padding:80px 20px;text-align:center;background:#007c89;color:#fff}.cta h2{font-size:32px;margin-bottom:16px;color:#fff}.cta p{font-size:18px;opacity:.9;margin-bottom:32px}.cta .btn{background:#fff;color:#007c89}.price{font-size:48px;font-weight:700;margin-bottom:8px}.price-note{font-size:14px;opacity:.7}</style>
</head><body>
<div class="hero"><h1>Transform Your Business With Our Premium Course</h1><p>Learn the proven strategies that have helped thousands of entrepreneurs succeed.</p><a href="#" class="btn">Get Started Today →</a></div>
<div class="section"><h2>What You'll Learn</h2><p>This comprehensive course covers everything you need to know to take your business to the next level. From strategy to execution, we've got you covered.</p></div>
<div class="features"><div class="feature"><h3>Module 1</h3><p>Foundation & strategy planning for sustainable growth.</p></div><div class="feature"><h3>Module 2</h3><p>Marketing & customer acquisition techniques that work.</p></div><div class="feature"><h3>Module 3</h3><p>Scaling & automation to free up your time.</p></div></div>
<div class="cta"><div class="price">$97</div><div class="price-note">One-time payment • Lifetime access</div><p>Join 5,000+ students who have already transformed their business.</p><a href="#" class="btn">Enroll Now →</a></div>
</body></html>
HTML;
    }

    private function checkoutHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.page{max-width:960px;margin:0 auto;padding:40px 20px;display:grid;grid-template-columns:1fr 360px;gap:40px}@media(max-width:768px){.page{grid-template-columns:1fr}}h1{font-size:24px;margin-bottom:24px}label{display:block;font-size:14px;font-weight:500;margin-bottom:6px;color:#555}input,select{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;margin-bottom:16px}input:focus{outline:none;border-color:#007c89}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn{width:100%;padding:16px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;margin-top:8px}.summary{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,.06);height:fit-content}.summary h2{font-size:18px;margin-bottom:16px}.item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.total{display:flex;justify-content:space-between;padding:16px 0;font-size:18px;font-weight:700}</style>
</head><body>
<div class="page">
<div><h1>Checkout</h1>
<form><label>Email</label><input type="email" placeholder="[email protected]" required><label>Full Name</label><input type="text" placeholder="John Doe" required><label>Card Number</label><input type="text" placeholder="1234 5678 9012 3456"><div class="row"><div><label>Expiry</label><input type="text" placeholder="MM/YY"></div><div><label>CVC</label><input type="text" placeholder="123"></div></div><button type="submit" class="btn">Complete Purchase</button></form></div>
<div class="summary"><h2>Order Summary</h2><div class="item"><span>Premium Course</span><span>$97</span></div><div class="total"><span>Total</span><span>$97</span></div></div>
</div>
</body></html>
HTML;
    }

    private function orderConfirmHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}.container{max-width:520px;width:100%;text-align:center}.check{width:80px;height:80px;background:#e8f5e9;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;font-size:40px;color:#2e7d32}h1{font-size:32px;margin-bottom:16px}p{font-size:18px;color:#666;line-height:1.6;margin-bottom:24px}.box{background:#fff;border-radius:12px;padding:24px;text-align:left;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:24px}.box h3{font-size:16px;margin-bottom:8px}.box p{font-size:14px;margin-bottom:0}</style>
</head><body>
<div class="hero"><div class="container">
<div class="check">✓</div>
<h1>Order Confirmed!</h1>
<p>Thank you for your purchase. You'll receive a confirmation email shortly.</p>
<div class="box"><h3>What's next?</h3><p>Check your inbox for login details and get started right away.</p></div>
</div></div>
</body></html>
HTML;
    }

    private function webinarRegHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333}.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(135deg,#1a1a2e,#16213e)}.container{max-width:480px;width:100%;background:#fff;border-radius:16px;padding:48px 40px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3)}.badge{display:inline-block;background:#e0f5f5;color:#007c89;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;margin-bottom:20px}h1{font-size:26px;margin-bottom:12px;line-height:1.3}p{font-size:16px;color:#666;margin-bottom:28px;line-height:1.6}input{width:100%;padding:14px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;margin-bottom:12px}input:focus{outline:none;border-color:#007c89}.btn{width:100%;padding:16px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer}.meta{margin-top:24px;font-size:13px;color:#999}</style>
</head><body>
<div class="hero"><div class="container">
<div class="badge">FREE LIVE WEBINAR</div>
<h1>How to 10x Your Results in 30 Days</h1>
<p>Join us live and learn the exact strategies used by top performers.</p>
<form><input type="text" placeholder="Your name" required><input type="email" placeholder="Your email" required><button type="submit" class="btn">Reserve My Spot</button></form>
<p class="meta">Thursday, April 10 • 2:00 PM EST • Limited seats</p>
</div></div>
</body></html>
HTML;
    }

    private function webinarConfirmHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}.container{max-width:520px;width:100%;text-align:center}.check{width:80px;height:80px;background:#e0f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;font-size:40px;color:#007c89}h1{font-size:28px;margin-bottom:16px}p{font-size:17px;color:#666;line-height:1.6;margin-bottom:24px}.details{background:#fff;border-radius:12px;padding:24px;text-align:left;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:24px}.details h3{margin-bottom:12px;font-size:16px}.details p{font-size:14px;margin-bottom:4px}.btn{display:inline-block;padding:14px 28px;background:#007c89;color:#fff;border-radius:8px;text-decoration:none;font-weight:600}</style>
</head><body>
<div class="hero"><div class="container">
<div class="check">✓</div>
<h1>You're Registered!</h1>
<p>You'll receive an email with the webinar link and calendar invite.</p>
<div class="details"><h3>Webinar Details</h3><p><strong>Date:</strong> Thursday, April 10, 2026</p><p><strong>Time:</strong> 2:00 PM EST</p><p><strong>Duration:</strong> 60 minutes</p></div>
<a href="#" class="btn">Add to Calendar</a>
</div></div>
</body></html>
HTML;
    }

    private function productPageHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#fff}.page{max-width:960px;margin:0 auto;padding:40px 20px;display:grid;grid-template-columns:1fr 1fr;gap:40px}@media(max-width:768px){.page{grid-template-columns:1fr}}.img-area{background:#f0f0f0;border-radius:12px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:48px;color:#ccc}h1{font-size:28px;margin-bottom:8px}.price{font-size:24px;font-weight:700;color:#007c89;margin-bottom:16px}.desc{font-size:16px;color:#666;line-height:1.6;margin-bottom:24px}.btn{display:inline-block;padding:16px 32px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;text-decoration:none}.meta{margin-top:16px;font-size:13px;color:#999}</style>
</head><body>
<div class="page">
<div class="img-area">📦</div>
<div><h1>Premium Product</h1><div class="price">$49.00</div><p class="desc">This is a high-quality product that delivers exceptional value. Perfect for anyone looking to improve their results.</p><button class="btn">Add to Cart</button><p class="meta">Free shipping • 30-day guarantee</p></div>
</div>
</body></html>
HTML;
    }

    private function cartPageHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.page{max-width:720px;margin:0 auto;padding:40px 20px}h1{font-size:24px;margin-bottom:24px}.item{background:#fff;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px;margin-bottom:12px;box-shadow:0 1px 4px rgba(0,0,0,.06)}.item-img{width:64px;height:64px;background:#f0f0f0;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:24px}.item-info{flex:1}.item-info h3{font-size:16px;margin-bottom:4px}.item-info p{font-size:14px;color:#666}.item-price{font-weight:700;font-size:18px}.totals{background:#fff;border-radius:12px;padding:24px;margin-top:20px;box-shadow:0 1px 4px rgba(0,0,0,.06)}.total-row{display:flex;justify-content:space-between;padding:8px 0}.total-row.final{border-top:2px solid #eee;padding-top:16px;margin-top:8px;font-size:20px;font-weight:700}.btn{display:block;width:100%;padding:16px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;margin-top:16px;text-align:center}</style>
</head><body>
<div class="page"><h1>Your Cart</h1>
<div class="item"><div class="item-img">📦</div><div class="item-info"><h3>Premium Product</h3><p>Qty: 1</p></div><div class="item-price">$49.00</div></div>
<div class="totals"><div class="total-row"><span>Subtotal</span><span>$49.00</span></div><div class="total-row"><span>Shipping</span><span>Free</span></div><div class="total-row final"><span>Total</span><span>$49.00</span></div><button class="btn">Proceed to Checkout</button></div>
</div>
</body></html>
HTML;
    }

    private function tripwireHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333}.hero{padding:60px 20px;text-align:center;background:linear-gradient(135deg,#fff5f5,#fff)}.hero h1{font-size:32px;max-width:600px;margin:0 auto 16px;line-height:1.3}.hero p{font-size:18px;color:#666;margin-bottom:24px}.offer{display:inline-block;background:#fff;border:2px solid #007c89;border-radius:16px;padding:32px 40px;margin-bottom:24px}.offer .old{font-size:18px;color:#999;text-decoration:line-through}.offer .new{font-size:48px;font-weight:700;color:#007c89}.offer .note{font-size:14px;color:#666;margin-top:4px}.btn{display:inline-block;padding:18px 48px;background:#007c89;color:#fff;border-radius:8px;text-decoration:none;font-size:20px;font-weight:600}.timer{font-size:14px;color:#d32f2f;margin-top:16px;font-weight:500}</style>
</head><body>
<div class="hero">
<h1>Wait! Special One-Time Offer</h1>
<p>Get our starter kit at a fraction of the price — only available right now.</p>
<div class="offer"><div class="old">$47</div><div class="new">$7</div><div class="note">One-time payment</div></div><br>
<a href="#" class="btn">Yes, I Want This Deal!</a>
<p class="timer">⏱ This offer expires when you leave this page</p>
</div>
</body></html>
HTML;
    }

    private function upsellHtml()
    {
        return <<<'HTML'
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#333;background:#f8fafb}.page{max-width:600px;margin:0 auto;padding:60px 20px;text-align:center}h1{font-size:28px;margin-bottom:16px}p{font-size:17px;color:#666;line-height:1.6;margin-bottom:24px}.card{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:24px;text-align:left}.card h2{font-size:22px;margin-bottom:8px}.card .price{font-size:28px;font-weight:700;color:#007c89;margin-bottom:12px}.card ul{list-style:none;padding:0}.card li{padding:8px 0;font-size:15px;color:#555}.card li:before{content:"✓ ";color:#007c89;font-weight:700}.btn-yes{display:block;width:100%;padding:16px;background:#007c89;color:#fff;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;margin-bottom:12px}.btn-no{display:block;width:100%;padding:12px;background:transparent;color:#999;border:none;font-size:14px;cursor:pointer;text-decoration:underline}</style>
</head><body>
<div class="page">
<h1>Upgrade Your Order</h1>
<p>Add the premium bundle to get even more value from your purchase.</p>
<div class="card"><h2>Premium Bundle</h2><div class="price">$47</div><ul><li>Advanced training modules</li><li>Private community access</li><li>Monthly group coaching</li><li>Lifetime updates</li></ul></div>
<button class="btn-yes">Yes, Add This to My Order!</button>
<button class="btn-no">No thanks, I'll skip this offer</button>
</div>
</body></html>
HTML;
    }
}