---
interface Props {
  title: string;
  description?: string;
}

const { title, description = 'Six DevOps tools. One platform. Built for teams that ship.' } = Astro.props;
---

<!doctype html>
<html lang="en" class="dark">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content={description} />
    <meta name="theme-color" content="#0a0a0f" />
    <meta name="keywords" content="DevOps tools, platform engineering, LLM cost router, Terraform drift detection, alert correlation, service catalog, AWS cost anomaly, runbook automation, Backstage alternative, Rundeck alternative, Driftctl alternative, FinOps, SRE toolchain" />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <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&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />

    <!-- OG -->
    <meta property="og:title" content={title} />
    <meta property="og:description" content={description} />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://dd0c.dev" />
    <meta name="twitter:card" content="summary_large_image" />

    <title>{title}</title>
  </head>
  <body class="bg-dd0c-bg text-dd0c-text font-sans antialiased">
    <nav class="fixed top-0 w-full z-50 border-b border-dd0c-border bg-dd0c-bg/80 backdrop-blur-xl">
      <div class="max-w-6xl mx-auto px-6 h-16 flex items-center justify-between">
        <a href="/" class="flex items-center gap-2">
          <span class="font-mono font-bold text-xl text-dd0c-primary">dd0c</span>
          <span class="text-dd0c-muted text-sm hidden sm:inline">/devops</span>
        </a>
        <div class="hidden md:flex items-center gap-8 text-sm text-dd0c-muted">
          <a href="#products" class="hover:text-dd0c-text transition">Products</a>
          <a href="#pricing" class="hover:text-dd0c-text transition">Pricing</a>
          <a href="https://docs.dd0c.dev" class="hover:text-dd0c-text transition">Docs</a>
        </div>
        <div class="flex items-center gap-4">
          <a href="#waitlist" class="text-sm text-dd0c-muted hover:text-dd0c-text transition">Log in</a>
          <a href="#waitlist" class="text-sm px-4 py-2 rounded-lg bg-dd0c-primary hover:bg-dd0c-primary-light text-white transition font-medium">Start free</a>
        </div>
      </div>
    </nav>
    <main>
      <slot />
    </main>
  </body>
</html>
