:root {
  --bg: #0a0c10;
  --bg-alt: #12151c;
  --surface: #1b2a4a;
  --text: #f5f5f0;
  --muted: #9aa3b5;
  --accent: #3fa7d6;
  --accent-2: #3ddc84;
  --warn: #ffd23f;
  --danger: #e63946;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(63, 167, 214, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.35;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 16, 0.85);
  z-index: 10;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
}

.logo-8 {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex: 1;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.15);
  color: var(--warn);
  border: 1px solid rgba(255, 210, 63, 0.35);
}

.hero {
  padding: 4rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2a8fc4);
  color: #fff;
  box-shadow: 0 8px 32px rgba(63, 167, 214, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-screen {
  display: flex;
  justify-content: center;
}

.bezel {
  background: linear-gradient(145deg, #2a3140, #151820);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#demo-canvas {
  display: block;
  width: min(320px, 70vw);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 2px solid #000;
  background: #000;
}

.bezel-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-alt);
  max-width: none;
  padding-left: max(2rem, calc((100% - 1100px) / 2));
  padding-right: max(2rem, calc((100% - 1100px) / 2));
}

.section h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(27, 42, 74, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.spec-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--accent-2);
  font-weight: 600;
  width: 140px;
  vertical-align: top;
}

.spec-table td {
  padding: 0.75rem 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.palette span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
}

.price-card-pro {
  border-color: rgba(63, 167, 214, 0.45);
  box-shadow: 0 0 0 1px rgba(63, 167, 214, 0.2);
}

.price-card h3 {
  margin: 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0 1.25rem;
  font-family: var(--font-mono);
}

.price-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 0.4rem;
}

.price-note {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.status-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.status-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 999px;
}

.roadmap {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.roadmap li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--muted);
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.roadmap li.done::before {
  content: "✓";
  color: var(--accent-2);
}

.roadmap li.active::before {
  content: "◉";
  color: var(--warn);
}

.roadmap li.active {
  color: var(--text);
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 32rem;
  margin: 1.5rem 0;
}

.notify-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.35rem 0;
}
