<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome | CoreFlux Frameworkh</title>
    <style>
        /* Custom font import for 'Inter' */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

        :root {
            /* Colors derived from the CoreFlux Logo */
            --coreflux-blue: #00F2FE; /* A bright cyan-blue */
            --coreflux-purple: #4FACFE; /* A medium blue-purple */
            --coreflux-pink: #FF00FF; /* A vibrant magenta */

            --background-dark-blue: #0A0A2A; /* Dark blue background */
            --card-bg: rgba(26, 26, 40, 0.8); /* Darker blue with transparency for cards */
            --section-bg: rgba(15, 15, 30, 0.7); /* Even darker blue for sections */
            --text-light: #E0E0E0;
            --text-muted: #B0B0B0;
            --border-color: rgba(0, 242, 254, 0.3);
            --shadow-light: rgba(0, 242, 254, 0.2);
            --shadow-dark: rgba(79, 172, 254, 0.2);
        }

        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
            overflow-x: hidden;
            background-color: var(--background-dark-blue); /* Dark blue background */
        }

        .container {
            max-width: 960px;
            width: 100%;
            background: var(--card-bg);
            backdrop-filter: blur(5px); /* Subtle blur effect */
            -webkit-backdrop-filter: blur(5px); /* Safari compatibility */
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border-color);
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }

        .logo-container {
            margin-bottom: 30px;
        }

        .logo {
            max-width: 220px;
            height: auto;
            display: block; /* Ensures centering with margin-left/right auto */
            margin: 0 auto;
            border-radius: 8px; /* Slightly rounded corners for the logo */
        }

        h1 {
            font-weight: 800; /* Extra bold */
            font-size: 3.2rem;
            background: linear-gradient(90deg, var(--coreflux-blue), var(--coreflux-purple), var(--coreflux-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }

        h2 {
            font-weight: 700;
            font-size: 2.2rem; /* Adjusted for better hierarchy */
            color: var(--coreflux-blue); /* Using the blue from the logo */
            margin-bottom: 1rem;
        }

        p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        code {
            background-color: rgba(50, 50, 70, 0.8); /* Darker background for code */
            padding: 4px 8px;
            border-radius: 4px;
            font-family: 'Roboto Mono', monospace; /* Monospaced font for code */
            color: #FFFF00; /* Yellow for code */
            font-size: 0.95rem;
        }

        .message-highlight {
            color: var(--coreflux-blue);
            text-shadow: 0 0 8px var(--coreflux-blue);
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 1rem;
            margin-bottom: 2rem;
        }

        .section-content {
            background: var(--section-bg);
            backdrop-filter: blur(8px); /* Less blur for sections for distinction */
            -webkit-backdrop-filter: blur(8px);
            border-radius: 12px;
            padding: 30px;
            margin-top: 30px;
            border: 1px solid rgba(79, 172, 254, 0.2);
            box-shadow: 0 0 15px rgba(79, 172, 254, 0.1);
            text-align: left; /* Align text left within sections */
        }

        .feature-box {
            background: rgba(30, 30, 50, 0.9); /* Slightly different background for feature box */
            border: 1px solid rgba(0, 242, 254, 0.4);
            border-radius: 10px;
            padding: 25px;
            margin-top: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        }

        .feature-box ul {
            list-style: none; /* Remove default bullet points */
            padding: 0;
            margin: 0;
        }

        .feature-box ul li {
            margin-bottom: 10px;
            padding-left: 30px; /* Space for emoji */
            position: relative;
            font-size: 1.1rem;
            line-height: 1.5;
            color: var(--text-light);
        }

        .feature-box ul li::before {
            content: '✨'; /* Emoji for list style */
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.2em;
            margin-right: 10px;
        }

        .btn {
            display: inline-block;
            margin-top: 30px;
            padding: 16px 35px;
            border-radius: 50px;
            background: linear-gradient(45deg, var(--coreflux-blue), var(--coreflux-purple));
            color: #fff;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.4s ease;
            box-shadow: 0 0 20px var(--shadow-light), 0 0 30px var(--shadow-dark);
            font-size: 1.1rem;
        }

        .btn:hover {
            background: linear-gradient(45deg, var(--coreflux-purple), var(--coreflux-pink));
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 0 25px rgba(79, 172, 254, 0.4), 0 0 40px rgba(255, 0, 255, 0.4);
        }

        footer {
            margin-top: 40px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .container {
                padding: 25px;
            }
            .section-content {
                padding: 20px;
            }
            .btn {
                padding: 14px 30px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .container {
                padding: 15px;
            }
            .section-content {
                padding: 15px;
            }
            p, .message-highlight, .feature-box ul li {
                font-size: 1rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo-container">
            <!-- Using the uploaded CoreFlux Logo -->
            <img src="{{$logo}}" alt="CoreFlux Logo" class="logo">
        </div>
        <h1>🎉 CoreFlux Framework Installed!</h1>
        <p class="message-highlight">Your powerful web development journey begins here.</p>

        <div class="section-content">
            <h2>About CoreFlux</h2>
            <p>
                CoreFlux is a lightweight, high-performance PHP framework designed to streamline web development. It follows the Model-View-Controller (MVC) architecture, offering robust routing, flexible templating, and powerful tools for building modern web applications and APIs with speed and clarity.
            </p>
        </div>

        <div class="section-content">
            <h2>CoreFlux CSS</h2>
            <p>
                CoreFlux CSS is a hybrid styling system combining flexibility and speed:
            </p>
            <div class="feature-box">
                <ul>
                    <li>Utility-First: Build custom designs quickly with atomic classes.</li>
                    <li>Pre-Built Components: Use ready-made UI elements for faster development.</li>
                    <li>Theming: Switch between dark/light modes or custom palettes easily.</li>
                    <li>Animations: Enhance interfaces with built-in CSS effects.</li>
                    <li>Accessibility: Designed with A11y best practices in mind.</li>
                </ul>
            </div>
            <p>This approach ensures flexibility, performance, and consistency across projects.</p>
        </div>

        <div class="section-content">
            <h2>CoreFlux Virtual DOM</h2>
            <p>
                The CoreFlux Virtual DOM powers dynamic, reactive frontends. It is a lightweight, in-memory representation of the actual DOM, enabling efficient updates.
            </p>
            <div class="feature-box">
                <ul>
                    <li>Efficiency: Tracks changes and applies only minimal updates.</li>
                    <li>Performance: Avoids full-page reloads by updating only what is needed.</li>
                    <li>Dynamic UIs: Enables smooth, app-like experiences for users.</li>
                </ul>
            </div>
            <p>
                CoreFlux integrates seamlessly with its Virtual DOM, combining backend power with responsive, interactive interfaces.
            </p>
        </div>

        <div class="section-content">
            <h2>Next Steps</h2>
            <p>👉 Configure your <strong style="color: var(--coreflux-blue);">routes</strong> in <code>app/routes/web.php</code></p>
            <p>👉 Set up your <strong style="color: var(--coreflux-blue);">database</strong> in <code>app/config/database.php</code></p>
            <p>👉 Create your first <strong style="color: var(--coreflux-blue);">controller</strong> inside <code>app/Controllers</code></p>
            <a href="/" class="btn">Go to Home</a>
        </div>
    </div>
    <footer>
        &copy; <span id="currentYear"></span> CoreFlux Framework. Built with ❤️ for developers.
    </footer>

    <script>
        // Dynamically set the current year in the footer
        document.getElementById('currentYear').textContent = new Date().getFullYear();
    </script>
</body>
</html>
