<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <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;500;600;700&display=swap" rel="stylesheet">
  <link rel="icon" type="image/png" href="/images/renwer.png">
  <link rel="stylesheet" href="/style.css">

  <title>404 — Renwer</title>
  <meta name="description" content="Page not found.">
  <style>
    .error-page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      position: relative;
      overflow: hidden;
    }

    .error-glow {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .error-glow-1 {
      top: 30%;
      left: 20%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 65%);
    }

    .error-glow-2 {
      bottom: 20%;
      right: 15%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(34, 211, 238, 0.04) 0%, transparent 65%);
    }

    .error-content {
      position: relative;
      z-index: 1;
      max-width: 480px;
    }

    .error-code {
      font-size: clamp(6rem, 20vw, 10rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      background: linear-gradient(135deg, var(--accent) 0%, rgba(34, 211, 238, 0.3) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
      user-select: none;
    }

    .error-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text-on-dark);
    }

    .error-message {
      font-size: 1rem;
      color: var(--text-muted-dark);
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .error-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .error-fox {
      margin-bottom: 28px;
      animation: look-around 4s ease-in-out infinite;
      display: inline-block;
    }

    .error-fox svg {
      width: 120px;
      height: 120px;
    }

    @keyframes look-around {
      0%, 100% { transform: rotate(0deg); }
      25% { transform: rotate(-8deg); }
      75% { transform: rotate(8deg); }
    }

    @media (prefers-reduced-motion: reduce) {
      .error-fox { animation: none; }
    }
  </style>
</head>
<body>

  <!-- ========== NAVBAR ========== -->
  <nav class="navbar scrolled" id="navbar">
    <div class="navbar-inner">
      <a href="/" class="logo"><img src="/images/renwer.png" alt="Renwer" class="logo-img"></a>
      <ul class="nav-links">
        <li><a href="/#features">Features</a></li>
        <li><a href="/#cta">Get Started</a></li>
        <li><a href="https://app.renwer.com" class="btn-primary">Open Renwer</a></li>
      </ul>
      <button class="hamburger" id="hamburger" aria-label="Toggle navigation" aria-expanded="false">
        <span></span>
        <span></span>
        <span></span>
      </button>
    </div>
  </nav>

  <!-- Mobile nav overlay -->
  <div class="mobile-nav" id="mobileNav">
    <a href="/#features">Features</a>
    <a href="/#cta">Get Started</a>
    <a href="https://app.renwer.com" class="btn-primary btn-large">Open Renwer</a>
  </div>


  <main class="error-page">
    <div class="error-glow error-glow-1"></div>
    <div class="error-glow error-glow-2"></div>
    <div class="error-content">
      <div class="error-fox">
        <svg viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
          <!-- Ears -->
          <path d="M32 58 L22 18 L52 42 Z" fill="#e87a2e" stroke="#c4631f" stroke-width="1.5"/>
          <path d="M88 58 L98 18 L68 42 Z" fill="#e87a2e" stroke="#c4631f" stroke-width="1.5"/>
          <path d="M34 52 L28 26 L50 44 Z" fill="#f4a460"/>
          <path d="M86 52 L92 26 L70 44 Z" fill="#f4a460"/>
          <!-- Head -->
          <ellipse cx="60" cy="68" rx="34" ry="30" fill="#e87a2e"/>
          <!-- Face mask -->
          <ellipse cx="60" cy="74" rx="22" ry="20" fill="#f4d5a0"/>
          <!-- Eyes -->
          <circle cx="47" cy="62" r="5" fill="#1a1b1e"/>
          <circle cx="73" cy="62" r="5" fill="#1a1b1e"/>
          <circle cx="48.5" cy="60.5" r="1.5" fill="white"/>
          <circle cx="74.5" cy="60.5" r="1.5" fill="white"/>
          <!-- Eyebrows (confused) -->
          <line x1="40" y1="53" x2="50" y2="55" stroke="#1a1b1e" stroke-width="2" stroke-linecap="round"/>
          <line x1="80" y1="53" x2="70" y2="55" stroke="#1a1b1e" stroke-width="2" stroke-linecap="round"/>
          <!-- Nose -->
          <ellipse cx="60" cy="72" rx="3.5" ry="2.5" fill="#1a1b1e"/>
          <!-- Mouth -->
          <path d="M56 76 Q60 80 64 76" stroke="#1a1b1e" stroke-width="1.5" fill="none" stroke-linecap="round"/>
          <!-- Question mark -->
          <text x="100" y="38" font-family="Inter, sans-serif" font-size="22" font-weight="700" fill="var(--accent)" opacity="0.7">?</text>
        </svg>
      </div>
      <div class="error-code">404</div>
      <h1 class="error-title">This fox lost the trail</h1>
      <p class="error-message">Whatever you were looking for isn't here. Even our best tracker couldn't sniff it out.</p>
      <div class="error-actions">
        <a href="/" class="btn-primary btn-large">Back to the Den</a>
        <a href="https://app.renwer.com" class="btn-ghost btn-large">Open Renwer</a>
      </div>
    </div>
  </main>

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