Website Code Generator
Run ID: 69cbb71b61b1021a29a8b97a2026-03-31Web Development
PantheraHive BOS
BOS Dashboard

Website Code Generator: Step 1 of 2 - Code Generation Complete

Workflow: Website Code Generator

Step: websitebuildergenerate_site

Description: Generate complete HTML/CSS/JavaScript code for your website with live preview


Your request to generate the website code has been successfully processed. Below, you will find the comprehensive HTML, CSS, and JavaScript code generated based on a professional, responsive landing page template. This output is designed to be production-ready and easily customizable.

1. Generated Website Scenario (Example)

Since specific website requirements were not provided in the initial input, we have generated a detailed example of a modern, responsive landing page for a fictional "PantheraTech Solutions" consultancy. This example showcases best practices in web development, including semantic HTML, clean CSS, and basic interactive JavaScript.

Key Features of the Generated Example Site:

2. Generated Code Output

2.1. index.html (HTML Structure)

This file defines the content and structure of your website.

html • 4,790 chars
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PantheraTech Solutions - Innovate. Transform. 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">
            <a href="#" class="logo">PantheraTech</a>
            <nav class="main-nav">
                <button class="hamburger" aria-label="Toggle navigation">
                    <span class="bar"></span>
                    <span class="bar"></span>
                    <span class="bar"></span>
                </button>
                <ul class="nav-links">
                    <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>

    <main>
        <section id="home" class="hero-section">
            <div class="container">
                <h1>Innovate. Transform. Excel.</h1>
                <p>Your trusted partner for cutting-edge technology solutions.</p>
                <a href="#contact" class="btn primary-btn">Get a Free Consultation</a>
            </div>
        </section>

        <section id="services" class="services-section">
            <div class="container">
                <h2>Our Services</h2>
                <div class="service-grid">
                    <div class="service-card">
                        <h3>Web Development</h3>
                        <p>Crafting responsive, high-performance websites tailored to your business needs.</p>
                    </div>
                    <div class="service-card">
                        <h3>Cloud Solutions</h3>
                        <p>Scalable and secure cloud infrastructure to power your digital transformation.</p>
                    </div>
                    <div class="service-card">
                        <h3>AI & Machine Learning</h3>
                        <p>Leveraging artificial intelligence to drive innovation and efficiency.</p>
                    </div>
                    <div class="service-card">
                        <h3>Cybersecurity</h3>
                        <p>Protecting your digital assets with robust and proactive security measures.</p>
                    </div>
                </div>
            </div>
        </section>

        <section id="about" class="about-section">
            <div class="container">
                <h2>About PantheraTech Solutions</h2>
                <p>PantheraTech Solutions is a leading technology consultancy dedicated to empowering businesses with innovative digital strategies. With a team of experienced professionals, we deliver bespoke solutions that drive growth, optimize operations, and enhance user experience.</p>
                <p>Our mission is to bridge the gap between complex technology and practical business applications, ensuring our clients stay ahead in an ever-evolving digital landscape.</p>
            </div>
        </section>

        <section id="contact" class="contact-section">
            <div class="container">
                <h2>Get in Touch</h2>
                <p>Have a project in mind? Let's discuss how we can help your business thrive.</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 primary-btn">Send Message</button>
                </form>
            </div>
        </section>
    </main>

    <footer class="main-footer">
        <div class="container">
            <p>&copy; 2023 PantheraTech Solutions. All rights reserved.</p>
            <div class="footer-links">
                <a href="#">Privacy Policy</a>
                <a href="#">Terms of Service</a>
            </div>
        </div>
    </footer>

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

css

/ Basic Reset & Global Styles /

  • {

margin: 0;

padding: 0;

box-sizing: border-box;

}

body {

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

line-height: 1.6;

color: #333;

background-color: #f4f7f6;

}

.container {

max-width: 1200px;

margin: 0 auto;

padding: 0 20px;

}

h1, h2, h3 {

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

color: #2c3e50;

margin-bottom: 15px;

}

h1 { font-size: 3.2em; }

h2 { font-size: 2.5em; }

h3 { font-size: 1.8em; }

p {

margin-bottom: 1em;

font-size: 1.1em;

}

a {

text-decoration: none;

color: #007bff;

}

a:hover {

color: #0056b3;

}

.btn {

display: inline-block;

padding: 12px 25px;

border-radius: 5px;

font-size: 1.1em;

font-weight: 600;

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

}

.primary-btn {

background-color: #007bff;

color: #fff;

border: none;

}

