Compare commits

...

1 Commits

Author SHA1 Message Date
Flatlogic Bot
61418b7dda IV 2 2026-01-05 22:11:15 +00:00
2 changed files with 248 additions and 144 deletions

117
assets/css/custom.css Normal file
View File

@ -0,0 +1,117 @@
body {
font-family: 'Poppins', sans-serif;
background-color: #0A192F;
background-image: linear-gradient(180deg, #0A192F, #172A45);
color: #E6F1FF;
}
.navbar {
background-color: rgba(10, 25, 47, 0.85);
backdrop-filter: blur(10px);
}
.hero {
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero h1 {
font-weight: 700;
font-size: 3.5rem;
}
.hero p {
font-size: 1.25rem;
color: #a8b2d1;
}
.btn-gold {
background-color: #FFC107;
border-color: #FFC107;
color: #0A192F;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
transition: all 0.3s ease;
}
.btn-gold:hover {
background-color: #ffd24d;
border-color: #ffd24d;
color: #0A192F;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}
.section-title {
font-weight: 700;
margin-bottom: 3rem;
}
.plan-card {
background-color: #172A45;
border: 1px solid #294065;
border-radius: 0.5rem;
padding: 2rem;
height: 100%;
display: flex;
flex-direction: column;
transition: all 0.3s ease;
}
.plan-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
border-color: #FFC107;
}
.plan-card .plan-name {
font-weight: 600;
font-size: 1.5rem;
color: #FFC107;
}
.plan-card .plan-price {
font-size: 2.5rem;
font-weight: 700;
}
.plan-card .plan-description {
color: #a8b2d1;
}
.plan-card .list-group-item {
background-color: transparent;
border: none;
color: #E6F1FF;
padding-left: 0;
}
.plan-card .btn {
margin-top: auto;
}
.footer {
background-color: #0A192F;
padding: 2rem 0;
margin-top: 5rem;
border-top: 1px solid #294065;
}
.footer a {
color: #a8b2d1;
text-decoration: none;
}
.footer a:hover {
color: #FFC107;
}
.bi {
vertical-align: -0.125em;
fill: currentColor;
}

273
index.php
View File

@ -1,150 +1,137 @@
<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?>
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>New Style</title>
<?php <!-- SEO & Meta -->
// Read project preview data from environment <title>Investa - Premium Investment Platform</title>
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? ''; <meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Securely grow your wealth with our tailored investment plans. Join thousands of investors achieving their financial goals.'); ?>">
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? ''; <meta property="og:title" content="Investa - Premium Investment Platform">
?> <meta property="og:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Securely grow your wealth with our tailored investment plans. Join thousands of investors achieving their financial goals.'); ?>">
<?php if ($projectDescription): ?> <meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Meta description --> <meta property="og:url" content="/">
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' /> <meta name="twitter:card" content="summary_large_image">
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" /> <!-- Fonts & Icons -->
<!-- Twitter meta tags --> <link rel="preconnect" href="https://fonts.googleapis.com">
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<?php endif; ?> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<?php if ($projectImageUrl): ?> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" /> <!-- Styles -->
<!-- Twitter image --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" /> <link href="assets/css/custom.css?v=<?php echo time(); ?>" rel="stylesheet">
<?php endif; ?>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-color-start: #6a11cb;
--bg-color-end: #2575fc;
--text-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.01);
--card-border-color: rgba(255, 255, 255, 0.1);
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
animation: bg-pan 20s linear infinite;
z-index: -1;
}
@keyframes bg-pan {
0% { background-position: 0% 0%; }
100% { background-position: 100% 100%; }
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.loader {
margin: 1.25rem auto 1.25rem;
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hint {
opacity: 0.9;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; border: 0;
}
h1 {
font-size: 3rem;
font-weight: 700;
margin: 0 0 1rem;
letter-spacing: -1px;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
}
code {
background: rgba(0,0,0,0.2);
padding: 2px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
opacity: 0.7;
}
</style>
</head> </head>
<body> <body>
<main>
<div class="card"> <!-- Header -->
<h1>Analyzing your requirements and generating your website…</h1> <nav class="navbar navbar-expand-lg navbar-dark sticky-top">
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes"> <div class="container">
<span class="sr-only">Loading…</span> <a class="navbar-brand fw-bold" href="#">Investa</a>
</div> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p> <span class="navbar-toggler-icon"></span>
<p class="hint">This page will update automatically as the plan is implemented.</p> </button>
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p> <div class="collapse navbar-collapse" id="mainNav">
</div> <ul class="navbar-nav me-auto mb-2 mb-lg-0">
</main> <li class="nav-item"><a class="nav-link active" href="#">Home</a></li>
<footer> <li class="nav-item"><a class="nav-link" href="#plans">Investment Plans</a></li>
Page updated: <?= htmlspecialchars($now) ?> (UTC) <li class="nav-item"><a class="nav-link" href="#">About Us</a></li>
</footer> <li class="nav-item"><a class="nav-link" href="#">How It Works</a></li>
<li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
</ul>
<div class="d-flex">
<a href="#" class="btn btn-outline-light me-2">Login</a>
<a href="#" class="btn btn-gold">Create Account</a>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section class="hero">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<h1 class="display-4 mb-4">Invest in Your Future. <span class="text-warning">Securely.</span></h1>
<p class="lead mb-5">Join a new generation of investors building long-term wealth. Our platform provides the tools and expertise you need to reach your financial goals.</p>
<a href="#plans" class="btn btn-gold btn-lg">Start Investing Today</a>
</div>
</div>
</div>
</section>
<!-- Investment Plans Section -->
<section id="plans" class="py-5">
<div class="container">
<h2 class="text-center section-title">Choose Your Investment Plan</h2>
<div class="row">
<!-- Starter Plan -->
<div class="col-lg-4 mb-4">
<div class="plan-card">
<div class="plan-name">Starter</div>
<div class="plan-price mb-3">$500 <span class="text-muted fs-6">Min. Deposit</span></div>
<p class="plan-description mb-4">Ideal for beginners looking to get started with a diversified, low-risk portfolio.</p>
<ul class="list-group list-group-flush mb-4">
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Automated Portfolio</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Basic Risk Management</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Email Support</li>
</ul>
<a href="#" class="btn btn-outline-light">Invest Now</a>
</div>
</div>
<!-- Growth Plan -->
<div class="col-lg-4 mb-4">
<div class="plan-card border-warning">
<div class="plan-name">Growth</div>
<div class="plan-price mb-3">$5,000 <span class="text-muted fs-6">Min. Deposit</span></div>
<p class="plan-description mb-4">For serious investors aiming for higher returns with managed, strategic assets.</p>
<ul class="list-group list-group-flush mb-4">
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> All Starter Features</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Advanced Analytics</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Priority Support</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> ROI Projections*</li>
</ul>
<a href="#" class="btn btn-gold">Invest Now</a>
</div>
</div>
<!-- Premium Plan -->
<div class="col-lg-4 mb-4">
<div class="plan-card">
<div class="plan-name">Premium</div>
<div class="plan-price mb-3">$25,000 <span class="text-muted fs-6">Min. Deposit</span></div>
<p class="plan-description mb-4">Exclusive access for high-net-worth individuals, including personalized advisory.</p>
<ul class="list-group list-group-flush mb-4">
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> All Growth Features</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Dedicated Advisor</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Custom Strategies</li>
<li class="list-group-item"><i class="bi bi-check-circle-fill text-success me-2"></i> Direct Market Access</li>
</ul>
<a href="#" class="btn btn-outline-light">Contact Us</a>
</div>
</div>
</div>
<div class="text-center mt-4">
<small class="text-muted">*ROI projections are estimates and not guaranteed returns. All investments carry risk.</small>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer text-center">
<div class="container">
<p class="mb-0">&copy; <?php echo date("Y"); ?> Investa. All Rights Reserved.</p>
<p><a href="#">Privacy Policy</a> &middot; <a href="#">Terms of Service</a> &middot; <a href="#">Risk Disclosure</a></p>
</div>
</footer>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body> </body>
</html> </html>