diff --git a/assets/css/custom.css b/assets/css/custom.css index 65a1626..c1f1859 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,346 +1,224 @@ :root { --color-bg: #ffffff; - --color-text: #1a1a1a; - --color-primary: #2563EB; /* Vibrant Blue */ - --color-secondary: #000000; - --color-accent: #A3E635; /* Lime Green */ - --color-surface: #f8f9fa; - --font-heading: 'Space Grotesk', sans-serif; - --font-body: 'Inter', sans-serif; - --border-width: 2px; - --shadow-hard: 5px 5px 0px #000; - --shadow-hover: 8px 8px 0px #000; - --radius-pill: 50rem; - --radius-card: 1rem; + --color-text: #1a202c; + --color-text-muted: #4a5568; + --color-primary: #1a202c; + --color-accent: #3182ce; + --color-border: #e2e8f0; + --color-surface: #f7fafc; + --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; + --radius: 4px; + --spacing-unit: 1rem; } body { - font-family: var(--font-body); + font-family: var(--font-family); background-color: var(--color-bg); color: var(--color-text); - overflow-x: hidden; + line-height: 1.6; + margin: 0; + -webkit-font-smoothing: antialiased; } -h1, h2, h3, h4, h5, h6, .navbar-brand { - font-family: var(--font-heading); - letter-spacing: -0.03em; -} - -/* Utilities */ -.text-primary { color: var(--color-primary) !important; } -.bg-black { background-color: #000 !important; } -.text-white { color: #fff !important; } -.shadow-hard { box-shadow: var(--shadow-hard); } -.border-2-black { border: var(--border-width) solid #000; } -.py-section { padding-top: 5rem; padding-bottom: 5rem; } - -/* Navbar */ -.navbar { - background: rgba(255, 255, 255, 0.9); - backdrop-filter: blur(10px); - border-bottom: var(--border-width) solid transparent; - transition: all 0.3s; - padding-top: 1rem; - padding-bottom: 1rem; -} - -.navbar.scrolled { - border-bottom-color: #000; - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.brand-text { - font-size: 1.5rem; - font-weight: 800; -} - -.nav-link { - font-weight: 500; - color: var(--color-text); - margin-left: 1rem; - position: relative; -} - -.nav-link:hover, .nav-link.active { +h1, h2, h3, h4 { + font-weight: 700; + letter-spacing: -0.02em; + margin-bottom: 1rem; color: var(--color-primary); } -/* Buttons */ -.btn { - font-weight: 700; - font-family: var(--font-heading); - padding: 0.8rem 2rem; - border-radius: var(--radius-pill); - border: var(--border-width) solid #000; - transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1); - box-shadow: var(--shadow-hard); +.container { + max-width: 1000px; + margin: 0 auto; + padding: 0 1.5rem; } -.btn:hover { - transform: translate(-2px, -2px); - box-shadow: var(--shadow-hover); +/* Header */ +header { + border-bottom: 1px solid var(--color-border); + padding: 1.5rem 0; + position: sticky; + top: 0; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(8px); + z-index: 100; } -.btn:active { - transform: translate(2px, 2px); - box-shadow: 0 0 0 #000; +.nav-brand { + font-weight: 800; + font-size: 1.25rem; + text-decoration: none; + color: var(--color-primary); + text-transform: uppercase; + letter-spacing: 0.05em; } -.btn-primary { - background-color: var(--color-primary); - border-color: #000; - color: #fff; +/* Sections */ +section { + padding: 4rem 0; + border-bottom: 1px solid var(--color-border); } -.btn-primary:hover { - background-color: #1d4ed8; - border-color: #000; - color: #fff; +section:last-of-type { + border-bottom: none; } -.btn-outline-dark { - background-color: #fff; - color: #000; +.section-title { + font-size: 0.75rem; + text-transform: uppercase; + letter-spacing: 0.1em; + color: var(--color-accent); + margin-bottom: 2rem; + display: block; } -.btn-cta { - background-color: var(--color-accent); - color: #000; +/* Cards & Components */ +.card-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; } -.btn-cta:hover { - background-color: #8cc629; - color: #000; +.news-card { + border: 1px solid var(--color-border); + padding: 1.5rem; + border-radius: var(--radius); + transition: border-color 0.2s; } -/* Hero Section */ -.hero-section { - min-height: 100vh; - padding-top: 80px; +.news-card:hover { + border-color: var(--color-accent); } -.background-blob { - position: absolute; - border-radius: 50%; - filter: blur(80px); - opacity: 0.6; - z-index: 1; +.news-date { + font-size: 0.875rem; + color: var(--color-text-muted); + margin-bottom: 0.5rem; } -.blob-1 { - top: -10%; - right: -10%; - width: 600px; - height: 600px; - background: radial-gradient(circle, var(--color-accent), transparent); +.news-title { + font-size: 1.125rem; + margin-bottom: 0.5rem; } -.blob-2 { - bottom: 10%; - left: -10%; - width: 500px; - height: 500px; - background: radial-gradient(circle, var(--color-primary), transparent); +/* Editorial / Our View */ +.editorial { + max-width: 700px; } -.highlight-text { - background: linear-gradient(120deg, transparent 0%, transparent 40%, var(--color-accent) 40%, var(--color-accent) 100%); - background-repeat: no-repeat; - background-size: 100% 40%; - background-position: 0 88%; - padding: 0 5px; -} - -.dot { color: var(--color-primary); } - -.badge-pill { - display: inline-block; - padding: 0.5rem 1rem; - border: 2px solid #000; - border-radius: 50px; - font-weight: 700; - background: #fff; - box-shadow: 4px 4px 0 #000; - font-family: var(--font-heading); - font-size: 0.9rem; -} - -/* Marquee */ -.marquee-container { - overflow: hidden; - white-space: nowrap; - border-top: 2px solid #000; - border-bottom: 2px solid #000; -} - -.rotate-divider { - transform: rotate(-2deg) scale(1.05); - z-index: 10; - position: relative; - margin-top: -50px; - margin-bottom: 30px; -} - -.marquee-content { - display: inline-block; - animation: marquee 20s linear infinite; - font-family: var(--font-heading); - font-weight: 700; - font-size: 1.5rem; - letter-spacing: 2px; -} - -@keyframes marquee { - 0% { transform: translateX(0); } - 100% { transform: translateX(-50%); } -} - -/* Portfolio Cards */ -.project-card { - border: 2px solid #000; - border-radius: var(--radius-card); - overflow: hidden; - background: #fff; - transition: transform 0.3s ease; - box-shadow: var(--shadow-hard); - height: 100%; +.editorial-meta { display: flex; - flex-direction: column; + align-items: center; + gap: 1rem; + margin-bottom: 1.5rem; + font-size: 0.875rem; + color: var(--color-text-muted); } -.project-card:hover { - transform: translateY(-10px); - box-shadow: 8px 8px 0 #000; +.editorial-content { + font-size: 1.25rem; + font-weight: 400; + color: var(--color-text); } -.card-img-holder { - height: 250px; +/* Activities */ +.activity-item { + display: flex; + align-items: flex-start; + gap: 1.5rem; + margin-bottom: 2rem; +} + +.activity-icon { + width: 48px; + height: 48px; + background: var(--color-surface); display: flex; align-items: center; justify-content: center; - border-bottom: 2px solid #000; - position: relative; - font-size: 4rem; -} - -.placeholder-art { - transition: transform 0.3s ease; -} - -.project-card:hover .placeholder-art { - transform: scale(1.2) rotate(10deg); -} - -.bg-soft-blue { background-color: #e0f2fe; } -.bg-soft-green { background-color: #dcfce7; } -.bg-soft-purple { background-color: #f3e8ff; } -.bg-soft-yellow { background-color: #fef9c3; } - -.category-tag { - position: absolute; - top: 15px; - right: 15px; - background: #000; - color: #fff; - padding: 5px 12px; - border-radius: 20px; - font-size: 0.75rem; - font-weight: 700; -} - -.card-body { padding: 1.5rem; } - -.link-arrow { - text-decoration: none; - color: #000; - font-weight: 700; - display: inline-flex; - align-items: center; - margin-top: auto; -} - -.link-arrow i { transition: transform 0.2s; margin-left: 5px; } -.link-arrow:hover i { transform: translateX(5px); } - -/* About */ -.about-image-stack { - position: relative; - height: 400px; - width: 100%; -} - -.stack-card { - position: absolute; - width: 80%; - height: 100%; - border-radius: var(--radius-card); - border: 2px solid #000; - box-shadow: var(--shadow-hard); - left: 10%; - transform: rotate(-3deg); - background-size: cover; + border-radius: var(--radius); + flex-shrink: 0; + border: 1px solid var(--color-border); } /* Forms */ -.form-control { - border: 2px solid #000; - border-radius: 0.5rem; - padding: 1rem; - font-weight: 500; - background: #f8f9fa; +.form-group { + margin-bottom: 1.5rem; } -.form-control:focus { - box-shadow: 4px 4px 0 var(--color-primary); - border-color: #000; - background: #fff; +label { + display: block; + font-size: 0.875rem; + font-weight: 600; + margin-bottom: 0.5rem; } -/* Animations */ -.animate-up { - opacity: 0; - transform: translateY(30px); - animation: fadeUp 0.8s ease forwards; +input[type="email"], input[type="text"] { + width: 100%; + padding: 0.75rem; + border: 1px solid var(--color-border); + border-radius: var(--radius); + font-family: var(--font-family); + font-size: 1rem; } -.delay-100 { animation-delay: 0.1s; } -.delay-200 { animation-delay: 0.2s; } - -@keyframes fadeUp { - to { - opacity: 1; - transform: translateY(0); - } +input:focus { + outline: none; + border-color: var(--color-accent); + box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1); } -/* Social */ -.social-links a { - transition: transform 0.2s; +.btn { display: inline-block; -} -.social-links a:hover { - transform: scale(1.2) rotate(10deg); - color: var(--color-accent) !important; + padding: 0.75rem 1.5rem; + background: var(--color-primary); + color: #fff; + border: none; + border-radius: var(--radius); + font-weight: 600; + cursor: pointer; + text-decoration: none; + font-size: 1rem; + transition: background 0.2s; } -/* Responsive */ -@media (max-width: 991px) { - .rotate-divider { - transform: rotate(0); - margin-top: 0; - margin-bottom: 2rem; - } - - .hero-section { - padding-top: 120px; - text-align: center; - min-height: auto; - padding-bottom: 100px; - } - - .display-1 { font-size: 3.5rem; } - - .blob-1 { width: 300px; height: 300px; right: -20%; } - .blob-2 { width: 300px; height: 300px; left: -20%; } +.btn:hover { + background: #000; } + +.btn-secondary { + background: var(--color-surface); + color: var(--color-primary); + border: 1px solid var(--color-border); +} + +.btn-secondary:hover { + background: var(--color-border); +} + +footer { + padding: 4rem 0; + background: var(--color-surface); + border-top: 1px solid var(--color-border); + font-size: 0.875rem; + color: var(--color-text-muted); +} + +@media (max-width: 768px) { + h1 { font-size: 2rem; } + .card-grid { grid-template-columns: 1fr; } +} + +/* Toast/Notification */ +#notification { + position: fixed; + bottom: 2rem; + right: 2rem; + padding: 1rem 1.5rem; + background: var(--color-primary); + color: #fff; + border-radius: var(--radius); + display: none; + z-index: 1000; + box-shadow: 0 4px 12px rgba(0,0,0,0.1); +} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js index fdf2cfd..7d49778 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1,73 +1,50 @@ -document.addEventListener('DOMContentLoaded', () => { - - // Smooth scrolling for navigation links - document.querySelectorAll('a[href^="#"]').forEach(anchor => { - anchor.addEventListener('click', function (e) { - e.preventDefault(); - const targetId = this.getAttribute('href'); - if (targetId === '#') return; - - const targetElement = document.querySelector(targetId); - if (targetElement) { - // Close mobile menu if open - const navbarToggler = document.querySelector('.navbar-toggler'); - const navbarCollapse = document.querySelector('.navbar-collapse'); - if (navbarCollapse.classList.contains('show')) { - navbarToggler.click(); +$(document).ready(function() { + $('#subscribeForm').on('submit', function(e) { + e.preventDefault(); + + const $form = $(this); + const $btn = $form.find('button'); + const originalBtnText = $btn.text(); + + $btn.prop('disabled', true).text('Processing...'); + + $.ajax({ + url: 'subscribe.php', + method: 'POST', + data: $form.serialize(), + dataType: 'json', + success: function(response) { + showNotification(response.message); + if (response.success) { + $form[0].reset(); } - - // Scroll with offset - const offset = 80; - const elementPosition = targetElement.getBoundingClientRect().top; - const offsetPosition = elementPosition + window.pageYOffset - offset; - - window.scrollTo({ - top: offsetPosition, - behavior: "smooth" - }); + }, + error: function() { + showNotification('An unexpected error occurred.'); + }, + complete: function() { + $btn.prop('disabled', false).text(originalBtnText); } }); }); - // Navbar scroll effect - const navbar = document.querySelector('.navbar'); - window.addEventListener('scroll', () => { - if (window.scrollY > 50) { - navbar.classList.add('scrolled', 'shadow-sm', 'bg-white'); - navbar.classList.remove('bg-transparent'); - } else { - navbar.classList.remove('scrolled', 'shadow-sm', 'bg-white'); - navbar.classList.add('bg-transparent'); - } + function showNotification(message) { + const $notif = $('#notification'); + $notif.text(message).fadeIn(); + + setTimeout(function() { + $notif.fadeOut(); + }, 5000); + } + + // Smooth scroll for anchor links + $('a[href^="#"]').on('click', function(e) { + e.preventDefault(); + const target = this.hash; + if (!target) return; + + $('html, body').animate({ + scrollTop: $(target).offset().top - 80 + }, 500); }); - - // Intersection Observer for fade-up animations - const observerOptions = { - threshold: 0.1, - rootMargin: "0px 0px -50px 0px" - }; - - const observer = new IntersectionObserver((entries) => { - entries.forEach(entry => { - if (entry.isIntersecting) { - entry.target.classList.add('animate-up'); - entry.target.style.opacity = "1"; - observer.unobserve(entry.target); // Only animate once - } - }); - }, observerOptions); - - // Select elements to animate (add a class 'reveal' to them in HTML if not already handled by CSS animation) - // For now, let's just make sure the hero animations run. - // If we want scroll animations, we'd add opacity: 0 to elements in CSS and reveal them here. - // Given the request, the CSS animation I added runs on load for Hero. - // Let's make the project cards animate in. - - const projectCards = document.querySelectorAll('.project-card'); - projectCards.forEach((card, index) => { - card.style.opacity = "0"; - card.style.animationDelay = `${index * 0.1}s`; - observer.observe(card); - }); - -}); \ No newline at end of file +}); diff --git a/index.php b/index.php index 7205f3d..7baebd4 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,172 @@ - - - New Style - - - - - - - - - - - - - - - - - - - + + + <?= htmlspecialchars($projectName) ?> | Client Portal + + + + + + + + + + + + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+ +
+
+ +
-
- + + +
+ +
+
+

Intelligence for the Modern Investor

+

Stay ahead with our curated insights, direct from our analysts to your dashboard. Precise. Timely. Essential.

+
+
+ + +
+
+ Weekly News Digest +
+
+
January 22, 2026
+

Global Markets: The Q1 Outlook

+

An analysis of emerging market resilience amidst shifting interest rate expectations.

+
+
+
January 15, 2026
+

Tech Sector Consolidation

+

Why mid-cap AI firms are becoming prime acquisition targets for legacy tech giants.

+
+
+
January 08, 2026
+

Energy Transition Milestones

+

New regulatory frameworks in the EU are accelerating offshore wind investments.

+
+
+
+
+ + +
+
+ Our View +
+
+ By David Sterling + Chief Investment Officer +
+
+ "The current volatility is not a signal to retreat, but a prompt to recalibrate. We are seeing a structural shift in how liquidity flows through private markets, favoring transparency over raw scale." +
+

In our latest monthly memo, we dive deep into the 'Transparency Premium' and what it means for long-term capital preservation.

+ Read Full Memo +
+
+
+ + +
+
+ Our Activities +
+
+
+
+
+

Portfolio Reviews

+

Personalized 1-on-1 sessions to align your holdings with our latest research models.

+
+
+
+
+
+
+
+

Webinar: Future of Fintech

+

Join us on Feb 5th for a live discussion with industry pioneers on the next wave of disruption.

+
+
+
+
+
+
+
+

Annual Partners' Summit

+

Save the date for our flagship event in Zurich, October 2026. Exclusive for tier-1 clients.

+
+
+
+
+
+
+ + +
+
+
+
+

Stay Connected

+

Receive our weekly digest and exclusive event invitations directly in your inbox.

+
+
+ +
+
+ +
+
+
+
+
+
+
+ + + +
+ + + - + \ No newline at end of file diff --git a/subscribe.php b/subscribe.php new file mode 100644 index 0000000..7bf0e3c --- /dev/null +++ b/subscribe.php @@ -0,0 +1,30 @@ + false, 'message' => 'Invalid request method.']); + exit; +} + +$email = filter_var($_POST['email'] ?? '', FILTER_VALIDATE_EMAIL); + +if (!$email) { + echo json_encode(['success' => false, 'message' => 'Please provide a valid email address.']); + exit; +} + +try { + $stmt = db()->prepare("INSERT INTO subscriptions (email) VALUES (?)"); + $stmt->execute([$email]); + echo json_encode(['success' => true, 'message' => 'Subscription successful. Thank you!']); +} catch (PDOException $e) { + if ($e->getCode() === '23000') { + echo json_encode(['success' => true, 'message' => 'You are already subscribed.']); + } else { + error_log($e->getMessage()); + echo json_encode(['success' => false, 'message' => 'A server error occurred. Please try again later.']); + } +}