Website Code Generator
Run ID: 69cd01903e7fb09ff16a70842026-04-01Web Development
PantheraHive BOS
BOS Dashboard

Workflow Step 2 of 2: Website Deployment & Live Preview

Description: Your complete website code has been successfully generated and is now ready for live preview and deployment. This step provides you with all the necessary files (HTML, CSS, JavaScript) and detailed instructions to view your website locally, deploy it to a web server, or further customize it.


Website Generation Complete!

Congratulations! Your professional website, "Panthera Solutions," has been fully generated. Below you will find the complete source code for your website, structured into separate HTML, CSS, and JavaScript files for clarity and ease of management.


Live Preview Access

While we cannot host a live server directly, you can easily experience a "live preview" of your generated website using the following methods:

  1. Local File Preview (Recommended for Quick View):

* Create a new folder on your computer (e.g., PantheraWebsite).

* Save the HTML code provided below as index.html inside this folder.

Save the CSS code provided below as style.css inside the same* folder.

Save the JavaScript code provided below as script.js inside the same* folder.

* Open the index.html file in your preferred web browser (e.g., Chrome, Firefox, Edge).

* Result: Your website will immediately load, allowing you to interact with it just as it would appear online.

  1. Online Code Sandbox (Instant Preview & Sharing):

* Go to an online code editor like [CodePen](https://codepen.io/pen/), [JSFiddle](https://jsfiddle.net/), or [Glitch](https://glitch.com/).

* Paste the respective HTML, CSS, and JavaScript code into the designated panels.

* Result: These platforms will instantly render your website, providing a live, shareable preview without needing to save files locally.


Generated Website Code

Here is the complete code for your "Panthera Solutions" website:

1. index.html (HTML Structure)

html • 5,111 chars
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Panthera Solutions - Innovate. Deliver. Excel.</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
</head>
<body>
    <header class="main-header">
        <div class="container">
            <h1 class="logo"><a href="#">Panthera Solutions</a></h1>
            <nav class="main-nav">
                <ul>
                    <li><a href="#home">Home</a></li>
                    <li><a href="#services">Services</a></li>
                    <li><a href="#about">About Us</a></li>
                    <li><a href="#contact">Contact</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <section id="home" class="hero-section">
        <div class="container">
            <div class="hero-content">
                <h2>Empowering Your Digital Future</h2>
                <p>Innovative technology solutions designed to propel your business forward.</p>
                <a href="#contact" class="btn btn-primary">Get Started Today</a>
            </div>
        </div>
    </section>

    <section id="services" class="services-section">
        <div class="container">
            <h3>Our Services</h3>
            <div class="service-grid">
                <div class="service-item">
                    <img src="https://via.placeholder.com/60/007bff/ffffff?text=Web" alt="Web Development Icon">
                    <h4>Web Development</h4>
                    <p>Crafting responsive, high-performance websites tailored to your brand.</p>
                </div>
                <div class="service-item">
                    <img src="https://via.placeholder.com/60/28a745/ffffff?text=App" alt="App Development Icon">
                    <h4>Mobile App Development</h4>
                    <p>Building intuitive and engaging mobile applications for iOS and Android.</p>
                </div>
                <div class="service-item">
                    <img src="https://via.placeholder.com/60/ffc107/ffffff?text=Cloud" alt="Cloud Solutions Icon">
                    <h4>Cloud Solutions</h4>
                    <p>Leveraging cloud power for scalability, security, and efficiency.</p>
                </div>
                <div class="service-item">
                    <img src="https://via.placeholder.com/60/17a2b8/ffffff?text=Consult" alt="Consulting Icon">
                    <h4>IT Consulting</h4>
                    <p>Strategic guidance to optimize your technology infrastructure.</p>
                </div>
            </div>
        </div>
    </section>

    <section id="about" class="about-section">
        <div class="container">
            <h3>About Panthera Solutions</h3>
            <p>Panthera Solutions is a leading technology firm dedicated to delivering cutting-edge digital solutions. With a team of experienced professionals, we partner with businesses to understand their unique challenges and provide innovative, scalable, and secure technology solutions that drive growth and efficiency.</p>
            <p>Our commitment to excellence and client satisfaction sets us apart. We believe in building long-term relationships based on trust, transparency, and outstanding results.</p>
        </div>
    </section>

    <section id="contact" class="contact-section">
        <div class="container">
            <h3>Get in Touch</h3>
            <p>Ready to transform your business? Contact us today for a free consultation!</p>
            <form class="contact-form">
                <div class="form-group">
                    <label for="name">Name:</label>
                    <input type="text" id="name" name="name" required>
                </div>
                <div class="form-group">
                    <label for="email">Email:</label>
                    <input type="email" id="email" name="email" required>
                </div>
                <div class="form-group">
                    <label for="message">Message:</label>
                    <textarea id="message" name="message" rows="5" required></textarea>
                </div>
                <button type="submit" class="btn btn-primary">Send Message</button>
            </form>
        </div>
    </section>

    <footer class="main-footer">
        <div class="container">
            <p>&copy; 2023 Panthera Solutions. All rights reserved.</p>
            <div class="social-links">
                <a href="#" aria-label="Facebook"><img src="https://via.placeholder.com/24/ffffff?text=FB" alt="Facebook"></a>
                <a href="#" aria-label="Twitter"><img src="https://via.placeholder.com/24/ffffff?text=TW" alt="Twitter"></a>
                <a href="#" aria-label="LinkedIn"><img src="https://via.placeholder.com/24/ffffff?text=IN" alt="LinkedIn"></a>
            </div>
        </div>
    </footer>

    <script src="script.js"></script>
</body>
</html>
Sandboxed live preview

Step 1 of 2: Website Code Generation - Information Gathering

This is the initial phase of our "Website Code Generator" workflow. To ensure we generate the most accurate and effective HTML, CSS, and JavaScript code for your website, we need to gather detailed information about your vision and requirements.

Purpose of This Step

The goal of this step is to meticulously collect all necessary specifications for your website. This comprehensive input will serve as the blueprint for the automated code generation process in Step 2, ensuring the final output perfectly aligns with your expectations, design preferences, and functional needs.

Your Input Required: Website Specifications

Please provide as much detail as possible for each of the following categories. The more specific your input, the better our AI can tailor the generated code to your exact needs.


1. Website Core Information

  • Website Name/Title: (e.g., "Acme Innovations," "My Personal Portfolio," "The Green Bistro")
  • Primary Goal/Purpose: What do you want your website to achieve? (e.g., Generate leads, sell products, showcase portfolio, provide information, build community, personal blog)
  • Target Audience: Who are you trying to reach? (e.g., Small business owners, young professionals, local customers, artists, tech enthusiasts)
  • Overall Tone/Vibe: (e.g., Professional, friendly, innovative, artistic, luxurious, quirky, minimalist)

2. Website Structure & Content

  • Main Sections/Pages: List all the primary pages or sections your website should include.

Example:* Home, About Us, Services, Products, Portfolio, Blog, Contact, FAQ, Testimonials, Gallery.

  • Key Content for Each Section (Brief Description): For each page/section, provide a brief outline of the content it should contain.

Example:*

* Home: Hero section with catchy headline & CTA, 3 key service highlights, testimonial slider.

* About Us: Company history, mission statement, team members (if applicable).

* Services: List of services with short descriptions, maybe an "Our Process" section.

* Contact: Contact form, map, address, phone, email.

(Note: If you don't have specific text ready, we can use professional placeholder (Lorem Ipsum) content, but knowing the type of content is crucial.)*

  • Call to Action (CTA): What specific action do you want visitors to take? (e.g., "Request a Quote," "Shop Now," "Learn More," "Contact Us," "Sign Up," "Download Ebook")

3. Design & Aesthetics

  • Overall Style/Layout Preference: (e.g., Modern & clean, classic & elegant, bold & vibrant, minimalist, rustic, corporate, grid-based, magazine-style)
  • Color Palette:

* Primary Colors: (e.g., Hex codes: #007bff, #28a745 or descriptive: "Deep blue," "Forest green")

* Secondary Colors: (e.g., Hex codes: #6c757d, #ffc107 or descriptive: "Light grey," "Bright yellow")

* Accent Colors: (e.g., Hex codes: #dc3545 or descriptive: "Vibrant red for CTAs")

(If no specific codes, describe your desired color scheme, e.g., "Warm earthy tones," "Cool blues and greys," "Bright and energetic.")*

  • Font Preferences:

* Headings: (e.g., "Modern sans-serif like Montserrat," "Classic serif like Georgia," "Handwritten style")

* Body Text: (e.g., "Clean and readable sans-serif like Open Sans," "Traditional serif like Times New Roman")

(If you have specific Google Fonts in mind, please list them.)*

  • Imagery/Visual Style: Describe the type of images or illustrations you prefer. (e.g., Professional stock photos, custom illustrations, abstract art, realistic photography, minimal icons)
  • Logo/Branding:

* Describe your logo (if applicable).

* Are there any existing brand guidelines we should adhere to?

(Note: We will use a placeholder logo if none is provided at this stage.)*


4. Functionality & Features

  • Interactive Elements:

* Do you need a working Contact Form? (Yes/No)

* Image Gallery/Slider/Carousel: (Yes/No - if yes, specify type)

* Testimonial Carousel/Slider: (Yes/No)

* FAQ Accordion/Toggle: (Yes/No)

* Simple Animations: (e.g., Fade-in on scroll, hover effects on buttons, smooth transitions)

* Navigation: Sticky header, dropdown menus?

* Social Media Links: (Yes/No - specify platforms)

* Basic Search Functionality: (Yes/No)

* Newsletter Signup Form: (Yes/No)

  • Responsiveness: Confirm the website should be fully responsive and optimized for mobile, tablet, and desktop devices. (This is generally a standard feature, but good to explicitly confirm.)
  • Any Other Specific Features: Describe any unique functionalities you envision. (e.g., a simple counter, a progress bar, video embeds)

5. Inspiration & Examples (Optional but Highly Recommended)

  • Websites You Like: Provide links to 2-3 websites whose design, layout, or specific features you admire. Please explain what specifically you like about each.
  • Websites You Dislike: Provide links to 1-2 websites whose design or functionality you dislike, and explain why.

Next Steps

Once you provide this detailed information, our system will process your requirements. In Step 2: Generate Site Code & Live Preview, we will then generate the complete HTML, CSS, and JavaScript code based on your specifications and present you with a live, interactive preview of your new website. You will then have the opportunity to review and request revisions.

Please provide your detailed input below to proceed.

css

/ General Body & Typography /

body {

font-family: 'Open Sans', sans-serif;

margin: 0;

line-height: 1.6;

color: #333;

background-color: #f4f4f4;

}

h1, h2, h3, h4, h5, h6 {

font-family: 'Montserrat', sans-serif;

color: #2c3e50;

margin-top: 0;

margin-bottom: 0.5em;

}

h2 { font-size: 2.5em; }

h3 { font-size: 2em; }

h4 { font-size: 1.5em; }

a {

color: #007bff;

text-decoration: none;

}

a:hover {

text-decoration: underline;

}

.container {

width: 90%;

max-width: 1200px;

margin: 0 auto;

padding: 20px 0;

}

/ Buttons /

.btn {

display: inline-block;

padding: 12px 25px;

border-radius: 5px;

font-weight: 600;

text-align: center;

transition: background-color 0.3s ease, color 0.3s ease;

text-decoration: none;

}

.btn-primary {

background-color: #007bff;

color: #fff;

border: 1px solid #007bff;

}

.btn-primary:hover {

background-color: #0056b3;

border-color: #0056b3;

text-decoration: none;

}

/ Header /

.main-header {

background-color: #fff;

padding: 15px 0;

box-shadow: 0 2px 5px rgba(0,0,0,0.1);

position: sticky;

top: 0;

z-index: 1000;

}

.main-header .container {

display: flex;

justify-content: space-between;

align-items: center;

flex-wrap: wrap; / Allow wrapping on smaller screens /

}

.main-header .logo {

margin: 0;

font-size: 1.8em;

font-weight: 700;

}

.main-header .logo a {

color: #2c3e50;

text-decoration: none;

}

.main-nav ul {

list-style: none;

margin: 0;

padding: 0;

display: flex;

}

.main-nav li {

margin-left: 25px;

}

.main-nav a {

color: #555;

font-weight: 600;

text-transform: uppercase;

transition: color 0.3s ease;

}

.main-nav a:hover {

color: #007bff;

text-decoration: none;

}

/ Hero Section /

.hero-section {

background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x800/2c3e50/ffffff?text=Panthera+Solutions+Banner') no-repeat center center/cover;

color: #fff;

text-align: center;

padding: 100px 0;

display: flex;

align-items: center;

min-height: 600px;

}

.hero-content {

max-width: 800px;

margin: 0 auto;

}

.hero-content h2 {

font-size: 3.5em;

margin-bottom: 20px;

color: #fff;

line-height: 1.2;

}

.hero-content p {

font-size: 1.4em;

margin-bottom: 40px;

opacity: 0.9;

}

/ Sections General /

section {

padding: 80px 0;

text-align: center;

}

section:nth-of-type(even) {

background-color: #f9f9f9;

}

section h3 {

font-size: 2.5em;

margin-bottom: 60px;

position: relative;

display: inline-block;

}

section h3::after {

content: '';

position: absolute;

left: 50%;

bottom: -15px;

transform: translateX(-50%);

width: 60px;

height: 4px;

background-color: #007bff;

border-radius: 2px;

}

/ Services Section /

.service-grid {

display: grid;

grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

gap: 30px;

margin-top: 40px;

}

.service-item {

background-color: #fff;

padding: 30px;

border-radius: 8px;

box-shadow: 0 5px 15px rgba(0,0,0,0.08);

transition: transform 0.3s ease;

}

.service-item:hover {

transform: translateY(-10px);

}

.service-item img {

width: 60px;

height: 60px;

margin-bottom

website_code_generator.html
Download source file
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
\n\n\n";var _phIsHtml=true;var _phFname="website_code_generator.html";var _phPreviewUrl="/api/runs/69cd01903e7fb09ff16a7084/preview";var _phAll="## Step 1 of 2: Website Code Generation - Information Gathering\n\nThis is the initial phase of our \"Website Code Generator\" workflow. To ensure we generate the most accurate and effective HTML, CSS, and JavaScript code for your website, we need to gather detailed information about your vision and requirements.\n\n### Purpose of This Step\n\nThe goal of this step is to meticulously collect all necessary specifications for your website. This comprehensive input will serve as the blueprint for the automated code generation process in Step 2, ensuring the final output perfectly aligns with your expectations, design preferences, and functional needs.\n\n### Your Input Required: Website Specifications\n\nPlease provide as much detail as possible for each of the following categories. The more specific your input, the better our AI can tailor the generated code to your exact needs.\n\n---\n\n### **1. Website Core Information**\n\n* **Website Name/Title:** (e.g., \"Acme Innovations,\" \"My Personal Portfolio,\" \"The Green Bistro\")\n* **Primary Goal/Purpose:** What do you want your website to achieve? (e.g., Generate leads, sell products, showcase portfolio, provide information, build community, personal blog)\n* **Target Audience:** Who are you trying to reach? (e.g., Small business owners, young professionals, local customers, artists, tech enthusiasts)\n* **Overall Tone/Vibe:** (e.g., Professional, friendly, innovative, artistic, luxurious, quirky, minimalist)\n\n---\n\n### **2. Website Structure & Content**\n\n* **Main Sections/Pages:** List all the primary pages or sections your website should include.\n * *Example:* Home, About Us, Services, Products, Portfolio, Blog, Contact, FAQ, Testimonials, Gallery.\n* **Key Content for Each Section (Brief Description):** For each page/section, provide a brief outline of the content it should contain.\n * *Example:*\n * **Home:** Hero section with catchy headline & CTA, 3 key service highlights, testimonial slider.\n * **About Us:** Company history, mission statement, team members (if applicable).\n * **Services:** List of services with short descriptions, maybe an \"Our Process\" section.\n * **Contact:** Contact form, map, address, phone, email.\n * *(Note: If you don't have specific text ready, we can use professional placeholder (Lorem Ipsum) content, but knowing the *type* of content is crucial.)*\n* **Call to Action (CTA):** What specific action do you want visitors to take? (e.g., \"Request a Quote,\" \"Shop Now,\" \"Learn More,\" \"Contact Us,\" \"Sign Up,\" \"Download Ebook\")\n\n---\n\n### **3. Design & Aesthetics**\n\n* **Overall Style/Layout Preference:** (e.g., Modern & clean, classic & elegant, bold & vibrant, minimalist, rustic, corporate, grid-based, magazine-style)\n* **Color Palette:**\n * **Primary Colors:** (e.g., Hex codes: `#007bff`, `#28a745` or descriptive: \"Deep blue,\" \"Forest green\")\n * **Secondary Colors:** (e.g., Hex codes: `#6c757d`, `#ffc107` or descriptive: \"Light grey,\" \"Bright yellow\")\n * **Accent Colors:** (e.g., Hex codes: `#dc3545` or descriptive: \"Vibrant red for CTAs\")\n * *(If no specific codes, describe your desired color scheme, e.g., \"Warm earthy tones,\" \"Cool blues and greys,\" \"Bright and energetic.\")*\n* **Font Preferences:**\n * **Headings:** (e.g., \"Modern sans-serif like Montserrat,\" \"Classic serif like Georgia,\" \"Handwritten style\")\n * **Body Text:** (e.g., \"Clean and readable sans-serif like Open Sans,\" \"Traditional serif like Times New Roman\")\n * *(If you have specific Google Fonts in mind, please list them.)*\n* **Imagery/Visual Style:** Describe the type of images or illustrations you prefer. (e.g., Professional stock photos, custom illustrations, abstract art, realistic photography, minimal icons)\n* **Logo/Branding:**\n * Describe your logo (if applicable).\n * Are there any existing brand guidelines we should adhere to?\n * *(Note: We will use a placeholder logo if none is provided at this stage.)*\n\n---\n\n### **4. Functionality & Features**\n\n* **Interactive Elements:**\n * Do you need a working **Contact Form**? (Yes/No)\n * **Image Gallery/Slider/Carousel:** (Yes/No - if yes, specify type)\n * **Testimonial Carousel/Slider:** (Yes/No)\n * **FAQ Accordion/Toggle:** (Yes/No)\n * **Simple Animations:** (e.g., Fade-in on scroll, hover effects on buttons, smooth transitions)\n * **Navigation:** Sticky header, dropdown menus?\n * **Social Media Links:** (Yes/No - specify platforms)\n * **Basic Search Functionality:** (Yes/No)\n * **Newsletter Signup Form:** (Yes/No)\n* **Responsiveness:** Confirm the website should be fully responsive and optimized for mobile, tablet, and desktop devices. (This is generally a standard feature, but good to explicitly confirm.)\n* **Any Other Specific Features:** Describe any unique functionalities you envision. (e.g., a simple counter, a progress bar, video embeds)\n\n---\n\n### **5. Inspiration & Examples (Optional but Highly Recommended)**\n\n* **Websites You Like:** Provide links to 2-3 websites whose design, layout, or specific features you admire. Please explain *what specifically* you like about each.\n* **Websites You Dislike:** Provide links to 1-2 websites whose design or functionality you dislike, and explain *why*.\n\n---\n\n### **Next Steps**\n\nOnce you provide this detailed information, our system will process your requirements. In **Step 2: Generate Site Code & Live Preview**, we will then generate the complete HTML, CSS, and JavaScript code based on your specifications and present you with a live, interactive preview of your new website. You will then have the opportunity to review and request revisions.\n\n**Please provide your detailed input below to proceed.**\n\n## Workflow Step 2 of 2: Website Deployment & Live Preview\n\n**Description:** Your complete website code has been successfully generated and is now ready for live preview and deployment. This step provides you with all the necessary files (HTML, CSS, JavaScript) and detailed instructions to view your website locally, deploy it to a web server, or further customize it.\n\n---\n\n### Website Generation Complete!\n\nCongratulations! Your professional website, \"Panthera Solutions,\" has been fully generated. Below you will find the complete source code for your website, structured into separate HTML, CSS, and JavaScript files for clarity and ease of management.\n\n---\n\n### Live Preview Access\n\nWhile we cannot host a live server directly, you can easily experience a \"live preview\" of your generated website using the following methods:\n\n1. **Local File Preview (Recommended for Quick View):**\n * Create a new folder on your computer (e.g., `PantheraWebsite`).\n * Save the HTML code provided below as `index.html` inside this folder.\n * Save the CSS code provided below as `style.css` inside the *same* folder.\n * Save the JavaScript code provided below as `script.js` inside the *same* folder.\n * Open the `index.html` file in your preferred web browser (e.g., Chrome, Firefox, Edge).\n * **Result:** Your website will immediately load, allowing you to interact with it just as it would appear online.\n\n2. **Online Code Sandbox (Instant Preview & Sharing):**\n * Go to an online code editor like [CodePen](https://codepen.io/pen/), [JSFiddle](https://jsfiddle.net/), or [Glitch](https://glitch.com/).\n * Paste the respective HTML, CSS, and JavaScript code into the designated panels.\n * **Result:** These platforms will instantly render your website, providing a live, shareable preview without needing to save files locally.\n\n---\n\n### Generated Website Code\n\nHere is the complete code for your \"Panthera Solutions\" website:\n\n#### 1. `index.html` (HTML Structure)\n\n```html\n\n\n\n \n \n Panthera Solutions - Innovate. Deliver. Excel.\n \n \n\n\n
\n
\n

Panthera Solutions

\n \n
\n
\n\n
\n
\n
\n

Empowering Your Digital Future

\n

Innovative technology solutions designed to propel your business forward.

\n Get Started Today\n
\n
\n
\n\n
\n
\n

Our Services

\n
\n
\n \"Web\n

Web Development

\n

Crafting responsive, high-performance websites tailored to your brand.

\n
\n
\n \"App\n

Mobile App Development

\n

Building intuitive and engaging mobile applications for iOS and Android.

\n
\n
\n \"Cloud\n

Cloud Solutions

\n

Leveraging cloud power for scalability, security, and efficiency.

\n
\n
\n \"Consulting\n

IT Consulting

\n

Strategic guidance to optimize your technology infrastructure.

\n
\n
\n
\n
\n\n
\n
\n

About Panthera Solutions

\n

Panthera Solutions is a leading technology firm dedicated to delivering cutting-edge digital solutions. With a team of experienced professionals, we partner with businesses to understand their unique challenges and provide innovative, scalable, and secure technology solutions that drive growth and efficiency.

\n

Our commitment to excellence and client satisfaction sets us apart. We believe in building long-term relationships based on trust, transparency, and outstanding results.

\n
\n
\n\n
\n
\n

Get in Touch

\n

Ready to transform your business? Contact us today for a free consultation!

\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n \n
\n
\n
\n\n \n\n \n\n\n```\n\n#### 2. `style.css` (CSS Styling)\n\n```css\n/* General Body & Typography */\nbody {\n font-family: 'Open Sans', sans-serif;\n margin: 0;\n line-height: 1.6;\n color: #333;\n background-color: #f4f4f4;\n}\n\nh1, h2, h3, h4, h5, h6 {\n font-family: 'Montserrat', sans-serif;\n color: #2c3e50;\n margin-top: 0;\n margin-bottom: 0.5em;\n}\n\nh2 { font-size: 2.5em; }\nh3 { font-size: 2em; }\nh4 { font-size: 1.5em; }\n\na {\n color: #007bff;\n text-decoration: none;\n}\n\na:hover {\n text-decoration: underline;\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n padding: 20px 0;\n}\n\n/* Buttons */\n.btn {\n display: inline-block;\n padding: 12px 25px;\n border-radius: 5px;\n font-weight: 600;\n text-align: center;\n transition: background-color 0.3s ease, color 0.3s ease;\n text-decoration: none;\n}\n\n.btn-primary {\n background-color: #007bff;\n color: #fff;\n border: 1px solid #007bff;\n}\n\n.btn-primary:hover {\n background-color: #0056b3;\n border-color: #0056b3;\n text-decoration: none;\n}\n\n/* Header */\n.main-header {\n background-color: #fff;\n padding: 15px 0;\n box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n position: sticky;\n top: 0;\n z-index: 1000;\n}\n\n.main-header .container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap; /* Allow wrapping on smaller screens */\n}\n\n.main-header .logo {\n margin: 0;\n font-size: 1.8em;\n font-weight: 700;\n}\n\n.main-header .logo a {\n color: #2c3e50;\n text-decoration: none;\n}\n\n.main-nav ul {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n}\n\n.main-nav li {\n margin-left: 25px;\n}\n\n.main-nav a {\n color: #555;\n font-weight: 600;\n text-transform: uppercase;\n transition: color 0.3s ease;\n}\n\n.main-nav a:hover {\n color: #007bff;\n text-decoration: none;\n}\n\n/* Hero Section */\n.hero-section {\n background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x800/2c3e50/ffffff?text=Panthera+Solutions+Banner') no-repeat center center/cover;\n color: #fff;\n text-align: center;\n padding: 100px 0;\n display: flex;\n align-items: center;\n min-height: 600px;\n}\n\n.hero-content {\n max-width: 800px;\n margin: 0 auto;\n}\n\n.hero-content h2 {\n font-size: 3.5em;\n margin-bottom: 20px;\n color: #fff;\n line-height: 1.2;\n}\n\n.hero-content p {\n font-size: 1.4em;\n margin-bottom: 40px;\n opacity: 0.9;\n}\n\n/* Sections General */\nsection {\n padding: 80px 0;\n text-align: center;\n}\n\nsection:nth-of-type(even) {\n background-color: #f9f9f9;\n}\n\nsection h3 {\n font-size: 2.5em;\n margin-bottom: 60px;\n position: relative;\n display: inline-block;\n}\n\nsection h3::after {\n content: '';\n position: absolute;\n left: 50%;\n bottom: -15px;\n transform: translateX(-50%);\n width: 60px;\n height: 4px;\n background-color: #007bff;\n border-radius: 2px;\n}\n\n/* Services Section */\n.service-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 30px;\n margin-top: 40px;\n}\n\n.service-item {\n background-color: #fff;\n padding: 30px;\n border-radius: 8px;\n box-shadow: 0 5px 15px rgba(0,0,0,0.08);\n transition: transform 0.3s ease;\n}\n\n.service-item:hover {\n transform: translateY(-10px);\n}\n\n.service-item img {\n width: 60px;\n height: 60px;\n margin-bottom";function phTab(btn,name){document.querySelectorAll(".ph-panel").forEach(function(el){el.classList.remove("active");});document.querySelectorAll(".ph-tab").forEach(function(el){el.classList.remove("active");el.classList.add("inactive");});var p=document.getElementById("panel-"+name);if(p)p.classList.add("active");btn.classList.remove("inactive");btn.classList.add("active");if(name==="preview"){var fr=document.getElementById("ph-preview-frame");if(fr&&!fr.dataset.loaded){if(_phIsHtml){fr.srcdoc=_phCode;}else{var vc=document.getElementById("panel-content");fr.srcdoc=vc?""+vc.innerHTML+"":"

No content

";}fr.dataset.loaded="1";}}}function phCopyCode(){navigator.clipboard.writeText(_phCode).then(function(){var b=document.getElementById("tab-code");if(b){var o=b.innerHTML;b.innerHTML=' Copied!';setTimeout(function(){b.innerHTML=o;},2000);}});}function phCopyAll(){var txt=_phAll;if(!txt){var vc=document.getElementById("panel-content");if(vc)txt=vc.innerText||vc.textContent||"";}navigator.clipboard.writeText(txt).then(function(){alert("Content copied to clipboard!");});}function phDownload(){var content=_phCode||_phAll;if(!content){var vc=document.getElementById("panel-content");if(vc)content=vc.innerText||vc.textContent||"";}if(!content){alert("No content to download.");return;}var fn=_phFname;if(!_phCode&&fn.endsWith(".txt"))fn=fn.replace(/\.txt$/,".md");var a=document.createElement("a");a.href="data:text/plain;charset=utf-8,"+encodeURIComponent(content);a.download=fn;a.click();}function phDownloadZip(){ var lbl=document.getElementById("ph-zip-lbl"); if(lbl)lbl.textContent="Preparing…"; /* ===== HELPERS ===== */ function cc(s){ return s.replace(/[_-s]+([a-z])/g,function(m,c){return c.toUpperCase();}) .replace(/^[a-z]/,function(m){return m.toUpperCase();}); } function pkgName(app){ return app.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; } function slugTitle(app){ return app.replace(/_/g," "); } /* Generic code block extractor. Finds marker comments like: // lib/main.dart or # lib/main.dart or ## lib/main.dart and collects lines until the next marker. Also strips markdown fences (```lang ... ```) from each block. */ function extractFiles(txt, pathRe){ var files={}, cur=null, buf=[]; function flush(){ if(cur&&buf.length){ files[cur]=buf.join(" ").trim(); } } txt.split(" ").forEach(function(line){ var m=line.trim().match(pathRe); if(m){ flush(); cur=m[1]; buf=[]; return; } if(cur) buf.push(line); }); flush(); // Strip ```...``` fences from each file Object.keys(files).forEach(function(k){ files[k]=files[k].replace(/^```[a-z]* ?/,"").replace(/ ?```$/,"").trim(); }); return files; } /* General path extractor that covers most languages */ function extractCode(txt){ var re=/^(?://|#|##)s*((?:lib|src|test|tests|Sources?|app|components?|screens?|views?|hooks?|routes?|store|services?|models?|pages?)/[w/-.]+.w+|pubspec.yaml|Package.swift|angular.json|babel.config.(?:js|ts)|vite.config.(?:js|ts)|tsconfig.(?:json|app.json)|app.json|App.(?:tsx|jsx|vue|kt|swift)|MainActivity(?:.kt)?|ContentView.swift)/i; return extractFiles(txt, re); } /* Detect language from combined code+panel text */ function detectLang(code, panel){ var t=(code+" "+panel).toLowerCase(); if(t.indexOf("import 'package:flutter")>=0||t.indexOf('import "package:flutter')>=0) return "flutter"; if(t.indexOf("statelesswidget")>=0||t.indexOf("statefulwidget")>=0) return "flutter"; if((t.indexOf(".dart")>=0)&&(t.indexOf("pubspec")>=0||t.indexOf("flutter:")>=0)) return "flutter"; if(t.indexOf("react-native")>=0||t.indexOf("react_native")>=0) return "react-native"; if(t.indexOf("stylesheet.create")>=0||t.indexOf("view, text, touchableopacity")>=0) return "react-native"; if(t.indexOf("expo(")>=0||t.indexOf(""expo":")>=0||t.indexOf("from 'expo")>=0) return "react-native"; if(t.indexOf("import swiftui")>=0||t.indexOf("import uikit")>=0) return "swift"; if(t.indexOf(".swift")>=0&&(t.indexOf("func body")>=0||t.indexOf("@main")>=0||t.indexOf("var body: some view")>=0)) return "swift"; if(t.indexOf("import android.")>=0||t.indexOf("package com.example")>=0) return "kotlin"; if(t.indexOf("@composable")>=0||t.indexOf("fun mainactivity")>=0||(t.indexOf(".kt")>=0&&t.indexOf("androidx")>=0)) return "kotlin"; if(t.indexOf("@ngmodule")>=0||t.indexOf("@component")>=0) return "angular"; if(t.indexOf("angular.json")>=0||t.indexOf("from '@angular")>=0) return "angular"; if(t.indexOf(".vue")>=0||t.indexOf("