@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --bg-raised: #0e0e15;
  --bg-card: #11111a;
  --accent: #00ff88;
  --accent-dim: #00ff8833;
  --cyan: #00e5ff;
  --text: #c8c8d0;
  --text-muted: #666680;
  --text-bright: #e0e0ea;
  --border: #1a1a2e;
  --border-accent: #00ff8844;
  --font: 'JetBrains Mono', monospace;
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #1a1a2e #0a0a0f;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a2a3e;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--cyan);
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ── Layout ── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ── Nav ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #0a0a0fdd;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-brand span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 10px;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      #0f0f1a08 2px,
      #0f0f1a08 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      #1a1a2e18 60px,
      #1a1a2e18 61px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      #1a1a2e18 60px,
      #1a1a2e18 61px
    );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-pre {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero-pre span {
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent);
}

.tagline {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 560px;
}

.tagline .cursor-blink {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--bg);
  background: var(--accent);
  cursor: pointer;
  transition: all 0.15s;
  border-radius: 0;
}

.btn:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Section headers ── */

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
  font-size: 14px;
}

/* ── Terminal Cards ── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-accent);
}

.card-prompt {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.card-prompt::before {
  content: '> ';
  color: var(--text-muted);
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Feature Grid ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Hardware Section ── */

.hardware-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hardware-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.hardware-tag {
  flex-shrink: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  white-space: nowrap;
  margin-top: 2px;
}

.hardware-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.hardware-text p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 560px;
}

.hardware-specs {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}

.spec {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec strong {
  color: var(--text-bright);
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

/* ── Waitlist Form ── */

.waitlist-section {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.waitlist-form {
  max-width: 480px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-row input {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-bright);
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
}

.form-row input::placeholder {
  color: var(--text-muted);
}

.form-row input:focus {
  border-color: var(--accent);
}

.form-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ── About Page ── */

.page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      #0f0f1a08 2px,
      #0f0f1a08 4px
    );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 560px;
}

.content-section {
  padding: 60px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-block {
  max-width: 640px;
}

.content-block h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.founder-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.founder-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
}

.founder-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.founder-info .role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.founder-info p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Roadmap ── */

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  background: var(--bg);
}

.timeline-item.active::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-dim);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
}

.timeline-item.active .timeline-card {
  border-color: var(--border-accent);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-phase {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.status-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.status-badge.in-progress {
  border-color: var(--accent);
  color: var(--accent);
}

.status-badge.planned {
  border-color: var(--cyan);
  color: var(--cyan);
}

.status-badge.research {
  border-color: #8888aa;
  color: #8888aa;
}

.timeline-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-tasks {
  list-style: none;
  margin-top: 12px;
}

.timeline-tasks li {
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
}

.timeline-tasks li::before {
  content: '$ ';
  color: var(--accent);
}

/* ── What Section ── */

.what-block {
  max-width: 640px;
}

.what-block p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hardware-block {
    flex-direction: column;
    gap: 16px;
  }

  .hardware-specs {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .founder-card {
    flex-direction: column;
  }

  section {
    padding: 48px 0;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}