.primary-btn:hover {

background-color: #0056b3;

transform: translateY(-2px);

}

/ Header /

.main-header {

background-color: #fff;

padding: 20px 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;

}

.logo {

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

font-size: 1.8em;

font-weight: 700;

color: #2c3e50;

}

.main-nav .nav-links {

list-style: none;

display: flex;

}

.main-nav .nav-links li {

margin-left: 30px;

}

.main-nav .nav-links a {

color: #555;

font-weight: 600;

font-size: 1.1em;

padding: 5px 0;

position: relative;

}

.main-nav .nav-links a::after {

content: '';

position: absolute;

width: 0;

height: 2px;

background-color: #007bff;

bottom: 0;

left: 0;

transition: width 0.3s ease;

}

.main-nav .nav-links a:hover::after,

.main-nav .nav-links a.active::after {

width: 100%;

}

/ Hamburger Menu (for mobile) /

.hamburger {

display: none; / Hidden on desktop /

background: none;

border: none;

cursor: pointer;

padding: 10px;

z-index: 1001;

}

.hamburger .bar {

display: block;

width: 25px;

height: 3px;

background-color: #333;

margin: 5px 0;

transition: 0.4s;

}

/ 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=PantheraTech+Hero') no-repeat center center/cover;

color: #fff;

text-align: center;

padding: 150px 0;

}

.hero-section h1 {

font-size: 4em;

margin-bottom: 20px;

color: #fff;

}

.hero-section p {

font-size: 1.5em;

margin-bottom: 40px;

color: #e0e0e0;

}

/ Section Styling /

section {

padding: 80px 0;

text-align: center;

}

section:nth-child(even) {

background-color: #e9ecef;

}

section h2 {

margin-bottom: 40px;

position: relative;

padding-bottom: 10px;

}

section h2::after {

content: '';

position: absolute;

left: 50%;

transform: translateX(-50%);

bottom: 0;

width: 60px;

height: 3px;

background-color: #007bff;

}

/ Services Section /

.service-grid {

display: grid;

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

gap: 30px;

margin-top: 50px;

}

.service-card {

background-color: #fff;

padding: 30px;

border-radius: 8px;

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

transition: transform 0.3s ease, box-shadow 0.3s ease;

text-align: left;

}

.service-card:hover {

transform: translateY(-5px);

box-shadow: 0 6px 20px rgba(0,0,0,0.12);

}

.service-card h3 {

color: #007bff;

margin-bottom: 10px;

font-size: 1.5em;

}

.service-card p {

font-size: 1em;

color: #666;

}

/ About Section /

.about-section p {

max-width: 800px;

margin: 0 auto 1.5em auto;

text-align: left;

}

/ Contact Section /

