<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title id="dynamic-title">Page Not Found | Webhero</title>
<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@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-blue: #006FEE;
--primary-dark: #0051CC;
--secondary-teal: #3c818e;
--accent-orange: #F5A524;
--success-green: #17C964;
--dark-teal: #043e50;
--text-primary: #18181B;
--text-secondary: #64748b;
--text-light: #799490;
--border-color: #e4e4e7;
--white: #ffffff;
--gray-50: #FAFAFA;
--gray-100: #f4f4f5;
--gray-200: #e4e4e7;
--accent-light: #FFF7ED;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-colored: 0 10px 15px -3px rgba(0, 111, 238, 0.1), 0 4px 6px -2px rgba(0, 111, 238, 0.05);
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background: var(--gray-50);
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Header Styles */
.header {
background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
color: white;
padding: 3rem 0 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
.header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom;
background-size: cover;
}
.header-content {
position: relative;
z-index: 2;
}
.error-code {
font-size: clamp(4rem, 10vw, 6rem);
font-weight: 700;
margin-bottom: 1rem;
letter-spacing: -0.025em;
}
.header-subtitle {
font-size: 1.5rem;
font-weight: 400;
opacity: 0.9;
margin-bottom: 0;
}
/* Container */
.container {
max-width: 800px;
margin: 0 auto;
padding: 0 1.5rem;
flex: 1;
}
.main-content {
margin: -2rem auto 3rem auto;
position: relative;
z-index: 10;
}
/* Error Section */
.error-section {
background: var(--white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-colored);
padding: 3rem;
margin-bottom: 3rem;
text-align: center;
border: 1px solid rgba(0, 111, 238, 0.1);
}
.error-title {
font-size: 2.25rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 1rem;
}
.error-subtitle {
color: var(--text-secondary);
margin-bottom: 2rem;
font-size: 1.125rem;
}
.error-details {
background: var(--gray-50);
border-radius: var(--radius-md);
padding: 1.5rem;
margin: 2rem 0;
text-align: left;
}
.error-url {
display: block;
margin: 0.5rem 0;
font-weight: 600;
color: var(--primary-blue);
word-break: break-all;
font-family: 'Courier New', monospace;
background: var(--white);
padding: 0.75rem;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
}
.action-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 2rem;
}
.btn {
background: var(--primary-blue);
color: white;
border: 2px solid var(--primary-blue);
padding: 0.875rem 1.5rem;
font-size: 1rem;
font-weight: 500;
text-decoration: none;
border-radius: var(--radius-md);
transition: all 0.2s ease;
display: inline-block;
}
.btn:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
transform: translateY(-1px);
}
.btn-secondary {
background: transparent;
color: var(--primary-blue);
border-color: var(--primary-blue);
}
.btn-secondary:hover {
background: var(--primary-blue);
color: white;
}
/* Footer */
.footer {
background: linear-gradient(135deg, var(--dark-teal) 0%, var(--text-primary) 100%);
color: white;
padding: 2rem 0 1.5rem 0;
margin-top: auto;
}
.footer-content {
text-align: center;
color: rgba(255, 255, 255, 0.9);
}
.footer-content a {
color: white;
text-decoration: underline;
text-underline-offset: 4px;
}
.footer-content a:hover {
opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
.header {
padding: 2rem 0 3rem 0;
}
.error-section {
padding: 2rem 1.5rem;
margin: -1.5rem 1rem 2rem 1rem;
}
.action-buttons {
flex-direction: column;
align-items: center;
}
.btn {
width: 100%;
max-width: 300px;
text-align: center;
}
}
@media (max-width: 480px) {
.container {
padding: 0 1rem;
}
.error-section {
margin: -1rem 0.5rem 1.5rem 0.5rem;
}
.error-code {
word-break: break-all;
}
}
</style>
</head>
<body>
<!-- Header Section -->
<header class="header">
<div class="container">
<div class="header-content">
<h1 class="error-code">404</h1>
<p class="header-subtitle">Page Not Found</p>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container">
<main class="main-content">
<!-- Error Section -->
<section class="error-section">
<h2 class="error-title">Oops! This page doesn't exist</h2>
<p class="error-subtitle">The page you're looking for couldn't be found on our server.</p>
<div class="error-details">
<p><strong>Requested URL:</strong></p>
<span class="error-url" id="error-url"></span>
</div>
<div class="action-buttons">
<a href="/" class="btn">Visit Homepage</a>
<a href="javascript:history.back()" class="btn btn-secondary">Go Back</a>
</div>
</section>
</main>
</div>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<p>Powered by Webhero | <a href="https://webhero.com" target="_blank" rel="noopener">Learn More About Our Services</a></p>
</div>
</div>
</footer>
<script>
// Extract and display the full attempted URL and update page title
document.addEventListener('DOMContentLoaded', function() {
var fullUrl = window.location.href;
var currentDomain = window.location.hostname;
document.getElementById('error-url').textContent = fullUrl;
// Update page title with domain name for Matomo tracking
document.title = currentDomain + ' - Page Not Found | Webhero';
});
</script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
// Detect current domain and set custom dimension for separate tracking
var currentDomain = window.location.hostname;
_paq.push(['setCustomDimension', 1, currentDomain]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//herogrid.com/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</body>
</html>