/* NemoFish — Dark theme, mobile-first */

* { box-sizing: border-box; margin: 0; padding: 0; }

.home-container {
  min-height: 100vh;
  background: #0a0a0c;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: #e0e0e0;
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  height: 56px;
  background: #111;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links-desktop { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.nav-mobile-menu { display: none; }

.github-link {
  color: #999;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.github-link:hover { color: #fff; }

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-fish {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 0 60px rgba(118, 185, 0, 0.15);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -1px;
}

.hero-title .accent { color: #76B900; }

.hero-subtitle {
  font-size: 1.1rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong { color: #76B900; font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.btn-primary {
  background: #76B900;
  color: #000;
  border: none;
  padding: 14px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(118, 185, 0, 0.3); }

.btn-secondary {
  background: transparent;
  color: #76B900;
  border: 1px solid #76B900;
  padding: 14px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(118, 185, 0, 0.1); }

.hero-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #555;
  margin-top: 8px;
}

/* ── Pipeline Steps ────────────────────────────────────── */
.pipeline-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid #1a1a1a;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pipeline-step {
  background: #111;
  border: 1px solid #1a1a1a;
  padding: 20px;
  transition: border-color 0.2s;
}
.pipeline-step:hover { border-color: #76B900; }

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.step-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.step-detail {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

/* ── Pricing ───────────────────────────────────────────── */
.pricing-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid #1a1a1a;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-card {
  background: #111;
  border: 1px solid #1a1a1a;
  padding: 28px;
}

.price-card.pro {
  border-color: #76B900;
  background: rgba(118, 185, 0, 0.05);
}

.price-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.price-card.pro .price-amount { color: #76B900; }

.price-feature {
  font-size: 0.85rem;
  color: #888;
  padding: 6px 0;
  border-bottom: 1px solid #1a1a1a;
}
.price-feature:last-child { border-bottom: none; }

/* ── Console (upload + prompt) ─────────────────────────── */
.console-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid #1a1a1a;
}

.console-box {
  background: #111;
  border: 1px solid #1a1a1a;
  padding: 24px;
}

.console-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #555;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.upload-zone {
  border: 1px dashed #333;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 16px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-zone:hover { border-color: #76B900; background: rgba(118, 185, 0, 0.02); }
.upload-zone.has-files { justify-content: flex-start; align-items: flex-start; text-align: left; }

.upload-icon { font-size: 1.5rem; color: #555; margin-bottom: 8px; }
.upload-title { font-size: 0.9rem; color: #888; margin-bottom: 4px; }
.upload-hint { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: #444; }

.file-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.file-item { display: flex; align-items: center; gap: 8px; background: #0a0a0c; border: 1px solid #1a1a1a; padding: 8px 12px; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; }
.file-name { flex: 1; }
.remove-btn { background: none; border: none; color: #666; cursor: pointer; font-size: 1.2rem; }

.console-divider {
  display: flex;
  align-items: center;
  margin: 8px 0;
  color: #333;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
}
.console-divider::before, .console-divider::after { content: ''; flex: 1; height: 1px; background: #1a1a1a; }
.console-divider span { padding: 0 12px; }

.code-input {
  width: 100%;
  background: #0a0a0c;
  border: 1px solid #1a1a1a;
  color: #e0e0e0;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  min-height: 100px;
}
.code-input:focus { border-color: #76B900; }
.code-input::placeholder { color: #333; }

.model-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #444;
  text-align: right;
  margin-top: 8px;
}

.start-engine-btn {
  width: 100%;
  background: #76B900;
  color: #000;
  border: none;
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  letter-spacing: 1px;
  margin-top: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.start-engine-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(118, 185, 0, 0.3); }
.start-engine-btn:disabled { background: #1a1a1a; color: #555; cursor: not-allowed; }

/* ── Metrics row ───────────────────────────────────────── */
.metrics-row { display: flex; gap: 16px; margin: 24px 0; }
.metric-card { background: #111; border: 1px solid #1a1a1a; padding: 20px; flex: 1; }
.metric-value { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; font-weight: 700; color: #76B900; }
.metric-label { font-size: 0.8rem; color: #666; margin-top: 4px; }

/* ── Responsive — Tablet ───────────────────────────────── */
@media (max-width: 1024px) {
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.6rem; }
}

/* ── Responsive — Mobile ───────────────────────────────── */
@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-links-desktop { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #111;
    border-bottom: 1px solid #1a1a1a;
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a, .nav-mobile-menu button, .nav-mobile-menu span {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
  }

  .hero-section { padding: 40px 20px 32px; }
  .hero-fish { width: 120px; height: 120px; border-radius: 20px; }
  .hero-title { font-size: 1.8rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }

  .pipeline-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pipeline-step { padding: 14px; }
  .step-number { font-size: 1.4rem; }
  .step-name { font-size: 0.85rem; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 2rem; }

  .metrics-row { flex-direction: column; }

  .console-section, .pipeline-section, .pricing-section { padding: 32px 16px; }
  .console-box { padding: 16px; }
}