.contact-form {

max-width: 600px;

margin: 40px auto 0 auto;

background-color: #fff;

padding: 40px;

border-radius: 8px;

box-shadow: 0 4px 15px rgba(0,0,

websitebuilder Output

Website Code Generation Complete!

Your complete website code has been successfully generated and is ready for deployment. This output provides all the necessary HTML, CSS, and JavaScript files, along with detailed instructions on how to preview and deploy your new website.

Website Overview: Panthera Solutions Landing Page

For this generation, we've created a professional, responsive landing page for a fictional company, "Panthera Solutions," specializing in innovative tech services. This design features:

  • Responsive Navigation Bar: Adapts for mobile and desktop views.
  • Hero Section: Prominent call to action with a background image.
  • Services Section: Showcases key offerings with icons and descriptions.
  • About Us Section: Provides company background.
  • Contact Section: Includes a basic contact form placeholder.
  • Footer: Standard copyright and quick links.
  • Smooth Scrolling: Enhanced user experience for navigation links.

1. Generated Code Files

Below are the contents for your index.html, style.css, and script.js files. Please save these into separate files as indicated.

1.1 index.html (Main HTML Structure)


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Panthera Solutions - Innovative Tech Services</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">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
    <header>
        <nav class="navbar">
            <div class="container">
                <a href="#" class="logo">Panthera Solutions</a>
                <button class="menu-toggle" aria-label="Toggle navigation">
                    <i class="fas fa-bars"></i>
                </button>
                <ul class="nav-links">
                    <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>
            </div>
        </nav>
    </header>

    <main>
        <section id="home" class="hero">
            <div class="container">
                <h1>Innovate. Create. Elevate.</h1>
                <p>Empowering businesses with cutting-edge technology and strategic solutions.</p>
                <a href="#services" class="btn btn-primary">Our Services</a>
            </div>
        </section>

        <section id="services" class="section-padding">
            <div class="container">
                <h2>Our Expertise</h2>
                <div class="services-grid">
                    <div class="service-item">
                        <i class="fas fa-desktop icon"></i>
                        <h3>Web Development</h3>
                        <p>Building responsive, high-performance websites tailored to your needs.</p>
                    </div>
                    <div class="service-item">
                        <i class="fas fa-mobile-alt icon"></i>
                        <h3>Mobile Apps</h3>
                        <p>Developing intuitive and robust mobile applications for iOS and Android.</p>
                    </div>
                    <div class="service-item">
                        <i class="fas fa-cloud icon"></i>
                        <h3>Cloud Solutions</h3>
                        <p>Leveraging cloud technology for scalable and secure infrastructure.</p>
                    </div>
                    <div class="service-item">
                        <i class="fas fa-chart-line icon"></i>
                        <h3>Digital Marketing</h3>
                        <p>Driving online visibility and growth through data-driven strategies.</p>
                    </div>
                </div>
            </div>
        </section>

        <section id="about" class="section-padding bg-light">
            <div class="container">
                <h2>About Panthera Solutions</h2>
                <p>At Panthera Solutions, we are a team of passionate innovators dedicated to transforming ideas into impactful digital experiences. With years of experience in the tech industry, we pride ourselves on delivering bespoke solutions that drive tangible results for our clients. Our approach is collaborative, transparent, and focused on long-term success.</p>
                <p>We believe in the power of technology to solve complex problems and create new opportunities. Let us help you navigate the digital landscape and achieve your business objectives.</p>
            </div>
        </section>

        <section id="contact" class="section-padding">
            <div class="container">
                <h2>Get in Touch</h2>
                <p>Have a project in mind or just want to say hello? We'd love to hear from you!</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="6" required></textarea>
                    </div>
                    <button type="submit" class="btn btn-primary">Send Message</button>
                </form>
            </div>
        </section>
    </main>

    <footer>
        <div class="container">
            <p>&copy; 2023 Panthera Solutions. All rights reserved.</p>
            <div class="social-links">
                <a href="#" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
                <a href="#" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
                <a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
            </div>
        </div>
    </footer>

    <script src="script.js"></script>
</body>
</html>

1.2 style.css (Website Styling)


/* General Body & Reset */
:root {
    --primary-color: #3498db; /* Blue */
    --secondary-color: #2c3e50; /* Dark Blue/Grey */
    --accent-color: #e74c3c; /* Red */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-grey: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

h1 { font-size: 3.2em; }
h2 { font-size: 2.5em; text-align: center; margin-bottom: 40px;}
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Header & Navigation */
.navbar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
}

.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--white);
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1920x800/2c3e50/ffffff?text=Panthera+Solutions+Banner') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.hero .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 4em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-item .icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* About Section */
.bg-light {
    background-color: var(--light-bg);
}

.about p {
    font-size: 1.1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-grey);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    
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/69cbb71b61b1021a29a8b97a/preview";var _phAll="## Website Code Generator: Step 1 of 2 - Code Generation Complete\n\n**Workflow:** Website Code Generator\n**Step:** `websitebuilder` → `generate_site`\n**Description:** Generate complete HTML/CSS/JavaScript code for your website with live preview\n\n---\n\nYour request to generate the website code has been successfully processed. Below, you will find the comprehensive HTML, CSS, and JavaScript code generated based on a professional, responsive landing page template. This output is designed to be production-ready and easily customizable.\n\n### 1. Generated Website Scenario (Example)\n\nSince specific website requirements were not provided in the initial input, we have generated a detailed example of a **modern, responsive landing page for a fictional \"PantheraTech Solutions\" consultancy**. This example showcases best practices in web development, including semantic HTML, clean CSS, and basic interactive JavaScript.\n\n**Key Features of the Generated Example Site:**\n* **Responsive Design:** Adapts seamlessly to desktop, tablet, and mobile screens.\n* **Modern Aesthetics:** Clean layout, professional typography, and a contemporary color scheme.\n* **Clear Call-to-Action (CTA):** Prominently features a main action for visitors.\n* **Semantic HTML5 Structure:** Ensures accessibility and search engine optimization.\n* **Modular CSS:** Organized styles for maintainability.\n* **Interactive Navigation:** A responsive hamburger menu for mobile devices.\n\n### 2. Generated Code Output\n\n#### 2.1. `index.html` (HTML Structure)\n\nThis file defines the content and structure of your website.\n\n```html\n\n\n\n \n \n PantheraTech Solutions - Innovate. Transform. Excel.\n \n \n\n\n
\n
\n PantheraTech\n \n
\n
\n\n
\n
\n
\n

Innovate. Transform. Excel.

\n

Your trusted partner for cutting-edge technology solutions.

\n Get a Free Consultation\n
\n
\n\n
\n
\n

Our Services

\n
\n
\n

Web Development

\n

Crafting responsive, high-performance websites tailored to your business needs.

\n
\n
\n

Cloud Solutions

\n

Scalable and secure cloud infrastructure to power your digital transformation.

\n
\n
\n

AI & Machine Learning

\n

Leveraging artificial intelligence to drive innovation and efficiency.

\n
\n
\n

Cybersecurity

\n

Protecting your digital assets with robust and proactive security measures.

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

About PantheraTech Solutions

\n

PantheraTech Solutions is a leading technology consultancy dedicated to empowering businesses with innovative digital strategies. With a team of experienced professionals, we deliver bespoke solutions that drive growth, optimize operations, and enhance user experience.

\n

Our mission is to bridge the gap between complex technology and practical business applications, ensuring our clients stay ahead in an ever-evolving digital landscape.

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

Get in Touch

\n

Have a project in mind? Let's discuss how we can help your business thrive.

\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\n#### 2.2. `style.css` (CSS Styling)\n\nThis file contains all the styling for your website, ensuring a modern and responsive design.\n\n```css\n/* Basic Reset & Global Styles */\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Open Sans', sans-serif;\n line-height: 1.6;\n color: #333;\n background-color: #f4f7f6;\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\nh1, h2, h3 {\n font-family: 'Montserrat', sans-serif;\n color: #2c3e50;\n margin-bottom: 15px;\n}\n\nh1 { font-size: 3.2em; }\nh2 { font-size: 2.5em; }\nh3 { font-size: 1.8em; }\n\np {\n margin-bottom: 1em;\n font-size: 1.1em;\n}\n\na {\n text-decoration: none;\n color: #007bff;\n}\n\na:hover {\n color: #0056b3;\n}\n\n.btn {\n display: inline-block;\n padding: 12px 25px;\n border-radius: 5px;\n font-size: 1.1em;\n font-weight: 600;\n transition: background-color 0.3s ease, transform 0.2s ease;\n}\n\n.primary-btn {\n background-color: #007bff;\n color: #fff;\n border: none;\n}\n\n.primary-btn:hover {\n background-color: #0056b3;\n transform: translateY(-2px);\n}\n\n/* Header */\n.main-header {\n background-color: #fff;\n padding: 20px 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}\n\n.logo {\n font-family: 'Montserrat', sans-serif;\n font-size: 1.8em;\n font-weight: 700;\n color: #2c3e50;\n}\n\n.main-nav .nav-links {\n list-style: none;\n display: flex;\n}\n\n.main-nav .nav-links li {\n margin-left: 30px;\n}\n\n.main-nav .nav-links a {\n color: #555;\n font-weight: 600;\n font-size: 1.1em;\n padding: 5px 0;\n position: relative;\n}\n\n.main-nav .nav-links a::after {\n content: '';\n position: absolute;\n width: 0;\n height: 2px;\n background-color: #007bff;\n bottom: 0;\n left: 0;\n transition: width 0.3s ease;\n}\n\n.main-nav .nav-links a:hover::after,\n.main-nav .nav-links a.active::after {\n width: 100%;\n}\n\n/* Hamburger Menu (for mobile) */\n.hamburger {\n display: none; /* Hidden on desktop */\n background: none;\n border: none;\n cursor: pointer;\n padding: 10px;\n z-index: 1001;\n}\n\n.hamburger .bar {\n display: block;\n width: 25px;\n height: 3px;\n background-color: #333;\n margin: 5px 0;\n transition: 0.4s;\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=PantheraTech+Hero') no-repeat center center/cover;\n color: #fff;\n text-align: center;\n padding: 150px 0;\n}\n\n.hero-section h1 {\n font-size: 4em;\n margin-bottom: 20px;\n color: #fff;\n}\n\n.hero-section p {\n font-size: 1.5em;\n margin-bottom: 40px;\n color: #e0e0e0;\n}\n\n/* Section Styling */\nsection {\n padding: 80px 0;\n text-align: center;\n}\n\nsection:nth-child(even) {\n background-color: #e9ecef;\n}\n\nsection h2 {\n margin-bottom: 40px;\n position: relative;\n padding-bottom: 10px;\n}\n\nsection h2::after {\n content: '';\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 0;\n width: 60px;\n height: 3px;\n background-color: #007bff;\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: 50px;\n}\n\n.service-card {\n background-color: #fff;\n padding: 30px;\n border-radius: 8px;\n box-shadow: 0 4px 15px rgba(0,0,0,0.08);\n transition: transform 0.3s ease, box-shadow 0.3s ease;\n text-align: left;\n}\n\n.service-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 6px 20px rgba(0,0,0,0.12);\n}\n\n.service-card h3 {\n color: #007bff;\n margin-bottom: 10px;\n font-size: 1.5em;\n}\n\n.service-card p {\n font-size: 1em;\n color: #666;\n}\n\n/* About Section */\n.about-section p {\n max-width: 800px;\n margin: 0 auto 1.5em auto;\n text-align: left;\n}\n\n/* Contact Section */\n.contact-form {\n max-width: 600px;\n margin: 40px auto 0 auto;\n background-color: #fff;\n padding: 40px;\n border-radius: 8px;\n box-shadow: 0 4px 15px rgba(0,0,\n\n## Website Code Generation Complete!\n\nYour complete website code has been successfully generated and is ready for deployment. This output provides all the necessary HTML, CSS, and JavaScript files, along with detailed instructions on how to preview and deploy your new website.\n\n### Website Overview: Panthera Solutions Landing Page\n\nFor this generation, we've created a professional, responsive landing page for a fictional company, \"Panthera Solutions,\" specializing in innovative tech services. This design features:\n\n* **Responsive Navigation Bar:** Adapts for mobile and desktop views.\n* **Hero Section:** Prominent call to action with a background image.\n* **Services Section:** Showcases key offerings with icons and descriptions.\n* **About Us Section:** Provides company background.\n* **Contact Section:** Includes a basic contact form placeholder.\n* **Footer:** Standard copyright and quick links.\n* **Smooth Scrolling:** Enhanced user experience for navigation links.\n\n---\n\n### 1. Generated Code Files\n\nBelow are the contents for your `index.html`, `style.css`, and `script.js` files. Please save these into separate files as indicated.\n\n#### 1.1 `index.html` (Main HTML Structure)\n\n```html\n\n\n\n \n \n Panthera Solutions - Innovative Tech Services\n \n \n \n\n\n
\n \n
\n\n
\n
\n
\n

Innovate. Create. Elevate.

\n

Empowering businesses with cutting-edge technology and strategic solutions.

\n Our Services\n
\n
\n\n
\n
\n

Our Expertise

\n
\n
\n \n

Web Development

\n

Building responsive, high-performance websites tailored to your needs.

\n
\n
\n \n

Mobile Apps

\n

Developing intuitive and robust mobile applications for iOS and Android.

\n
\n
\n \n

Cloud Solutions

\n

Leveraging cloud technology for scalable and secure infrastructure.

\n
\n
\n \n

Digital Marketing

\n

Driving online visibility and growth through data-driven strategies.

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

About Panthera Solutions

\n

At Panthera Solutions, we are a team of passionate innovators dedicated to transforming ideas into impactful digital experiences. With years of experience in the tech industry, we pride ourselves on delivering bespoke solutions that drive tangible results for our clients. Our approach is collaborative, transparent, and focused on long-term success.

\n

We believe in the power of technology to solve complex problems and create new opportunities. Let us help you navigate the digital landscape and achieve your business objectives.

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

Get in Touch

\n

Have a project in mind or just want to say hello? We'd love to hear from you!

\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\n#### 1.2 `style.css` (Website Styling)\n\n```css\n/* General Body & Reset */\n:root {\n --primary-color: #3498db; /* Blue */\n --secondary-color: #2c3e50; /* Dark Blue/Grey */\n --accent-color: #e74c3c; /* Red */\n --text-color: #333;\n --light-bg: #f8f9fa;\n --white: #ffffff;\n --dark-grey: #555;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Open Sans', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--white);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\nh1, h2, h3 {\n font-family: 'Montserrat', sans-serif;\n color: var(--secondary-color);\n margin-bottom: 15px;\n}\n\nh1 { font-size: 3.2em; }\nh2 { font-size: 2.5em; text-align: center; margin-bottom: 40px;}\nh3 { font-size: 1.8em; }\n\np {\n margin-bottom: 15px;\n}\n\na {\n text-decoration: none;\n color: var(--primary-color);\n}\n\nimg {\n max-width: 100%;\n height: auto;\n}\n\n.section-padding {\n padding: 80px 0;\n}\n\n/* Buttons */\n.btn {\n display: inline-block;\n padding: 12px 25px;\n border-radius: 5px;\n font-weight: 600;\n transition: background-color 0.3s ease;\n}\n\n.btn-primary {\n background-color: var(--primary-color);\n color: var(--white);\n border: 2px solid var(--primary-color);\n}\n\n.btn-primary:hover {\n background-color: var(--secondary-color);\n border-color: var(--secondary-color);\n}\n\n/* Header & Navigation */\n.navbar {\n background-color: var(--secondary-color);\n color: var(--white);\n padding: 15px 0;\n position: sticky;\n top: 0;\n z-index: 1000;\n box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n}\n\n.navbar .container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.navbar .logo {\n font-family: 'Montserrat', sans-serif;\n font-size: 1.8em;\n font-weight: 700;\n color: var(--white);\n}\n\n.navbar .nav-links {\n list-style: none;\n display: flex;\n}\n\n.navbar .nav-links li {\n margin-left: 30px;\n}\n\n.navbar .nav-links a {\n color: var(--white);\n font-weight: 600;\n padding: 5px 0;\n transition: color 0.3s ease;\n}\n\n.navbar .nav-links a:hover {\n color: var(--primary-color);\n}\n\n.menu-toggle {\n display: none; /* Hidden on desktop */\n background: none;\n border: none;\n font-size: 1.8em;\n color: var(--white);\n cursor: pointer;\n}\n\n/* Hero Section */\n.hero {\n background: url('https://via.placeholder.com/1920x800/2c3e50/ffffff?text=Panthera+Solutions+Banner') no-repeat center center/cover;\n color: var(--white);\n text-align: center;\n padding: 150px 0;\n position: relative;\n display: flex;\n align-items: center;\n min-height: 60vh;\n}\n\n.hero::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */\n}\n\n.hero .container {\n position: relative; /* Ensure content is above overlay */\n z-index: 1;\n}\n\n.hero h1 {\n color: var(--white);\n margin-bottom: 20px;\n font-size: 4em;\n line-height: 1.1;\n}\n\n.hero p {\n font-size: 1.3em;\n margin-bottom: 40px;\n}\n\n/* Services Section */\n.services-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: var(--white);\n padding: 30px;\n border-radius: 8px;\n box-shadow: 0 4px 15px rgba(0,0,0,0.08);\n text-align: center;\n transition: transform 0.3s ease, box-shadow 0.3s ease;\n}\n\n.service-item:hover {\n transform: translateY(-10px);\n box-shadow: 0 6px 20px rgba(0,0,0,0.12);\n}\n\n.service-item .icon {\n font-size: 3.5em;\n color: var(--primary-color);\n margin-bottom: 20px;\n}\n\n.service-item h3 {\n margin-top: 15px;\n margin-bottom: 10px;\n color: var(--secondary-color);\n}\n\n/* About Section */\n.bg-light {\n background-color: var(--light-bg);\n}\n\n.about p {\n font-size: 1.1em;\n max-width: 800px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n}\n\n/* Contact Section */\n.contact-form {\n max-width: 600px;\n margin: 0 auto;\n background-color: var(--white);\n padding: 40px;\n border-radius: 8px;\n box-shadow: 0 4px 15px rgba(0,0,0,0.08);\n}\n\n.contact-form .form-group {\n margin-bottom: 20px;\n}\n\n.contact-form label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: var(--dark-grey);\n}\n\n.contact-form input[type=\"text\"],\n.contact-form input[type=\"email\"],\n.contact-form textarea {\n width: 100%;\n padding: 12px;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1em;\n font-family: 'Open Sans', sans-serif;\n}\n\n.contact-form textarea {\n resize: vertical;\n}\n\n.contact-form .btn-primary {\n width: 100%;\n padding: 15px;\n font-size: 1.1em;\n cursor: pointer;\n}\n\n/* Footer */\nfooter {\n background-color: var(--secondary-color);\n color: var(--white);\n text-align: center;\n ";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(){navigator.clipboard.writeText(_phAll).then(function(){alert("Content copied to clipboard!");});}function phDownload(){var content=_phCode||_phAll;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\u2026"; /* ===== 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("\n").trim(); } } txt.split("\n").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]*\n?/,"").replace(/\n?\`\`\`$/,"").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("